/external/u-boot/include/ |
syscon.h | 16 * @regmap: Register map for this controller 19 struct regmap *regmap; member in struct:syscon_uc_info 45 * @info: Returns regmap for the device 48 struct regmap *syscon_get_regmap(struct udevice *dev); 69 * are in use. This function looks up the regmap given this driver data. 74 struct regmap *syscon_get_regmap_by_driver_data(ulong driver_data); 77 * syscon_get_first_range() - get the first memory range from a syscon regmap 86 * syscon_node_to_regmap - get regmap from syscon 90 struct regmap *syscon_node_to_regmap(ofnode node) [all...] |
regmap.h | 22 * struct regmap - a way of accessing hardware/bus registers 27 struct regmap { struct 36 int regmap_write(struct regmap *map, uint offset, uint val); 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); 68 * This creates a new regmap with a list of regions passed in, rather than 75 * @count: Number of pairs (e.g. 1 if the regmap has a single entry) 79 struct regmap **mapp); 82 * regmap_get_range() - Obtain the base memory address of a regmap rang [all...] |
/external/u-boot/drivers/sysreset/ |
sysreset_sti.c | 9 #include <regmap.h> 33 struct regmap *regmap; local 55 regmap = syscon_get_regmap(syscon); 56 if (!regmap) { 57 pr_err("unable to get regmap for %s\n", syscon->name); 61 priv->base = regmap->ranges[0].start;
|
sysreset_syscon.c | 13 #include <regmap.h> 18 struct regmap *regmap; member in struct:syscon_reboot_priv 27 regmap_write(priv->regmap, priv->offset, priv->mask); 43 "regmap", &syscon); 49 priv->regmap = syscon_get_regmap(syscon); 50 if (!priv->regmap) { 51 pr_err("unable to find regmap\n");
|
/external/u-boot/drivers/clk/ |
clk_boston.c | 10 #include <regmap.h> 14 struct regmap *regmap; member in struct:clk_boston 35 err = regmap_read(state->regmap, BOSTON_PLAT_MMCMDIV, &mmcmdiv); 67 "regmap", &syscon); 73 state->regmap = syscon_get_regmap(syscon); 74 if (!state->regmap) { 75 pr_err("unable to find regmap\n");
|
/external/u-boot/drivers/reset/ |
reset-meson.c | 12 #include <regmap.h> 19 struct regmap *regmap; member in struct:meson_reset_priv 43 regmap_read(priv->regmap, reg_offset, &val); 48 regmap_write(priv->regmap, reg_offset, val); 79 return regmap_init_mem(dev_ofnode(dev), &priv->regmap);
|
sti-reset.c | 12 #include <regmap.h> 197 struct regmap *regmap; local 214 regmap = syscon_get_regmap(syscon); 215 if (!regmap) { 216 pr_err("unable to get regmap for %s\n", syscon->name); 220 return regmap->ranges[0].start;
|
/external/u-boot/arch/x86/include/asm/ |
irq.h | 51 struct pirq_regmap *regmap; member in struct:irq_router
|
/external/u-boot/drivers/core/ |
syscon-uclass.c | 11 #include <regmap.h> 26 struct regmap *syscon_get_regmap(struct udevice *dev) 33 return priv->regmap; 50 &priv->regmap); 52 return regmap_init_mem(dev_ofnode(dev), &priv->regmap); 76 struct regmap *syscon_get_regmap_by_driver_data(ulong driver_data) 87 return priv->regmap; 92 struct regmap *map; 122 * Linux-compatible syscon-to-regmap 130 struct regmap *regmap member in struct:syscon [all...] |
/external/u-boot/drivers/phy/ |
sti_usb_phy.c | 15 #include <regmap.h> 36 struct regmap *regmap; member in struct:sti_usb_phy 67 reg = (void __iomem *)phy->regmap->ranges[0].start + phy->ctrl; 72 reg = (void __iomem *)phy->regmap->ranges[0].start + phy->param; 127 priv->regmap = syscon_get_regmap(syscon); 128 if (!priv->regmap) { 129 pr_err("unable to find regmap\n");
|
meson-gxl-usb2.c | 16 #include <regmap.h> 98 struct regmap *regmap; member in struct:phy_meson_gxl_usb2_priv 111 regmap_read(priv->regmap, U2P_R0, &val); 115 regmap_write(priv->regmap, U2P_R0, val); 119 regmap_write(priv->regmap, U2P_R0, val); 128 regmap_read(priv->regmap, U2P_R0, &val); 132 regmap_write(priv->regmap, U2P_R0, val); 143 regmap_read(priv->regmap, U2P_R0, &val); 146 regmap_write(priv->regmap, U2P_R0, val) [all...] |
meson-gxl-usb3.c | 16 #include <regmap.h> 89 struct regmap *regmap; member in struct:phy_meson_gxl_usb3_priv 100 regmap_read(priv->regmap, USB_R0, &val); 102 regmap_write(priv->regmap, USB_R0, val); 104 regmap_read(priv->regmap, USB_R4, &val); 106 regmap_write(priv->regmap, USB_R4, val); 117 regmap_read(priv->regmap, USB_R5, &val); 122 regmap_write(priv->regmap, USB_R5, val); 133 regmap_read(priv->regmap, USB_R5, &val) [all...] |
ti-pipe3-phy.c | 14 #include <regmap.h> 278 struct regmap *regmap; local 291 regmap = syscon_get_regmap(syscon); 292 if (IS_ERR(regmap)) { 293 pr_err("unable to find regmap for %s (%ld)\n", 294 name, PTR_ERR(regmap)); 305 base = regmap_get_range(regmap, 0);
|
/external/u-boot/drivers/usb/host/ |
dwc3-sti-glue.c | 16 #include <regmap.h> 108 struct regmap *regmap; local 131 regmap = syscon_get_regmap(syscon); 132 if (!regmap) { 133 pr_err("unable to find regmap\n"); 136 plat->syscfg_base = regmap->ranges[0].start;
|
/external/u-boot/arch/arm/mach-stm32mp/ |
pwr_regulator.c | 9 #include <regmap.h> 29 struct regmap *regmap; member in struct:stm32mp_pwr_priv 41 return regmap_write(priv->regmap, STM32MP_PWR_CR3, val); 52 return regmap_read(priv->regmap, STM32MP_PWR_CR3, (u32 *)buff); 58 struct regmap *regmap; local 60 regmap = syscon_get_regmap_by_driver_data(STM32MP_SYSCON_PWR); 61 if (IS_ERR(regmap)) { 62 pr_err("%s: unable to find regmap (%ld)\n", __func__ [all...] |
/external/u-boot/drivers/pinctrl/ |
pinctrl-sti.c | 13 #include <regmap.h> 43 struct regmap *regmap; member in struct:sti_pinctrl_platdata 64 sysconfreg = (unsigned long *)plat->regmap->ranges[0].start; 98 sysconfreg = (unsigned long *)plat->regmap->ranges[0].start + 40; 290 plat->regmap = syscon_get_regmap(syscon); 291 if (!plat->regmap) { 292 pr_err("unable to find regmap\n");
|
/external/u-boot/drivers/power/regulator/ |
pbias_regulator.c | 12 #include <regmap.h> 28 struct regmap *regmap; member in struct:pbias_priv 46 return regmap_write(priv->regmap, priv->offset, val); 56 return regmap_read(priv->regmap, priv->offset, (u32 *)buff); 63 struct regmap *regmap; local 75 regmap = syscon_get_regmap(syscon); 76 if (IS_ERR(regmap)) { 77 pr_err("%s: unable to find regmap (%ld)\n", __func__ [all...] |
/external/mesa3d/src/gallium/drivers/r600/sb/ |
sb_sched.h | 263 rv_map regmap, prev_regmap; member in class:r600_sb::post_scheduler 272 live(), ucm(), alu(sh), regmap(), cleared_interf() {}
|
/external/u-boot/drivers/net/ |
sni_ave.c | 14 #include <regmap.h> 140 struct regmap *regmap; member in struct:ave_private 638 regmap_read(priv->regmap, SG_ETPINMODE, ®); 641 regmap_write(priv->regmap, SG_ETPINMODE, reg); 665 regmap_read(priv->regmap, SG_ETPINMODE, ®); 668 regmap_write(priv->regmap, SG_ETPINMODE, reg); 692 regmap_read(priv->regmap, SG_ETPINMODE, ®); 695 regmap_write(priv->regmap, SG_ETPINMODE, reg); 719 regmap_read(priv->regmap, SG_ETPINMODE, ®) [all...] |
/external/u-boot/drivers/spi/ |
ti_qspi.c | 19 #include <regmap.h> 557 struct regmap *regmap; local 569 regmap = syscon_get_regmap(syscon); 570 if (IS_ERR(regmap)) { 571 debug("%s: unable to find regmap (%ld)\n", __func__, 572 PTR_ERR(regmap)); 583 return fdtdec_get_number(cell + 1, 1) + regmap_get_range(regmap, 0);
|
/external/llvm/lib/Target/NVPTX/ |
NVPTXAsmPrinter.cpp | 303 DenseMap<unsigned, unsigned> &RegMap = VRegMapping[RC]; 304 unsigned RegNum = RegMap[Reg]; 571 const DenseMap<unsigned, unsigned> &RegMap = I->second; 573 VRegMap::const_iterator VI = RegMap.find(Reg); 574 assert(VI != RegMap.end() && "Bad virtual register"); 1673 DenseMap<unsigned, unsigned> ®map = VRegMapping[RC]; local 1692 DenseMap<unsigned, unsigned> ®map = VRegMapping[RC]; local [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/ |
NVPTXAsmPrinter.cpp | 286 DenseMap<unsigned, unsigned> &RegMap = VRegMapping[RC]; 287 unsigned RegNum = RegMap[Reg]; 580 const DenseMap<unsigned, unsigned> &RegMap = I->second; 582 VRegMap::const_iterator VI = RegMap.find(Reg); 583 assert(VI != RegMap.end() && "Bad virtual register"); 1658 DenseMap<unsigned, unsigned> ®map = VRegMapping[RC]; local 1677 DenseMap<unsigned, unsigned> ®map = VRegMapping[RC]; local [all...] |
/external/u-boot/drivers/adc/ |
meson-saradc.c | 14 #include <regmap.h> 171 struct regmap *regmap; member in struct:meson_saradc_priv 185 regmap_read(priv->regmap, MESON_SAR_ADC_REG0, ®val); 195 regmap_update_bits(priv->regmap, MESON_SAR_ADC_DELAY, 204 regmap_read(priv->regmap, MESON_SAR_ADC_DELAY, &val); 218 regmap_update_bits(priv->regmap, MESON_SAR_ADC_DELAY, 230 regmap_read(priv->regmap, MESON_SAR_ADC_FIFO_RD, &tmp); 255 regmap_read(priv->regmap, MESON_SAR_ADC_REG0, ®val); 280 regmap_read(priv->regmap, MESON_SAR_ADC_FIFO_RD, ®val) [all...] |