/openbmc/linux/drivers/clk/ |
H A D | clk-vt8500.c | 24 void __iomem *en_reg; member 83 en_val = readl(cdev->en_reg); in vt8500_dclk_enable() 85 writel(en_val, cdev->en_reg); in vt8500_dclk_enable() 99 en_val = readl(cdev->en_reg); in vt8500_dclk_disable() 101 writel(en_val, cdev->en_reg); in vt8500_dclk_disable() 109 u32 en_val = (readl(cdev->en_reg) & BIT(cdev->en_bit)); in vt8500_dclk_is_enabled() 225 u32 en_reg, div_reg; in vtwm_device_clk_init() local 243 rc = of_property_read_u32(node, "enable-reg", &en_reg); in vtwm_device_clk_init() 245 dev_clk->en_reg = pmc_base + en_reg; in vtwm_device_clk_init()
|
/openbmc/linux/drivers/mfd/ |
H A D | mt6358-irq.c | 102 unsigned int i, top_gp, gp_offset, en_reg, int_regs, shift; in pmic_irq_sync_unlock() local 120 en_reg = irqd->pmic_ints[top_gp].en_reg + in pmic_irq_sync_unlock() 123 regmap_update_bits(chip->regmap, en_reg, BIT(shift), in pmic_irq_sync_unlock() 271 irqd->pmic_ints[i].en_reg + in mt6358_irq_init()
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-digicolor.c | 58 unsigned en_reg, unsigned ack_reg) in digicolor_set_gc() argument 65 gc->chip_types[0].regs.mask = en_reg; in digicolor_set_gc()
|
/openbmc/linux/include/linux/mfd/mt6358/ |
H A D | core.h | 12 unsigned int en_reg; member 149 .en_reg = MT6358_##sp##_TOP_INT_CON0, \
|
/openbmc/linux/drivers/regulator/ |
H A D | fan53555.c | 134 unsigned int en_reg; member 456 di->en_reg = di->vol_reg; in fan53555_device_setup() 464 di->en_reg = FAN53555_VSEL1; in fan53555_device_setup() 470 di->en_reg = FAN53555_VSEL0; in fan53555_device_setup() 492 di->en_reg = di->vol_reg; in fan53555_device_setup() 587 rdesc->enable_reg = di->en_reg; in fan53555_regulator_register()
|
H A D | tps65090-regulator.c | 200 #define tps65090_REG_FIXEDV(_id, _sname, en_reg, _en_bits, _volt, _ops) \ argument 201 tps65090_REG_DESC(_id, _sname, en_reg, _en_bits, 1, _volt, _ops) 203 #define tps65090_REG_SWITCH(_id, _sname, en_reg, _en_bits, _ops) \ argument 204 tps65090_REG_DESC(_id, _sname, en_reg, _en_bits, 0, 0, _ops)
|
H A D | sc2731-regulator.c | 130 #define SC2731_REGU_LINEAR(_id, en_reg, en_mask, vreg, vmask, \ argument 143 .enable_reg = en_reg, \
|
H A D | ltc3676.c | 195 #define LTC3676_REG(_id, _name, _ops, en_reg, en_bit, dvba_reg, dvb_mask) \ argument 212 .enable_reg = (en_reg), \
|
/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
H A D | irq.c | 420 hrt_data en_reg; in any_irq_channel_enabled() local 424 en_reg = irq_reg_load(ID, in any_irq_channel_enabled() 427 return (en_reg != 0); in any_irq_channel_enabled()
|
/openbmc/linux/drivers/iio/accel/ |
H A D | bmc150-accel-core.c | 490 u8 en_reg; member 499 .en_reg = BMC150_ACCEL_REG_INT_EN_1, 505 .en_reg = BMC150_ACCEL_REG_INT_EN_0, 513 .en_reg = BMC150_ACCEL_REG_INT_EN_1, 523 .en_reg = BMC150_ACCEL_REG_INT_EN_1, 529 .en_reg = BMC150_ACCEL_REG_INT_EN_0, 537 .en_reg = BMC150_ACCEL_REG_INT_EN_1, 602 ret = regmap_update_bits(data->regmap, info->en_reg, info->en_bitmask, in bmc150_accel_set_interrupt()
|
/openbmc/linux/include/linux/mfd/mt6357/ |
H A D | core.h | 112 .en_reg = MT6357_##sp##_TOP_INT_CON0, \
|
/openbmc/linux/drivers/clk/mediatek/ |
H A D | clk-mt8195-apusys_pll.c | 48 .en_reg = 0, \
|
H A D | clk-pll.h | 49 u32 en_reg; member
|
H A D | clk-mt8188-apmixedsys.c | 56 .en_reg = _en_reg, \
|
H A D | clk-mt8186-apmixedsys.c | 42 .en_reg = 0, \
|
H A D | clk-pll.c | 306 if (data->en_reg) in mtk_clk_register_pll_ops() 307 pll->en_addr = base + data->en_reg; in mtk_clk_register_pll_ops()
|
H A D | clk-mt8192-apmixedsys.c | 59 .en_reg = _en_reg, \
|
H A D | clk-mt8195-apmixedsys.c | 57 .en_reg = _en_reg, \
|
/openbmc/linux/include/linux/mfd/mt6359/ |
H A D | core.h | 126 .en_reg = MT6359_##sp##_TOP_INT_CON0, \
|
/openbmc/linux/arch/mips/cavium-octeon/ |
H A D | octeon-irq.c | 2133 u64 en_reg; member 2150 en = cvmx_read_csr(host_data->en_reg); in octeon_irq_cib_enable() 2152 cvmx_write_csr(host_data->en_reg, en); in octeon_irq_cib_enable() 2164 en = cvmx_read_csr(host_data->en_reg); in octeon_irq_cib_disable() 2166 cvmx_write_csr(host_data->en_reg, en); in octeon_irq_cib_disable() 2256 en = cvmx_read_csr(host_data->en_reg); in octeon_irq_cib_handler() 2271 en = cvmx_read_csr(host_data->en_reg); in octeon_irq_cib_handler() 2273 cvmx_write_csr(host_data->en_reg, en); in octeon_irq_cib_handler() 2324 host_data->en_reg = (u64)phys_to_virt(res.start); in octeon_irq_init_cib() 2342 cvmx_write_csr(host_data->en_reg, 0); /* disable all IRQs */ in octeon_irq_init_cib()
|