Searched refs:REG_OFFSET (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/pinctrl/spear/ |
| H A 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() 350 reg_off = REG_OFFSET(0, plgpio->regs.eit, offset); in plgpio_irq_set_type()
|
| /linux/drivers/gpu/drm/amd/display/dmub/src/ |
| H A D | dmub_dcn301.c | 41 #define DMUB_SR(reg) REG_OFFSET(reg),
|
| H A D | dmub_dcn303.c | 42 #define DMUB_SR(reg) REG_OFFSET(reg),
|
| H A D | dmub_dcn21.c | 41 #define DMUB_SR(reg) REG_OFFSET(reg),
|
| H A D | dmub_dcn302.c | 41 #define DMUB_SR(reg) REG_OFFSET(reg),
|
| H A D | dmub_reg.h | 37 #define REG_OFFSET(reg_name) (BASE(mm##reg_name##_BASE_IDX) + mm##reg_name) macro
|
| /linux/sound/soc/renesas/ |
| H A 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/tools/testing/selftests/kvm/arm64/ |
| H A D | vgic_init.c | 22 #define REG_OFFSET(vcpu, offset) (((uint64_t)vcpu << 32) | offset) macro 44 REG_OFFSET(vcpu, offset), &ignored_val); in v3_redist_reg_get_errno() 55 REG_OFFSET(vcpu, offset), &val); in v3_redist_reg_get()
|
| /linux/arch/riscv/include/asm/ |
| H A D | insn.h | 400 #define REG_OFFSET(insn, pos) \ macro 404 ((ulong *)((ulong)(regs) + REG_OFFSET(insn, pos)))
|