Searched refs:nmsgs (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
D | i2c-xiic.c | 72 unsigned int nmsgs; member 355 if ((xiic_tx_space(i2c) == 0) && (i2c->nmsgs == 1)) { in xiic_fill_tx_fifo() 368 i2c->nmsgs = 0; in xiic_wakeup() 393 i2c->tx_msg, i2c->nmsgs); in xiic_process() 440 __func__, i2c->nmsgs); in xiic_process() 446 if (i2c->nmsgs > 1) { in xiic_process() 447 i2c->nmsgs--; in xiic_process() 466 if ((i2c->nmsgs == 1) && !i2c->rx_msg && in xiic_process() 490 __func__, i2c->nmsgs); in xiic_process() 491 if (i2c->nmsgs > 1) { in xiic_process() [all …]
|
D | i2c-kempld.c | 61 int nmsgs; member 155 i2c->nmsgs--; in kempld_i2c_process() 160 if (i2c->nmsgs) { in kempld_i2c_process() 196 i2c->nmsgs = num; in kempld_i2c_xfer()
|
D | i2c-ocores.c | 43 int nmsgs; member 200 i2c->nmsgs--; in ocores_process() 205 if (i2c->nmsgs) { /* end? */ in ocores_process() 385 i2c->nmsgs = num; in ocores_xfer_core()
|
/kernel/linux/linux-5.10/drivers/i2c/ |
D | i2c-dev.c | 237 unsigned nmsgs, struct i2c_msg *msgs) in i2cdev_ioctl_rdwr() argument 242 data_ptrs = kmalloc_array(nmsgs, sizeof(u8 __user *), GFP_KERNEL); in i2cdev_ioctl_rdwr() 249 for (i = 0; i < nmsgs; i++) { in i2cdev_ioctl_rdwr() 298 res = i2c_transfer(client->adapter, msgs, nmsgs); in i2cdev_ioctl_rdwr() 444 if (!rdwr_arg.msgs || rdwr_arg.nmsgs == 0) in i2cdev_ioctl() 451 if (rdwr_arg.nmsgs > I2C_RDWR_IOCTL_MAX_MSGS) in i2cdev_ioctl() 455 rdwr_arg.nmsgs * sizeof(struct i2c_msg)); in i2cdev_ioctl() 459 return i2cdev_ioctl_rdwr(client, rdwr_arg.nmsgs, rdwr_pa); in i2cdev_ioctl() 517 u32 nmsgs; member 539 if (!rdwr_arg.msgs || rdwr_arg.nmsgs == 0) in compat_i2cdev_ioctl() [all …]
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | i2c-dev.h | 27 __u32 nmsgs; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | i2c-dev.h | 40 __u32 nmsgs; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | i2c-dev.h | 67 __u32 nmsgs; /* number of i2c_msgs */ member
|
/kernel/linux/linux-5.10/Documentation/i2c/ |
D | dev-interface.rst | 134 int nmsgs; /* number of messages to exchange */
|
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/ |
D | hispark_taurus.patch | 24875 unsigned nmsgs, struct i2c_msg *msgs)
|
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/ |
D | hispark_taurus.patch | 309487 unsigned nmsgs, struct i2c_msg *msgs)
|