Home
last modified time | relevance | path

Searched refs:REG_OFFSET (Results 1 – 13 of 13) sorted by relevance

/linux-5.19.10/arch/mips/ar7/
Dirq.c19 #define REG_OFFSET(irq, reg) ((irq) / 32 * 0x4 + reg * 0x10) macro
22 #define CR_OFFSET(irq) (REG_OFFSET(irq, 1)) /* 0x10 */
24 #define ESR_OFFSET(irq) (REG_OFFSET(irq, 2)) /* 0x20 */
26 #define ECR_OFFSET(irq) (REG_OFFSET(irq, 3)) /* 0x30 */
30 #define PM_OFFSET(irq) (REG_OFFSET(irq, 5)) /* 0x50 */
31 #define TM_OFFSET(irq) (REG_OFFSET(irq, 6)) /* 0x60 */
/linux-5.19.10/drivers/gpu/drm/amd/display/dmub/src/
Ddmub_dcn301.c41 #define DMUB_SR(reg) REG_OFFSET(reg),
Ddmub_dcn302.c41 #define DMUB_SR(reg) REG_OFFSET(reg),
Ddmub_dcn303.c23 #define DMUB_SR(reg) REG_OFFSET(reg),
Ddmub_dcn21.c41 #define DMUB_SR(reg) REG_OFFSET(reg),
Ddmub_reg.h37 #define REG_OFFSET(reg_name) (BASE(mm##reg_name##_BASE_IDX) + mm##reg_name) macro
Ddmub_dcn30.c42 #define DMUB_SR(reg) REG_OFFSET(reg),
Ddmub_dcn20.c42 #define DMUB_SR(reg) REG_OFFSET(reg),
/linux-5.19.10/drivers/pinctrl/spear/
Dpinctrl-plgpio.c28 #define REG_OFFSET(base, reg, pin) (base + reg + (pin / MAX_GPIO_PER_REG) \ macro
85 u32 reg_off = REG_OFFSET(0, reg, pin); in is_plgpio_set()
96 u32 reg_off = REG_OFFSET(0, reg, pin); in plgpio_reg_set()
106 u32 reg_off = REG_OFFSET(0, reg, pin); in plgpio_reg_reset()
347 reg_off = REG_OFFSET(0, plgpio->regs.eit, offset); in plgpio_irq_set_type()
/linux-5.19.10/arch/riscv/kernel/
Dtraps_misaligned.c128 #define REG_OFFSET(insn, pos) \ macro
132 (ulong *)((ulong)(regs) + REG_OFFSET(insn, pos))
/linux-5.19.10/sound/soc/sh/
Dsiu_dai.c35 #define REG_OFFSET 0xc000 macro
763 info->reg = devm_ioremap(&pdev->dev, res->start + REG_OFFSET, in siu_probe()
764 resource_size(res) - REG_OFFSET); in siu_probe()
/linux-5.19.10/arch/riscv/kvm/
Dvcpu_exit.c106 #define REG_OFFSET(insn, pos) \ macro
110 ((ulong *)((ulong)(regs) + REG_OFFSET(insn, pos)))
/linux-5.19.10/tools/testing/selftests/kvm/aarch64/
Dvgic_init.c20 #define REG_OFFSET(vcpu, offset) (((uint64_t)vcpu << 32) | offset) macro
39 uint64_t attr = REG_OFFSET(vcpu, offset); in access_v3_redist_reg()