Searched refs:msg_ptr (Results 1 – 5 of 5) sorted by relevance
/linux-2.6.39/drivers/i2c/busses/ |
D | i2c-nuc900.c | 79 unsigned int msg_ptr; member 101 i2c->msg_ptr = 0; in nuc900_i2c_master_complete() 180 return i2c->msg_ptr == i2c->msg->len-1; in is_msglast() 190 return i2c->msg_ptr >= i2c->msg->len; in is_msgend() 266 byte = i2c->msg->buf[i2c->msg_ptr++]; in i2c_nuc900_irq_nextbyte() 275 i2c->msg_ptr = 0; in i2c_nuc900_irq_nextbyte() 312 i2c->msg->buf[i2c->msg_ptr++] = byte; in i2c_nuc900_irq_nextbyte() 336 i2c->msg_ptr = 0; in i2c_nuc900_irq_nextbyte() 430 i2c->msg_ptr = 0; in nuc900_i2c_doxfer()
|
D | i2c-pxa.c | 137 unsigned int msg_ptr; member 258 i2c->msg_num, i2c->msg_idx, i2c->msg_ptr); in i2c_pxa_scream_blue_murder() 701 i2c->msg_ptr = 0; in i2c_pxa_do_pio_xfer() 756 i2c->msg_ptr = 0; in i2c_pxa_do_xfer() 817 i2c->msg_ptr = 0; in i2c_pxa_master_complete() 860 if (i2c->msg_ptr == 0 && i2c->msg_idx == 0) in i2c_pxa_irq_txempty() 871 if (i2c->msg_ptr == i2c->msg->len - 1 && in i2c_pxa_irq_txempty() 876 } else if (i2c->msg_ptr < i2c->msg->len) { in i2c_pxa_irq_txempty() 880 writel(i2c->msg->buf[i2c->msg_ptr++], _IDBR(i2c)); in i2c_pxa_irq_txempty() 888 if (i2c->msg_ptr == i2c->msg->len && in i2c_pxa_irq_txempty() [all …]
|
D | i2c-s3c2410.c | 67 unsigned int msg_ptr; member 112 i2c->msg_ptr = 0; in s3c24xx_i2c_master_complete() 238 return i2c->msg_ptr == i2c->msg->len-1; in is_msglast() 248 return i2c->msg_ptr >= i2c->msg->len; in is_msgend() 324 byte = i2c->msg->buf[i2c->msg_ptr++]; in i2s_s3c_irq_nextbyte() 340 i2c->msg_ptr = 0; in i2s_s3c_irq_nextbyte() 376 i2c->msg->buf[i2c->msg_ptr++] = byte; in i2s_s3c_irq_nextbyte() 398 i2c->msg_ptr = 0; in i2s_s3c_irq_nextbyte() 502 i2c->msg_ptr = 0; in s3c24xx_i2c_doxfer()
|
/linux-2.6.39/ipc/ |
D | mqueue.c | 855 struct msg_msg *msg_ptr; in SYSCALL_DEFINE5() local 899 msg_ptr = load_msg(u_msg_ptr, msg_len); in SYSCALL_DEFINE5() 900 if (IS_ERR(msg_ptr)) { in SYSCALL_DEFINE5() 901 ret = PTR_ERR(msg_ptr); in SYSCALL_DEFINE5() 904 msg_ptr->m_ts = msg_len; in SYSCALL_DEFINE5() 905 msg_ptr->m_type = msg_prio; in SYSCALL_DEFINE5() 915 wait.msg = (void *) msg_ptr; in SYSCALL_DEFINE5() 920 free_msg(msg_ptr); in SYSCALL_DEFINE5() 924 pipelined_send(info, msg_ptr, receiver); in SYSCALL_DEFINE5() 927 msg_insert(msg_ptr, info); in SYSCALL_DEFINE5() [all …]
|
/linux-2.6.39/include/linux/ |
D | syscalls.h | 682 asmlinkage long sys_mq_timedsend(mqd_t mqdes, const char __user *msg_ptr, size_t msg_len, unsigned … 683 asmlinkage long sys_mq_timedreceive(mqd_t mqdes, char __user *msg_ptr, size_t msg_len, unsigned int…
|