Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mfd/
Dpalmas.c439 slave = PALMAS_BASE_TO_SLAVE(PALMAS_PU_PD_OD_BASE); in palmas_power_off()
456 slave = PALMAS_BASE_TO_SLAVE(PALMAS_PMU_CONTROL_BASE); in palmas_power_off()
597 slave = PALMAS_BASE_TO_SLAVE(PALMAS_INTERRUPT_BASE); in palmas_i2c_probe()
610 slave = PALMAS_BASE_TO_SLAVE(PALMAS_PU_PD_OD_BASE); in palmas_i2c_probe()
675 slave = PALMAS_BASE_TO_SLAVE(PALMAS_PMU_CONTROL_BASE); in palmas_i2c_probe()
/Linux-v4.19/include/linux/mfd/
Dpalmas.h652 #define PALMAS_BASE_TO_SLAVE(x) ((x >> 8) - 1) macro
3761 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_read()
3770 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_write()
3779 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_bulk_write()
3789 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_bulk_read()
3799 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_update_bits()