Home
last modified time | relevance | path

Searched +defs:val +defs:c (Results 26 – 50 of 910) sorted by relevance

12345678910>>...37

/linux-6.14.4/arch/x86/kernel/cpu/
Dcommon.c135 static void ppin_init(struct cpuinfo_x86 *c) in ppin_init()
138 unsigned long long val; in ppin_init() local
176 static void default_init(struct cpuinfo_x86 *c) in default_init()
329 static void squash_the_stupid_serial_number(struct cpuinfo_x86 *c) in squash_the_stupid_serial_number()
356 static inline void squash_the_stupid_serial_number(struct cpuinfo_x86 *c) in squash_the_stupid_serial_number()
361 static __always_inline void setup_smep(struct cpuinfo_x86 *c) in setup_smep()
367 static __always_inline void setup_smap(struct cpuinfo_x86 *c) in setup_smap()
378 static __always_inline void setup_umip(struct cpuinfo_x86 *c) in setup_umip()
408 void native_write_cr0(unsigned long val) in native_write_cr0()
427 void __no_profile native_write_cr4(unsigned long val) in native_write_cr4()
[all …]
Dhygon.c44 static void srat_detect_node(struct cpuinfo_x86 *c) in srat_detect_node()
94 static void bsp_init_hygon(struct cpuinfo_x86 *c) in bsp_init_hygon()
97 u64 val; in bsp_init_hygon() local
121 static void early_init_hygon(struct cpuinfo_x86 *c) in early_init_hygon()
167 static void init_hygon(struct cpuinfo_x86 *c) in init_hygon()
233 static void cpu_detect_tlb_hygon(struct cpuinfo_x86 *c) in cpu_detect_tlb_hygon()
/linux-6.14.4/arch/sparc/kernel/
Dsysfs.c113 unsigned long ra, orig_ra, *val = data; in write_mmustat_enable() local
126 long val = work_on_cpu(s->id, read_mmustat_enable, NULL); in show_mmustat_enable() local
135 unsigned long val; in store_mmustat_enable() local
210 struct cpu *c = &per_cpu(cpu_devices, cpu); in register_cpu_online() local
224 struct cpu *c = &per_cpu(cpu_devices, cpu); in unregister_cpu_online() local
254 struct cpu *c = &per_cpu(cpu_devices, cpu); in topology_init() local
/linux-6.14.4/arch/alpha/include/asm/
Dword-at-a-time.h22 static inline unsigned long has_zero(unsigned long val, unsigned long *bits, const struct word_at_a… in has_zero()
29 …tatic inline unsigned long prep_zero_mask(unsigned long val, unsigned long bits, const struct word… in prep_zero_mask()
/linux-6.14.4/drivers/iio/dac/
Dltc2688.c101 void *val, size_t val_size) in ltc2688_spi_read()
137 static int ltc2688_span_get(const struct ltc2688_state *st, int c) in ltc2688_span_get()
157 static int ltc2688_scale_get(const struct ltc2688_state *st, int c, int *val) in ltc2688_scale_get()
175 static int ltc2688_offset_get(const struct ltc2688_state *st, int c, int *val) in ltc2688_offset_get()
202 struct ltc2688_chan *c = &st->channels[chan]; in ltc2688_dac_code_write() local
238 struct ltc2688_chan *c = &st->channels[chan]; in ltc2688_dac_code_read() local
275 struct iio_chan_spec const *chan, int *val, in ltc2688_read_raw()
323 struct iio_chan_spec const *chan, int val, in ltc2688_write_raw()
356 struct ltc2688_chan *c = &st->channels[chan->channel]; in ltc2688_dither_toggle_set() local
384 u32 val; in ltc2688_reg_bool_get() local
[all …]
/linux-6.14.4/fs/bcachefs/
Dopts.c122 static int bch2_opt_fix_errors_parse(struct bch_fs *c, const char *val, u64 *res, in bch2_opt_fix_errors_parse()
141 struct bch_fs *c, in bch2_opt_fix_errors_to_text()
328 int bch2_opt_parse(struct bch_fs *c, in bch2_opt_parse()
330 const char *val, u64 *res, in bch2_opt_parse()
410 struct bch_fs *c, struct bch_sb *sb, in bch2_opt_to_text()
454 struct bch_fs *c, struct bch_sb *sb, in bch2_opts_to_text()
478 int bch2_opt_check_may_set(struct bch_fs *c, int id, u64 v) in bch2_opt_check_may_set()
496 int bch2_opts_check_may_set(struct bch_fs *c) in bch2_opts_check_may_set()
511 int bch2_parse_one_mount_opt(struct bch_fs *c, struct bch_opts *opts, in bch2_parse_one_mount_opt()
513 const char *name, const char *val) in bch2_parse_one_mount_opt()
[all …]
Dsb-counters.c41 int bch2_sb_counters_to_cpu(struct bch_fs *c) in bch2_sb_counters_to_cpu()
46 u64 val = 0; in bch2_sb_counters_to_cpu() local
59 int bch2_sb_counters_from_cpu(struct bch_fs *c) in bch2_sb_counters_from_cpu()
82 void bch2_fs_counters_exit(struct bch_fs *c) in bch2_fs_counters_exit()
87 int bch2_fs_counters_init(struct bch_fs *c) in bch2_fs_counters_init()
/linux-6.14.4/drivers/gpio/
Dgpio-cs5535.c60 static void errata_outl(struct cs5535_gpio_chip *chip, u32 val, in errata_outl()
131 long val; in cs5535_gpio_isset() local
170 uint32_t val; in cs5535_gpio_setup_event() local
203 static int chip_gpio_request(struct gpio_chip *c, unsigned offset) in chip_gpio_request()
235 static void chip_gpio_set(struct gpio_chip *chip, unsigned offset, int val) in chip_gpio_set()
243 static int chip_direction_input(struct gpio_chip *c, unsigned offset) in chip_direction_input()
256 static int chip_direction_output(struct gpio_chip *c, unsigned offset, int val) in chip_direction_output()
Dgpio-zevio.c63 static inline u32 zevio_gpio_port_get(struct zevio_gpio *c, unsigned pin, in zevio_gpio_port_get()
70 static inline void zevio_gpio_port_set(struct zevio_gpio *c, unsigned pin, in zevio_gpio_port_set()
71 unsigned port_offset, u32 val) in zevio_gpio_port_set()
81 u32 val, dir; in zevio_gpio_get() local
97 u32 val; in zevio_gpio_set() local
113 u32 val; in zevio_gpio_direction_input() local
130 u32 val; in zevio_gpio_direction_output() local
/linux-6.14.4/arch/s390/include/asm/
Dword-at-a-time.h16 …tatic inline unsigned long prep_zero_mask(unsigned long val, unsigned long data, const struct word… in prep_zero_mask()
31 static inline unsigned long has_zero(unsigned long val, unsigned long *data, const struct word_at_a… in has_zero()
/linux-6.14.4/arch/mips/pci/
Dfixup-fuloong2e.c49 unsigned int val; in loongson2e_nec_fixup() local
61 unsigned char c; in loongson2e_686b_func0_fixup() local
181 unsigned int val; in loongson2e_686b_func5_fixup() local
182 unsigned char c; in loongson2e_686b_func5_fixup() local
/linux-6.14.4/arch/riscv/include/asm/
Dword-at-a-time.h22 static inline unsigned long has_zero(unsigned long val, in has_zero()
23 unsigned long *bits, const struct word_at_a_time *c) in has_zero()
30 static inline unsigned long prep_zero_mask(unsigned long val, in prep_zero_mask()
31 unsigned long bits, const struct word_at_a_time *c) in prep_zero_mask()
/linux-6.14.4/drivers/media/dvb-frontends/
Drtl2830.c12 const void *val, size_t val_count) in rtl2830_bulk_write()
24 unsigned int mask, unsigned int val) in rtl2830_update_bits()
36 void *val, size_t val_count) in rtl2830_bulk_read()
51 struct dtv_frontend_properties *c = &dev->fe.dtv_property_cache; in rtl2830_init() local
162 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in rtl2830_set_frontend() local
269 struct dtv_frontend_properties *c) in rtl2830_get_frontend()
385 struct dtv_frontend_properties *c = &dev->fe.dtv_property_cache; in rtl2830_read_status() local
501 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in rtl2830_read_snr() local
531 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in rtl2830_read_signal_strength() local
743 size_t reg_len, const void *val, in rtl2830_regmap_gather_write()
Dsi2165.c76 const u16 reg, u8 *val, const int count) in si2165_read()
93 const u16 reg, u8 *val) in si2165_readreg8()
103 const u16 reg, u16 *val) in si2165_readreg16()
114 const u16 reg, u32 *val) in si2165_readreg24()
124 static int si2165_writereg8(struct si2165_state *state, const u16 reg, u8 val) in si2165_writereg8()
129 static int si2165_writereg16(struct si2165_state *state, const u16 reg, u16 val) in si2165_writereg16()
136 static int si2165_writereg24(struct si2165_state *state, const u16 reg, u32 val) in si2165_writereg24()
143 static int si2165_writereg32(struct si2165_state *state, const u16 reg, u32 val) in si2165_writereg32()
155 u8 val, u8 mask) in si2165_writereg_mask8()
171 #define REG16(reg, val) \ argument
[all …]
/linux-6.14.4/drivers/media/i2c/
Dmt9v111.c218 static int __mt9v111_read(struct i2c_client *c, u8 reg, u16 *val) in __mt9v111_read()
247 static int __mt9v111_write(struct i2c_client *c, u8 reg, u16 val) in __mt9v111_write()
273 static int __mt9v111_addr_space_select(struct i2c_client *c, u16 addr_space) in __mt9v111_addr_space_select()
277 u16 val; in __mt9v111_addr_space_select() local
300 static int mt9v111_read(struct i2c_client *c, u8 addr_space, u8 reg, u16 *val) in mt9v111_read()
316 static int mt9v111_write(struct i2c_client *c, u8 addr_space, u8 reg, u16 val) in mt9v111_write()
332 static int mt9v111_update(struct i2c_client *c, u8 addr_space, u8 reg, in mt9v111_update()
333 u16 mask, u16 val) in mt9v111_update()
410 struct i2c_client *c = mt9v111->client; in __mt9v111_sw_reset() local
534 struct i2c_client *c = mt9v111->client; in mt9v111_hw_config() local
[all …]
/linux-6.14.4/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c61 u32 val = t4_read_reg(adapter, reg); in t4_wait_op_done_val() local
93 u32 val) in t4_set_reg_field()
152 void t4_hw_pci_read_cfg4(struct adapter *adap, int reg, u32 *val) in t4_hw_pci_read_cfg4()
733 u32 val, ldst_addrspace; in t4_read_pcie_cfg4() local
2957 int lock, u32 val) in sf1_write()
3050 unsigned int i, c, left, val, offset = addr & 0xff; in t4_write_flash() local
3435 static int should_install_fs_fw(struct adapter *adap, int card_fw_usable, in should_install_fs_fw()
3519 uint32_t d, c, k; in t4_prep_fw() local
3715 u32 param, val; in t4_phy_fw_ver() local
3760 u32 param, val; in t4_load_phy_fw() local
[all …]
/linux-6.14.4/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dctxnv40.h37 cp_lsr(struct nvkm_grctx *ctx, u32 val) in cp_lsr()
92 #define cp_bra(c, f, s, n) _cp_bra((c), 0, CP_FLAG_##f, CP_FLAG_##f##_##s, n) argument
93 #define cp_cal(c, f, s, n) _cp_bra((c), 1, CP_FLAG_##f, CP_FLAG_##f##_##s, n) argument
94 #define cp_ret(c, f, s) _cp_bra((c), 2, CP_FLAG_##f, CP_FLAG_##f##_##s, 0) argument
101 #define cp_wait(c, f, s) _cp_wait((c), CP_FLAG_##f, CP_FLAG_##f##_##s) argument
108 #define cp_set(c, f, s) _cp_set((c), CP_FLAG_##f, CP_FLAG_##f##_##s) argument
121 gr_def(struct nvkm_grctx *ctx, u32 reg, u32 val) in gr_def()
/linux-6.14.4/drivers/nvme/target/
Dfabrics-cmd.c12 u64 val = le64_to_cpu(req->cmd->prop_set.value); in nvmet_execute_prop_set() local
42 u64 val = 0; in nvmet_execute_prop_get() local
174 struct nvmf_connect_command *c = &req->cmd->connect; in nvmet_install_queue() local
245 struct nvmf_connect_command *c = &req->cmd->connect; in nvmet_execute_admin_connect() local
313 struct nvmf_connect_command *c = &req->cmd->connect; in nvmet_execute_io_connect() local
/linux-6.14.4/drivers/dma/mediatek/
Dmtk-cqdma.c173 static void mtk_dma_write(struct mtk_cqdma_pchan *pc, u32 reg, u32 val) in mtk_dma_write()
181 u32 val; in mtk_dma_rmw() local
189 static void mtk_dma_set(struct mtk_cqdma_pchan *pc, u32 reg, u32 val) in mtk_dma_set()
194 static void mtk_dma_clr(struct mtk_cqdma_pchan *pc, u32 reg, u32 val) in mtk_dma_clr()
418 static struct virt_dma_desc *mtk_cqdma_find_active_desc(struct dma_chan *c, in mtk_cqdma_find_active_desc()
440 static enum dma_status mtk_cqdma_tx_status(struct dma_chan *c, in mtk_cqdma_tx_status()
469 static void mtk_cqdma_issue_pending(struct dma_chan *c) in mtk_cqdma_issue_pending()
487 mtk_cqdma_prep_dma_memcpy(struct dma_chan *c, dma_addr_t dest, in mtk_cqdma_prep_dma_memcpy()
550 static void mtk_cqdma_free_inactive_desc(struct dma_chan *c) in mtk_cqdma_free_inactive_desc()
570 static void mtk_cqdma_free_active_desc(struct dma_chan *c) in mtk_cqdma_free_active_desc()
[all …]
/linux-6.14.4/drivers/memory/
Drenesas-rpc-if.c23 #define RPCIF_CMNCR_MOIIO3(val) (((val) & 0x3) << 22) argument
24 #define RPCIF_CMNCR_MOIIO2(val) (((val) & 0x3) << 20) argument
25 #define RPCIF_CMNCR_MOIIO1(val) (((val) & 0x3) << 18) argument
26 #define RPCIF_CMNCR_MOIIO0(val) (((val) & 0x3) << 16) argument
27 #define RPCIF_CMNCR_MOIIO(val) (RPCIF_CMNCR_MOIIO0(val) | RPCIF_CMNCR_MOIIO1(val) | \ argument
29 #define RPCIF_CMNCR_IO3FV(val) (((val) & 0x3) << 14) /* documented for RZ/G2L */ argument
30 #define RPCIF_CMNCR_IO2FV(val) (((val) & 0x3) << 12) /* documented for RZ/G2L */ argument
31 #define RPCIF_CMNCR_IO0FV(val) (((val) & 0x3) << 8) argument
32 #define RPCIF_CMNCR_IOFV(val) (RPCIF_CMNCR_IO0FV(val) | RPCIF_CMNCR_IO2FV(val) | \ argument
34 #define RPCIF_CMNCR_BSZ(val) (((val) & 0x3) << 0) argument
[all …]
/linux-6.14.4/arch/mips/boot/compressed/
Ddbg.c14 void __weak putc(char c) in putc()
20 char c; in puts() local
28 void puthex(unsigned long long val) in puthex()
/linux-6.14.4/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_intf.c104 struct dpu_hw_blk_reg_map *c = &intf->hw; in dpu_hw_intf_setup_timing_engine() local
260 struct dpu_hw_blk_reg_map *c = &intf->hw; in dpu_hw_intf_enable_timing_engine() local
269 struct dpu_hw_blk_reg_map *c = &intf->hw; in dpu_hw_intf_setup_prg_fetch() local
293 struct dpu_hw_blk_reg_map *c = &intf->hw; in dpu_hw_intf_bind_pingpong_blk() local
311 struct dpu_hw_blk_reg_map *c = &intf->hw; in dpu_hw_intf_get_status() local
331 struct dpu_hw_blk_reg_map *c; in dpu_hw_intf_get_line_count() local
354 struct dpu_hw_blk_reg_map *c; in dpu_hw_intf_enable_te() local
387 struct dpu_hw_blk_reg_map *c; in dpu_hw_intf_setup_autorefresh_config() local
410 u32 val = DPU_REG_READ(&intf->hw, INTF_TEAR_AUTOREFRESH_CONFIG); in dpu_hw_intf_get_autorefresh_config() local
419 struct dpu_hw_blk_reg_map *c; in dpu_hw_intf_disable_te() local
[all …]
Ddpu_hw_util.c90 void dpu_reg_write(struct dpu_hw_blk_reg_map *c, in dpu_reg_write()
92 u32 val, in dpu_reg_write()
102 int dpu_reg_read(struct dpu_hw_blk_reg_map *c, u32 reg_off) in dpu_reg_read()
112 static void _dpu_hw_setup_scaler3_lut(struct dpu_hw_blk_reg_map *c, in _dpu_hw_setup_scaler3_lut()
187 static void _dpu_hw_setup_scaler3lite_lut(struct dpu_hw_blk_reg_map *c, in _dpu_hw_setup_scaler3lite_lut()
238 static void _dpu_hw_setup_scaler3_de(struct dpu_hw_blk_reg_map *c, in _dpu_hw_setup_scaler3_de()
282 void dpu_hw_setup_scaler3(struct dpu_hw_blk_reg_map *c, in dpu_hw_setup_scaler3()
384 void dpu_hw_csc_setup(struct dpu_hw_blk_reg_map *c, in dpu_hw_csc_setup()
390 u32 val; in dpu_hw_csc_setup() local
460 void _dpu_hw_setup_qos_lut(struct dpu_hw_blk_reg_map *c, u32 offset, in _dpu_hw_setup_qos_lut()
[all …]
/linux-6.14.4/arch/arm/mach-omap2/
Dvc.c262 struct omap3_vc_timings *c = vc.timings; in omap3_vc_set_pmic_signaling() local
308 u32 val; in omap4_vc_set_pmic_signaling() local
332 u32 val; in omap3_vc_init_pmic_signaling() local
373 struct omap3_vc_timings *c, u32 idle) in omap3_init_voltsetup1()
375 unsigned long val; in omap3_init_voltsetup1() local
402 struct omap3_vc_timings *c = vc.timings; in omap3_set_i2c_timings() local
428 struct omap3_vc_timings *c = vc.timings; in omap3_set_off_timings() local
531 u32 val; in omap4_usec_to_val_scrm() local
551 u32 val; in omap4_set_timings() local
665 u32 val; in omap4_vc_i2c_timing_init() local
[all …]
/linux-6.14.4/drivers/tty/serial/
Dmeson_uart.c64 #define AML_UART_XMIT_IRQ(c) (((c) & 0xff) << 8) argument
65 #define AML_UART_RECV_IRQ(c) ((c) & 0xff) argument
100 u32 val; in meson_uart_tx_empty() local
109 u32 val; in meson_uart_stop_tx() local
118 u32 val; in meson_uart_stop_rx() local
128 u32 val; in meson_uart_shutdown() local
146 u32 val; in meson_uart_start_tx() local
269 u32 val; in meson_uart_reset() local
282 u32 val; in meson_uart_startup() local
313 u32 val = 0; in meson_uart_change_speed() local
[all …]

12345678910>>...37