Searched refs:PALMAS_BASE_TO_SLAVE (Results 1 – 2 of 2) sorted by relevance
437 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()
613 #define PALMAS_BASE_TO_SLAVE(x) ((x >> 8) - 1) macro3719 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_read()3728 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_write()3737 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_bulk_write()3747 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_bulk_read()3757 int slave_id = PALMAS_BASE_TO_SLAVE(base); in palmas_update_bits()