/external/u-boot/drivers/adc/ |
D | meson-saradc.c | 171 struct regmap *regmap; member 185 regmap_read(priv->regmap, MESON_SAR_ADC_REG0, ®val); in meson_saradc_get_fifo_count() 195 regmap_update_bits(priv->regmap, MESON_SAR_ADC_DELAY, in meson_saradc_lock() 204 regmap_read(priv->regmap, MESON_SAR_ADC_DELAY, &val); in meson_saradc_lock() 218 regmap_update_bits(priv->regmap, MESON_SAR_ADC_DELAY, in meson_saradc_unlock() 230 regmap_read(priv->regmap, MESON_SAR_ADC_FIFO_RD, &tmp); in meson_saradc_clear_fifo() 255 regmap_read(priv->regmap, MESON_SAR_ADC_REG0, ®val); in meson_saradc_wait_busy_clear() 280 regmap_read(priv->regmap, MESON_SAR_ADC_FIFO_RD, ®val); in meson_saradc_read_raw_sample() 297 regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_saradc_start_sample_engine() 301 regmap_update_bits(priv->regmap, MESON_SAR_ADC_REG0, in meson_saradc_start_sample_engine() [all …]
|
/external/u-boot/drivers/core/ |
D | syscon-uclass.c | 26 struct regmap *syscon_get_regmap(struct udevice *dev) in syscon_get_regmap() 33 return priv->regmap; in syscon_get_regmap() 50 &priv->regmap); in syscon_pre_probe() 52 return regmap_init_mem(dev_ofnode(dev), &priv->regmap); in syscon_pre_probe() 76 struct regmap *syscon_get_regmap_by_driver_data(ulong driver_data) in syscon_get_regmap_by_driver_data() 87 return priv->regmap; in syscon_get_regmap_by_driver_data() 92 struct regmap *map; in syscon_get_first_range() 130 struct regmap *regmap; member 146 ret = regmap_init_mem(node, &syscon->regmap); in of_syscon_register() 157 struct regmap *syscon_node_to_regmap(ofnode node) in syscon_node_to_regmap() [all …]
|
D | regmap.c | 20 static struct regmap *regmap_alloc(int count) in regmap_alloc() 22 struct regmap *map; in regmap_alloc() 34 struct regmap **mapp) in regmap_init_mem_platdata() 37 struct regmap *map; in regmap_init_mem_platdata() 53 int regmap_init_mem(ofnode node, struct regmap **mapp) in regmap_init_mem() 56 struct regmap *map; in regmap_init_mem() 100 void *regmap_get_range(struct regmap *map, unsigned int range_num) in regmap_get_range() 111 int regmap_uninit(struct regmap *map) in regmap_uninit() 118 int regmap_read(struct regmap *map, uint offset, uint *valp) in regmap_read() 127 int regmap_write(struct regmap *map, uint offset, uint val) in regmap_write() [all …]
|
/external/u-boot/drivers/phy/ |
D | meson-gxl-usb3.c | 89 struct regmap *regmap; member 100 regmap_read(priv->regmap, USB_R0, &val); in phy_meson_gxl_usb3_set_host_mode() 102 regmap_write(priv->regmap, USB_R0, val); in phy_meson_gxl_usb3_set_host_mode() 104 regmap_read(priv->regmap, USB_R4, &val); in phy_meson_gxl_usb3_set_host_mode() 106 regmap_write(priv->regmap, USB_R4, val); in phy_meson_gxl_usb3_set_host_mode() 117 regmap_read(priv->regmap, USB_R5, &val); in phy_meson_gxl_usb3_power_on() 122 regmap_write(priv->regmap, USB_R5, val); in phy_meson_gxl_usb3_power_on() 133 regmap_read(priv->regmap, USB_R5, &val); in phy_meson_gxl_usb3_power_off() 136 regmap_write(priv->regmap, USB_R5, val); in phy_meson_gxl_usb3_power_off() 147 regmap_read(priv->regmap, USB_R1, &val); in phy_meson_gxl_usb3_init() [all …]
|
D | meson-gxl-usb2.c | 98 struct regmap *regmap; member 111 regmap_read(priv->regmap, U2P_R0, &val); in phy_meson_gxl_usb2_reset() 115 regmap_write(priv->regmap, U2P_R0, val); in phy_meson_gxl_usb2_reset() 119 regmap_write(priv->regmap, U2P_R0, val); in phy_meson_gxl_usb2_reset() 128 regmap_read(priv->regmap, U2P_R0, &val); in phy_meson_gxl_usb2_set_host_mode() 132 regmap_write(priv->regmap, U2P_R0, val); in phy_meson_gxl_usb2_set_host_mode() 143 regmap_read(priv->regmap, U2P_R0, &val); in phy_meson_gxl_usb2_power_on() 146 regmap_write(priv->regmap, U2P_R0, val); in phy_meson_gxl_usb2_power_on() 167 regmap_read(priv->regmap, U2P_R0, &val); in phy_meson_gxl_usb2_power_off() 170 regmap_write(priv->regmap, U2P_R0, val); in phy_meson_gxl_usb2_power_off() [all …]
|
D | sti_usb_phy.c | 36 struct regmap *regmap; member 67 reg = (void __iomem *)phy->regmap->ranges[0].start + phy->ctrl; in sti_usb_phy_init() 72 reg = (void __iomem *)phy->regmap->ranges[0].start + phy->param; in sti_usb_phy_init() 127 priv->regmap = syscon_get_regmap(syscon); in sti_usb_phy_probe() 128 if (!priv->regmap) { in sti_usb_phy_probe()
|
D | ti-pipe3-phy.c | 278 struct regmap *regmap; in get_reg() local 291 regmap = syscon_get_regmap(syscon); in get_reg() 292 if (IS_ERR(regmap)) { in get_reg() 294 name, PTR_ERR(regmap)); in get_reg() 305 base = regmap_get_range(regmap, 0); in get_reg()
|
/external/u-boot/include/ |
D | regmap.h | 27 struct regmap { struct 36 int regmap_write(struct regmap *map, uint offset, uint val); argument 37 int regmap_read(struct regmap *map, uint offset, uint *valp); 53 int regmap_update_bits(struct regmap *map, uint offset, uint mask, uint val); 63 int regmap_init_mem(ofnode node, struct regmap **mapp); 79 struct regmap **mapp); 87 void *regmap_get_range(struct regmap *map, unsigned int range_num); 92 int regmap_uninit(struct regmap *map);
|
D | syscon.h | 19 struct regmap *regmap; member 48 struct regmap *syscon_get_regmap(struct udevice *dev); 74 struct regmap *syscon_get_regmap_by_driver_data(ulong driver_data); 90 struct regmap *syscon_node_to_regmap(ofnode node);
|
/external/u-boot/arch/arm/mach-stm32mp/ |
D | pwr_regulator.c | 29 struct regmap *regmap; member 41 return regmap_write(priv->regmap, STM32MP_PWR_CR3, val); in stm32mp_pwr_write() 52 return regmap_read(priv->regmap, STM32MP_PWR_CR3, (u32 *)buff); in stm32mp_pwr_read() 58 struct regmap *regmap; in stm32mp_pwr_ofdata_to_platdata() local 60 regmap = syscon_get_regmap_by_driver_data(STM32MP_SYSCON_PWR); in stm32mp_pwr_ofdata_to_platdata() 61 if (IS_ERR(regmap)) { in stm32mp_pwr_ofdata_to_platdata() 63 PTR_ERR(regmap)); in stm32mp_pwr_ofdata_to_platdata() 64 return PTR_ERR(regmap); in stm32mp_pwr_ofdata_to_platdata() 66 priv->regmap = regmap; in stm32mp_pwr_ofdata_to_platdata()
|
/external/u-boot/drivers/power/regulator/ |
D | pbias_regulator.c | 28 struct regmap *regmap; member 46 return regmap_write(priv->regmap, priv->offset, val); in pbias_write() 56 return regmap_read(priv->regmap, priv->offset, (u32 *)buff); in pbias_read() 63 struct regmap *regmap; in pbias_ofdata_to_platdata() local 75 regmap = syscon_get_regmap(syscon); in pbias_ofdata_to_platdata() 76 if (IS_ERR(regmap)) { in pbias_ofdata_to_platdata() 78 PTR_ERR(regmap)); in pbias_ofdata_to_platdata() 79 return PTR_ERR(regmap); in pbias_ofdata_to_platdata() 81 priv->regmap = regmap; in pbias_ofdata_to_platdata()
|
/external/u-boot/drivers/sysreset/ |
D | sysreset_syscon.c | 18 struct regmap *regmap; member 27 regmap_write(priv->regmap, priv->offset, priv->mask); in syscon_reboot_request() 49 priv->regmap = syscon_get_regmap(syscon); in syscon_reboot_probe() 50 if (!priv->regmap) { in syscon_reboot_probe()
|
D | sysreset_sti.c | 33 struct regmap *regmap; in sti_sysreset_probe() local 55 regmap = syscon_get_regmap(syscon); in sti_sysreset_probe() 56 if (!regmap) { in sti_sysreset_probe() 61 priv->base = regmap->ranges[0].start; in sti_sysreset_probe()
|
/external/u-boot/drivers/clk/ |
D | clk_boston.c | 14 struct regmap *regmap; member 35 err = regmap_read(state->regmap, BOSTON_PLAT_MMCMDIV, &mmcmdiv); in clk_boston_get_rate() 73 state->regmap = syscon_get_regmap(syscon); in clk_boston_ofdata_to_platdata() 74 if (!state->regmap) { in clk_boston_ofdata_to_platdata()
|
/external/u-boot/drivers/reset/ |
D | reset-meson.c | 19 struct regmap *regmap; member 43 regmap_read(priv->regmap, reg_offset, &val); in meson_reset_level() 48 regmap_write(priv->regmap, reg_offset, val); in meson_reset_level() 79 return regmap_init_mem(dev_ofnode(dev), &priv->regmap); in meson_reset_probe()
|
D | sti-reset.c | 197 struct regmap *regmap; in sti_reset_get_regmap() local 214 regmap = syscon_get_regmap(syscon); in sti_reset_get_regmap() 215 if (!regmap) { in sti_reset_get_regmap() 220 return regmap->ranges[0].start; in sti_reset_get_regmap()
|
/external/u-boot/drivers/pinctrl/ |
D | pinctrl-sti.c | 43 struct regmap *regmap; member 64 sysconfreg = (unsigned long *)plat->regmap->ranges[0].start; in sti_alternate_select() 98 sysconfreg = (unsigned long *)plat->regmap->ranges[0].start + 40; in sti_pin_configure() 290 plat->regmap = syscon_get_regmap(syscon); in sti_pinctrl_probe() 291 if (!plat->regmap) { in sti_pinctrl_probe()
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_hammerhead_MRA59G_3.4.0/ |
D | available_events | 198 regmap:regmap_hw_read_start 199 regmap:regmap_hw_write_done 200 regmap:regmap_cache_bypass 201 regmap:regmap_reg_read 202 regmap:regmap_cache_only 203 regmap:regmap_reg_read_cache 204 regmap:regmap_hw_write_start 205 regmap:regmap_reg_write 206 regmap:regmap_hw_read_done 207 regmap:regcache_sync
|
/external/u-boot/drivers/usb/host/ |
D | dwc3-sti-glue.c | 108 struct regmap *regmap; in sti_dwc3_glue_ofdata_to_platdata() local 131 regmap = syscon_get_regmap(syscon); in sti_dwc3_glue_ofdata_to_platdata() 132 if (!regmap) { in sti_dwc3_glue_ofdata_to_platdata() 136 plat->syscfg_base = regmap->ranges[0].start; in sti_dwc3_glue_ofdata_to_platdata()
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/ |
D | available_events | 276 regmap:regmap_async_write_start 277 regmap:regmap_hw_read_start 278 regmap:regmap_hw_write_done 279 regmap:regmap_cache_bypass 280 regmap:regmap_reg_read 281 regmap:regmap_async_io_complete 282 regmap:regmap_cache_only 283 regmap:regmap_reg_read_cache 284 regmap:regmap_async_complete_done 285 regmap:regmap_hw_write_start [all …]
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/ |
D | available_events | 465 regmap:regmap_async_complete_done 466 regmap:regmap_async_complete_start 467 regmap:regmap_async_io_complete 468 regmap:regmap_async_write_start 469 regmap:regmap_cache_bypass 470 regmap:regmap_cache_only 471 regmap:regcache_sync 472 regmap:regmap_hw_write_done 473 regmap:regmap_hw_write_start 474 regmap:regmap_hw_read_done [all …]
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/ |
D | available_events | 528 regmap:regmap_reg_write 529 regmap:regmap_reg_read 530 regmap:regmap_reg_read_cache 531 regmap:regmap_hw_read_start 532 regmap:regmap_hw_read_done 533 regmap:regmap_hw_write_start 534 regmap:regmap_hw_write_done 535 regmap:regcache_sync 536 regmap:regmap_cache_only 537 regmap:regmap_cache_bypass [all …]
|
/external/u-boot/drivers/net/ |
D | sni_ave.c | 140 struct regmap *regmap; member 638 regmap_read(priv->regmap, SG_ETPINMODE, ®); in ave_pro4_get_pinmode() 641 regmap_write(priv->regmap, SG_ETPINMODE, reg); in ave_pro4_get_pinmode() 665 regmap_read(priv->regmap, SG_ETPINMODE, ®); in ave_ld11_get_pinmode() 668 regmap_write(priv->regmap, SG_ETPINMODE, reg); in ave_ld11_get_pinmode() 692 regmap_read(priv->regmap, SG_ETPINMODE, ®); in ave_ld20_get_pinmode() 695 regmap_write(priv->regmap, SG_ETPINMODE, reg); in ave_ld20_get_pinmode() 719 regmap_read(priv->regmap, SG_ETPINMODE, ®); in ave_pxs3_get_pinmode() 722 regmap_write(priv->regmap, SG_ETPINMODE, reg); in ave_pxs3_get_pinmode() 792 priv->regmap = syscon_node_to_regmap(args.node); in ave_ofdata_to_platdata() [all …]
|
/external/u-boot/test/dm/ |
D | regmap.c | 19 struct regmap *map; in dm_test_regmap_base() 72 struct regmap *map; in dm_test_regmap_syscon() 99 struct regmap *map; in dm_test_regmap_rw()
|
/external/u-boot/arch/x86/cpu/ |
D | irq.c | 31 struct pirq_regmap *map = priv->regmap; in pirq_reg_to_linkno() 60 struct pirq_regmap *map = priv->regmap; in pirq_linkno_to_reg() 199 priv->regmap = calloc(count, sizeof(struct pirq_regmap)); in create_pirq_routing_table() 200 if (!priv->regmap) in create_pirq_routing_table() 204 map = priv->regmap; in create_pirq_routing_table()
|