/linux-6.6.21/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]) 69 #define MT_HIF(ofs) ((dev)->reg_map[MT_HIF_BASE] + (ofs)) 162 #define MT_CSR(ofs) ((dev)->reg_map[MT_CSR_BASE] + (ofs)) 165 #define MT_PLE(ofs) ((dev)->reg_map[MT_PLE_BASE] + (ofs)) 177 #define MT_PSE(ofs) ((dev)->reg_map[MT_PSE_BASE] + (ofs)) 189 #define MT_PP(ofs) ((dev)->reg_map[MT_PP_BASE] + (ofs)) 250 #define MT_WF_CFG_BASE ((dev)->reg_map[MT_CFG_BASE]) [all …]
|
D | sdio.c | 118 dev->reg_map = mt7663_usb_sdio_reg_map; in mt7663s_probe()
|
D | mmio.c | 204 dev->reg_map = map; in mt7615_mmio_probe()
|
D | usb.c | 159 dev->reg_map = mt7663_usb_sdio_reg_map; in mt7663u_probe()
|
D | mt7615.h | 256 const u32 *reg_map; member
|
/linux-6.6.21/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 766 mtk_w32(eth, val, soc->reg_map->qdma.qtx_sch + ofs); in mtk_set_queue_speed() 894 val = mtk_r32(eth, eth->soc->reg_map->tx_irq_mask); in mtk_tx_irq_disable() 895 mtk_w32(eth, val & ~mask, eth->soc->reg_map->tx_irq_mask); in mtk_tx_irq_disable() 905 val = mtk_r32(eth, eth->soc->reg_map->tx_irq_mask); in mtk_tx_irq_enable() 906 mtk_w32(eth, val | mask, eth->soc->reg_map->tx_irq_mask); in mtk_tx_irq_enable() 916 val = mtk_r32(eth, eth->soc->reg_map->pdma.irq_mask); in mtk_rx_irq_disable() 917 mtk_w32(eth, val & ~mask, eth->soc->reg_map->pdma.irq_mask); in mtk_rx_irq_disable() 927 val = mtk_r32(eth, eth->soc->reg_map->pdma.irq_mask); in mtk_rx_irq_enable() 928 mtk_w32(eth, val | mask, eth->soc->reg_map->pdma.irq_mask); in mtk_rx_irq_enable() 979 const struct mtk_reg_map *reg_map = eth->soc->reg_map; in mtk_stats_update_mac() local [all …]
|
D | mtk_eth_soc.h | 1164 const struct mtk_reg_map *reg_map; member
|
/linux-6.6.21/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() 285 .reg_map = reg_map,
|
/linux-6.6.21/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() 527 twl_rtc->reg_map = (u8 *)twl4030_rtc_reg_map; in twl_rtc_probe() 530 twl_rtc->reg_map = (u8 *)twl6030_rtc_reg_map; in twl_rtc_probe()
|
/linux-6.6.21/arch/arm/mach-omap2/ |
D | dma.c | 35 static const struct omap_dma_reg reg_map[] = { variable 182 .reg_map = reg_map,
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | ctx_rewrite.c | 487 static bool match_pattern(struct btf *btf, char *pattern, char *text, char *reg_map[][2]) in match_pattern() 508 for (int i = 0; reg_map[i][0]; ++i) { in match_pattern() 511 pattern_next = match_str(pattern, reg_map[i][0]); in match_pattern() 515 text_next = match_str(text, reg_map[i][1]); in match_pattern() 741 char *reg_map[][2], in match_program() 791 ASSERT_TRUE(match_pattern(btf, pattern, text, reg_map), in match_program() 836 char *reg_map[][2] = { in run_one_testcase() local 845 match_program(btf, &pinfo, test->read, reg_map, false); in run_one_testcase()
|
/linux-6.6.21/drivers/gpu/drm/v3d/ |
D | v3d_drv.c | 43 static const u32 reg_map[] = { in v3d_get_param_ioctl() local 60 if (args->param < ARRAY_SIZE(reg_map) && in v3d_get_param_ioctl() 61 (reg_map[args->param] || in v3d_get_param_ioctl() 63 u32 offset = reg_map[args->param]; in v3d_get_param_ioctl()
|
/linux-6.6.21/tools/lib/bpf/ |
D | usdt.c | 1242 } reg_map[] = { in calc_pt_regs_off() local 1271 for (i = 0; i < ARRAY_SIZE(reg_map); i++) { in calc_pt_regs_off() 1272 for (j = 0; j < ARRAY_SIZE(reg_map[i].names); j++) { in calc_pt_regs_off() 1273 if (strcmp(reg_name, reg_map[i].names[j]) == 0) in calc_pt_regs_off() 1274 return reg_map[i].pt_regs_off; in calc_pt_regs_off() 1433 } reg_map[] = { in calc_pt_regs_off() local 1468 for (i = 0; i < ARRAY_SIZE(reg_map); i++) { in calc_pt_regs_off() 1469 if (strcmp(reg_name, reg_map[i].name) == 0) in calc_pt_regs_off() 1470 return reg_map[i].pt_regs_off; in calc_pt_regs_off() 1519 } reg_map[] = { in calc_pt_regs_off() local [all …]
|
/linux-6.6.21/drivers/hwmon/ |
D | mr75203.c | 586 struct regmap **reg_map; in pvt_get_regmap() local 590 reg_map = &pvt->c_map; in pvt_get_regmap() 592 reg_map = &pvt->t_map; in pvt_get_regmap() 594 reg_map = &pvt->p_map; in pvt_get_regmap() 596 reg_map = &pvt->v_map; in pvt_get_regmap() 605 *reg_map = devm_regmap_init_mmio(dev, io_base, &pvt_regmap_config); in pvt_get_regmap() 606 if (IS_ERR(*reg_map)) { in pvt_get_regmap() 608 return PTR_ERR(*reg_map); in pvt_get_regmap()
|
/linux-6.6.21/drivers/platform/x86/intel/pmc/ |
D | core_ssram.c | 40 const struct pmc_reg_map *reg_map, int pmc_index) in pmc_core_pmc_add() argument 54 pmc->map = reg_map; in pmc_core_pmc_add()
|
/linux-6.6.21/drivers/net/ethernet/freescale/ |
D | fsl_pq_mdio.c | 378 void __iomem *reg_map, struct resource *reg_res) in set_tbipa() argument 389 tbipa = (*get_tbipa)(reg_map); in set_tbipa() 397 if ((void *)tbipa > reg_map + resource_size(reg_res) - 4) in set_tbipa() 399 ((void *)tbipa - reg_map) + 4); in set_tbipa()
|
/linux-6.6.21/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];
|
/linux-6.6.21/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() 1511 c->reg_map = od->reg_map; in omap_dma_chan_init() 1690 od->reg_map = od->plat->reg_map; in omap_dma_probe()
|
/linux-6.6.21/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()
|
/linux-6.6.21/include/linux/ |
D | omap-dma.h | 270 const struct omap_dma_reg *reg_map; member
|