Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/mfd/
Dpalmas.c435 slave = PALMAS_BASE_TO_SLAVE(PALMAS_PU_PD_OD_BASE); in palmas_power_off()
452 slave = PALMAS_BASE_TO_SLAVE(PALMAS_PMU_CONTROL_BASE); in palmas_power_off()
586 slave = PALMAS_BASE_TO_SLAVE(PALMAS_INTERRUPT_BASE); in palmas_i2c_probe()
599 slave = PALMAS_BASE_TO_SLAVE(PALMAS_PU_PD_OD_BASE); in palmas_i2c_probe()
664 slave = PALMAS_BASE_TO_SLAVE(PALMAS_PMU_CONTROL_BASE); in palmas_i2c_probe()
/linux-6.6.21/include/linux/mfd/
Dpalmas.h637 #define PALMAS_BASE_TO_SLAVE(x) ((x >> 8) - 1) macro
3746 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_read()
3755 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_write()
3764 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_bulk_write()
3774 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_bulk_read()
3784 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_update_bits()