Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
428 i2c->msg_idx++; in synquacer_i2c_isr()
473 i2c->msg_idx++; in synquacer_i2c_isr()
Di2c-pxa.c229 unsigned int msg_idx; member
369 i2c->msg_num, i2c->msg_idx, i2c->msg_ptr); in i2c_pxa_scream_blue_murder()
854 i2c->msg_idx ++; in i2c_pxa_master_complete()
857 i2c->msg_idx = ret; in i2c_pxa_master_complete()
897 if (i2c->msg_ptr == 0 && i2c->msg_idx == 0) in i2c_pxa_irq_txempty()
909 i2c->msg_idx == i2c->msg_num - 1) in i2c_pxa_irq_txempty()
927 (i2c->msg_idx == i2c->msg_num - 1))) in i2c_pxa_irq_txempty()
930 } else if (i2c->msg_idx < i2c->msg_num - 1) { in i2c_pxa_irq_txempty()
935 i2c->msg_idx ++; in i2c_pxa_irq_txempty()
1086 i2c->msg_idx = 0; in i2c_pxa_do_xfer()
[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()
474 i2c->msg_idx++; in i2c_s3c_irq_nextbyte()
539 i2c->msg_idx++; in i2c_s3c_irq_nextbyte()
709 i2c->msg_idx = 0; in s3c24xx_i2c_doxfer()
716 ret = i2c->msg_idx; in s3c24xx_i2c_doxfer()
726 ret = i2c->msg_idx; in s3c24xx_i2c_doxfer()
Di2c-hix5hd2.c83 unsigned int msg_idx; member
215 data = priv->msg->buf[priv->msg_idx++]; in hix5hd2_write_handle()
232 priv->msg->buf[priv->msg_idx++] = data; in hix5hd2_rw_preprocess()
287 priv->msg->len == priv->msg_idx) || in hix5hd2_i2c_irq()
321 priv->msg_idx = 0; in hix5hd2_i2c_xfer_msg()
/kernel/linux/linux-5.10/drivers/char/ipmi/
Dipmb_dev_int.c62 size_t msg_idx; member
235 if ((ipmb_dev->msg_idx >= IPMB_REQUEST_LEN_MIN) && in is_ipmb_msg()
260 ipmb_dev->msg_idx = 0; in ipmb_slave_cb()
278 buf[++ipmb_dev->msg_idx] = GET_8BIT_ADDR(client->addr); in ipmb_slave_cb()
282 if (ipmb_dev->msg_idx >= sizeof(struct ipmb_msg) - 1) in ipmb_slave_cb()
285 buf[++ipmb_dev->msg_idx] = *val; in ipmb_slave_cb()
289 ipmb_dev->request.len = ipmb_dev->msg_idx; in ipmb_slave_cb()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dads7846.c717 int msg_idx = 0; in ads7846_read_state() local
722 while (msg_idx < ts->msg_count) { in ads7846_read_state()
726 m = &ts->msg[msg_idx]; in ads7846_read_state()
738 if (msg_idx < ts->msg_count - 1) { in ads7846_read_state()
742 action = ts->filter(ts->filter_data, msg_idx, &val); in ads7846_read_state()
749 msg_idx = ts->msg_count - 1; in ads7846_read_state()
755 msg_idx++; in ads7846_read_state()
762 msg_idx++; in ads7846_read_state()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/
Dcoex.h234 __le32 msg_idx; member
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch23514 + unsigned int msg_idx;
23822 + if (i2c->msg_idx == 0)
23828 + if (i2c->msg_idx == 0) {
23867 + if ((i2c->msg_idx == (i2c->msg_num - 1)) || (msg->flags & I2C_M_STOP)) {
23882 + if (i2c->msg_idx == 0) {
23889 + if (i2c->msg_idx == 0) {
24437 + i2c->msg_idx = 0;
24439 + while (i2c->msg_idx < i2c->msg_num) {
24461 + i2c->msg_idx++;
24464 + if (!status || i2c->msg_idx > 0)
[all …]
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch308126 + unsigned int msg_idx;
308434 + if (i2c->msg_idx == 0)
308440 + if (i2c->msg_idx == 0) {
308479 + if ((i2c->msg_idx == (i2c->msg_num - 1)) || (msg->flags & I2C_M_STOP)) {
308494 + if (i2c->msg_idx == 0) {
308501 + if (i2c->msg_idx == 0) {
309049 + i2c->msg_idx = 0;
309051 + while (i2c->msg_idx < i2c->msg_num) {
309073 + i2c->msg_idx++;
309076 + if (!status || i2c->msg_idx > 0)
[all …]