Home
last modified time | relevance | path

Searched refs:msg_idx (Results 1 – 12 of 12) sorted by relevance

/drivers/i2c/busses/
Di2c-lpc2k.c84 int msg_idx; member
148 if (i2c->msg_idx < i2c->msg->len) { in i2c_lpc2k_pump_msg()
149 writel(i2c->msg->buf[i2c->msg_idx], in i2c_lpc2k_pump_msg()
162 i2c->msg_idx++; in i2c_lpc2k_pump_msg()
186 if (i2c->msg_idx < i2c->msg->len) { in i2c_lpc2k_pump_msg()
187 i2c->msg->buf[i2c->msg_idx] = in i2c_lpc2k_pump_msg()
192 if (i2c->msg_idx >= i2c->msg->len - 1 && i2c->is_last) { in i2c_lpc2k_pump_msg()
199 if (i2c->msg_idx >= i2c->msg->len - 1) { in i2c_lpc2k_pump_msg()
208 if (i2c->msg_idx >= i2c->msg->len - 2) { in i2c_lpc2k_pump_msg()
217 i2c->msg_idx++; in i2c_lpc2k_pump_msg()
[all …]
Di2c-pxa.c178 unsigned int msg_idx; member
314 i2c->msg_num, i2c->msg_idx, i2c->msg_ptr); in i2c_pxa_scream_blue_murder()
788 i2c->msg_idx = 0; in i2c_pxa_do_pio_xfer()
804 ret = i2c->msg_idx; in i2c_pxa_do_pio_xfer()
853 i2c->msg_idx = 0; in i2c_pxa_do_xfer()
870 ret = i2c->msg_idx; in i2c_pxa_do_xfer()
917 i2c->msg_idx ++; in i2c_pxa_master_complete()
920 i2c->msg_idx = ret; in i2c_pxa_master_complete()
960 if (i2c->msg_ptr == 0 && i2c->msg_idx == 0) in i2c_pxa_irq_txempty()
972 i2c->msg_idx == i2c->msg_num - 1) in i2c_pxa_irq_txempty()
[all …]
Di2c-s3c2410.c111 unsigned int msg_idx; member
191 i2c->msg_idx++; in s3c24xx_i2c_master_complete()
194 i2c->msg_idx = ret; in s3c24xx_i2c_master_complete()
369 return i2c->msg_idx >= (i2c->msg_num - 1); in is_lastmsg()
486 i2c->msg_idx++; in i2c_s3c_irq_nextbyte()
548 i2c->msg_idx++; in i2c_s3c_irq_nextbyte()
721 i2c->msg_idx = 0; in s3c24xx_i2c_doxfer()
728 ret = i2c->msg_idx; in s3c24xx_i2c_doxfer()
738 ret = i2c->msg_idx; in s3c24xx_i2c_doxfer()
Di2c-hix5hd2.c90 unsigned int msg_idx; member
222 data = priv->msg->buf[priv->msg_idx++]; in hix5hd2_write_handle()
239 priv->msg->buf[priv->msg_idx++] = data; in hix5hd2_rw_preprocess()
294 priv->msg->len == priv->msg_idx) || in hix5hd2_i2c_irq()
332 priv->msg_idx = 0; in hix5hd2_i2c_xfer_msg()
/drivers/staging/rts5208/
Dtrace.c12 struct trace_msg_t *msg = &chip->trace_msg[chip->msg_idx]; in _rtsx_trace()
23 chip->msg_idx++; in _rtsx_trace()
24 if (chip->msg_idx >= TRACE_ITEM_CNT) in _rtsx_trace()
25 chip->msg_idx = 0; in _rtsx_trace()
Drtsx_scsi.c1417 if (chip->trace_msg[chip->msg_idx].valid) in trace_msg_cmd()
1420 msg_cnt = chip->msg_idx; in trace_msg_cmd()
1431 idx = chip->msg_idx - i; in trace_msg_cmd()
1451 chip->msg_idx = 0; in trace_msg_cmd()
Drtsx_chip.h803 int msg_idx; member
Drtsx_chip.c937 chip->msg_idx = 0; in rtsx_init_chip()
/drivers/net/wireless/intel/iwlwifi/fw/api/
Dcoex.h236 __le32 msg_idx; member
261 __le32 msg_idx; member
/drivers/input/touchscreen/
Dads7846.c699 int msg_idx = 0; in ads7846_read_state() local
704 while (msg_idx < ts->msg_count) { in ads7846_read_state()
708 m = &ts->msg[msg_idx]; in ads7846_read_state()
720 if (msg_idx < ts->msg_count - 1) { in ads7846_read_state()
724 action = ts->filter(ts->filter_data, msg_idx, &val); in ads7846_read_state()
731 msg_idx = ts->msg_count - 1; in ads7846_read_state()
737 msg_idx++; in ads7846_read_state()
744 msg_idx++; in ads7846_read_state()
/drivers/block/
Dsx8.c468 unsigned int msg_idx) in carm_ref_msg() argument
470 return host->msg_base + (msg_idx * CARM_MSG_SIZE); in carm_ref_msg()
474 unsigned int msg_idx) in carm_ref_msg_dma() argument
476 return host->msg_dma + (msg_idx * CARM_MSG_SIZE); in carm_ref_msg_dma()
1068 unsigned int msg_idx; in carm_handle_resp() local
1081 msg_idx = TAG_DECODE(handle); in carm_handle_resp()
1082 VPRINTK("tag == %u\n", msg_idx); in carm_handle_resp()
1084 crq = &host->req[msg_idx]; in carm_handle_resp()
1093 mem = carm_ref_msg(host, msg_idx); in carm_handle_resp()
/drivers/net/wireless/intel/iwlwifi/mvm/
Dcoex.c524 mvm->last_bt_notif.msg_idx = v4->msg_idx; in iwl_mvm_rx_bt_coex_notif()