Home
last modified time | relevance | path

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

/linux/drivers/i2c/busses/
H A Di2c-synquacer.c136 u32 msg_ptr; member
155 return i2c->msg_ptr == (i2c->msg->len - 1); in is_msglast()
160 return i2c->msg_ptr >= i2c->msg->len; in is_msgend()
187 i2c->msg_ptr = 0; in synquacer_i2c_stop()
327 i2c->msg_ptr = 0; in synquacer_i2c_doxfer()
410 writeb(i2c->msg->buf[i2c->msg_ptr++], in synquacer_i2c_isr()
426 i2c->msg_ptr = 0; in synquacer_i2c_isr()
443 i2c->msg->buf[i2c->msg_ptr++] = byte; in synquacer_i2c_isr()
471 i2c->msg_ptr = 0; in synquacer_i2c_isr()
H A Di2c-owl.c103 u32 msg_ptr; member
198 OWL_I2C_FIFOSTAT_RFE) && i2c_dev->msg_ptr < msg->len) { in owl_i2c_xfer_data()
199 msg->buf[i2c_dev->msg_ptr++] = readl(i2c_dev->base + in owl_i2c_xfer_data()
205 OWL_I2C_FIFOSTAT_TFF) && i2c_dev->msg_ptr < msg->len) { in owl_i2c_xfer_data()
206 writel(msg->buf[i2c_dev->msg_ptr++], in owl_i2c_xfer_data()
334 i2c_dev->msg_ptr = 0; in owl_i2c_xfer_common()
354 i2c_dev->msg_ptr = idx; in owl_i2c_xfer_common()
H A Di2c-pxa.c231 unsigned int msg_ptr; member
370 i2c->msg_num, i2c->msg_idx, i2c->msg_ptr); in i2c_pxa_scream_blue_murder()
853 i2c->msg_ptr = 0; in i2c_pxa_master_complete()
898 if (i2c->msg_ptr == 0 && i2c->msg_idx == 0) in i2c_pxa_irq_txempty()
909 if (i2c->msg_ptr == i2c->msg->len - 1 && in i2c_pxa_irq_txempty()
914 } else if (i2c->msg_ptr < i2c->msg->len) { in i2c_pxa_irq_txempty()
918 writel(i2c->msg->buf[i2c->msg_ptr++], _IDBR(i2c)); in i2c_pxa_irq_txempty()
926 if ((i2c->msg_ptr == i2c->msg->len) && in i2c_pxa_irq_txempty()
935 i2c->msg_ptr = 0; in i2c_pxa_irq_txempty()
977 i2c->msg->buf[i2c->msg_ptr++] = readl(_IDBR(i2c)); in i2c_pxa_irq_rxfull()
[all …]
H A Di2c-s3c2410.c103 unsigned int msg_ptr; member
171 i2c->msg_ptr = 0; in s3c24xx_i2c_master_complete()
366 return i2c->msg_ptr == i2c->msg->len-1; in is_msglast()
374 return i2c->msg_ptr >= i2c->msg->len; in is_msgend()
448 byte = i2c->msg->buf[i2c->msg_ptr++]; in i2c_s3c_irq_nextbyte()
465 i2c->msg_ptr = 0; in i2c_s3c_irq_nextbyte()
504 i2c->msg->buf[i2c->msg_ptr++] = byte; in i2c_s3c_irq_nextbyte()
530 i2c->msg_ptr = 0; in i2c_s3c_irq_nextbyte()
700 i2c->msg_ptr = 0; in s3c24xx_i2c_doxfer()
/linux/ipc/
H A Dmqueue.c1069 struct msg_msg *msg_ptr; in do_mq_timedsend() local
1104 msg_ptr = load_msg(u_msg_ptr, msg_len); in do_mq_timedsend()
1105 if (IS_ERR(msg_ptr)) in do_mq_timedsend()
1106 return PTR_ERR(msg_ptr); in do_mq_timedsend()
1107 msg_ptr->m_ts = msg_len; in do_mq_timedsend()
1108 msg_ptr->m_type = msg_prio; in do_mq_timedsend()
1134 wait.msg = (void *) msg_ptr; in do_mq_timedsend()
1148 pipelined_send(&wake_q, info, msg_ptr, receiver); in do_mq_timedsend()
1151 ret = msg_insert(msg_ptr, info); in do_mq_timedsend()
1163 free_msg(msg_ptr); in do_mq_timedsend()
[all …]
/linux/net/nfc/
H A Dllcp_commands.c653 u8 *msg_data, *msg_ptr; in nfc_llcp_send_i_frame() local
689 msg_ptr = msg_data; in nfc_llcp_send_i_frame()
710 skb_put_data(pdu, msg_ptr, frag_len); in nfc_llcp_send_i_frame()
721 msg_ptr += frag_len; in nfc_llcp_send_i_frame()
735 u8 *msg_ptr, *msg_data; in nfc_llcp_send_ui_frame() local
755 msg_ptr = msg_data; in nfc_llcp_send_ui_frame()
779 skb_put_data(pdu, msg_ptr, frag_len); in nfc_llcp_send_ui_frame()
785 msg_ptr += frag_len; in nfc_llcp_send_ui_frame()
/linux/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_fd.c722 u8 *msg_ptr, *msg_end; in pcan_usb_fd_decode_buf() local
726 msg_ptr = urb->transfer_buffer; in pcan_usb_fd_decode_buf()
728 for (; msg_ptr < msg_end;) { in pcan_usb_fd_decode_buf()
731 rx_msg = (struct pucan_msg *)msg_ptr; in pcan_usb_fd_decode_buf()
741 if (msg_ptr + rx_msg_size > msg_end) { in pcan_usb_fd_decode_buf()
784 msg_ptr += rx_msg_size; in pcan_usb_fd_decode_buf()
/linux/drivers/net/can/peak_canfd/
H A 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/include/linux/
H A Dsyscalls.h727 asmlinkage long sys_mq_timedsend(mqd_t mqdes, const char __user *msg_ptr, size_t msg_len, unsigned …
728 asmlinkage long sys_mq_timedreceive(mqd_t mqdes, char __user *msg_ptr, size_t msg_len, unsigned int…