Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/mfd/
Dpalmas.c437 slave = PALMAS_BASE_TO_SLAVE(PALMAS_PMU_CONTROL_BASE); in palmas_power_off()
578 slave = PALMAS_BASE_TO_SLAVE(PALMAS_INTERRUPT_BASE); in palmas_i2c_probe()
591 slave = PALMAS_BASE_TO_SLAVE(PALMAS_PU_PD_OD_BASE); in palmas_i2c_probe()
656 slave = PALMAS_BASE_TO_SLAVE(PALMAS_PMU_CONTROL_BASE); in palmas_i2c_probe()
/linux-4.4.14/include/linux/mfd/
Dpalmas.h620 #define PALMAS_BASE_TO_SLAVE(x) ((x >> 8) - 1) macro
3726 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_read()
3735 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_write()
3744 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_bulk_write()
3754 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_bulk_read()
3764 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_update_bits()