Home
last modified time | relevance | path

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

/openbmc/linux/arch/mips/ar7/
H A 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 */
/openbmc/openbmc/meta-facebook/meta-greatlakes/recipes-phosphor/console/obmc-console/
H A Dselect-uart-mux5 REG_OFFSET="0x01"
53 i2ctransfer -y -f $i2c_bus_id w2@0x0f $REG_OFFSET $reg_val
55 val=$(i2ctransfer -y -f $i2c_bus_id w1@0x0f $REG_OFFSET r1)
/openbmc/u-boot/drivers/gpio/
H A Dpm8916_gpio.c17 #define REG_OFFSET(x) ((x) * 0x100) macro
57 uint32_t gpio_base = priv->pid + REG_OFFSET(offset); in pm8916_gpio_set_direction()
117 uint32_t gpio_base = priv->pid + REG_OFFSET(offset); in pm8916_gpio_get_function()
139 uint32_t gpio_base = priv->pid + REG_OFFSET(offset); in pm8916_gpio_get_value()
153 uint32_t gpio_base = priv->pid + REG_OFFSET(offset); in pm8916_gpio_set_value()
/openbmc/u-boot/arch/mips/mach-mscc/
H A Dlowlevel_init_luton.S10 #define REG_OFFSET(t, o) (t + (o*4)) macro
11 #define REG_MACRO(x) REG_OFFSET(BASE_MACRO, x)
/openbmc/linux/drivers/gpu/drm/amd/display/dmub/src/
H A Ddmub_dcn303.c23 #define DMUB_SR(reg) REG_OFFSET(reg),
H A Ddmub_dcn302.c41 #define DMUB_SR(reg) REG_OFFSET(reg),
H A Ddmub_dcn301.c41 #define DMUB_SR(reg) REG_OFFSET(reg),
H A Ddmub_dcn21.c41 #define DMUB_SR(reg) REG_OFFSET(reg),
H A Ddmub_reg.h37 #define REG_OFFSET(reg_name) (BASE(mm##reg_name##_BASE_IDX) + mm##reg_name) macro
H A Ddmub_dcn30.c42 #define DMUB_SR(reg) REG_OFFSET(reg),
H A Ddmub_dcn20.c42 #define DMUB_SR(reg) REG_OFFSET(reg),
/openbmc/linux/drivers/pinctrl/spear/
H A 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()
349 reg_off = REG_OFFSET(0, plgpio->regs.eit, offset); in plgpio_irq_set_type()
/openbmc/linux/arch/riscv/kernel/
H A Dtraps_misaligned.c129 #define REG_OFFSET(insn, pos) \ macro
133 (ulong *)((ulong)(regs) + REG_OFFSET(insn, pos))
/openbmc/linux/sound/soc/sh/
H A 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()
/openbmc/linux/tools/testing/selftests/kvm/aarch64/
H A Dvgic_init.c21 #define REG_OFFSET(vcpu, offset) (((uint64_t)vcpu << 32) | offset) macro
45 REG_OFFSET(vcpu, offset), &ignored_val); in v3_redist_reg_get_errno()
56 REG_OFFSET(vcpu, offset), &val); in v3_redist_reg_get()
/openbmc/linux/arch/riscv/kvm/
H A Dvcpu_insn.c115 #define REG_OFFSET(insn, pos) \ macro
119 ((ulong *)((ulong)(regs) + REG_OFFSET(insn, pos)))
/openbmc/openbmc/poky/meta/recipes-devtools/gcc/gcc/
H A DCVE-2023-4039.patch760 /* The size of the callee-save registers with a slot in REG_OFFSET. */
768 /* The size of the callee-save registers with a slot in REG_OFFSET that
2776 - /* The size of the callee-save registers with a slot in REG_OFFSET. */
2784 - /* The size of the callee-save registers with a slot in REG_OFFSET that