Home
last modified time | relevance | path

Searched +defs:val +defs:map (Results 1 – 25 of 555) sorted by relevance

12345678910>>...23

/linux-6.14.4/drivers/base/regmap/
Dregmap.c36 static inline bool regmap_should_log(struct regmap *map) in regmap_should_log()
41 static inline bool regmap_should_log(struct regmap *map) { return false; } in regmap_should_log()
74 bool regmap_check_range_table(struct regmap *map, unsigned int reg, in regmap_check_range_table()
90 bool regmap_writeable(struct regmap *map, unsigned int reg) in regmap_writeable()
104 bool regmap_cached(struct regmap *map, unsigned int reg) in regmap_cached()
107 unsigned int val; in regmap_cached() local
127 bool regmap_readable(struct regmap *map, unsigned int reg) in regmap_readable()
147 bool regmap_volatile(struct regmap *map, unsigned int reg) in regmap_volatile()
164 bool regmap_precious(struct regmap *map, unsigned int reg) in regmap_precious()
178 bool regmap_writeable_noinc(struct regmap *map, unsigned int reg) in regmap_writeable_noinc()
[all …]
Dregmap-kunit.c235 struct regmap *map; in basic_read_write() local
238 unsigned int val, rval; in basic_read_write() local
260 struct regmap *map; in bulk_write() local
263 unsigned int val[BLOCK_TEST_SIZE], rval[BLOCK_TEST_SIZE]; in bulk_write() local
293 struct regmap *map; in bulk_read() local
296 unsigned int val[BLOCK_TEST_SIZE], rval[BLOCK_TEST_SIZE]; in bulk_read() local
322 struct regmap *map; in multi_write() local
326 unsigned int val[BLOCK_TEST_SIZE], rval[BLOCK_TEST_SIZE]; in multi_write() local
361 struct regmap *map; in multi_read() local
365 unsigned int val[BLOCK_TEST_SIZE], rval[BLOCK_TEST_SIZE]; in multi_read() local
[all …]
Dregcache.c24 static int regcache_hw_init(struct regmap *map) in regcache_hw_init()
29 unsigned int reg, val; in regcache_hw_init() local
113 int regcache_init(struct regmap *map, const struct regmap_config *config) in regcache_init()
214 void regcache_exit(struct regmap *map) in regcache_exit()
243 int regcache_read(struct regmap *map, in regcache_read()
274 int regcache_write(struct regmap *map, in regcache_write()
288 bool regcache_reg_needs_sync(struct regmap *map, unsigned int reg, in regcache_reg_needs_sync()
289 unsigned int val) in regcache_reg_needs_sync()
307 static int regcache_default_sync(struct regmap *map, unsigned int min, in regcache_default_sync()
313 unsigned int val; in regcache_default_sync() local
[all …]
/linux-6.14.4/drivers/mtd/maps/
Dpci.c30 struct map_info map; member
39 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_read8() local
40 map_word val; in mtd_pci_read8() local
47 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_read32() local
48 map_word val; in mtd_pci_read32() local
55 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_copyfrom() local
59 static void mtd_pci_write8(struct map_info *_map, map_word val, unsigned long ofs) in mtd_pci_write8()
61 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_write8() local
65 static void mtd_pci_write32(struct map_info *_map, map_word val, unsigned long ofs) in mtd_pci_write32()
67 struct map_pci_info *map = (struct map_pci_info *)_map; in mtd_pci_write32() local
[all …]
Ddc21285.c54 static map_word dc21285_read8(struct map_info *map, unsigned long ofs) in dc21285_read8()
56 map_word val; in dc21285_read8() local
61 static map_word dc21285_read16(struct map_info *map, unsigned long ofs) in dc21285_read16()
63 map_word val; in dc21285_read16() local
68 static map_word dc21285_read32(struct map_info *map, unsigned long ofs) in dc21285_read32()
70 map_word val; in dc21285_read32() local
75 static void dc21285_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) in dc21285_copy_from()
80 static void dc21285_write8(struct map_info *map, const map_word d, unsigned long adr) in dc21285_write8()
89 static void dc21285_write16(struct map_info *map, const map_word d, unsigned long adr) in dc21285_write16()
98 static void dc21285_write32(struct map_info *map, const map_word d, unsigned long adr) in dc21285_write32()
[all …]
/linux-6.14.4/include/linux/
Dregmap.h128 #define regmap_read_poll_timeout(map, addr, val, cond, sleep_us, timeout_us) \ argument
158 #define regmap_read_poll_timeout_atomic(map, addr, val, cond, delay_us, timeout_us) \ argument
199 #define regmap_field_read_poll_timeout(field, val, cond, sleep_us, timeout_us) \ argument
1311 static inline int regmap_update_bits(struct regmap *map, unsigned int reg, in regmap_update_bits()
1312 unsigned int mask, unsigned int val) in regmap_update_bits()
1317 static inline int regmap_update_bits_async(struct regmap *map, unsigned int reg, in regmap_update_bits_async()
1318 unsigned int mask, unsigned int val) in regmap_update_bits_async()
1323 static inline int regmap_update_bits_check(struct regmap *map, unsigned int reg, in regmap_update_bits_check()
1324 unsigned int mask, unsigned int val, in regmap_update_bits_check()
1332 regmap_update_bits_check_async(struct regmap *map, unsigned int reg, in regmap_update_bits_check_async()
[all …]
/linux-6.14.4/drivers/mtd/chips/
Dcfi_util.c40 struct map_info *map, struct cfi_private *cfi) in cfi_build_cmd_addr()
66 map_word cfi_build_cmd(u_long cmd, struct map_info *map, struct cfi_private *cfi) in cfi_build_cmd()
68 map_word val = { {0} }; in cfi_build_cmd() local
132 unsigned long cfi_merge_status(map_word val, struct map_info *map, in cfi_merge_status()
203 struct map_info *map, struct cfi_private *cfi, in cfi_send_gen_cmd()
206 map_word val; in cfi_send_gen_cmd() local
219 int __xipram cfi_qry_present(struct map_info *map, __u32 base, in cfi_qry_present()
223 map_word val[3]; in cfi_qry_present() local
247 int __xipram cfi_qry_mode_on(uint32_t base, struct map_info *map, in cfi_qry_mode_on()
285 void __xipram cfi_qry_mode_off(uint32_t base, struct map_info *map, in cfi_qry_mode_off()
[all …]
/linux-6.14.4/drivers/media/v4l2-core/
Dv4l2-cci.c19 int cci_read(struct regmap *map, u32 reg, u64 *val, int *err) in cci_read()
92 int cci_write(struct regmap *map, u32 reg, u64 val, int *err) in cci_write()
154 int cci_update_bits(struct regmap *map, u32 reg, u64 mask, u64 val, int *err) in cci_update_bits()
169 int cci_multi_reg_write(struct regmap *map, const struct cci_reg_sequence *regs, in cci_multi_reg_write()
/linux-6.14.4/tools/testing/selftests/bpf/progs/
Dfor_each_array_map_elem.c29 unused_subprog(struct bpf_map *map, __u32 *key, __u64 *val, in unused_subprog()
37 check_array_elem(struct bpf_map *map, __u32 *key, __u64 *val, in check_array_elem()
50 check_percpu_elem(struct bpf_map *map, __u32 *key, __u64 *val, in check_percpu_elem()
Dwq.c56 static int test_elem_callback(void *map, int *key, in test_elem_callback()
57 int (callback_fn)(void *map, int *key, void *value)) in test_elem_callback()
59 struct elem init = {}, *val; in test_elem_callback() local
89 static int test_hmap_elem_callback(void *map, int *key, in test_hmap_elem_callback()
90 int (callback_fn)(void *map, int *key, void *value)) in test_hmap_elem_callback()
92 struct hmap_elem init = {}, *val; in test_hmap_elem_callback() local
120 static int wq_callback(void *map, int *key, void *value) in wq_callback()
128 static int wq_cb_sleepable(void *map, int *key, void *value) in wq_cb_sleepable()
Dtimer_mim.c41 static int timer_cb2(void *map, int *key, struct hmap_elem *val) in timer_cb2()
52 static int timer_cb1(void *map, int *key, struct hmap_elem *val) in timer_cb1()
69 struct hmap_elem *val; in BPF_PROG() local
/linux-6.14.4/drivers/mtd/lpddr/
Dlpddr2_nvm.c86 map_word val = { {0} }; in build_map_word() local
96 u_int val = MR_CFGMASK; in build_mr_cfgmask() local
109 u_int val = SR_OK_DATAMASK; in build_sr_ok_datamask() local
120 static inline u_long ow_reg_add(struct map_info *map, u_long offset) in ow_reg_add()
122 u_long val = 0; in ow_reg_add() local
136 static inline void ow_enable(struct map_info *map) in ow_enable()
151 static inline void ow_disable(struct map_info *map) in ow_disable()
163 static int lpddr2_nvm_do_op(struct map_info *map, u_long cmd_code, in lpddr2_nvm_do_op()
236 struct map_info *map = mtd->priv; in lpddr2_nvm_do_block_op() local
263 static int lpddr2_nvm_pfow_present(struct map_info *map) in lpddr2_nvm_pfow_present()
[all …]
Dqinfo_probe.c44 static long lpddr_get_qinforec_pos(struct map_info *map, char *id_str) in lpddr_get_qinforec_pos()
63 static uint16_t lpddr_info_query(struct map_info *map, char *id_str) in lpddr_info_query()
65 unsigned int dsr, val; in lpddr_info_query() local
91 static int lpddr_pfow_present(struct map_info *map, struct lpddr_private *lpddr) in lpddr_pfow_present()
120 static int lpddr_chip_setup(struct map_info *map, struct lpddr_private *lpddr) in lpddr_chip_setup()
145 static struct lpddr_private *lpddr_probe_chip(struct map_info *map) in lpddr_probe_chip()
184 struct mtd_info *lpddr_probe(struct map_info *map) in lpddr_probe()
/linux-6.14.4/drivers/soc/cirrus/
Dsoc-ep93xx.c39 struct regmap *map; member
51 static void ep93xx_regmap_write(struct regmap *map, spinlock_t *lock, in ep93xx_regmap_write()
52 unsigned int reg, unsigned int val) in ep93xx_regmap_write()
60 static void ep93xx_regmap_update_bits(struct regmap *map, spinlock_t *lock, in ep93xx_regmap_update_bits()
62 unsigned int val) in ep93xx_regmap_update_bits()
136 static unsigned int __init ep93xx_soc_revision(struct regmap *map) in ep93xx_soc_revision()
138 unsigned int val; in ep93xx_soc_revision() local
177 struct regmap *map; in ep93xx_syscon_probe() local
/linux-6.14.4/sound/soc/codecs/
Drt-sdw-common.c31 int rt_sdca_index_write(struct regmap *map, unsigned int nid, in rt_sdca_index_write()
57 int rt_sdca_index_read(struct regmap *map, unsigned int nid, in rt_sdca_index_read()
85 int rt_sdca_index_update_bits(struct regmap *map, in rt_sdca_index_update_bits()
86 unsigned int nid, unsigned int reg, unsigned int mask, unsigned int val) in rt_sdca_index_update_bits()
140 int rt_sdca_headset_detect(struct regmap *map, unsigned int entity_id) in rt_sdca_headset_detect()
191 int rt_sdca_button_detect(struct regmap *map, unsigned int entity_id, in rt_sdca_button_detect()
194 unsigned int btn_type = 0, offset, idx, val, owner; in rt_sdca_button_detect() local
Dtas2781-comlib.c55 struct regmap *map = tas_priv->regmap; in tasdevice_change_chn_book() local
96 struct regmap *map = tas_priv->regmap; in tasdev_chn_switch() local
118 unsigned short chn, unsigned int reg, unsigned int *val) in tasdevice_dev_read()
123 struct regmap *map = tas_priv->regmap; in tasdevice_dev_read() local
150 struct regmap *map = tas_priv->regmap; in tasdevice_dev_write() local
180 struct regmap *map = tas_priv->regmap; in tasdevice_dev_bulk_write() local
209 struct regmap *map = tas_priv->regmap; in tasdevice_dev_bulk_read() local
235 struct regmap *map = tas_priv->regmap; in tasdevice_dev_update_bits() local
458 static int tasdevice_clamp(int val, int max, unsigned int invert) in tasdevice_clamp()
476 int val, i, ret; in tasdevice_amp_putvol() local
[all …]
/linux-6.14.4/drivers/net/ethernet/marvell/octeontx2/af/
Dmcs_cnf10kb.c41 u64 reg, val; in cnf10kb_mcs_parser_cfg() local
73 void cnf10kb_mcs_flowid_secy_map(struct mcs *mcs, struct secy_mem_map *map, int dir) in cnf10kb_mcs_flowid_secy_map()
75 u64 reg, val; in cnf10kb_mcs_flowid_secy_map() local
90 void cnf10kb_mcs_tx_sa_mem_map_write(struct mcs *mcs, struct mcs_tx_sc_sa_map *map) in cnf10kb_mcs_tx_sa_mem_map_write()
92 u64 reg, val; in cnf10kb_mcs_tx_sa_mem_map_write() local
115 void cnf10kb_mcs_rx_sa_mem_map_write(struct mcs *mcs, struct mcs_rx_sc_sa_map *map) in cnf10kb_mcs_rx_sa_mem_map_write()
117 u64 val, reg; in cnf10kb_mcs_rx_sa_mem_map_write() local
128 u64 val; in mcs_set_force_clk_en() local
161 u64 val, sa_status; in cnf10kb_mcs_tx_pn_thresh_reached_handler() local
196 u64 val; in cnf10kb_mcs_tx_pn_wrapped_handler() local
Dmcs.c294 struct mcs_rsrc_map *map; in mcs_clear_all_stats() local
343 void cn10kb_mcs_tx_sa_mem_map_write(struct mcs *mcs, struct mcs_tx_sc_sa_map *map) in cn10kb_mcs_tx_sa_mem_map_write()
345 u64 reg, val; in cn10kb_mcs_tx_sa_mem_map_write() local
362 void cn10kb_mcs_rx_sa_mem_map_write(struct mcs *mcs, struct mcs_rx_sc_sa_map *map) in cn10kb_mcs_rx_sa_mem_map_write()
364 u64 val, reg; in cn10kb_mcs_rx_sa_mem_map_write() local
392 u64 reg, val; in mcs_ena_dis_sc_cam_entry() local
429 void cn10kb_mcs_flowid_secy_map(struct mcs *mcs, struct secy_mem_map *map, int dir) in cn10kb_mcs_flowid_secy_map()
431 u64 reg, val; in cn10kb_mcs_flowid_secy_map() local
446 u64 reg, val; in mcs_ena_dis_flowid_entry() local
496 struct secy_mem_map map; in mcs_install_flowid_bypass_entry() local
[all …]
/linux-6.14.4/drivers/power/supply/
Dmax17042_battery.c100 struct regmap *map = chip->regmap; in max17042_get_temperature() local
179 u32 val; in max17042_get_battery_health() local
234 union power_supply_propval *val) in max17042_get_property()
237 struct regmap *map = chip->regmap; in max17042_get_property() local
443 const union power_supply_propval *val) in max17042_set_property()
446 struct regmap *map = chip->regmap; in max17042_set_property() local
504 static int max17042_write_verify_reg(struct regmap *map, u8 reg, u32 value) in max17042_write_verify_reg()
525 static inline void max17042_override_por(struct regmap *map, in max17042_override_por()
534 struct regmap *map = chip->regmap; in max17042_unlock_model() local
542 struct regmap *map = chip->regmap; in max17042_lock_model() local
[all …]
/linux-6.14.4/drivers/gpu/drm/sun4i/
Dsun8i_csc.c110 static void sun8i_csc_set_coefficients(struct regmap *map, u32 base, in sun8i_csc_set_coefficients()
143 static void sun8i_de3_ccsc_set_coefficients(struct regmap *map, int layer, in sun8i_de3_ccsc_set_coefficients()
181 static void sun8i_csc_enable(struct regmap *map, u32 base, bool enable) in sun8i_csc_enable()
183 u32 val; in sun8i_csc_enable() local
193 static void sun8i_de3_ccsc_enable(struct regmap *map, int layer, bool enable) in sun8i_de3_ccsc_enable()
195 u32 val, mask; in sun8i_de3_ccsc_enable() local
/linux-6.14.4/arch/arm64/kvm/
Darch_timer.c164 void get_timer_map(struct kvm_vcpu *vcpu, struct timer_map *map) in get_timer_map()
213 struct timer_map map; in kvm_arch_timer_handler() local
242 u64 val) in kvm_counter_compute_delta()
280 u64 val = vcpu_get_reg(vcpu, kvm_vcpu_sys_get_rt(vcpu)); in wfit_delay_ns() local
441 unsigned long val = timer_get_ctl(ctx); in kvm_timer_update_status() local
581 struct timer_map map; in kvm_timer_blocking() local
728 struct timer_map *map) in kvm_timer_vcpu_load_nested_switch()
763 static void timer_set_traps(struct kvm_vcpu *vcpu, struct timer_map *map) in timer_set_traps()
834 u64 val = __vcpu_sys_reg(vcpu, CNTHCTL_EL2); in timer_set_traps() local
868 struct timer_map map; in kvm_timer_vcpu_load() local
[all …]
/linux-6.14.4/drivers/clk/
Dclk-aspeed.c129 static struct clk_hw *aspeed_ast2400_calc_pll(const char *name, u32 val) in aspeed_ast2400_calc_pll()
149 static struct clk_hw *aspeed_ast2500_calc_pll(const char *name, u32 val) in aspeed_ast2500_calc_pll()
325 int ret, val; in aspeed_reset_status() local
347 struct regmap *map, u8 clock_idx, u8 reset_idx, in aspeed_clk_hw_register_gate()
387 struct regmap *map; in aspeed_clk_probe() local
389 u32 val, rate; in aspeed_clk_probe() local
583 static void __init aspeed_ast2400_cc(struct regmap *map) in aspeed_ast2400_cc()
586 u32 val, div, clkin, hpll; in aspeed_ast2400_cc() local
651 static void __init aspeed_ast2500_cc(struct regmap *map) in aspeed_ast2500_cc()
654 u32 val, freq, div; in aspeed_ast2500_cc() local
[all …]
Dclk-gemini.c73 struct regmap *map; member
82 struct regmap *map; member
121 u32 val; in gemini_pci_recalc_rate() local
174 unsigned int val; in gemini_pci_is_enabled() local
191 struct regmap *map) in gemini_pci_clk_setup()
248 u32 val; in gemini_reset_status() local
272 struct regmap *map; in gemini_clk_probe() local
277 u32 val; in gemini_clk_probe() local
390 struct regmap *map; in gemini_cc_init() local
394 u32 val; in gemini_cc_init() local
/linux-6.14.4/kernel/bpf/
Ddevmap.c71 struct bpf_devmap_val val; member
75 struct bpf_map map; member
184 static void dev_map_free(struct bpf_map *map) in dev_map_free()
254 static int dev_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in dev_map_get_next_key()
275 static void *__dev_map_hash_lookup_elem(struct bpf_map *map, u32 key) in __dev_map_hash_lookup_elem()
289 static int dev_map_hash_get_next_key(struct bpf_map *map, void *key, in dev_map_hash_get_next_key()
439 static void *__dev_map_lookup_elem(struct bpf_map *map, u32 key) in __dev_map_lookup_elem()
607 struct bpf_map *map, bool exclude_ingress) in dev_map_enqueue_multi()
724 struct bpf_map *map, bool exclude_ingress) in dev_map_redirect_multi()
795 static void *dev_map_lookup_elem(struct bpf_map *map, void *key) in dev_map_lookup_elem()
[all …]
/linux-6.14.4/tools/testing/selftests/mm/
Dksm_functional_tests.c158 static char *__mmap_and_merge_range(char val, unsigned long size, int prot, in __mmap_and_merge_range()
161 char *map; in __mmap_and_merge_range() local
241 static char *mmap_and_merge_range(char val, unsigned long size, int prot, in mmap_and_merge_range()
244 char *map; in mmap_and_merge_range() local
261 char *map; in test_unmerge() local
283 char *map; in test_unmerge_zero_pages() local
347 char *map; in test_unmerge_discarded() local
378 char *map; in test_unmerge_uffd_wp() local
481 char *map; in test_child_ksm() local
607 char *map; in test_prctl_unmerge() local
[all …]

12345678910>>...23