Searched refs:msg_ptr (Results 1 – 7 of 7) sorted by relevance
136 u32 msg_ptr; member156 return i2c->msg_ptr == (i2c->msg->len - 1); in is_msglast()161 return i2c->msg_ptr >= i2c->msg->len; in is_msgend()188 i2c->msg_ptr = 0; in synquacer_i2c_stop()328 i2c->msg_ptr = 0; in synquacer_i2c_doxfer()411 writeb(i2c->msg->buf[i2c->msg_ptr++], in synquacer_i2c_isr()427 i2c->msg_ptr = 0; in synquacer_i2c_isr()444 i2c->msg->buf[i2c->msg_ptr++] = byte; in synquacer_i2c_isr()472 i2c->msg_ptr = 0; in synquacer_i2c_isr()
102 u32 msg_ptr; member197 OWL_I2C_FIFOSTAT_RFE) && i2c_dev->msg_ptr < msg->len) { in owl_i2c_xfer_data()198 msg->buf[i2c_dev->msg_ptr++] = readl(i2c_dev->base + in owl_i2c_xfer_data()204 OWL_I2C_FIFOSTAT_TFF) && i2c_dev->msg_ptr < msg->len) { in owl_i2c_xfer_data()205 writel(msg->buf[i2c_dev->msg_ptr++], in owl_i2c_xfer_data()333 i2c_dev->msg_ptr = 0; in owl_i2c_xfer_common()353 i2c_dev->msg_ptr = idx; in owl_i2c_xfer_common()
230 unsigned int msg_ptr; member369 i2c->msg_num, i2c->msg_idx, i2c->msg_ptr); in i2c_pxa_scream_blue_murder()852 i2c->msg_ptr = 0; in i2c_pxa_master_complete()897 if (i2c->msg_ptr == 0 && i2c->msg_idx == 0) in i2c_pxa_irq_txempty()908 if (i2c->msg_ptr == i2c->msg->len - 1 && in i2c_pxa_irq_txempty()913 } else if (i2c->msg_ptr < i2c->msg->len) { in i2c_pxa_irq_txempty()917 writel(i2c->msg->buf[i2c->msg_ptr++], _IDBR(i2c)); in i2c_pxa_irq_txempty()925 if ((i2c->msg_ptr == i2c->msg->len) && in i2c_pxa_irq_txempty()934 i2c->msg_ptr = 0; in i2c_pxa_irq_txempty()976 i2c->msg->buf[i2c->msg_ptr++] = readl(_IDBR(i2c)); in i2c_pxa_irq_rxfull()[all …]
180 unsigned int msg_ptr; member519 len = min(fifo_level, i2c->msg->len - i2c->msg_ptr); in exynos5_i2c_irq()524 i2c->msg->buf[i2c->msg_ptr++] = byte; in exynos5_i2c_irq()533 if (len > (i2c->msg->len - i2c->msg_ptr)) { in exynos5_i2c_irq()538 len = i2c->msg->len - i2c->msg_ptr; in exynos5_i2c_irq()542 byte = i2c->msg->buf[i2c->msg_ptr++]; in exynos5_i2c_irq()550 if ((i2c->trans_done && (i2c->msg->len == i2c->msg_ptr)) || in exynos5_i2c_irq()723 i2c->msg_ptr = 0; in exynos5_i2c_xfer_msg()
103 unsigned int msg_ptr; member174 i2c->msg_ptr = 0; in s3c24xx_i2c_master_complete()369 return i2c->msg_ptr == i2c->msg->len-1; in is_msglast()377 return i2c->msg_ptr >= i2c->msg->len; in is_msgend()452 byte = i2c->msg->buf[i2c->msg_ptr++]; in i2c_s3c_irq_nextbyte()469 i2c->msg_ptr = 0; in i2c_s3c_irq_nextbyte()508 i2c->msg->buf[i2c->msg_ptr++] = byte; in i2c_s3c_irq_nextbyte()534 i2c->msg_ptr = 0; in i2c_s3c_irq_nextbyte()704 i2c->msg_ptr = 0; in s3c24xx_i2c_doxfer()
676 u8 *msg_ptr, *msg_end; in pcan_usb_fd_decode_buf() local680 msg_ptr = urb->transfer_buffer; in pcan_usb_fd_decode_buf()682 for (; msg_ptr < msg_end;) { in pcan_usb_fd_decode_buf()685 rx_msg = (struct pucan_msg *)msg_ptr; in pcan_usb_fd_decode_buf()695 if (msg_ptr + rx_msg_size > msg_end) { in pcan_usb_fd_decode_buf()738 msg_ptr += rx_msg_size; in pcan_usb_fd_decode_buf()
486 void *msg_ptr = msg_list; in peak_canfd_handle_msgs_list() local490 msg_size = peak_canfd_handle_msg(priv, msg_ptr); in peak_canfd_handle_msgs_list()496 msg_ptr += ALIGN(msg_size, 4); in peak_canfd_handle_msgs_list()