Home
last modified time | relevance | path

Searched refs:msg_index (Results 1 – 4 of 4) sorted by relevance

/drivers/media/dvb-frontends/
Ddibx000_common.c205 int msg_index; in dibx000_i2c_master_xfer_gpio12() local
209 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() local
231 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()
/drivers/i2c/busses/
Di2c-stu300.c164 int msg_index; member
729 attempts, dev->msg_index, dev->msg_len); in stu300_xfer_msg()
838 dev->msg_index = i; in stu300_xfer()
/drivers/misc/sgi-xp/
Dxpc_sn2.c1916 u32 msg_index; in xpc_pull_remote_msg_sn2() local
1930 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()
/drivers/net/wireless/ath/ath9k/
Dar9003_mci.c405 static bool ar9003_mci_is_gpm_valid(struct ath_hw *ah, u32 msg_index) in ar9003_mci_is_gpm_valid() argument
411 if (msg_index == MCI_GPM_INVALID) in ar9003_mci_is_gpm_valid()
414 offset = msg_index << 4; in ar9003_mci_is_gpm_valid()