Home
last modified time | relevance | path

Searched +defs:val +defs:cs (Results 1 – 25 of 182) sorted by relevance

12345678

/linux-6.14.4/drivers/scsi/
Dmyrs.c104 static void myrs_qcmd(struct myrs_hba *cs, struct myrs_cmdblk *cmd_blk) in myrs_qcmd()
128 static void myrs_exec_cmd(struct myrs_hba *cs, in myrs_exec_cmd()
145 static void myrs_report_progress(struct myrs_hba *cs, unsigned short ldev_num, in myrs_report_progress()
158 static unsigned char myrs_get_ctlr_info(struct myrs_hba *cs) in myrs_get_ctlr_info()
219 static unsigned char myrs_get_ldev_info(struct myrs_hba *cs, in myrs_get_ldev_info()
306 static unsigned char myrs_get_pdev_info(struct myrs_hba *cs, in myrs_get_pdev_info()
350 static unsigned char myrs_dev_op(struct myrs_hba *cs, in myrs_dev_op()
375 static unsigned char myrs_translate_pdev(struct myrs_hba *cs, in myrs_translate_pdev()
419 static unsigned char myrs_get_event(struct myrs_hba *cs, in myrs_get_event()
454 static unsigned char myrs_get_fwstatus(struct myrs_hba *cs) in myrs_get_fwstatus()
[all …]
/linux-6.14.4/arch/mips/bcm63xx/
Dcs.c24 static int is_valid_cs(unsigned int cs) in is_valid_cs()
35 int bcm63xx_set_cs_base(unsigned int cs, u32 base, unsigned int size) in bcm63xx_set_cs_base()
38 u32 val; in bcm63xx_set_cs_base() local
66 int bcm63xx_set_cs_timing(unsigned int cs, unsigned int wait, in bcm63xx_set_cs_timing()
70 u32 val; in bcm63xx_set_cs_timing() local
94 int bcm63xx_set_cs_param(unsigned int cs, u32 params) in bcm63xx_set_cs_param()
97 u32 val; in bcm63xx_set_cs_param() local
126 int bcm63xx_set_cs_status(unsigned int cs, int enable) in bcm63xx_set_cs_status()
129 u32 val; in bcm63xx_set_cs_status() local
/linux-6.14.4/kernel/cgroup/
Dcpuset-v1.c10 struct cpuset *cs; member
105 int val; in fmeter_getrate() local
147 static int update_relax_domain_level(struct cpuset *cs, s64 val) in update_relax_domain_level()
165 s64 val) in cpuset_write_s64()
167 struct cpuset *cs = css_cs(css); in cpuset_write_s64() local
192 struct cpuset *cs = css_cs(css); in cpuset_read_s64() local
212 void cpuset1_update_task_spread_flags(struct cpuset *cs, in cpuset1_update_task_spread_flags()
237 void cpuset1_update_tasks_flags(struct cpuset *cs) in cpuset1_update_tasks_flags()
255 static void remove_tasks_in_empty_cpuset(struct cpuset *cs) in remove_tasks_in_empty_cpuset()
285 void cpuset1_hotplug_update_tasks(struct cpuset *cs, in cpuset1_hotplug_update_tasks()
[all …]
Dcpuset-internal.h17 int val; /* most recent output value */ member
196 static inline struct cpuset *parent_cs(struct cpuset *cs) in parent_cs()
202 static inline bool is_cpuset_online(struct cpuset *cs) in is_cpuset_online()
207 static inline int is_cpu_exclusive(const struct cpuset *cs) in is_cpu_exclusive()
212 static inline int is_mem_exclusive(const struct cpuset *cs) in is_mem_exclusive()
217 static inline int is_mem_hardwall(const struct cpuset *cs) in is_mem_hardwall()
222 static inline int is_sched_load_balance(const struct cpuset *cs) in is_sched_load_balance()
227 static inline int is_memory_migrate(const struct cpuset *cs) in is_memory_migrate()
232 static inline int is_spread_page(const struct cpuset *cs) in is_spread_page()
237 static inline int is_spread_slab(const struct cpuset *cs) in is_spread_slab()
[all …]
Dcpuset.c145 struct cpuset *cs = task_cs(p); in inc_dl_tasks_cs() local
152 struct cpuset *cs = task_cs(p); in dec_dl_tasks_cs() local
157 static inline int is_partition_valid(const struct cpuset *cs) in is_partition_valid()
162 static inline int is_partition_invalid(const struct cpuset *cs) in is_partition_invalid()
170 static inline void make_partition_invalid(struct cpuset *cs) in make_partition_invalid()
179 static inline void notify_partition_change(struct cpuset *cs, int old_prs) in notify_partition_change()
275 static inline void dec_attach_in_progress_locked(struct cpuset *cs) in dec_attach_in_progress_locked()
284 static inline void dec_attach_in_progress(struct cpuset *cs) in dec_attach_in_progress()
320 static inline bool partition_is_populated(struct cpuset *cs, in partition_is_populated()
361 struct cpuset *cs; in guarantee_online_cpus() local
[all …]
/linux-6.14.4/drivers/memory/
Dstm32-fmc2-ebi.c243 int cs) in stm32_fmc2_ebi_check_mux()
260 int cs) in stm32_fmc2_ebi_check_waitcfg()
262 u32 bcr, val = FIELD_PREP(FMC2_BCR_MTYP, FMC2_BCR_MTYP_NOR); in stm32_fmc2_ebi_check_waitcfg() local
277 int cs) in stm32_fmc2_ebi_check_sync_trans()
294 int cs) in stm32_fmc2_ebi_mp25_check_cclk()
304 int cs) in stm32_fmc2_ebi_mp25_check_clk_period()
321 int cs) in stm32_fmc2_ebi_check_async_trans()
338 int cs) in stm32_fmc2_ebi_check_cpsize()
340 u32 bcr, val = FIELD_PREP(FMC2_BCR_MTYP, FMC2_BCR_MTYP_PSRAM); in stm32_fmc2_ebi_check_cpsize() local
355 int cs) in stm32_fmc2_ebi_check_address_hold()
[all …]
Domap-gpmc.c146 #define GPMC_CONFIG1_CLKACTIVATIONTIME(val) (((val) & 3) << 25) argument
149 #define GPMC_CONFIG1_PAGE_LEN(val) (((val) & 3) << 23) argument
154 #define GPMC_CONFIG1_WAIT_MON_TIME(val) (((val) & 3) << 18) argument
157 #define GPMC_CONFIG1_WAIT_PIN_SEL(val) (((val) & 3) << 16) argument
158 #define GPMC_CONFIG1_DEVICESIZE(val) (((val) & 3) << 12) argument
162 #define GPMC_CONFIG1_DEVICETYPE(val) (((val) & 3) << 10) argument
164 #define GPMC_CONFIG1_MUXTYPE(val) (((val) & 3) << 8) argument
166 #define GPMC_CONFIG1_FCLK_DIV(val) ((val) & 3) argument
268 static void gpmc_write_reg(int idx, u32 val) in gpmc_write_reg()
278 void gpmc_cs_write_reg(int cs, int idx, u32 val) in gpmc_cs_write_reg()
[all …]
Dti-aemif.c94 u8 cs; member
161 int aemif_set_cs_timings(struct aemif_device *aemif, u8 cs, in aemif_set_cs_timings()
165 u32 val, set; in aemif_set_cs_timings() local
239 u32 set, val; in aemif_config_abus() local
272 u32 val, offset; in aemif_get_hw_params() local
303 u32 cs; in of_aemif_parse_abus_config() local
304 u32 val; in of_aemif_parse_abus_config() local
/linux-6.14.4/drivers/spi/
Dspi-realtek-rtl-snand.c41 u32 val = 0; in rtl_snand_irq() local
63 static void rtl_snand_set_cs(struct rtl_snand *snand, int cs, bool active) in rtl_snand_set_cs()
65 u32 val; in rtl_snand_set_cs() local
77 u32 val; in rtl_snand_wait_ready() local
83 static int rtl_snand_xfer_head(struct rtl_snand *snand, int cs, const struct spi_mem_op *op) in rtl_snand_xfer_head()
86 u32 val, len = 0; in rtl_snand_xfer_head() local
151 static void rtl_snand_xfer_tail(struct rtl_snand *snand, int cs) in rtl_snand_xfer_tail()
156 static int rtl_snand_xfer(struct rtl_snand *snand, int cs, const struct spi_mem_op *op) in rtl_snand_xfer()
160 u32 val, len = 0; in rtl_snand_xfer() local
232 static int rtl_snand_dma_xfer(struct rtl_snand *snand, int cs, const struct spi_mem_op *op) in rtl_snand_dma_xfer()
[all …]
Dspi-bcm2835.c212 static inline void bcm2835_wr(struct bcm2835_spi *bs, unsigned int reg, u32 val) in bcm2835_wr()
254 u32 val; in bcm2835_rd_fifo_count() local
280 u32 val; in bcm2835_wr_fifo_count() local
319 u8 val; in bcm2835_rd_fifo_blind() local
338 u8 val; in bcm2835_wr_fifo_blind() local
351 u32 cs = bcm2835_rd(bs, BCM2835_SPI_CS); in bcm2835_spi_reset_hw() local
377 u32 cs = bcm2835_rd(bs, BCM2835_SPI_CS); in bcm2835_spi_interrupt() local
413 u32 cs, bool fifo_empty) in bcm2835_spi_transfer_one_irq()
488 u32 cs) in bcm2835_spi_transfer_prologue()
773 u32 cs) in bcm2835_spi_transfer_one_dma()
[all …]
Dspi-omap2-mcspi.c117 struct list_head cs; member
150 int idx, u32 val) in mcspi_write_reg()
165 int idx, u32 val) in mcspi_write_cs_reg()
167 struct omap2_mcspi_cs *cs = spi->controller_state; in mcspi_write_cs_reg() local
174 struct omap2_mcspi_cs *cs = spi->controller_state; in mcspi_read_cs_reg() local
181 struct omap2_mcspi_cs *cs = spi->controller_state; in mcspi_cached_chconf0() local
186 static inline void mcspi_write_chconf0(const struct spi_device *spi, u32 val) in mcspi_write_chconf0()
188 struct omap2_mcspi_cs *cs = spi->controller_state; in mcspi_write_chconf0() local
227 struct omap2_mcspi_cs *cs = spi->controller_state; in omap2_mcspi_set_enable() local
310 struct omap2_mcspi_cs *cs = spi->controller_state; in omap2_mcspi_set_fifo() local
[all …]
Dspi-dw-mmio.c65 #define ELBA_SPICS_OFFSET(cs) ((cs) << 1) argument
66 #define ELBA_SPICS_MASK(cs) (GENMASK(1, 0) << ELBA_SPICS_OFFSET(cs)) argument
67 #define ELBA_SPICS_SET(cs, val) \ argument
82 u32 cs = spi_get_chipselect(spi, 0); in dw_spi_mscc_set_cs() local
155 u8 cs = spi_get_chipselect(spi, 0); in dw_spi_sparx5_set_cs() local
272 static void dw_spi_elba_override_cs(struct regmap *syscon, int cs, int enable) in dw_spi_elba_override_cs()
283 u8 cs; in dw_spi_elba_set_cs() local
Dspi-xlp.c98 int cs; /* target device chip select */ member
105 int cs, int regoff) in xlp_spi_reg_read()
110 static inline void xlp_spi_reg_write(struct xlp_spi_priv *priv, int cs, in xlp_spi_reg_write()
111 int regoff, u32 val) in xlp_spi_reg_write()
117 int regoff, u32 val) in xlp_spi_sysctl_write()
127 int cs; in xlp_spi_sysctl_setup() local
139 int cs; in xlp_spi_setup() local
Dspi-fsl-espi.c132 u32 val) in fsl_espi_write_reg()
138 u16 val) in fsl_espi_write_reg16()
144 u8 val) in fsl_espi_write_reg8()
282 u32 val = fsl_espi_read_reg(espi, ESPI_SPIRF); in fsl_espi_read_rx_fifo() local
292 u16 val = fsl_espi_read_reg16(espi, ESPI_SPIRF); in fsl_espi_read_rx_fifo() local
299 u8 val = fsl_espi_read_reg8(espi, ESPI_SPIRF); in fsl_espi_read_rx_fifo() local
329 struct fsl_espi_cs *cs = spi_get_ctldata(spi); in fsl_espi_setup_transfer() local
482 struct fsl_espi_cs *cs = spi_get_ctldata(spi); in fsl_espi_setup() local
524 struct fsl_espi_cs *cs = spi_get_ctldata(spi); in fsl_espi_cleanup() local
622 u32 csmode, cs, prop; in fsl_espi_init_regs() local
/linux-6.14.4/drivers/mfd/
Datmel-smc.c96 unsigned int val; in atmel_smc_cs_conf_set_timing() local
138 unsigned int val; in atmel_smc_cs_conf_set_setup() local
177 unsigned int val; in atmel_smc_cs_conf_set_pulse() local
216 unsigned int val; in atmel_smc_cs_conf_set_cycle() local
245 void atmel_smc_cs_conf_apply(struct regmap *regmap, int cs, in atmel_smc_cs_conf_apply()
267 int cs, const struct atmel_smc_cs_conf *conf) in atmel_hsmc_cs_conf_apply()
286 void atmel_smc_cs_conf_get(struct regmap *regmap, int cs, in atmel_smc_cs_conf_get()
308 int cs, struct atmel_smc_cs_conf *conf) in atmel_hsmc_cs_conf_get()
/linux-6.14.4/drivers/clocksource/
Dtimer-pistachio.c48 struct clocksource cs; member
53 #define to_pistachio_clocksource(cs) \ argument
68 pistachio_clocksource_read_cycles(struct clocksource *cs) in pistachio_clocksource_read_cycles()
93 static void pistachio_clksrc_set_mode(struct clocksource *cs, int timeridx, in pistachio_clksrc_set_mode()
97 u32 val; in pistachio_clksrc_set_mode() local
108 static void pistachio_clksrc_enable(struct clocksource *cs, int timeridx) in pistachio_clksrc_enable()
118 static void pistachio_clksrc_disable(struct clocksource *cs, int timeridx) in pistachio_clksrc_disable()
124 static int pistachio_clocksource_enable(struct clocksource *cs) in pistachio_clocksource_enable()
130 static void pistachio_clocksource_disable(struct clocksource *cs) in pistachio_clocksource_disable()
Dtimer-sprd.c36 u32 val = readl_relaxed(base + TIMER_CTL); in sprd_timer_enable() local
54 u32 val = readl_relaxed(base + TIMER_CTL); in sprd_timer_disable() local
73 u32 val = readl_relaxed(base + TIMER_INT); in sprd_timer_clear_interrupt() local
163 static u64 sprd_suspend_timer_read(struct clocksource *cs) in sprd_suspend_timer_read()
169 static int sprd_suspend_timer_enable(struct clocksource *cs) in sprd_suspend_timer_enable()
178 static void sprd_suspend_timer_disable(struct clocksource *cs) in sprd_suspend_timer_disable()
Dtimer-sun5i.c22 #define TIMER_IRQ_EN(val) BIT(val) argument
24 #define TIMER_CTL_REG(val) (0x20 * (val) + 0x10) argument
27 #define TIMER_CTL_CLK_PRES(val) (((val) & 0x7) << 4) argument
29 #define TIMER_INTVAL_LO_REG(val) (0x20 * (val) + 0x14) argument
30 #define TIMER_INTVAL_HI_REG(val) (0x20 * (val) + 0x18) argument
31 #define TIMER_CNTVAL_LO_REG(val) (0x20 * (val) + 0x1c) argument
32 #define TIMER_CNTVAL_HI_REG(val) (0x20 * (val) + 0x20) argument
68 u32 val = readl(ce->base + TIMER_CTL_REG(timer)); in sun5i_clkevt_time_stop() local
81 u32 val = readl(ce->base + TIMER_CTL_REG(timer)); in sun5i_clkevt_time_start() local
143 struct sun5i_timer *cs = clksrc_to_sun5i_timer(clksrc); in sun5i_clksrc_read() local
[all …]
Ddw_apb_timer.c44 clocksource_to_dw_apb_clocksource(struct clocksource *cs) in clocksource_to_dw_apb_clocksource()
54 static inline void apbt_writel(struct dw_apb_timer *timer, u32 val, in apbt_writel()
65 static inline void apbt_writel_relaxed(struct dw_apb_timer *timer, u32 val, in apbt_writel_relaxed()
307 static u64 __apbt_read_clocksource(struct clocksource *cs) in __apbt_read_clocksource()
319 static void apbt_restart_clocksource(struct clocksource *cs) in apbt_restart_clocksource()
/linux-6.14.4/drivers/iio/adc/
Dad7606.c330 struct ad7606_chan_scale *cs = &st->chan_scales[ch]; in ad7606_16bit_chan_scale_setup() local
409 struct ad7606_chan_scale *cs = &st->chan_scales[ch]; in ad7606c_18bit_chan_scale_setup() local
466 struct ad7606_chan_scale *cs = &st->chan_scales[ch]; in ad7606c_16bit_chan_scale_setup() local
524 struct ad7606_chan_scale *cs = &st->chan_scales[ch]; in ad7607_chan_scale_setup() local
536 struct ad7606_chan_scale *cs = &st->chan_scales[ch]; in ad7608_chan_scale_setup() local
548 struct ad7606_chan_scale *cs = &st->chan_scales[ch]; in ad7609_chan_scale_setup() local
682 int *val) in ad7606_scan_direct()
744 int *val, in ad7606_read_raw()
750 struct ad7606_chan_scale *cs; in ad7606_read_raw() local
790 struct ad7606_chan_scale *cs = &st->chan_scales[0]; in in_voltage_scale_available_show() local
[all …]
/linux-6.14.4/fs/xfs/scrub/
Dstats.c92 struct xchk_stats *cs, in xchk_stats_format()
135 struct xchk_stats *cs) in xchk_stats_estimate_bufsize()
168 struct xchk_stats *cs) in xchk_stats_clearall()
189 struct xchk_stats *cs, in xchk_stats_merge_one()
248 struct xchk_stats *cs = file->private_data; in xchk_scrub_stats_read() local
291 struct xchk_stats *cs = file->private_data; in xchk_clear_scrub_stats_write() local
292 unsigned int val; in xchk_clear_scrub_stats_write() local
314 struct xchk_stats *cs, in xchk_stats_init()
329 struct xchk_stats *cs, in xchk_stats_register()
348 struct xchk_stats *cs) in xchk_stats_teardown()
[all …]
/linux-6.14.4/drivers/iommu/arm/arm-smmu/
Darm-smmu-impl.c37 int offset, u32 val) in arm_smmu_write_ns()
59 struct cavium_smmu *cs = container_of(smmu, struct cavium_smmu, smmu); in cavium_cfg_probe() local
74 struct cavium_smmu *cs = container_of(smmu_domain->smmu, in cavium_init_context() local
92 struct cavium_smmu *cs; in cavium_smmu_impl_init() local
162 u64 val) in mrvl_mmu500_writeq()
/linux-6.14.4/fs/fuse/
Ddev.c724 void fuse_copy_init(struct fuse_copy_state *cs, int write, in fuse_copy_init()
733 static void fuse_copy_finish(struct fuse_copy_state *cs) in fuse_copy_finish()
755 static int fuse_copy_fill(struct fuse_copy_state *cs) in fuse_copy_fill()
814 static int fuse_copy_do(struct fuse_copy_state *cs, void **val, unsigned *size) in fuse_copy_do()
863 static int fuse_try_move_page(struct fuse_copy_state *cs, struct page **pagep) in fuse_try_move_page()
966 static int fuse_ref_page(struct fuse_copy_state *cs, struct page *page, in fuse_ref_page()
1000 static int fuse_copy_page(struct fuse_copy_state *cs, struct page **pagep, in fuse_copy_page()
1048 static int fuse_copy_pages(struct fuse_copy_state *cs, unsigned nbytes, in fuse_copy_pages()
1081 static int fuse_copy_one(struct fuse_copy_state *cs, void *val, unsigned size) in fuse_copy_one()
1095 int fuse_copy_args(struct fuse_copy_state *cs, unsigned numargs, in fuse_copy_args()
[all …]
/linux-6.14.4/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_smp.c66 void *cs = state->client_state[cid]; in smp_request_block() local
100 u32 val; in set_fifo_thresholds() local
203 void *cs = state->client_state[cid]; in mdp5_smp_release() local
223 u32 blk, val; in update_smp_state() local
297 void *cs = state->client_state[cid]; in mdp5_smp_prepare_commit() local
349 void *cs = state->client_state[cid]; in mdp5_smp_dump() local
/linux-6.14.4/drivers/media/v4l2-core/
Dv4l2-ctrls-api.c214 struct v4l2_ext_controls *cs, in prepare_ext_ctrls()
385 struct v4l2_ext_controls *cs, in v4l2_g_ext_ctrls_common()
486 struct media_device *mdev, struct v4l2_ext_controls *cs) in v4l2_g_ext_ctrls()
502 static int validate_ctrls(struct v4l2_ext_controls *cs, in validate_ctrls()
557 struct v4l2_ext_controls *cs, in try_set_ext_ctrls_common()
694 struct v4l2_ext_controls *cs, bool set) in try_set_ext_ctrls()
713 struct v4l2_ext_controls *cs) in v4l2_try_ext_ctrls()
723 struct v4l2_ext_controls *cs) in v4l2_s_ext_ctrls()
877 int __v4l2_ctrl_s_ctrl(struct v4l2_ctrl *ctrl, s32 val) in __v4l2_ctrl_s_ctrl()
889 int __v4l2_ctrl_s_ctrl_int64(struct v4l2_ctrl *ctrl, s64 val) in __v4l2_ctrl_s_ctrl_int64()

12345678