Home
last modified time | relevance | path

Searched refs:nmsgs (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-xiic.c72 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 …]
Di2c-kempld.c61 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()
Di2c-ocores.c43 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/
Di2c-dev.c237 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/
Di2c-dev.h27 __u32 nmsgs; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Di2c-dev.h40 __u32 nmsgs; member
/kernel/linux/linux-5.10/include/uapi/linux/
Di2c-dev.h67 __u32 nmsgs; /* number of i2c_msgs */ member
/kernel/linux/linux-5.10/Documentation/i2c/
Ddev-interface.rst134 int nmsgs; /* number of messages to exchange */
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch24875 unsigned nmsgs, struct i2c_msg *msgs)
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch309487 unsigned nmsgs, struct i2c_msg *msgs)