Home
last modified time | relevance | path

Searched refs:msg_num (Results 1 – 5 of 5) sorted by relevance

/drivers/i2c/busses/
Di2c-bfin-twi.c53 iface->cur_msg + 1 < iface->msg_num) { in bfin_twi_handle_interrupt()
101 iface->cur_msg + 1 < iface->msg_num) { in bfin_twi_handle_interrupt()
190 iface->cur_msg + 1 < iface->msg_num) { in bfin_twi_handle_interrupt()
223 if (iface->cur_msg + 1 == iface->msg_num) in bfin_twi_handle_interrupt()
272 iface->msg_num = num; in bfin_twi_do_master_xfer()
281 if (iface->msg_num > 1) in bfin_twi_do_master_xfer()
323 (iface->msg_num > 1 ? RSTART : 0) | in bfin_twi_do_master_xfer()
Di2c-pxa.c131 unsigned int msg_num; member
258 i2c->msg_num, i2c->msg_idx, i2c->msg_ptr); in i2c_pxa_scream_blue_murder()
728 i2c->msg_num = num; in i2c_pxa_do_pio_xfer()
735 while (i2c->msg_num > 0 && --timeout) { in i2c_pxa_do_pio_xfer()
791 i2c->msg_num = num; in i2c_pxa_do_xfer()
803 timeout = wait_event_timeout(i2c->wait, i2c->msg_num == 0, HZ * 5); in i2c_pxa_do_xfer()
811 if (!timeout && i2c->msg_num) { in i2c_pxa_do_xfer()
857 i2c->msg_num = 0; in i2c_pxa_master_complete()
909 i2c->msg_idx == i2c->msg_num - 1) in i2c_pxa_irq_txempty()
926 i2c->msg_idx == i2c->msg_num - 1) in i2c_pxa_irq_txempty()
[all …]
Di2c-s3c2410.c105 unsigned int msg_num; member
188 i2c->msg_num = 0; in s3c24xx_i2c_master_complete()
292 while ((i2c->msg_num != 0) && is_ack(i2c)) { in s3c24xx_i2c_message_start()
367 return i2c->msg_idx >= (i2c->msg_num - 1); in is_lastmsg()
724 i2c->msg_num = num; in s3c24xx_i2c_doxfer()
741 timeout = wait_event_timeout(i2c->wait, i2c->msg_num == 0, HZ * 5); in s3c24xx_i2c_doxfer()
/drivers/hid/i2c-hid/
Di2c-hid.c160 int msg_num = 1; in __i2c_hid_command() local
194 msg_num = 2; in __i2c_hid_command()
201 ret = i2c_transfer(client->adapter, msg, msg_num); in __i2c_hid_command()
206 if (ret != msg_num) in __i2c_hid_command()
/drivers/crypto/qat/qat_common/
Dadf_transport.c69 static int adf_verify_ring_size(uint32_t msg_size, uint32_t msg_num) in adf_verify_ring_size() argument
74 if ((msg_size * msg_num) == ADF_SIZE_TO_RING_SIZE_IN_BYTES(i)) in adf_verify_ring_size()