/kernel/linux/linux-5.10/drivers/i2c/busses/ |
D | i2c-synquacer.c | 136 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()
|
D | i2c-owl.c | 99 u32 msg_ptr; member 197 OWL_I2C_FIFOSTAT_RFE) && i2c_dev->msg_ptr < msg->len) { in owl_i2c_interrupt() 198 msg->buf[i2c_dev->msg_ptr++] = readl(i2c_dev->base + in owl_i2c_interrupt() 204 OWL_I2C_FIFOSTAT_TFF) && i2c_dev->msg_ptr < msg->len) { in owl_i2c_interrupt() 205 writel(msg->buf[i2c_dev->msg_ptr++], in owl_i2c_interrupt() 324 i2c_dev->msg_ptr = 0; in owl_i2c_master_xfer() 344 i2c_dev->msg_ptr = idx; in owl_i2c_master_xfer()
|
D | i2c-exynos5.c | 179 unsigned int msg_ptr; member 474 len = min(fifo_level, i2c->msg->len - i2c->msg_ptr); in exynos5_i2c_irq() 479 i2c->msg->buf[i2c->msg_ptr++] = byte; in exynos5_i2c_irq() 488 if (len > (i2c->msg->len - i2c->msg_ptr)) { in exynos5_i2c_irq() 493 len = i2c->msg->len - i2c->msg_ptr; in exynos5_i2c_irq() 497 byte = i2c->msg->buf[i2c->msg_ptr++]; in exynos5_i2c_irq() 505 if ((i2c->trans_done && (i2c->msg->len == i2c->msg_ptr)) || in exynos5_i2c_irq() 678 i2c->msg_ptr = 0; in exynos5_i2c_xfer_msg()
|
D | i2c-pxa.c | 230 unsigned int msg_ptr; member 369 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 …]
|
D | i2c-s3c2410.c | 102 unsigned int msg_ptr; member 177 i2c->msg_ptr = 0; in s3c24xx_i2c_master_complete() 373 return i2c->msg_ptr == i2c->msg->len-1; in is_msglast() 381 return i2c->msg_ptr >= i2c->msg->len; in is_msgend() 456 byte = i2c->msg->buf[i2c->msg_ptr++]; in i2c_s3c_irq_nextbyte() 473 i2c->msg_ptr = 0; in i2c_s3c_irq_nextbyte() 512 i2c->msg->buf[i2c->msg_ptr++] = byte; in i2c_s3c_irq_nextbyte() 538 i2c->msg_ptr = 0; in i2c_s3c_irq_nextbyte() 708 i2c->msg_ptr = 0; in s3c24xx_i2c_doxfer()
|
/kernel/liteos_m/kal/libc/newlib/porting/include/ |
D | mqueue.h | 52 ssize_t mq_receive(mqd_t personal, char *msg_ptr, size_t msg_len, unsigned *msg_prio); 53 int mq_send(mqd_t personal, const char *msg_ptr, size_t msg_len, unsigned msg_prio);
|
/kernel/linux/linux-5.10/ipc/ |
D | mqueue.c | 1068 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 …]
|
/kernel/linux/linux-5.10/net/nfc/ |
D | llcp_commands.c | 650 u8 *msg_data, *msg_ptr; in nfc_llcp_send_i_frame() local 686 msg_ptr = msg_data; in nfc_llcp_send_i_frame() 707 skb_put_data(pdu, msg_ptr, frag_len); in nfc_llcp_send_i_frame() 718 msg_ptr += frag_len; in nfc_llcp_send_i_frame() 732 u8 *msg_ptr, *msg_data; in nfc_llcp_send_ui_frame() local 752 msg_ptr = msg_data; in nfc_llcp_send_ui_frame() 776 skb_put_data(pdu, msg_ptr, frag_len); in nfc_llcp_send_ui_frame() 782 msg_ptr += frag_len; in nfc_llcp_send_ui_frame()
|
/kernel/liteos_m/kal/posix/src/ |
D | mqueue.c | 629 int mq_send(mqd_t personal, const char *msg_ptr, size_t msg_len, unsigned int msg_prio) in mq_send() argument 631 return mq_timedsend(personal, msg_ptr, msg_len, msg_prio, NULL); in mq_send() 634 ssize_t mq_receive(mqd_t personal, char *msg_ptr, size_t msg_len, unsigned int *msg_prio) in mq_receive() argument 636 return mq_timedreceive(personal, msg_ptr, msg_len, msg_prio, NULL); in mq_receive()
|
/kernel/liteos_m/kal/cmsis/ |
D | cmsis_liteos2.c | 1290 STATIC osStatus_t osMessageQueueOp(osMessageQueueId_t mq_id, VOID *msg_ptr, UINT32 timeout, QueueRe… in osMessageQueueOp() argument 1296 if ((queueCB == NULL) || (msg_ptr == NULL) || (OS_INT_ACTIVE && (timeout != 0))) { in osMessageQueueOp() 1302 ret = LOS_QueueWriteCopy(queueCB->queueID, msg_ptr, bufferSize, timeout); in osMessageQueueOp() 1304 ret = LOS_QueueReadCopy(queueCB->queueID, msg_ptr, &bufferSize, timeout); in osMessageQueueOp() 1318 osStatus_t osMessageQueuePut(osMessageQueueId_t mq_id, const void *msg_ptr, uint8_t msg_prio, uint3… in osMessageQueuePut() argument 1321 return osMessageQueueOp(mq_id, (VOID *)msg_ptr, (UINT32)timeout, OS_QUEUE_WRITE); in osMessageQueuePut() 1324 osStatus_t osMessageQueueGet(osMessageQueueId_t mq_id, void *msg_ptr, uint8_t *msg_prio, uint32_t t… in osMessageQueueGet() argument 1327 return osMessageQueueOp(mq_id, (VOID *)msg_ptr, (UINT32)timeout, OS_QUEUE_READ); in osMessageQueueGet()
|
/kernel/linux/linux-5.10/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_fd.c | 660 u8 *msg_ptr, *msg_end; in pcan_usb_fd_decode_buf() local 664 msg_ptr = urb->transfer_buffer; in pcan_usb_fd_decode_buf() 666 for (; msg_ptr < msg_end;) { in pcan_usb_fd_decode_buf() 669 rx_msg = (struct pucan_msg *)msg_ptr; in pcan_usb_fd_decode_buf() 679 if (msg_ptr + rx_msg_size > msg_end) { in pcan_usb_fd_decode_buf() 722 msg_ptr += rx_msg_size; in pcan_usb_fd_decode_buf()
|
/kernel/liteos_a/compat/posix/src/ |
D | mqueue.c | 876 int mq_send(mqd_t personal, const char *msg_ptr, size_t msg_len, unsigned int msg_prio) in mq_send() argument 878 return mq_timedsend(personal, msg_ptr, msg_len, msg_prio, NULL); in mq_send() 881 ssize_t mq_receive(mqd_t personal, char *msg_ptr, size_t msg_len, unsigned int *msg_prio) in mq_receive() argument 883 return mq_timedreceive(personal, msg_ptr, msg_len, msg_prio, NULL); in mq_receive()
|
/kernel/linux/linux-5.10/drivers/net/can/peak_canfd/ |
D | peak_canfd.c | 489 void *msg_ptr = msg_list; in peak_canfd_handle_msgs_list() local 493 msg_size = peak_canfd_handle_msg(priv, msg_ptr); in peak_canfd_handle_msgs_list() 499 msg_ptr += ALIGN(msg_size, 4); in peak_canfd_handle_msgs_list()
|
/kernel/linux/linux-5.10/include/linux/ |
D | syscalls.h | 784 asmlinkage long sys_mq_timedsend(mqd_t mqdes, const char __user *msg_ptr, size_t msg_len, unsigned … 785 asmlinkage long sys_mq_timedreceive(mqd_t mqdes, char __user *msg_ptr, size_t msg_len, unsigned int…
|