Searched refs:PALMAS_BASE_TO_SLAVE (Results 1 – 2 of 2) sorted by relevance
434 slave = PALMAS_BASE_TO_SLAVE(PALMAS_PU_PD_OD_BASE); in palmas_power_off()451 slave = PALMAS_BASE_TO_SLAVE(PALMAS_PMU_CONTROL_BASE); in palmas_power_off()592 slave = PALMAS_BASE_TO_SLAVE(PALMAS_INTERRUPT_BASE); in palmas_i2c_probe()605 slave = PALMAS_BASE_TO_SLAVE(PALMAS_PU_PD_OD_BASE); in palmas_i2c_probe()670 slave = PALMAS_BASE_TO_SLAVE(PALMAS_PMU_CONTROL_BASE); in palmas_i2c_probe()
646 #define PALMAS_BASE_TO_SLAVE(x) ((x >> 8) - 1) macro3755 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_read()3764 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_write()3773 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_bulk_write()3783 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_bulk_read()3793 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_update_bits()