Home
last modified time | relevance | path

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

/drivers/i2c/busses/
Di2c-lpc2k.c79 int msg_idx; member
143 if (i2c->msg_idx < i2c->msg->len) { in i2c_lpc2k_pump_msg()
144 writel(i2c->msg->buf[i2c->msg_idx], in i2c_lpc2k_pump_msg()
157 i2c->msg_idx++; in i2c_lpc2k_pump_msg()
181 if (i2c->msg_idx < i2c->msg->len) { in i2c_lpc2k_pump_msg()
182 i2c->msg->buf[i2c->msg_idx] = in i2c_lpc2k_pump_msg()
187 if (i2c->msg_idx >= i2c->msg->len - 1 && i2c->is_last) { in i2c_lpc2k_pump_msg()
194 if (i2c->msg_idx >= i2c->msg->len - 1) { in i2c_lpc2k_pump_msg()
203 if (i2c->msg_idx >= i2c->msg->len - 2) { in i2c_lpc2k_pump_msg()
212 i2c->msg_idx++; in i2c_lpc2k_pump_msg()
[all …]
Di2c-synquacer.c135 u32 msg_idx; member
151 return i2c->msg_idx >= (i2c->msg_num - 1); in is_lastmsg()
190 i2c->msg_idx++; in synquacer_i2c_stop()
193 i2c->msg_idx = ret; in synquacer_i2c_stop()
329 i2c->msg_idx = 0; in synquacer_i2c_doxfer()
345 ret = i2c->msg_idx; in synquacer_i2c_doxfer()
429 i2c->msg_idx++; in synquacer_i2c_isr()
474 i2c->msg_idx++; in synquacer_i2c_isr()
Di2c-pxa.c175 unsigned int msg_idx; member
311 i2c->msg_num, i2c->msg_idx, i2c->msg_ptr); in i2c_pxa_scream_blue_murder()
785 i2c->msg_idx = 0; in i2c_pxa_do_pio_xfer()
801 ret = i2c->msg_idx; in i2c_pxa_do_pio_xfer()
850 i2c->msg_idx = 0; in i2c_pxa_do_xfer()
867 ret = i2c->msg_idx; in i2c_pxa_do_xfer()
914 i2c->msg_idx ++; in i2c_pxa_master_complete()
917 i2c->msg_idx = ret; in i2c_pxa_master_complete()
957 if (i2c->msg_ptr == 0 && i2c->msg_idx == 0) in i2c_pxa_irq_txempty()
969 i2c->msg_idx == i2c->msg_num - 1) in i2c_pxa_irq_txempty()
[all …]
Di2c-s3c2410.c101 unsigned int msg_idx; member
179 i2c->msg_idx++; in s3c24xx_i2c_master_complete()
182 i2c->msg_idx = ret; in s3c24xx_i2c_master_complete()
357 return i2c->msg_idx >= (i2c->msg_num - 1); in is_lastmsg()
475 i2c->msg_idx++; in i2c_s3c_irq_nextbyte()
537 i2c->msg_idx++; in i2c_s3c_irq_nextbyte()
707 i2c->msg_idx = 0; in s3c24xx_i2c_doxfer()
714 ret = i2c->msg_idx; in s3c24xx_i2c_doxfer()
724 ret = i2c->msg_idx; in s3c24xx_i2c_doxfer()
Di2c-hix5hd2.c85 unsigned int msg_idx; member
217 data = priv->msg->buf[priv->msg_idx++]; in hix5hd2_write_handle()
234 priv->msg->buf[priv->msg_idx++] = data; in hix5hd2_rw_preprocess()
289 priv->msg->len == priv->msg_idx) || in hix5hd2_i2c_irq()
323 priv->msg_idx = 0; in hix5hd2_i2c_xfer_msg()
/drivers/char/ipmi/
Dipmb_dev_int.c62 size_t msg_idx; member
208 if (ipmb_dev->msg_idx >= IPMB_REQUEST_LEN_MIN) { in is_ipmb_request()
246 ipmb_dev->msg_idx = 0; in ipmb_slave_cb()
264 buf[++ipmb_dev->msg_idx] = GET_8BIT_ADDR(client->addr); in ipmb_slave_cb()
268 if (ipmb_dev->msg_idx >= sizeof(struct ipmb_msg)) in ipmb_slave_cb()
271 buf[++ipmb_dev->msg_idx] = *val; in ipmb_slave_cb()
275 ipmb_dev->request.len = ipmb_dev->msg_idx; in ipmb_slave_cb()
/drivers/block/
Dsx8.c462 unsigned int msg_idx) in carm_ref_msg() argument
464 return host->msg_base + (msg_idx * CARM_MSG_SIZE); in carm_ref_msg()
468 unsigned int msg_idx) in carm_ref_msg_dma() argument
470 return host->msg_dma + (msg_idx * CARM_MSG_SIZE); in carm_ref_msg_dma()
909 unsigned int msg_idx; in carm_handle_resp() local
923 msg_idx = TAG_DECODE(handle); in carm_handle_resp()
924 VPRINTK("tag == %u\n", msg_idx); in carm_handle_resp()
926 rq = blk_mq_tag_to_rq(host->tag_set.tags[0], msg_idx); in carm_handle_resp()
937 mem = carm_ref_msg(host, msg_idx); in carm_handle_resp()
/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/net/wireless/intel/iwlwifi/fw/api/
Dcoex.h234 __le32 msg_idx; member