Home
last modified time | relevance | path

Searched refs:PALMAS_BASE_TO_REG (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/mfd/
H A Dpalmas.c28 .max_register = PALMAS_BASE_TO_REG(PALMAS_PU_PD_OD_BASE,
34 .max_register = PALMAS_BASE_TO_REG(PALMAS_GPADC_BASE,
40 .max_register = PALMAS_BASE_TO_REG(PALMAS_TRIM_GPADC_BASE,
306 .status_base = PALMAS_BASE_TO_REG(PALMAS_INTERRUPT_BASE,
308 .mask_base = PALMAS_BASE_TO_REG(PALMAS_INTERRUPT_BASE,
319 .status_base = PALMAS_BASE_TO_REG(PALMAS_INTERRUPT_BASE,
321 .mask_base = PALMAS_BASE_TO_REG(PALMAS_INTERRUPT_BASE,
433 addr = PALMAS_BASE_TO_REG(PALMAS_PU_PD_OD_BASE, in palmas_power_off()
453 addr = PALMAS_BASE_TO_REG(PALMAS_PMU_CONTROL_BASE, PALMAS_DEV_CTRL); in palmas_power_off()
565 addr = PALMAS_BASE_TO_REG(PALMAS_INTERRUPT_BASE, PALMAS_INT_CTRL); in palmas_i2c_probe()
[all …]
/linux/include/linux/mfd/
H A Dpalmas.h638 #define PALMAS_BASE_TO_REG(x, y) ((x & 0xFF) + y) macro
3745 unsigned int addr = PALMAS_BASE_TO_REG(base, reg); in palmas_read()
3754 unsigned int addr = PALMAS_BASE_TO_REG(base, reg); in palmas_write()
3763 unsigned int addr = PALMAS_BASE_TO_REG(base, reg); in palmas_bulk_write()
3773 unsigned int addr = PALMAS_BASE_TO_REG(base, reg); in palmas_bulk_read()
3783 unsigned int addr = PALMAS_BASE_TO_REG(base, reg); in palmas_update_bits()