Lines Matching refs:slave_id
112 u8 opc, u8 slave_id, u16 slave_addr, u8 *__buf, size_t bc) in spmi_read_cmd() argument
147 ((slave_id & 0xf) << SPMI_APB_SPMI_CMD_SLAVEID_OFFSET) | /* slvid */ in spmi_read_cmd()
155 spmi_controller->base, slave_id, slave_addr); in spmi_read_cmd()
161 SPMI_SLAVE_OFFSET * slave_id + in spmi_read_cmd()
179 opc, slave_id, slave_addr, bc + 1); in spmi_read_cmd()
182 __func__, slave_id, slave_addr, (int)bc, __buf); in spmi_read_cmd()
188 u8 opc, u8 slave_id, u16 slave_addr, const u8 *__buf, size_t bc) in spmi_write_cmd() argument
223 ((slave_id & 0xf) << SPMI_APB_SPMI_CMD_SLAVEID_OFFSET) | in spmi_write_cmd()
249 spmi_controller->base, slave_id, in spmi_write_cmd()
255 opc, slave_id, slave_addr, bc); in spmi_write_cmd()
258 __func__, slave_id, slave_addr, (int)bc, __buf); in spmi_write_cmd()