/Linux-v6.6/tools/lib/bpf/ |
D | usdt.c | 208 short reg_off; member 1244 #define reg_off(reg64, reg32) offsetof(struct pt_regs, reg64) in calc_pt_regs_off() macro 1246 #define reg_off(reg64, reg32) offsetof(struct pt_regs, reg32) in calc_pt_regs_off() 1248 { {"rip", "eip", "", ""}, reg_off(rip, eip) }, in calc_pt_regs_off() 1249 { {"rax", "eax", "ax", "al"}, reg_off(rax, eax) }, in calc_pt_regs_off() 1250 { {"rbx", "ebx", "bx", "bl"}, reg_off(rbx, ebx) }, in calc_pt_regs_off() 1251 { {"rcx", "ecx", "cx", "cl"}, reg_off(rcx, ecx) }, in calc_pt_regs_off() 1252 { {"rdx", "edx", "dx", "dl"}, reg_off(rdx, edx) }, in calc_pt_regs_off() 1253 { {"rsi", "esi", "si", "sil"}, reg_off(rsi, esi) }, in calc_pt_regs_off() 1254 { {"rdi", "edi", "di", "dil"}, reg_off(rdi, edi) }, in calc_pt_regs_off() [all …]
|
/Linux-v6.6/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-v6.6/drivers/pinctrl/sunplus/ |
D | sppctl.c | 111 static inline u32 sppctl_get_reg_and_bit_offset(unsigned int offset, u32 *reg_off) in sppctl_get_reg_and_bit_offset() argument 116 *reg_off = (offset / 32) * 4; in sppctl_get_reg_and_bit_offset() 122 static inline u32 sppctl_get_moon_reg_and_bit_offset(unsigned int offset, u32 *reg_off) in sppctl_get_moon_reg_and_bit_offset() argument 132 *reg_off = (offset / 16) * 4; in sppctl_get_moon_reg_and_bit_offset() 138 static inline u32 sppctl_prep_moon_reg_and_offset(unsigned int offset, u32 *reg_off, int val) in sppctl_prep_moon_reg_and_offset() argument 142 bit_off = sppctl_get_moon_reg_and_bit_offset(offset, reg_off); in sppctl_prep_moon_reg_and_offset() 226 static void sppctl_gmx_set(struct sppctl_pdata *pctl, u8 reg_off, u8 bit_off, u8 bit_sz, in sppctl_gmx_set() argument 239 writel(reg, pctl->moon1_base + reg_off * 4); in sppctl_gmx_set() 263 u32 reg_off, bit_off, reg; in sppctl_first_get() local 265 bit_off = sppctl_get_reg_and_bit_offset(offset, ®_off); in sppctl_first_get() [all …]
|
/Linux-v6.6/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 …]
|
/Linux-v6.6/tools/testing/selftests/kvm/riscv/ |
D | get-reg-list.c | 118 __u64 reg_off = id & ~(REG_MASK | KVM_REG_RISCV_CONFIG); in config_id_to_str() local 120 switch (reg_off) { in config_id_to_str() 141 return strdup_printf("KVM_REG_RISCV_CONFIG_REG(%lld) /* UNKNOWN */", reg_off); in config_id_to_str() 147 __u64 reg_off = id & ~(REG_MASK | KVM_REG_RISCV_CORE); in core_id_to_str() local 149 switch (reg_off) { in core_id_to_str() 162 reg_off - KVM_REG_RISCV_CORE_REG(regs.t0)); in core_id_to_str() 165 reg_off - KVM_REG_RISCV_CORE_REG(regs.s0)); in core_id_to_str() 168 reg_off - KVM_REG_RISCV_CORE_REG(regs.a0)); in core_id_to_str() 171 reg_off - KVM_REG_RISCV_CORE_REG(regs.s2) + 2); in core_id_to_str() 174 reg_off - KVM_REG_RISCV_CORE_REG(regs.t3) + 3); in core_id_to_str() [all …]
|
/Linux-v6.6/drivers/pinctrl/ |
D | pinctrl-digicolor.c | 130 int bit_off, reg_off; in dc_set_mux() local 133 dc_client_sel(group, ®_off, &bit_off); in dc_set_mux() 135 reg = readb_relaxed(pmap->regs + reg_off); in dc_set_mux() 138 writeb_relaxed(reg, pmap->regs + reg_off); in dc_set_mux() 148 int bit_off, reg_off; in dc_pmx_request_gpio() local 151 dc_client_sel(offset, ®_off, &bit_off); in dc_pmx_request_gpio() 153 reg = readb_relaxed(pmap->regs + reg_off); in dc_pmx_request_gpio() 171 int reg_off = GP_DRIVE0(gpio/PINS_PER_COLLECTION); in dc_gpio_direction_input() local 177 drive = readb_relaxed(pmap->regs + reg_off); in dc_gpio_direction_input() 179 writeb_relaxed(drive, pmap->regs + reg_off); in dc_gpio_direction_input() [all …]
|
/Linux-v6.6/drivers/clk/meson/ |
D | a1-pll.c | 22 .reg_off = ANACTRL_FIXPLL_CTRL0, 27 .reg_off = ANACTRL_FIXPLL_CTRL0, 32 .reg_off = ANACTRL_FIXPLL_CTRL0, 37 .reg_off = ANACTRL_FIXPLL_CTRL1, 42 .reg_off = ANACTRL_FIXPLL_STS, 47 .reg_off = ANACTRL_FIXPLL_CTRL0, 93 .reg_off = ANACTRL_HIFIPLL_CTRL0, 98 .reg_off = ANACTRL_HIFIPLL_CTRL0, 103 .reg_off = ANACTRL_HIFIPLL_CTRL0, 108 .reg_off = ANACTRL_HIFIPLL_CTRL1, [all …]
|
D | axg.c | 31 .reg_off = HHI_MPLL_CNTL, 36 .reg_off = HHI_MPLL_CNTL, 41 .reg_off = HHI_MPLL_CNTL, 46 .reg_off = HHI_MPLL_CNTL2, 51 .reg_off = HHI_MPLL_CNTL, 56 .reg_off = HHI_MPLL_CNTL, 95 .reg_off = HHI_SYS_PLL_CNTL, 100 .reg_off = HHI_SYS_PLL_CNTL, 105 .reg_off = HHI_SYS_PLL_CNTL, 110 .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 | 124 .reg_off = AO_RTC_ALT_CLK_CNTL0, 129 .reg_off = AO_RTC_ALT_CLK_CNTL0, 134 .reg_off = AO_RTC_ALT_CLK_CNTL1, 139 .reg_off = AO_RTC_ALT_CLK_CNTL1, 144 .reg_off = AO_RTC_ALT_CLK_CNTL0, 215 .reg_off = AO_CEC_CLK_CNTL_REG0, 220 .reg_off = AO_CEC_CLK_CNTL_REG0, 225 .reg_off = AO_CEC_CLK_CNTL_REG1, 230 .reg_off = AO_CEC_CLK_CNTL_REG1, 235 .reg_off = AO_CEC_CLK_CNTL_REG0,
|
D | gxbb.c | 91 .reg_off = HHI_MPLL_CNTL, 96 .reg_off = HHI_MPLL_CNTL, 101 .reg_off = HHI_MPLL_CNTL, 106 .reg_off = HHI_MPLL_CNTL2, 111 .reg_off = HHI_MPLL_CNTL, 116 .reg_off = HHI_MPLL_CNTL, 168 .reg_off = HHI_HDMI_PLL_CNTL, 173 .reg_off = HHI_HDMI_PLL_CNTL, 178 .reg_off = HHI_HDMI_PLL_CNTL, 183 .reg_off = HHI_HDMI_PLL_CNTL2, [all …]
|
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-aoclk.c | 91 .reg_off = AO_RTC_ALT_CLK_CNTL0, 96 .reg_off = AO_RTC_ALT_CLK_CNTL0, 101 .reg_off = AO_RTC_ALT_CLK_CNTL1, 106 .reg_off = AO_RTC_ALT_CLK_CNTL1, 111 .reg_off = AO_RTC_ALT_CLK_CNTL0,
|
/Linux-v6.6/sound/soc/tegra/ |
D | tegra210_mbdrc.c | 787 u32 reg_off = i * TEGRA210_MBDRC_FILTER_PARAM_STRIDE; in tegra210_mbdrc_hw_params() local 790 reg_off + TEGRA210_MBDRC_CFG_RAM_CTRL, in tegra210_mbdrc_hw_params() 791 reg_off + TEGRA210_MBDRC_CFG_RAM_DATA, in tegra210_mbdrc_hw_params() 849 u32 reg_off = i * TEGRA210_MBDRC_FILTER_PARAM_STRIDE; in tegra210_mbdrc_component_init() local 852 reg_off + TEGRA210_MBDRC_IIR_CFG, in tegra210_mbdrc_component_init() 858 reg_off + TEGRA210_MBDRC_IN_ATTACK, in tegra210_mbdrc_component_init() 864 reg_off + TEGRA210_MBDRC_IN_RELEASE, in tegra210_mbdrc_component_init() 870 reg_off + TEGRA210_MBDRC_FAST_ATTACK, in tegra210_mbdrc_component_init() 889 reg_off + TEGRA210_MBDRC_IN_THRESHOLD, in tegra210_mbdrc_component_init() 906 reg_off + TEGRA210_MBDRC_OUT_THRESHOLD, in tegra210_mbdrc_component_init() [all …]
|
/Linux-v6.6/drivers/gpu/drm/msm/disp/dpu1/catalog/ |
D | dpu_3_0_msm8998.h | 29 [DPU_CLK_CTRL_VIG0] = { .reg_off = 0x2ac, .bit_off = 0 }, 30 [DPU_CLK_CTRL_VIG1] = { .reg_off = 0x2b4, .bit_off = 0 }, 31 [DPU_CLK_CTRL_VIG2] = { .reg_off = 0x2bc, .bit_off = 0 }, 32 [DPU_CLK_CTRL_VIG3] = { .reg_off = 0x2c4, .bit_off = 0 }, 33 [DPU_CLK_CTRL_DMA0] = { .reg_off = 0x2ac, .bit_off = 8 }, 34 [DPU_CLK_CTRL_DMA1] = { .reg_off = 0x2b4, .bit_off = 8 }, 35 [DPU_CLK_CTRL_DMA2] = { .reg_off = 0x2c4, .bit_off = 8 }, 36 [DPU_CLK_CTRL_DMA3] = { .reg_off = 0x2c4, .bit_off = 12 }, 37 [DPU_CLK_CTRL_CURSOR0] = { .reg_off = 0x3a8, .bit_off = 16 }, 38 [DPU_CLK_CTRL_CURSOR1] = { .reg_off = 0x3b0, .bit_off = 16 },
|
D | dpu_9_0_sm8550.h | 27 [DPU_CLK_CTRL_VIG0] = { .reg_off = 0x4330, .bit_off = 0 }, 28 [DPU_CLK_CTRL_VIG1] = { .reg_off = 0x6330, .bit_off = 0 }, 29 [DPU_CLK_CTRL_VIG2] = { .reg_off = 0x8330, .bit_off = 0 }, 30 [DPU_CLK_CTRL_VIG3] = { .reg_off = 0xa330, .bit_off = 0 }, 31 [DPU_CLK_CTRL_DMA0] = { .reg_off = 0x24330, .bit_off = 0 }, 32 [DPU_CLK_CTRL_DMA1] = { .reg_off = 0x26330, .bit_off = 0 }, 33 [DPU_CLK_CTRL_DMA2] = { .reg_off = 0x28330, .bit_off = 0 }, 34 [DPU_CLK_CTRL_DMA3] = { .reg_off = 0x2a330, .bit_off = 0 }, 35 [DPU_CLK_CTRL_DMA4] = { .reg_off = 0x2c330, .bit_off = 0 }, 36 [DPU_CLK_CTRL_DMA5] = { .reg_off = 0x2e330, .bit_off = 0 }, [all …]
|
D | dpu_6_0_sm8250.h | 26 [DPU_CLK_CTRL_VIG0] = { .reg_off = 0x2ac, .bit_off = 0 }, 27 [DPU_CLK_CTRL_VIG1] = { .reg_off = 0x2b4, .bit_off = 0 }, 28 [DPU_CLK_CTRL_VIG2] = { .reg_off = 0x2bc, .bit_off = 0 }, 29 [DPU_CLK_CTRL_VIG3] = { .reg_off = 0x2c4, .bit_off = 0 }, 30 [DPU_CLK_CTRL_DMA0] = { .reg_off = 0x2ac, .bit_off = 8 }, 31 [DPU_CLK_CTRL_DMA1] = { .reg_off = 0x2b4, .bit_off = 8 }, 32 [DPU_CLK_CTRL_DMA2] = { .reg_off = 0x2bc, .bit_off = 8 }, 33 [DPU_CLK_CTRL_DMA3] = { .reg_off = 0x2c4, .bit_off = 8 }, 34 [DPU_CLK_CTRL_REG_DMA] = { .reg_off = 0x2bc, .bit_off = 20 }, 35 [DPU_CLK_CTRL_WB2] = { .reg_off = 0x3b8, .bit_off = 24 },
|
D | dpu_4_0_sdm845.h | 29 [DPU_CLK_CTRL_VIG0] = { .reg_off = 0x2ac, .bit_off = 0 }, 30 [DPU_CLK_CTRL_VIG1] = { .reg_off = 0x2b4, .bit_off = 0 }, 31 [DPU_CLK_CTRL_VIG2] = { .reg_off = 0x2bc, .bit_off = 0 }, 32 [DPU_CLK_CTRL_VIG3] = { .reg_off = 0x2c4, .bit_off = 0 }, 33 [DPU_CLK_CTRL_DMA0] = { .reg_off = 0x2ac, .bit_off = 8 }, 34 [DPU_CLK_CTRL_DMA1] = { .reg_off = 0x2b4, .bit_off = 8 }, 35 [DPU_CLK_CTRL_DMA2] = { .reg_off = 0x2bc, .bit_off = 8 }, 36 [DPU_CLK_CTRL_DMA3] = { .reg_off = 0x2c4, .bit_off = 8 },
|
D | dpu_8_1_sm8450.h | 27 [DPU_CLK_CTRL_VIG0] = { .reg_off = 0x2ac, .bit_off = 0 }, 28 [DPU_CLK_CTRL_VIG1] = { .reg_off = 0x2b4, .bit_off = 0 }, 29 [DPU_CLK_CTRL_VIG2] = { .reg_off = 0x2bc, .bit_off = 0 }, 30 [DPU_CLK_CTRL_VIG3] = { .reg_off = 0x2c4, .bit_off = 0 }, 31 [DPU_CLK_CTRL_DMA0] = { .reg_off = 0x2ac, .bit_off = 8 }, 32 [DPU_CLK_CTRL_DMA1] = { .reg_off = 0x2b4, .bit_off = 8 }, 33 [DPU_CLK_CTRL_DMA2] = { .reg_off = 0x2bc, .bit_off = 8 }, 34 [DPU_CLK_CTRL_DMA3] = { .reg_off = 0x2c4, .bit_off = 8 }, 35 [DPU_CLK_CTRL_REG_DMA] = { .reg_off = 0x2bc, .bit_off = 20 },
|
D | dpu_7_0_sm8350.h | 26 [DPU_CLK_CTRL_VIG0] = { .reg_off = 0x2ac, .bit_off = 0 }, 27 [DPU_CLK_CTRL_VIG1] = { .reg_off = 0x2b4, .bit_off = 0 }, 28 [DPU_CLK_CTRL_VIG2] = { .reg_off = 0x2bc, .bit_off = 0 }, 29 [DPU_CLK_CTRL_VIG3] = { .reg_off = 0x2c4, .bit_off = 0 }, 30 [DPU_CLK_CTRL_DMA0] = { .reg_off = 0x2ac, .bit_off = 8 }, 31 [DPU_CLK_CTRL_DMA1] = { .reg_off = 0x2b4, .bit_off = 8 }, 32 [DPU_CLK_CTRL_DMA2] = { .reg_off = 0x2bc, .bit_off = 8 }, 33 [DPU_CLK_CTRL_DMA3] = { .reg_off = 0x2c4, .bit_off = 8 }, 34 [DPU_CLK_CTRL_REG_DMA] = { .reg_off = 0x2bc, .bit_off = 20 },
|
D | dpu_5_0_sm8150.h | 29 [DPU_CLK_CTRL_VIG0] = { .reg_off = 0x2ac, .bit_off = 0 }, 30 [DPU_CLK_CTRL_VIG1] = { .reg_off = 0x2b4, .bit_off = 0 }, 31 [DPU_CLK_CTRL_VIG2] = { .reg_off = 0x2bc, .bit_off = 0 }, 32 [DPU_CLK_CTRL_VIG3] = { .reg_off = 0x2c4, .bit_off = 0 }, 33 [DPU_CLK_CTRL_DMA0] = { .reg_off = 0x2ac, .bit_off = 8 }, 34 [DPU_CLK_CTRL_DMA1] = { .reg_off = 0x2b4, .bit_off = 8 }, 35 [DPU_CLK_CTRL_DMA2] = { .reg_off = 0x2bc, .bit_off = 8 }, 36 [DPU_CLK_CTRL_DMA3] = { .reg_off = 0x2c4, .bit_off = 8 },
|
D | dpu_8_0_sc8280xp.h | 27 [DPU_CLK_CTRL_VIG0] = { .reg_off = 0x2ac, .bit_off = 0 }, 28 [DPU_CLK_CTRL_VIG1] = { .reg_off = 0x2b4, .bit_off = 0 }, 29 [DPU_CLK_CTRL_VIG2] = { .reg_off = 0x2bc, .bit_off = 0 }, 30 [DPU_CLK_CTRL_VIG3] = { .reg_off = 0x2c4, .bit_off = 0 }, 31 [DPU_CLK_CTRL_DMA0] = { .reg_off = 0x2ac, .bit_off = 8 }, 32 [DPU_CLK_CTRL_DMA1] = { .reg_off = 0x2b4, .bit_off = 8 }, 33 [DPU_CLK_CTRL_DMA2] = { .reg_off = 0x2bc, .bit_off = 8 }, 34 [DPU_CLK_CTRL_DMA3] = { .reg_off = 0x2c4, .bit_off = 8 }, 35 [DPU_CLK_CTRL_REG_DMA] = { .reg_off = 0x2bc, .bit_off = 20 },
|
D | dpu_6_4_sm6350.h | 26 [DPU_CLK_CTRL_VIG0] = { .reg_off = 0x2ac, .bit_off = 0 }, 27 [DPU_CLK_CTRL_DMA0] = { .reg_off = 0x2ac, .bit_off = 8 }, 28 [DPU_CLK_CTRL_DMA1] = { .reg_off = 0x2b4, .bit_off = 8 }, 29 [DPU_CLK_CTRL_DMA2] = { .reg_off = 0x2c4, .bit_off = 8 }, 30 [DPU_CLK_CTRL_REG_DMA] = { .reg_off = 0x2bc, .bit_off = 20 },
|
/Linux-v6.6/drivers/net/ethernet/marvell/octeon_ep/ |
D | octep_main.h | 305 #define octep_write_csr(octep_dev, reg_off, value) \ argument 306 writel(value, (octep_dev)->mmio[0].hw_addr + (reg_off)) 308 #define octep_write_csr64(octep_dev, reg_off, val64) \ argument 309 writeq(val64, (octep_dev)->mmio[0].hw_addr + (reg_off)) 311 #define octep_read_csr(octep_dev, reg_off) \ argument 312 readl((octep_dev)->mmio[0].hw_addr + (reg_off)) 314 #define octep_read_csr64(octep_dev, reg_off) \ argument 315 readq((octep_dev)->mmio[0].hw_addr + (reg_off))
|
/Linux-v6.6/drivers/thermal/samsung/ |
D | exynos_tmu.c | 442 unsigned int reg_off, j; in exynos5433_tmu_set_trip_temp() local 446 reg_off = EXYNOS5433_THD_TEMP_RISE7_4; in exynos5433_tmu_set_trip_temp() 449 reg_off = EXYNOS5433_THD_TEMP_RISE3_0; in exynos5433_tmu_set_trip_temp() 453 th = readl(data->base + reg_off); in exynos5433_tmu_set_trip_temp() 456 writel(th, data->base + reg_off); in exynos5433_tmu_set_trip_temp() 462 unsigned int reg_off, j; in exynos5433_tmu_set_trip_hyst() local 466 reg_off = EXYNOS5433_THD_TEMP_FALL7_4; in exynos5433_tmu_set_trip_hyst() 469 reg_off = EXYNOS5433_THD_TEMP_FALL3_0; in exynos5433_tmu_set_trip_hyst() 473 th = readl(data->base + reg_off); in exynos5433_tmu_set_trip_hyst() 476 writel(th, data->base + reg_off); in exynos5433_tmu_set_trip_hyst() [all …]
|