| /Linux-v5.15/drivers/mmc/host/ |
| D | cavium.h | 37 #define MIO_EMM_CFG(x) (0x00 + x->reg_off) 38 #define MIO_EMM_SWITCH(x) (0x48 + x->reg_off) 39 #define MIO_EMM_DMA(x) (0x50 + x->reg_off) 40 #define MIO_EMM_CMD(x) (0x58 + x->reg_off) 41 #define MIO_EMM_RSP_STS(x) (0x60 + x->reg_off) 42 #define MIO_EMM_RSP_LO(x) (0x68 + x->reg_off) 43 #define MIO_EMM_RSP_HI(x) (0x70 + x->reg_off) 44 #define MIO_EMM_INT(x) (0x78 + x->reg_off) 45 #define MIO_EMM_INT_EN(x) (0x80 + x->reg_off) 46 #define MIO_EMM_WDOG(x) (0x88 + x->reg_off) [all …]
|
| /Linux-v5.15/drivers/gpu/drm/msm/disp/dpu1/ |
| D | dpu_hw_vbif.c | 59 u32 reg_off; in dpu_hw_set_mem_type() local 74 reg_off = VBIF_OUT_AXI_AMEMTYPE_CONF1; in dpu_hw_set_mem_type() 76 reg_off = VBIF_OUT_AXI_AMEMTYPE_CONF0; in dpu_hw_set_mem_type() 79 reg_val = DPU_REG_READ(c, reg_off); in dpu_hw_set_mem_type() 82 DPU_REG_WRITE(c, reg_off, reg_val); in dpu_hw_set_mem_type() 90 u32 reg_off; in dpu_hw_set_limit_conf() local 94 reg_off = VBIF_IN_RD_LIM_CONF0; in dpu_hw_set_limit_conf() 96 reg_off = VBIF_IN_WR_LIM_CONF0; in dpu_hw_set_limit_conf() 98 reg_off += (xin_id / 4) * 4; in dpu_hw_set_limit_conf() 100 reg_val = DPU_REG_READ(c, reg_off); in dpu_hw_set_limit_conf() [all …]
|
| D | dpu_hw_catalog.c | 261 .reg_off = 0x2AC, .bit_off = 0}, 263 .reg_off = 0x2B4, .bit_off = 0}, 265 .reg_off = 0x2BC, .bit_off = 0}, 267 .reg_off = 0x2C4, .bit_off = 0}, 269 .reg_off = 0x2AC, .bit_off = 8}, 271 .reg_off = 0x2B4, .bit_off = 8}, 273 .reg_off = 0x2BC, .bit_off = 8}, 275 .reg_off = 0x2C4, .bit_off = 8}, 286 .reg_off = 0x2AC, .bit_off = 0}, 288 .reg_off = 0x2AC, .bit_off = 8}, [all …]
|
| D | dpu_hw_top.c | 95 u32 reg_off, bit_off; in dpu_hw_setup_clk_force_ctrl() local 107 reg_off = mdp->caps->clk_ctrls[clk_ctrl].reg_off; in dpu_hw_setup_clk_force_ctrl() 110 reg_val = DPU_REG_READ(c, reg_off); in dpu_hw_setup_clk_force_ctrl() 117 DPU_REG_WRITE(c, reg_off, new_val); in dpu_hw_setup_clk_force_ctrl()
|
| D | dpu_hw_util.c | 76 u32 reg_off, in dpu_reg_write() argument 83 name, c->blk_off + reg_off, val); in dpu_reg_write() 84 writel_relaxed(val, c->base_off + c->blk_off + reg_off); in dpu_reg_write() 87 int dpu_reg_read(struct dpu_hw_blk_reg_map *c, u32 reg_off) in dpu_reg_read() argument 89 return readl_relaxed(c->base_off + c->blk_off + reg_off); in dpu_reg_read()
|
| /Linux-v5.15/drivers/pinctrl/ |
| D | pinctrl-digicolor.c | 129 int bit_off, reg_off; in dc_set_mux() local 132 dc_client_sel(group, ®_off, &bit_off); in dc_set_mux() 134 reg = readb_relaxed(pmap->regs + reg_off); in dc_set_mux() 137 writeb_relaxed(reg, pmap->regs + reg_off); in dc_set_mux() 147 int bit_off, reg_off; in dc_pmx_request_gpio() local 150 dc_client_sel(offset, ®_off, &bit_off); in dc_pmx_request_gpio() 152 reg = readb_relaxed(pmap->regs + reg_off); in dc_pmx_request_gpio() 170 int reg_off = GP_DRIVE0(gpio/PINS_PER_COLLECTION); in dc_gpio_direction_input() local 176 drive = readb_relaxed(pmap->regs + reg_off); in dc_gpio_direction_input() 178 writeb_relaxed(drive, pmap->regs + reg_off); in dc_gpio_direction_input() [all …]
|
| /Linux-v5.15/drivers/irqchip/ |
| D | irq-davinci-aintc.c | 82 unsigned int irq_off, reg_off, prio, shift; in davinci_aintc_init() local 125 for (reg_off = DAVINCI_AINTC_IRQ_INTPRI0_REG; in davinci_aintc_init() 126 reg_off <= DAVINCI_AINTC_IRQ_INTPRI7_REG; reg_off += 4) { in davinci_aintc_init() 129 davinci_aintc_writel(prio, reg_off); in davinci_aintc_init() 156 for (irq_off = 0, reg_off = 0; in davinci_aintc_init() 158 irq_off += 32, reg_off += 0x04) in davinci_aintc_init() 159 davinci_aintc_setup_gc(davinci_aintc_base + reg_off, in davinci_aintc_init()
|
| /Linux-v5.15/drivers/clk/meson/ |
| D | axg.c | 29 .reg_off = HHI_MPLL_CNTL, 34 .reg_off = HHI_MPLL_CNTL, 39 .reg_off = HHI_MPLL_CNTL, 44 .reg_off = HHI_MPLL_CNTL2, 49 .reg_off = HHI_MPLL_CNTL, 54 .reg_off = HHI_MPLL_CNTL, 93 .reg_off = HHI_SYS_PLL_CNTL, 98 .reg_off = HHI_SYS_PLL_CNTL, 103 .reg_off = HHI_SYS_PLL_CNTL, 108 .reg_off = HHI_SYS_PLL_CNTL, [all …]
|
| D | meson8-ddr.c | 28 .reg_off = AM_DDR_PLL_CNTL, 33 .reg_off = AM_DDR_PLL_CNTL, 38 .reg_off = AM_DDR_PLL_CNTL, 43 .reg_off = AM_DDR_PLL_CNTL, 48 .reg_off = AM_DDR_PLL_CNTL,
|
| D | g12a-aoclk.c | 122 .reg_off = AO_RTC_ALT_CLK_CNTL0, 127 .reg_off = AO_RTC_ALT_CLK_CNTL0, 132 .reg_off = AO_RTC_ALT_CLK_CNTL1, 137 .reg_off = AO_RTC_ALT_CLK_CNTL1, 142 .reg_off = AO_RTC_ALT_CLK_CNTL0, 213 .reg_off = AO_CEC_CLK_CNTL_REG0, 218 .reg_off = AO_CEC_CLK_CNTL_REG0, 223 .reg_off = AO_CEC_CLK_CNTL_REG1, 228 .reg_off = AO_CEC_CLK_CNTL_REG1, 233 .reg_off = AO_CEC_CLK_CNTL_REG0,
|
| D | parm.h | 25 u16 reg_off; member 34 regmap_read(map, p->reg_off, &val); in meson_parm_read() 41 regmap_update_bits(map, p->reg_off, SETPMASK(p->width, p->shift), in meson_parm_write()
|
| D | gxbb.c | 89 .reg_off = HHI_MPLL_CNTL, 94 .reg_off = HHI_MPLL_CNTL, 99 .reg_off = HHI_MPLL_CNTL, 104 .reg_off = HHI_MPLL_CNTL2, 109 .reg_off = HHI_MPLL_CNTL, 114 .reg_off = HHI_MPLL_CNTL, 166 .reg_off = HHI_HDMI_PLL_CNTL, 171 .reg_off = HHI_HDMI_PLL_CNTL, 176 .reg_off = HHI_HDMI_PLL_CNTL, 181 .reg_off = HHI_HDMI_PLL_CNTL2, [all …]
|
| D | gxbb-aoclk.c | 89 .reg_off = AO_RTC_ALT_CLK_CNTL0, 94 .reg_off = AO_RTC_ALT_CLK_CNTL0, 99 .reg_off = AO_RTC_ALT_CLK_CNTL1, 104 .reg_off = AO_RTC_ALT_CLK_CNTL1, 109 .reg_off = AO_RTC_ALT_CLK_CNTL0,
|
| D | g12a.c | 33 .reg_off = HHI_FIX_PLL_CNTL0, 38 .reg_off = HHI_FIX_PLL_CNTL0, 43 .reg_off = HHI_FIX_PLL_CNTL0, 48 .reg_off = HHI_FIX_PLL_CNTL1, 53 .reg_off = HHI_FIX_PLL_CNTL0, 58 .reg_off = HHI_FIX_PLL_CNTL0, 102 .reg_off = HHI_SYS_PLL_CNTL0, 107 .reg_off = HHI_SYS_PLL_CNTL0, 112 .reg_off = HHI_SYS_PLL_CNTL0, 117 .reg_off = HHI_SYS_PLL_CNTL0, [all …]
|
| D | axg-aoclk.c | 103 .reg_off = AO_RTC_ALT_CLK_CNTL0, 108 .reg_off = AO_RTC_ALT_CLK_CNTL0, 113 .reg_off = AO_RTC_ALT_CLK_CNTL1, 118 .reg_off = AO_RTC_ALT_CLK_CNTL1, 123 .reg_off = AO_RTC_ALT_CLK_CNTL0,
|
| D | meson8b.c | 58 .reg_off = HHI_MPLL_CNTL, 63 .reg_off = HHI_MPLL_CNTL, 68 .reg_off = HHI_MPLL_CNTL, 73 .reg_off = HHI_MPLL_CNTL2, 78 .reg_off = HHI_MPLL_CNTL, 83 .reg_off = HHI_MPLL_CNTL, 124 .reg_off = HHI_VID_PLL_CNTL, 129 .reg_off = HHI_VID_PLL_CNTL, 134 .reg_off = HHI_VID_PLL_CNTL, 139 .reg_off = HHI_VID_PLL_CNTL2, [all …]
|
| /Linux-v5.15/drivers/pinctrl/spear/ |
| D | pinctrl-plgpio.c | 83 void __iomem *reg_off = REG_OFFSET(base, reg, pin); in is_plgpio_set() local 84 u32 val = readl_relaxed(reg_off); in is_plgpio_set() 92 void __iomem *reg_off = REG_OFFSET(base, reg, pin); in plgpio_reg_set() local 93 u32 val = readl_relaxed(reg_off); in plgpio_reg_set() 95 writel_relaxed(val | (1 << offset), reg_off); in plgpio_reg_set() 101 void __iomem *reg_off = REG_OFFSET(base, reg, pin); in plgpio_reg_reset() local 102 u32 val = readl_relaxed(reg_off); in plgpio_reg_reset() 104 writel_relaxed(val & ~(1 << offset), reg_off); in plgpio_reg_reset() 323 void __iomem *reg_off; in plgpio_irq_set_type() local 340 reg_off = REG_OFFSET(plgpio->base, plgpio->regs.eit, offset); in plgpio_irq_set_type() [all …]
|
| /Linux-v5.15/drivers/thermal/samsung/ |
| D | exynos_tmu.c | 452 unsigned int reg_off, j; in exynos5433_tmu_set_trip_temp() local 456 reg_off = EXYNOS5433_THD_TEMP_RISE7_4; in exynos5433_tmu_set_trip_temp() 459 reg_off = EXYNOS5433_THD_TEMP_RISE3_0; in exynos5433_tmu_set_trip_temp() 463 th = readl(data->base + reg_off); in exynos5433_tmu_set_trip_temp() 466 writel(th, data->base + reg_off); in exynos5433_tmu_set_trip_temp() 472 unsigned int reg_off, j; in exynos5433_tmu_set_trip_hyst() local 476 reg_off = EXYNOS5433_THD_TEMP_FALL7_4; in exynos5433_tmu_set_trip_hyst() 479 reg_off = EXYNOS5433_THD_TEMP_FALL3_0; in exynos5433_tmu_set_trip_hyst() 483 th = readl(data->base + reg_off); in exynos5433_tmu_set_trip_hyst() 486 writel(th, data->base + reg_off); in exynos5433_tmu_set_trip_hyst() [all …]
|
| /Linux-v5.15/drivers/net/ethernet/cavium/liquidio/ |
| D | octeon_device.h | 740 #define octeon_write_csr(oct_dev, reg_off, value) \ argument 741 writel(value, (oct_dev)->mmio[0].hw_addr + (reg_off)) 743 #define octeon_write_csr64(oct_dev, reg_off, val64) \ argument 744 writeq(val64, (oct_dev)->mmio[0].hw_addr + (reg_off)) 746 #define octeon_read_csr(oct_dev, reg_off) \ argument 747 readl((oct_dev)->mmio[0].hw_addr + (reg_off)) 749 #define octeon_read_csr64(oct_dev, reg_off) \ argument 750 readq((oct_dev)->mmio[0].hw_addr + (reg_off))
|
| /Linux-v5.15/arch/x86/kvm/ |
| D | lapic.h | 156 static inline u32 kvm_lapic_get_reg(struct kvm_lapic *apic, int reg_off) in kvm_lapic_get_reg() argument 158 return *((u32 *) (apic->regs + reg_off)); in kvm_lapic_get_reg() 161 static inline void __kvm_lapic_set_reg(char *regs, int reg_off, u32 val) in __kvm_lapic_set_reg() argument 163 *((u32 *) (regs + reg_off)) = val; in __kvm_lapic_set_reg() 166 static inline void kvm_lapic_set_reg(struct kvm_lapic *apic, int reg_off, u32 val) in kvm_lapic_set_reg() argument 168 __kvm_lapic_set_reg(apic->regs, reg_off, val); in kvm_lapic_set_reg()
|
| /Linux-v5.15/drivers/misc/habanalabs/goya/ |
| D | goya.c | 1015 u32 reg_off = dma_id * (mmDMA_QM_1_PQ_PI - mmDMA_QM_0_PQ_PI); in goya_init_dma_qman() local 1028 WREG32(mmDMA_QM_0_PQ_BASE_LO + reg_off, lower_32_bits(bus_address)); in goya_init_dma_qman() 1029 WREG32(mmDMA_QM_0_PQ_BASE_HI + reg_off, upper_32_bits(bus_address)); in goya_init_dma_qman() 1031 WREG32(mmDMA_QM_0_PQ_SIZE + reg_off, ilog2(HL_QUEUE_LENGTH)); in goya_init_dma_qman() 1032 WREG32(mmDMA_QM_0_PQ_PI + reg_off, 0); in goya_init_dma_qman() 1033 WREG32(mmDMA_QM_0_PQ_CI + reg_off, 0); in goya_init_dma_qman() 1035 WREG32(mmDMA_QM_0_CP_MSG_BASE0_ADDR_LO + reg_off, mtr_base_lo); in goya_init_dma_qman() 1036 WREG32(mmDMA_QM_0_CP_MSG_BASE0_ADDR_HI + reg_off, mtr_base_hi); in goya_init_dma_qman() 1037 WREG32(mmDMA_QM_0_CP_MSG_BASE1_ADDR_LO + reg_off, so_base_lo); in goya_init_dma_qman() 1038 WREG32(mmDMA_QM_0_CP_MSG_BASE1_ADDR_HI + reg_off, so_base_hi); in goya_init_dma_qman() [all …]
|
| /Linux-v5.15/sound/soc/xilinx/ |
| D | xlnx_i2s.c | 42 u32 reg_off, chan_id; in xlnx_i2s_hw_params() local 48 reg_off = I2S_CH0_OFFSET + ((chan_id - 1) * 4); in xlnx_i2s_hw_params() 49 writel(chan_id, base + reg_off); in xlnx_i2s_hw_params()
|
| /Linux-v5.15/drivers/mtd/nand/raw/ |
| D | qcom_nandc.c | 862 int reg_off, const void *vaddr, in prep_bam_dma_desc_cmd() argument 876 nandc_reg_phys(nandc, reg_off + 4 * i), in prep_bam_dma_desc_cmd() 882 nandc_reg_phys(nandc, reg_off + 4 * i), in prep_bam_dma_desc_cmd() 948 int reg_off, const void *vaddr, int size, in prep_adm_dma_desc() argument 985 slave_conf.src_addr = nandc->base_dma + reg_off; in prep_adm_dma_desc() 989 slave_conf.dst_addr = nandc->base_dma + reg_off; in prep_adm_dma_desc() 1101 static int read_data_dma(struct qcom_nand_controller *nandc, int reg_off, in read_data_dma() argument 1107 return prep_adm_dma_desc(nandc, true, reg_off, vaddr, size, false); in read_data_dma() 1119 static int write_data_dma(struct qcom_nand_controller *nandc, int reg_off, in write_data_dma() argument 1125 return prep_adm_dma_desc(nandc, false, reg_off, vaddr, size, false); in write_data_dma() [all …]
|
| /Linux-v5.15/drivers/crypto/keembay/ |
| D | ocs-hcu.c | 376 int reg_off; in ocs_hcu_clear_key() local 379 for (reg_off = 0; reg_off < OCS_HCU_HW_KEY_LEN; reg_off += sizeof(u32)) in ocs_hcu_clear_key() 380 writel(0, hcu_dev->io_base + OCS_HCU_KEY_0 + reg_off); in ocs_hcu_clear_key()
|
| /Linux-v5.15/drivers/clk/ |
| D | clk-stm32mp1.c | 332 u32 reg_off; member 343 u32 reg_off; member 351 u32 reg_off; member 394 gate_cfg->reg_off + base, in _clk_hw_register_gate() 425 div_cfg->reg_off + base, in _clk_hw_register_divider_table() 443 mux_cfg->reg_off + base, mux_cfg->shift, in _clk_hw_register_mux() 488 mmux->mux.reg = cfg->mux->reg_off + base; in _get_stm32_mux() 503 mux->reg = cfg->mux->reg_off + base; in _get_stm32_mux() 526 div->reg = cfg->div->reg_off + base; in _get_stm32_div() 549 mgate->gate.reg = cfg->gate->reg_off + base; in _get_stm32_gate() [all …]
|