/linux-6.1.9/drivers/misc/habanalabs/goya/ |
D | goya_coresight.c | 232 u64 base_reg; in goya_config_stm() local 241 base_reg = debug_stm_regs[params->reg_idx] - CFG_BASE; in goya_config_stm() 243 WREG32(base_reg + 0xFB0, CORESIGHT_UNLOCK); in goya_config_stm() 251 WREG32(base_reg + 0xE80, 0x80004); in goya_config_stm() 252 WREG32(base_reg + 0xD64, 7); in goya_config_stm() 253 WREG32(base_reg + 0xD60, 0); in goya_config_stm() 254 WREG32(base_reg + 0xD00, lower_32_bits(input->he_mask)); in goya_config_stm() 255 WREG32(base_reg + 0xD20, lower_32_bits(input->sp_mask)); in goya_config_stm() 256 WREG32(base_reg + 0xD60, 1); in goya_config_stm() 257 WREG32(base_reg + 0xD00, upper_32_bits(input->he_mask)); in goya_config_stm() [all …]
|
/linux-6.1.9/arch/sparc/include/asm/ |
D | winmacro.h | 38 #define LOAD_PT_INS(base_reg) \ argument 39 ldd [%base_reg + STACKFRAME_SZ + PT_I0], %i0; \ 40 ldd [%base_reg + STACKFRAME_SZ + PT_I2], %i2; \ 41 ldd [%base_reg + STACKFRAME_SZ + PT_I4], %i4; \ 42 ldd [%base_reg + STACKFRAME_SZ + PT_I6], %i6; 44 #define LOAD_PT_GLOBALS(base_reg) \ argument 45 ld [%base_reg + STACKFRAME_SZ + PT_G1], %g1; \ 46 ldd [%base_reg + STACKFRAME_SZ + PT_G2], %g2; \ 47 ldd [%base_reg + STACKFRAME_SZ + PT_G4], %g4; \ 48 ldd [%base_reg + STACKFRAME_SZ + PT_G6], %g6; [all …]
|
/linux-6.1.9/drivers/misc/habanalabs/gaudi/ |
D | gaudi_coresight.c | 393 u64 base_reg; in gaudi_config_stm() local 402 base_reg = debug_stm_regs[params->reg_idx] - CFG_BASE; in gaudi_config_stm() 404 WREG32(base_reg + 0xFB0, CORESIGHT_UNLOCK); in gaudi_config_stm() 412 WREG32(base_reg + 0xE80, 0x80004); in gaudi_config_stm() 413 WREG32(base_reg + 0xD64, 7); in gaudi_config_stm() 414 WREG32(base_reg + 0xD60, 0); in gaudi_config_stm() 415 WREG32(base_reg + 0xD00, lower_32_bits(input->he_mask)); in gaudi_config_stm() 416 WREG32(base_reg + 0xD60, 1); in gaudi_config_stm() 417 WREG32(base_reg + 0xD00, upper_32_bits(input->he_mask)); in gaudi_config_stm() 418 WREG32(base_reg + 0xE70, 0x10); in gaudi_config_stm() [all …]
|
/linux-6.1.9/drivers/base/regmap/ |
D | regcache-rbtree.c | 27 unsigned int base_reg; member 44 *base = rbnode->base_reg; in regcache_rbtree_get_base_top_reg() 45 *top = rbnode->base_reg + ((rbnode->blklen - 1) * map->reg_stride); in regcache_rbtree_get_base_top_reg() 68 unsigned int base_reg, top_reg; in regcache_rbtree_lookup() local 72 regcache_rbtree_get_base_top_reg(map, rbnode, &base_reg, in regcache_rbtree_lookup() 74 if (reg >= base_reg && reg <= top_reg) in regcache_rbtree_lookup() 81 regcache_rbtree_get_base_top_reg(map, rbnode, &base_reg, in regcache_rbtree_lookup() 83 if (reg >= base_reg && reg <= top_reg) { in regcache_rbtree_lookup() 88 } else if (reg < base_reg) { in regcache_rbtree_lookup() 102 unsigned int base_reg; in regcache_rbtree_insert() local [all …]
|
/linux-6.1.9/drivers/crypto/keembay/ |
D | ocs-aes.c | 206 iowrite32(0x7FF, aes_dev->base_reg + AES_BYTE_ORDER_CFG_OFFSET); in aes_a_set_endianness() 212 iowrite32(AES_ACTIVE_TRIGGER, aes_dev->base_reg + AES_ACTIVE_OFFSET); in aes_a_op_trigger() 219 aes_dev->base_reg + AES_ACTIVE_OFFSET); in aes_a_op_termination() 234 aes_dev->base_reg + AES_ACTIVE_OFFSET); in aes_a_set_last_gcx() 243 aes_active_reg = ioread32(aes_dev->base_reg + in aes_a_wait_last_gcx() 254 reg = ioread32(aes_dev->base_reg + AES_A_DMA_STATUS_OFFSET); in aes_a_dma_wait_input_buffer_occupancy() 268 aes_dev->base_reg + AES_ACTIVE_OFFSET); in aes_a_set_last_gcx_and_adata() 274 iowrite32(0, aes_dev->base_reg + AES_A_DMA_SRC_SIZE_OFFSET); in aes_a_dma_set_xfer_size_zero() 275 iowrite32(0, aes_dev->base_reg + AES_A_DMA_DST_SIZE_OFFSET); in aes_a_dma_set_xfer_size_zero() 282 aes_dev->base_reg + AES_A_DMA_DMA_MODE_OFFSET); in aes_a_dma_active() [all …]
|
D | keembay-ocs-ecc.c | 90 void __iomem *base_reg; member 142 return readl_poll_timeout((dev->base_reg + HW_OFFS_OCS_ECC_STATUS), in ocs_ecc_wait_idle() 151 ecc_dev->base_reg + HW_OFFS_OCS_ECC_COMMAND); in ocs_ecc_cmd_start() 161 iowrite32(op_size | inst, dev->base_reg + HW_OFFS_OCS_ECC_COMMAND); in ocs_ecc_write_cmd_and_data() 164 memcpy_toio(dev->base_reg + HW_OFFS_OCS_ECC_DATA_IN, data_in, in ocs_ecc_write_cmd_and_data() 174 iowrite32(ECC_ENABLE_INTR, ecc_dev->base_reg + HW_OFFS_OCS_ECC_IER); in ocs_ecc_trigger_op() 175 iowrite32(op_size | inst, ecc_dev->base_reg + HW_OFFS_OCS_ECC_COMMAND); in ocs_ecc_trigger_op() 190 memcpy_fromio(cx_out, dev->base_reg + HW_OFFS_OCS_ECC_CX_DATA_OUT, in ocs_ecc_read_cx_out() 204 memcpy_fromio(cy_out, dev->base_reg + HW_OFFS_OCS_ECC_CY_DATA_OUT, in ocs_ecc_read_cy_out() 874 status = ioread32(ecc_dev->base_reg + HW_OFFS_OCS_ECC_ISR); in ocs_ecc_irq_handler() [all …]
|
/linux-6.1.9/drivers/misc/habanalabs/gaudi2/ |
D | gaudi2_coresight.c | 1955 const u64 base_reg) in gaudi2_unlock_coresight_unit() argument 1959 WREG32(base_reg + mmCORESIGHT_UNLOCK_REGISTER_OFFSET, CORESIGHT_UNLOCK); in gaudi2_unlock_coresight_unit() 1961 rc = gaudi2_coresight_timeout(hdev, base_reg + mmCORESIGHT_UNLOCK_STATUS_REGISTER_OFFSET, in gaudi2_unlock_coresight_unit() 1967 base_reg); in gaudi2_unlock_coresight_unit() 1975 u64 base_reg; in gaudi2_config_stm() local 1985 base_reg = debug_stm_regs[params->reg_idx]; in gaudi2_config_stm() 1990 if (!base_reg) in gaudi2_config_stm() 1997 read_reg = RREG32(base_reg + mmSTM_STMDMAIDR_OFFSET); in gaudi2_config_stm() 2001 rc = gaudi2_unlock_coresight_unit(hdev, base_reg); in gaudi2_config_stm() 2011 WREG32(base_reg + mmSTM_STMTCSR_OFFSET, 0x80004); in gaudi2_config_stm() [all …]
|
/linux-6.1.9/drivers/gpu/drm/imx/dcss/ |
D | dcss-blkctl.c | 26 void __iomem *base_reg; member 32 dcss_writel(0, blkctl->base_reg + DCSS_BLKCTL_CONTROL0); in dcss_blkctl_cfg() 35 blkctl->base_reg + DCSS_BLKCTL_CONTROL0); in dcss_blkctl_cfg() 38 blkctl->base_reg + DCSS_BLKCTL_RESET_CTRL); in dcss_blkctl_cfg() 49 blkctl->base_reg = ioremap(blkctl_base, SZ_4K); in dcss_blkctl_init() 50 if (!blkctl->base_reg) { in dcss_blkctl_init() 66 if (blkctl->base_reg) in dcss_blkctl_exit() 67 iounmap(blkctl->base_reg); in dcss_blkctl_exit()
|
D | dcss-dtg.c | 80 void __iomem *base_reg; member 101 dcss_writel(val, dtg->base_reg + ofs); in dcss_dtg_write() 112 status = dcss_readl(dtg->base_reg + DCSS_DTG_INT_STATUS); in dcss_dtg_irq_handler() 119 dcss_writel(status & LINE0_IRQ, dtg->base_reg + DCSS_DTG_INT_CONTROL); in dcss_dtg_irq_handler() 134 dtg->base_reg + DCSS_DTG_INT_MASK); in dcss_dtg_irq_config() 163 dtg->base_reg = ioremap(dtg_base, SZ_4K); in dcss_dtg_init() 164 if (!dtg->base_reg) { in dcss_dtg_init() 185 iounmap(dtg->base_reg); in dcss_dtg_init() 197 if (dtg->base_reg) in dcss_dtg_exit() 198 iounmap(dtg->base_reg); in dcss_dtg_exit() [all …]
|
D | dcss-ss.c | 64 void __iomem *base_reg; member 76 dcss_writel(val, ss->base_reg + ofs); in dcss_ss_write() 94 ss->base_reg = ioremap(ss_base, SZ_4K); in dcss_ss_init() 95 if (!ss->base_reg) { in dcss_ss_init() 110 dcss_writel(0, ss->base_reg + DCSS_SS_SYS_CTRL); in dcss_ss_exit() 112 if (ss->base_reg) in dcss_ss_exit() 113 iounmap(ss->base_reg); in dcss_ss_exit() 178 dcss_writel(0, ss->base_reg + DCSS_SS_SYS_CTRL); in dcss_ss_shutoff()
|
D | dcss-dpr.c | 93 void __iomem *base_reg; member 138 ch->base_reg = ioremap(ch->base_ofs, SZ_4K); in dcss_dpr_ch_init_all() 139 if (!ch->base_reg) { in dcss_dpr_ch_init_all() 148 dcss_writel(0xff, ch->base_reg + DCSS_DPR_IRQ_MASK); in dcss_dpr_ch_init_all() 171 if (dpr->ch[i].base_reg) in dcss_dpr_init() 172 iounmap(dpr->ch[i].base_reg); in dcss_dpr_init() 191 dcss_writel(0, ch->base_reg + DCSS_DPR_SYSTEM_CTRL0); in dcss_dpr_exit() 193 if (ch->base_reg) in dcss_dpr_exit() 194 iounmap(ch->base_reg); in dcss_dpr_exit()
|
/linux-6.1.9/arch/arm/mach-omap1/ |
D | irq.c | 57 unsigned long base_reg; member 115 { .base_reg = OMAP_IH1_BASE, .trigger_map = 0xb3f8e22f }, 116 { .base_reg = OMAP_IH2_BASE, .trigger_map = 0xfdb9c1f2 }, 117 { .base_reg = OMAP_IH2_BASE + 0x100, .trigger_map = 0x800040f3 }, 123 { .base_reg = OMAP_IH1_BASE, .trigger_map = 0xb3febfff }, 124 { .base_reg = OMAP_IH2_BASE, .trigger_map = 0xffbfffed }, 127 { .base_reg = OMAP_IH1_BASE, .trigger_map = 0xb3faefc3 }, 128 { .base_reg = OMAP_IH2_BASE, .trigger_map = 0x65b3c061 }, 135 { .base_reg = OMAP_IH1_BASE, .trigger_map = 0xb3fefe8f }, 136 { .base_reg = OMAP_IH2_BASE, .trigger_map = 0xfdb7c1fd }, [all …]
|
/linux-6.1.9/sound/soc/codecs/ |
D | arizona.h | 168 #define ARIZONA_MUX_ENUMS(name, base_reg) \ argument 169 static ARIZONA_MUX_ENUM_DECL(name##_enum, base_reg); \ 172 #define ARIZONA_MIXER_ENUMS(name, base_reg) \ argument 173 ARIZONA_MUX_ENUMS(name##_in1, base_reg); \ 174 ARIZONA_MUX_ENUMS(name##_in2, base_reg + 2); \ 175 ARIZONA_MUX_ENUMS(name##_in3, base_reg + 4); \ 176 ARIZONA_MUX_ENUMS(name##_in4, base_reg + 6) 178 #define ARIZONA_DSP_AUX_ENUMS(name, base_reg) \ argument 179 ARIZONA_MUX_ENUMS(name##_aux1, base_reg); \ 180 ARIZONA_MUX_ENUMS(name##_aux2, base_reg + 8); \ [all …]
|
D | madera.h | 215 #define MADERA_MUX_ENUMS(name, base_reg) \ argument 216 static MADERA_MUX_ENUM_DECL(name##_enum, base_reg); \ 219 #define MADERA_MIXER_ENUMS(name, base_reg) \ argument 220 MADERA_MUX_ENUMS(name##_in1, base_reg); \ 221 MADERA_MUX_ENUMS(name##_in2, base_reg + 2); \ 222 MADERA_MUX_ENUMS(name##_in3, base_reg + 4); \ 223 MADERA_MUX_ENUMS(name##_in4, base_reg + 6) 225 #define MADERA_DSP_AUX_ENUMS(name, base_reg) \ argument 226 MADERA_MUX_ENUMS(name##_aux1, base_reg); \ 227 MADERA_MUX_ENUMS(name##_aux2, base_reg + 8); \ [all …]
|
/linux-6.1.9/drivers/gpu/drm/sun4i/ |
D | sun8i_csc.c | 116 u32 base_reg; in sun8i_csc_set_coefficients() local 123 base_reg = SUN8I_CSC_COEFF(base, 0); in sun8i_csc_set_coefficients() 124 regmap_bulk_write(map, base_reg, table, 12); in sun8i_csc_set_coefficients() 129 base_reg = SUN8I_CSC_COEFF(base, i + 1); in sun8i_csc_set_coefficients() 131 base_reg = SUN8I_CSC_COEFF(base, i - 1); in sun8i_csc_set_coefficients() 133 base_reg = SUN8I_CSC_COEFF(base, i); in sun8i_csc_set_coefficients() 134 regmap_write(map, base_reg, table[i]); in sun8i_csc_set_coefficients()
|
/linux-6.1.9/drivers/watchdog/ |
D | rdc321x_wdt.c | 51 int base_reg; member 67 rdc321x_wdt_device.base_reg, &val); in rdc321x_wdt_trigger() 70 rdc321x_wdt_device.base_reg, val); in rdc321x_wdt_trigger() 99 rdc321x_wdt_device.base_reg, RDC_CLS_TMR); in rdc321x_wdt_start() 103 rdc321x_wdt_device.base_reg, in rdc321x_wdt_start() 159 rdc321x_wdt_device.base_reg, &value); in rdc321x_wdt_ioctl() 233 rdc321x_wdt_device.base_reg = r->start; in rdc321x_wdt_probe() 247 rdc321x_wdt_device.base_reg, RDC_WDT_RST); in rdc321x_wdt_probe()
|
/linux-6.1.9/drivers/clk/ |
D | clk-en7523.c | 30 u32 base_reg; member 62 .base_reg = REG_GSW_CLK_DIV_SEL, 75 .base_reg = REG_EMI_CLK_DIV_SEL, 88 .base_reg = REG_BUS_CLK_DIV_SEL, 101 .base_reg = REG_SPI_CLK_FREQ_SEL, 116 .base_reg = REG_SPI_CLK_DIV_SEL, 128 .base_reg = REG_NPU_CLK_DIV_SEL, 141 .base_reg = REG_CRYPTO_CLKSRC, 162 val = readl(base + desc->base_reg); in en7523_get_base_rate() 180 reg = desc->div_reg ? desc->div_reg : desc->base_reg; in en7523_get_div()
|
/linux-6.1.9/drivers/media/dvb-frontends/ |
D | dibx000_common.c | 82 while (((status = dibx000_read_word(mst, mst->base_reg + 2)) & 0x0100) == 0 && --i > 0) in dibx000_is_i2c_done() 105 dibx000_read_word(mst, mst->base_reg + 2); in dibx000_master_i2c_write() 112 dibx000_write_word(mst, mst->base_reg, data); in dibx000_master_i2c_write() 129 dibx000_write_word(mst, mst->base_reg+1, da); in dibx000_master_i2c_write() 161 dibx000_write_word(mst, mst->base_reg+1, da); in dibx000_master_i2c_read() 169 da = dibx000_read_word(mst, mst->base_reg); in dibx000_master_i2c_read() 188 return dibx000_write_word(mst, mst->base_reg + 3, (u16)(60000 / speed)); in dibx000_i2c_set_speed() 204 return dibx000_write_word(mst, mst->base_reg + 4, intf); in dibx000_i2c_select_interface() 277 tx[0] = (((mst->base_reg + 1) >> 8) & 0xff); in dibx000_i2c_gate_ctrl() 278 tx[1] = ((mst->base_reg + 1) & 0xff); in dibx000_i2c_gate_ctrl() [all …]
|
/linux-6.1.9/arch/mips/kernel/ |
D | mips-cm.c | 201 u32 base_reg; in __mips_cm_l2sync_phys_base() local 207 base_reg = read_gcr_l2_only_sync_base(); in __mips_cm_l2sync_phys_base() 208 if (base_reg & CM_GCR_L2_ONLY_SYNC_BASE_SYNCEN) in __mips_cm_l2sync_phys_base() 209 return base_reg & CM_GCR_L2_ONLY_SYNC_BASE_SYNCBASE; in __mips_cm_l2sync_phys_base() 244 u32 base_reg; in mips_cm_probe() local 264 base_reg = read_gcr_base(); in mips_cm_probe() 265 if ((base_reg & CM_GCR_BASE_GCRBASE) != addr) { in mips_cm_probe()
|
/linux-6.1.9/sound/soc/cirrus/ |
D | ep93xx-i2s.c | 109 unsigned base_reg; in ep93xx_i2s_enable() local 124 base_reg = EP93XX_I2S_TX0EN; in ep93xx_i2s_enable() 126 base_reg = EP93XX_I2S_RX0EN; in ep93xx_i2s_enable() 127 ep93xx_i2s_write_reg(info, base_reg, 1); in ep93xx_i2s_enable() 139 unsigned base_reg; in ep93xx_i2s_disable() local 148 base_reg = EP93XX_I2S_TX0EN; in ep93xx_i2s_disable() 150 base_reg = EP93XX_I2S_RX0EN; in ep93xx_i2s_disable() 151 ep93xx_i2s_write_reg(info, base_reg, 0); in ep93xx_i2s_disable()
|
/linux-6.1.9/drivers/net/dsa/mv88e6xxx/ |
D | global2_scratch.c | 52 int base_reg, unsigned int offset, in mv88e6xxx_g2_scratch_get_bit() argument 55 int reg = base_reg + (offset / 8); in mv88e6xxx_g2_scratch_get_bit() 79 int base_reg, unsigned int offset, in mv88e6xxx_g2_scratch_set_bit() argument 82 int reg = base_reg + (offset / 8); in mv88e6xxx_g2_scratch_set_bit()
|
/linux-6.1.9/drivers/input/keyboard/ |
D | tm2-touchkey.c | 39 u8 base_reg; member 59 .base_reg = 0x00, 66 .base_reg = 0x00, 80 .base_reg = 0x00, 108 touchkey->variant->base_reg, data); in tm2_touchkey_led_brightness_set()
|
/linux-6.1.9/drivers/bus/ |
D | uniphier-system-bus.c | 118 void __iomem *base_reg = priv->membase + UNIPHIER_SBC_BASE; in uniphier_system_bus_check_boot_swap() local 121 is_swapped = !(readl(base_reg) & UNIPHIER_SBC_BASE_BE); in uniphier_system_bus_check_boot_swap() 136 void __iomem *base_reg = priv->membase + UNIPHIER_SBC_BASE; in uniphier_system_bus_set_reg() local 171 writel(val, base_reg + UNIPHIER_SBC_STRIDE * i); in uniphier_system_bus_set_reg()
|
/linux-6.1.9/tools/testing/selftests/powerpc/include/ |
D | basic_asm.h | 97 .macro OP_REGS op, reg_width, start_reg, end_reg, base_reg, base_reg_offset=0, skip=0 100 \op i, (\reg_width * (i - \skip) + \base_reg_offset)(\base_reg)
|
/linux-6.1.9/drivers/clk/tegra/ |
D | clk-tegra124.c | 188 .base_reg = PLLX_BASE, 222 .base_reg = PLLC_BASE, 276 .base_reg = PLLC2_BASE, 298 .base_reg = PLLC3_BASE, 357 .base_reg = PLLC4_BASE, 420 .base_reg = PLLM_BASE, 477 .base_reg = PLLE_BASE, 516 .base_reg = PLLRE_BASE, 553 .base_reg = PLLP_BASE, 582 .base_reg = PLLA_BASE, [all …]
|