Home
last modified time | relevance | path

Searched refs:reg_map (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.10/drivers/net/wireless/mediatek/mt76/mt7615/
Dregs.h35 #define MT_HW_INFO_BASE ((dev)->reg_map[MT_HW_BASE])
45 #define MT_TOP_MISC2 ((dev)->reg_map[MT_TOP_CFG_BASE] + 0x134)
59 #define MT_MCU_PCIE_REMAP_2 ((dev)->reg_map[MT_PCIE_REMAP_2])
62 #define MT_PCIE_REMAP_BASE_2 ((dev)->reg_map[MT_PCIE_REMAP_BASE2])
64 #define MT_HIF(ofs) ((dev)->reg_map[MT_HIF_BASE] + (ofs))
151 #define MT_CSR(ofs) ((dev)->reg_map[MT_CSR_BASE] + (ofs))
154 #define MT_PLE(ofs) ((dev)->reg_map[MT_PLE_BASE] + (ofs))
166 #define MT_PSE(ofs) ((dev)->reg_map[MT_PSE_BASE] + (ofs))
178 #define MT_PP(ofs) ((dev)->reg_map[MT_PP_BASE] + (ofs))
230 #define MT_WF_CFG_BASE ((dev)->reg_map[MT_CFG_BASE])
[all …]
Dusb.c96 dev->reg_map = mt7663_usb_sdio_reg_map; in mt7663u_probe()
Dmmio.c208 dev->reg_map = map; in mt7615_mmio_probe()
Dsdio.c363 dev->reg_map = mt7663_usb_sdio_reg_map; in mt7663s_probe()
Dmt7615.h264 const u32 *reg_map; member
/Linux-v5.10/arch/arm/mach-omap1/
Ddma.c35 static const struct omap_dma_reg reg_map[] = { variable
179 addr += reg_map[reg].offset; in dma_write()
180 addr += reg_map[reg].stride * lch; in dma_write()
183 if (reg_map[reg].type == OMAP_DMA_REG_2X16BIT) in dma_write()
192 addr += reg_map[reg].offset; in dma_read()
193 addr += reg_map[reg].stride * lch; in dma_read()
196 if (reg_map[reg].type == OMAP_DMA_REG_2X16BIT) in dma_read()
301 .reg_map = reg_map,
/Linux-v5.10/drivers/rtc/
Drtc-twl.c142 u8 *reg_map; member
162 ret = twl_i2c_read_u8(TWL_MODULE_RTC, data, (twl_rtc->reg_map[reg])); in twl_rtc_read_u8()
175 ret = twl_i2c_write_u8(TWL_MODULE_RTC, data, (twl_rtc->reg_map[reg])); in twl_rtc_write_u8()
299 (twl_rtc->reg_map[REG_SECONDS_REG]), ALL_TIME_REGS); in twl_rtc_read_time()
352 (twl_rtc->reg_map[REG_SECONDS_REG]), ALL_TIME_REGS); in twl_rtc_set_time()
376 twl_rtc->reg_map[REG_ALARM_SECONDS_REG], ALL_TIME_REGS); in twl_rtc_read_alarm()
417 twl_rtc->reg_map[REG_ALARM_SECONDS_REG], ALL_TIME_REGS); in twl_rtc_set_alarm()
514 twl_rtc->reg_map = (u8 *)twl4030_rtc_reg_map; in twl_rtc_probe()
517 twl_rtc->reg_map = (u8 *)twl6030_rtc_reg_map; in twl_rtc_probe()
/Linux-v5.10/arch/arm/mach-omap2/
Ddma.c34 static const struct omap_dma_reg reg_map[] = { variable
181 .reg_map = reg_map,
/Linux-v5.10/drivers/hwmon/
Dmr75203.c436 struct regmap **reg_map; in pvt_get_regmap() local
440 reg_map = &pvt->c_map; in pvt_get_regmap()
442 reg_map = &pvt->t_map; in pvt_get_regmap()
444 reg_map = &pvt->p_map; in pvt_get_regmap()
446 reg_map = &pvt->v_map; in pvt_get_regmap()
455 *reg_map = devm_regmap_init_mmio(dev, io_base, &pvt_regmap_config); in pvt_get_regmap()
456 if (IS_ERR(*reg_map)) { in pvt_get_regmap()
458 return PTR_ERR(*reg_map); in pvt_get_regmap()
/Linux-v5.10/drivers/gpu/drm/v3d/
Dv3d_drv.c83 static const u32 reg_map[] = { in v3d_get_param_ioctl() local
100 if (args->param < ARRAY_SIZE(reg_map) && in v3d_get_param_ioctl()
101 (reg_map[args->param] || in v3d_get_param_ioctl()
103 u32 offset = reg_map[args->param]; in v3d_get_param_ioctl()
/Linux-v5.10/drivers/net/ethernet/freescale/
Dfsl_pq_mdio.c377 void __iomem *reg_map, struct resource *reg_res) in set_tbipa() argument
388 tbipa = (*get_tbipa)(reg_map); in set_tbipa()
396 if ((void *)tbipa > reg_map + resource_size(reg_res) - 4) in set_tbipa()
398 ((void *)tbipa - reg_map) + 4); in set_tbipa()
/Linux-v5.10/Documentation/networking/
Dregulatory.rst127 struct zd_reg_alpha2_map *reg_map;
129 reg_map = &reg_alpha2_map[i];
130 if (regdomain == reg_map->reg) {
131 alpha2[0] = reg_map->alpha2[0];
132 alpha2[1] = reg_map->alpha2[1];
/Linux-v5.10/drivers/dma/ti/
Domap-dma.c46 const struct omap_dma_reg *reg_map; member
66 const struct omap_dma_reg *reg_map; member
353 const struct omap_dma_reg *r = od->reg_map + reg; in omap_dma_glbl_write()
362 const struct omap_dma_reg *r = od->reg_map + reg; in omap_dma_glbl_read()
371 const struct omap_dma_reg *r = c->reg_map + reg; in omap_dma_chan_write()
378 const struct omap_dma_reg *r = c->reg_map + reg; in omap_dma_chan_read()
1506 c->reg_map = od->reg_map; in omap_dma_chan_init()
1684 od->reg_map = od->plat->reg_map; in omap_dma_probe()
/Linux-v5.10/drivers/net/wireless/zydas/zd1211rw/
Dzd_mac.c138 struct zd_reg_alpha2_map *reg_map; in zd_reg2alpha2() local
140 reg_map = &reg_alpha2_map[i]; in zd_reg2alpha2()
141 if (regdomain == reg_map->reg) { in zd_reg2alpha2()
142 alpha2[0] = reg_map->alpha2[0]; in zd_reg2alpha2()
143 alpha2[1] = reg_map->alpha2[1]; in zd_reg2alpha2()
/Linux-v5.10/include/linux/
Domap-dma.h270 const struct omap_dma_reg *reg_map; member