Searched refs:msg_index (Results 1 – 4 of 4) sorted by relevance
211 int msg_index; in dibx000_i2c_master_xfer_gpio12() local215 for (msg_index = 0; msg_index < num; msg_index++) { in dibx000_i2c_master_xfer_gpio12()216 if (msg[msg_index].flags & I2C_M_RD) { in dibx000_i2c_master_xfer_gpio12()217 ret = dibx000_master_i2c_read(mst, &msg[msg_index]); in dibx000_i2c_master_xfer_gpio12()221 ret = dibx000_master_i2c_write(mst, &msg[msg_index], 1); in dibx000_i2c_master_xfer_gpio12()233 int msg_index; in dibx000_i2c_master_xfer_gpio34() local237 for (msg_index = 0; msg_index < num; msg_index++) { in dibx000_i2c_master_xfer_gpio34()238 if (msg[msg_index].flags & I2C_M_RD) { in dibx000_i2c_master_xfer_gpio34()239 ret = dibx000_master_i2c_read(mst, &msg[msg_index]); in dibx000_i2c_master_xfer_gpio34()243 ret = dibx000_master_i2c_write(mst, &msg[msg_index], 1); in dibx000_i2c_master_xfer_gpio34()
164 int msg_index; member727 attempts, dev->msg_index, dev->msg_len); in stu300_xfer_msg()836 dev->msg_index = i; in stu300_xfer()
1913 u32 msg_index; in xpc_pull_remote_msg_sn2() local1927 msg_index = ch_sn2->next_msg_to_pull % ch->remote_nentries; in xpc_pull_remote_msg_sn2()1931 if (msg_index + nmsgs > ch->remote_nentries) { in xpc_pull_remote_msg_sn2()1933 nmsgs = ch->remote_nentries - msg_index; in xpc_pull_remote_msg_sn2()1936 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()