Searched refs:PALMAS_BASE_TO_SLAVE (Results 1 – 2 of 2) sorted by relevance
435 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()564 slave = PALMAS_BASE_TO_SLAVE(PALMAS_INTERRUPT_BASE); in palmas_i2c_probe()577 slave = PALMAS_BASE_TO_SLAVE(PALMAS_PU_PD_OD_BASE); in palmas_i2c_probe()642 slave = PALMAS_BASE_TO_SLAVE(PALMAS_PMU_CONTROL_BASE); in palmas_i2c_probe()
637 #define PALMAS_BASE_TO_SLAVE(x) ((x >> 8) - 1) macro3746 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()