/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | regs.h | 35 #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 …]
|
D | usb.c | 96 dev->reg_map = mt7663_usb_sdio_reg_map; in mt7663u_probe()
|
D | mmio.c | 208 dev->reg_map = map; in mt7615_mmio_probe()
|
D | sdio.c | 363 dev->reg_map = mt7663_usb_sdio_reg_map; in mt7663s_probe()
|
D | mt7615.h | 264 const u32 *reg_map; member
|
/kernel/linux/linux-5.10/arch/arm/mach-omap1/ |
D | dma.c | 35 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,
|
/kernel/linux/linux-5.10/drivers/rtc/ |
D | rtc-twl.c | 142 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()
|
/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
D | dma.c | 34 static const struct omap_dma_reg reg_map[] = { variable 181 .reg_map = reg_map,
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
D | mr75203.c | 436 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/v3d/ |
D | v3d_drv.c | 83 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/ |
D | fsl_pq_mdio.c | 377 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()
|
/kernel/linux/linux-5.10/Documentation/networking/ |
D | regulatory.rst | 127 struct zd_reg_alpha2_map *reg_map; 129 reg_map = ®_alpha2_map[i]; 130 if (regdomain == reg_map->reg) { 131 alpha2[0] = reg_map->alpha2[0]; 132 alpha2[1] = reg_map->alpha2[1];
|
/kernel/linux/linux-5.10/drivers/dma/ti/ |
D | omap-dma.c | 46 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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/zydas/zd1211rw/ |
D | zd_mac.c | 138 struct zd_reg_alpha2_map *reg_map; in zd_reg2alpha2() local 140 reg_map = ®_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()
|
/kernel/linux/linux-5.10/include/linux/ |
D | omap-dma.h | 270 const struct omap_dma_reg *reg_map; member
|
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/ |
D | linux-5.10.patch | 33488 +static struct reg_map_s reg_map = { 33497 + if (reg_map.flag) 33501 + reg_map.vir_addr = ge2d_reg_map; 33502 + reg_map.flag = 1; 33505 + reg_map.vir_addr = ioremap(reg_map.phy_addr, reg_map.size); 33506 + if (!reg_map.vir_addr) { 33510 + reg_map.flag = 1; 33511 + ge2d_log_dbg("mapped phy: 0x%x\n", reg_map.phy_addr); 33528 + val = readl(reg_map.vir_addr + addr); 33530 + ge2d_log_dbg2("read(0x%x)=0x%x\n", reg_map.phy_addr + addr, val); [all …]
|