Searched refs:REG_OFFSET (Results 1 – 13 of 13) sorted by relevance
/linux-5.19.10/arch/mips/ar7/ |
D | irq.c | 19 #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/ |
D | dmub_dcn301.c | 41 #define DMUB_SR(reg) REG_OFFSET(reg),
|
D | dmub_dcn302.c | 41 #define DMUB_SR(reg) REG_OFFSET(reg),
|
D | dmub_dcn303.c | 23 #define DMUB_SR(reg) REG_OFFSET(reg),
|
D | dmub_dcn21.c | 41 #define DMUB_SR(reg) REG_OFFSET(reg),
|
D | dmub_reg.h | 37 #define REG_OFFSET(reg_name) (BASE(mm##reg_name##_BASE_IDX) + mm##reg_name) macro
|
D | dmub_dcn30.c | 42 #define DMUB_SR(reg) REG_OFFSET(reg),
|
D | dmub_dcn20.c | 42 #define DMUB_SR(reg) REG_OFFSET(reg),
|
/linux-5.19.10/drivers/pinctrl/spear/ |
D | pinctrl-plgpio.c | 28 #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/ |
D | traps_misaligned.c | 128 #define REG_OFFSET(insn, pos) \ macro 132 (ulong *)((ulong)(regs) + REG_OFFSET(insn, pos))
|
/linux-5.19.10/sound/soc/sh/ |
D | siu_dai.c | 35 #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/ |
D | vcpu_exit.c | 106 #define REG_OFFSET(insn, pos) \ macro 110 ((ulong *)((ulong)(regs) + REG_OFFSET(insn, pos)))
|
/linux-5.19.10/tools/testing/selftests/kvm/aarch64/ |
D | vgic_init.c | 20 #define REG_OFFSET(vcpu, offset) (((uint64_t)vcpu << 32) | offset) macro 39 uint64_t attr = REG_OFFSET(vcpu, offset); in access_v3_redist_reg()
|