Searched refs:nmsgs (Results 1 – 10 of 10) sorted by relevance
/linux-4.1.27/drivers/i2c/busses/ |
D | i2c-xiic.c | 74 unsigned int nmsgs; member 342 if ((xiic_tx_space(i2c) == 0) && (i2c->nmsgs == 1)) { in xiic_fill_tx_fifo() 355 i2c->nmsgs = 0; in xiic_wakeup() 378 i2c->tx_msg, i2c->nmsgs); in xiic_process() 428 __func__, i2c->nmsgs); in xiic_process() 434 if (i2c->nmsgs > 1) { in xiic_process() 435 i2c->nmsgs--; in xiic_process() 453 if ((i2c->nmsgs == 1) && !i2c->rx_msg && in xiic_process() 477 __func__, i2c->nmsgs); in xiic_process() 478 if (i2c->nmsgs > 1) { in xiic_process() [all …]
|
D | i2c-kempld.c | 69 int nmsgs; member 164 i2c->nmsgs--; in kempld_i2c_process() 169 if (i2c->nmsgs) { in kempld_i2c_process() 205 i2c->nmsgs = num; in kempld_i2c_xfer()
|
D | i2c-ocores.c | 37 int nmsgs; member 153 i2c->nmsgs--; in ocores_process() 158 if (i2c->nmsgs) { /* end? */ in ocores_process() 205 i2c->nmsgs = num; in ocores_xfer()
|
/linux-4.1.27/arch/tile/kernel/ |
D | messaging.c | 51 int nmsgs = 0; in hv_message_intr() local 79 ++nmsgs; in hv_message_intr() 106 if (nmsgs == 0) in hv_message_intr()
|
/linux-4.1.27/drivers/i2c/ |
D | i2c-dev.c | 253 if (rdwr_arg.nmsgs > I2C_RDRW_IOCTL_MAX_MSGS) in i2cdev_ioctl_rdrw() 257 rdwr_arg.nmsgs * sizeof(struct i2c_msg)); in i2cdev_ioctl_rdrw() 261 data_ptrs = kmalloc(rdwr_arg.nmsgs * sizeof(u8 __user *), GFP_KERNEL); in i2cdev_ioctl_rdrw() 268 for (i = 0; i < rdwr_arg.nmsgs; i++) { in i2cdev_ioctl_rdrw() 314 res = i2c_transfer(client->adapter, rdwr_pa, rdwr_arg.nmsgs); in i2cdev_ioctl_rdrw()
|
/linux-4.1.27/include/uapi/linux/ |
D | i2c-dev.h | 66 __u32 nmsgs; /* number of i2c_msgs */ member
|
/linux-4.1.27/fs/ |
D | compat_ioctl.c | 662 u32 nmsgs; member 684 u32 nmsgs; in do_i2c_rdwr_ioctl() local 687 if (get_user(nmsgs, &udata->nmsgs)) in do_i2c_rdwr_ioctl() 689 if (nmsgs > I2C_RDRW_IOCTL_MAX_MSGS) in do_i2c_rdwr_ioctl() 697 nmsgs * sizeof(struct i2c_msg)); in do_i2c_rdwr_ioctl() 700 if (put_user(nmsgs, &tdata->cmd.nmsgs) || in do_i2c_rdwr_ioctl() 704 for (i = 0; i < nmsgs; i++) { in do_i2c_rdwr_ioctl()
|
/linux-4.1.27/drivers/infiniband/hw/ipath/ |
D | ipath_intr.c | 504 static unsigned nmsgs, supp_msgs; in handle_frequent_errors() local 512 if (nmsgs > 10) { in handle_frequent_errors() 521 nmsgs = 0; in handle_frequent_errors() 524 else if (!nmsgs++ || time_after(nc, nextmsg_time)) in handle_frequent_errors()
|
/linux-4.1.27/drivers/misc/sgi-xp/ |
D | xpc_sn2.c | 1917 u32 nmsgs; in xpc_pull_remote_msg_sn2() local 1933 nmsgs = ch_sn2->w_remote_GP.put - ch_sn2->next_msg_to_pull; in xpc_pull_remote_msg_sn2() 1934 if (msg_index + nmsgs > ch->remote_nentries) { in xpc_pull_remote_msg_sn2() 1936 nmsgs = ch->remote_nentries - msg_index; in xpc_pull_remote_msg_sn2() 1945 nmsgs * ch->entry_size); in xpc_pull_remote_msg_sn2() 1950 "ret=%d\n", nmsgs, ch_sn2->next_msg_to_pull, in xpc_pull_remote_msg_sn2() 1959 ch_sn2->next_msg_to_pull += nmsgs; in xpc_pull_remote_msg_sn2()
|
/linux-4.1.27/Documentation/i2c/ |
D | dev-interface | 130 int nmsgs; /* number of messages to exchange */
|