Home
last modified time | relevance | path

Searched refs:msg_ptr (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/drivers/i2c/busses/
Di2c-synquacer.c136 u32 msg_ptr; member
156 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()
Di2c-owl.c102 u32 msg_ptr; member
197 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()
Di2c-pxa.c230 unsigned int msg_ptr; member
366 i2c->msg_num, i2c->msg_idx, i2c->msg_ptr); in i2c_pxa_scream_blue_murder()
849 i2c->msg_ptr = 0; in i2c_pxa_master_complete()
894 if (i2c->msg_ptr == 0 && i2c->msg_idx == 0) in i2c_pxa_irq_txempty()
905 if (i2c->msg_ptr == i2c->msg->len - 1 && in i2c_pxa_irq_txempty()
910 } else if (i2c->msg_ptr < i2c->msg->len) { in i2c_pxa_irq_txempty()
914 writel(i2c->msg->buf[i2c->msg_ptr++], _IDBR(i2c)); in i2c_pxa_irq_txempty()
922 if ((i2c->msg_ptr == i2c->msg->len) && in i2c_pxa_irq_txempty()
931 i2c->msg_ptr = 0; in i2c_pxa_irq_txempty()
973 i2c->msg->buf[i2c->msg_ptr++] = readl(_IDBR(i2c)); in i2c_pxa_irq_rxfull()
[all …]
Di2c-exynos5.c180 unsigned int msg_ptr; member
519 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()
Di2c-s3c2410.c103 unsigned int msg_ptr; member
174 i2c->msg_ptr = 0; in s3c24xx_i2c_master_complete()
370 return i2c->msg_ptr == i2c->msg->len-1; in is_msglast()
378 return i2c->msg_ptr >= i2c->msg->len; in is_msgend()
453 byte = i2c->msg->buf[i2c->msg_ptr++]; in i2c_s3c_irq_nextbyte()
470 i2c->msg_ptr = 0; in i2c_s3c_irq_nextbyte()
509 i2c->msg->buf[i2c->msg_ptr++] = byte; in i2c_s3c_irq_nextbyte()
535 i2c->msg_ptr = 0; in i2c_s3c_irq_nextbyte()
705 i2c->msg_ptr = 0; in s3c24xx_i2c_doxfer()
/linux-6.1.9/ipc/
Dmqueue.c1068 struct msg_msg *msg_ptr; in do_mq_timedsend() local
1111 msg_ptr = load_msg(u_msg_ptr, msg_len); in do_mq_timedsend()
1112 if (IS_ERR(msg_ptr)) { in do_mq_timedsend()
1113 ret = PTR_ERR(msg_ptr); in do_mq_timedsend()
1116 msg_ptr->m_ts = msg_len; in do_mq_timedsend()
1117 msg_ptr->m_type = msg_prio; in do_mq_timedsend()
1143 wait.msg = (void *) msg_ptr; in do_mq_timedsend()
1157 pipelined_send(&wake_q, info, msg_ptr, receiver); in do_mq_timedsend()
1160 ret = msg_insert(msg_ptr, info); in do_mq_timedsend()
1173 free_msg(msg_ptr); in do_mq_timedsend()
[all …]
/linux-6.1.9/net/nfc/
Dllcp_commands.c646 u8 *msg_data, *msg_ptr; in nfc_llcp_send_i_frame() local
682 msg_ptr = msg_data; in nfc_llcp_send_i_frame()
703 skb_put_data(pdu, msg_ptr, frag_len); in nfc_llcp_send_i_frame()
714 msg_ptr += frag_len; in nfc_llcp_send_i_frame()
728 u8 *msg_ptr, *msg_data; in nfc_llcp_send_ui_frame() local
748 msg_ptr = msg_data; in nfc_llcp_send_ui_frame()
772 skb_put_data(pdu, msg_ptr, frag_len); in nfc_llcp_send_ui_frame()
778 msg_ptr += frag_len; in nfc_llcp_send_ui_frame()
/linux-6.1.9/drivers/net/can/usb/peak_usb/
Dpcan_usb_fd.c676 u8 *msg_ptr, *msg_end; in pcan_usb_fd_decode_buf() local
680 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()
/linux-6.1.9/drivers/net/can/peak_canfd/
Dpeak_canfd.c486 void *msg_ptr = msg_list; in peak_canfd_handle_msgs_list() local
490 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()
/linux-6.1.9/include/linux/
Dsyscalls.h795 asmlinkage long sys_mq_timedsend(mqd_t mqdes, const char __user *msg_ptr, size_t msg_len, unsigned …
796 asmlinkage long sys_mq_timedreceive(mqd_t mqdes, char __user *msg_ptr, size_t msg_len, unsigned int…