Searched refs:msg_index (Results 1 – 4 of 4) sorted by relevance
205 int msg_index; in dibx000_i2c_master_xfer_gpio12() local209 for (msg_index = 0; msg_index < num; msg_index++) { in dibx000_i2c_master_xfer_gpio12()210 if (msg[msg_index].flags & I2C_M_RD) { in dibx000_i2c_master_xfer_gpio12()211 ret = dibx000_master_i2c_read(mst, &msg[msg_index]); in dibx000_i2c_master_xfer_gpio12()215 ret = dibx000_master_i2c_write(mst, &msg[msg_index], 1); in dibx000_i2c_master_xfer_gpio12()227 int msg_index; in dibx000_i2c_master_xfer_gpio34() local231 for (msg_index = 0; msg_index < num; msg_index++) { in dibx000_i2c_master_xfer_gpio34()232 if (msg[msg_index].flags & I2C_M_RD) { in dibx000_i2c_master_xfer_gpio34()233 ret = dibx000_master_i2c_read(mst, &msg[msg_index]); in dibx000_i2c_master_xfer_gpio34()237 ret = dibx000_master_i2c_write(mst, &msg[msg_index], 1); in dibx000_i2c_master_xfer_gpio34()
164 int msg_index; member729 attempts, dev->msg_index, dev->msg_len); in stu300_xfer_msg()838 dev->msg_index = i; in stu300_xfer()
1916 u32 msg_index; in xpc_pull_remote_msg_sn2() local1930 msg_index = ch_sn2->next_msg_to_pull % ch->remote_nentries; in xpc_pull_remote_msg_sn2()1934 if (msg_index + nmsgs > ch->remote_nentries) { in xpc_pull_remote_msg_sn2()1936 nmsgs = ch->remote_nentries - msg_index; in xpc_pull_remote_msg_sn2()1939 msg_offset = msg_index * ch->entry_size; in xpc_pull_remote_msg_sn2()
405 static bool ar9003_mci_is_gpm_valid(struct ath_hw *ah, u32 msg_index) in ar9003_mci_is_gpm_valid() argument411 if (msg_index == MCI_GPM_INVALID) in ar9003_mci_is_gpm_valid()414 offset = msg_index << 4; in ar9003_mci_is_gpm_valid()