Searched refs:en_reg (Results 1 - 6 of 6) sorted by relevance

/linux-4.1.27/drivers/irqchip/
H A Dirq-digicolor.c59 unsigned en_reg, unsigned ack_reg) digicolor_set_gc()
66 gc->chip_types[0].regs.mask = en_reg; digicolor_set_gc()
58 digicolor_set_gc(void __iomem *reg_base, unsigned irq_base, unsigned en_reg, unsigned ack_reg) digicolor_set_gc() argument
/linux-4.1.27/drivers/clk/
H A Dclk-vt8500.c33 void __iomem *en_reg; member in struct:clk_device
92 en_val = readl(cdev->en_reg); vt8500_dclk_enable()
94 writel(en_val, cdev->en_reg); vt8500_dclk_enable()
108 en_val = readl(cdev->en_reg); vt8500_dclk_disable()
110 writel(en_val, cdev->en_reg); vt8500_dclk_disable()
118 u32 en_val = (readl(cdev->en_reg) & BIT(cdev->en_bit)); vt8500_dclk_is_enabled()
234 u32 en_reg, div_reg; vtwm_device_clk_init() local
252 rc = of_property_read_u32(node, "enable-reg", &en_reg); vtwm_device_clk_init()
254 dev_clk->en_reg = pmc_base + en_reg; vtwm_device_clk_init()
H A Dclk-u300.c428 * @en_reg: clock line enable/disable flag register
439 void __iomem *en_reg; member in struct:clk_syscon
545 if (!sclk->en_reg) syscon_clk_is_enabled()
548 val = readw(sclk->en_reg); syscon_clk_is_enabled()
696 void __iomem *en_reg, u8 en_bit, syscon_clk_register()
720 sclk->en_reg = en_reg; syscon_clk_register()
874 void __iomem *en_reg; of_u300_syscon_clk_init() local
894 en_reg = syscon_vbase + U300_SYSCON_CESR; of_u300_syscon_clk_init()
898 en_reg = syscon_vbase + U300_SYSCON_CEFR; of_u300_syscon_clk_init()
902 en_reg = syscon_vbase + U300_SYSCON_CERR; of_u300_syscon_clk_init()
917 en_reg, u3clk->id, of_u300_syscon_clk_init()
692 syscon_clk_register(struct device *dev, const char *name, const char *parent_name, unsigned long flags, bool hw_ctrld, void __iomem *res_reg, u8 res_bit, void __iomem *en_reg, u8 en_bit, u16 clk_val) syscon_clk_register() argument
/linux-4.1.27/drivers/regulator/
H A Dtps65090-regulator.c210 #define tps65090_REG_FIXEDV(_id, _sname, en_reg, _en_bits, _volt, _ops) \
211 tps65090_REG_DESC(_id, _sname, en_reg, _en_bits, 1, _volt, _ops)
213 #define tps65090_REG_SWITCH(_id, _sname, en_reg, _en_bits, _ops) \
214 tps65090_REG_DESC(_id, _sname, en_reg, _en_bits, 0, 0, _ops)
/linux-4.1.27/arch/mips/cavium-octeon/
H A Docteon-irq.c2073 u64 en_reg; member in struct:octeon_irq_cib_host_data
2090 en = cvmx_read_csr(host_data->en_reg); octeon_irq_cib_enable()
2092 cvmx_write_csr(host_data->en_reg, en); octeon_irq_cib_enable()
2104 en = cvmx_read_csr(host_data->en_reg); octeon_irq_cib_disable()
2106 cvmx_write_csr(host_data->en_reg, en); octeon_irq_cib_disable()
2193 en = cvmx_read_csr(host_data->en_reg); octeon_irq_cib_handler()
2208 en = cvmx_read_csr(host_data->en_reg); octeon_irq_cib_handler()
2210 cvmx_write_csr(host_data->en_reg, en); octeon_irq_cib_handler()
2260 host_data->en_reg = (u64)phys_to_virt( octeon_irq_init_cib()
2279 cvmx_write_csr(host_data->en_reg, 0); /* disable all IRQs */ octeon_irq_init_cib()
/linux-4.1.27/drivers/iio/accel/
H A Dbmc150-accel.c467 u8 en_reg; member in struct:bmc150_accel_interrupt_info
473 .en_reg = BMC150_ACCEL_REG_INT_EN_1,
479 .en_reg = BMC150_ACCEL_REG_INT_EN_0,
487 .en_reg = BMC150_ACCEL_REG_INT_EN_1,
548 ret = i2c_smbus_read_byte_data(data->client, info->en_reg); bmc150_accel_set_interrupt()
559 ret = i2c_smbus_write_byte_data(data->client, info->en_reg, ret); bmc150_accel_set_interrupt()

Completed in 312 milliseconds