Searched refs:nmsgs (Results 1 - 8 of 8) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/tile/kernel/
H A Dmessaging.c51 int nmsgs = 0; local
80 ++nmsgs;
107 if (nmsgs == 0)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Di2c-dev.h65 __u32 nmsgs; /* number of i2c_msgs */ member in struct:i2c_rdwr_ioctl_data
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/i2c/busses/
H A Di2c-xiic.c60 * @nmsgs: Number of messages in tx_msg
72 unsigned int nmsgs; member in struct:xiic_i2c
310 if ((xiic_tx_space(i2c) == 0) && (i2c->nmsgs == 1)) {
325 i2c->nmsgs = 0;
345 "pend: 0x%x, SR: 0x%x, msg: %p, nmsgs: %d\n",
347 i2c->tx_msg, i2c->nmsgs);
396 "%s end of message, nmsgs: %d\n",
397 __func__, i2c->nmsgs);
403 if (i2c->nmsgs > 1) {
404 i2c->nmsgs
[all...]
H A Di2c-ocores.c31 int nmsgs; member in struct:ocores_i2c
110 i2c->nmsgs--;
115 if (i2c->nmsgs) { /* end? */
162 i2c->nmsgs = num;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/i2c/
H A Di2c-dev.c253 if (rdwr_arg.nmsgs > I2C_RDRW_IOCTL_MAX_MSGS)
256 rdwr_pa = kmalloc(rdwr_arg.nmsgs * sizeof(struct i2c_msg), GFP_KERNEL);
261 rdwr_arg.nmsgs * sizeof(struct i2c_msg))) {
266 data_ptrs = kmalloc(rdwr_arg.nmsgs * sizeof(u8 __user *), GFP_KERNEL);
273 for (i = 0; i < rdwr_arg.nmsgs; i++) {
297 res = i2c_transfer(client->adapter, rdwr_pa, rdwr_arg.nmsgs);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/
H A Dcompat_ioctl.c742 u32 nmsgs; member in struct:i2c_rdwr_ioctl_data32
764 int nmsgs, i; local
766 if (get_user(nmsgs, &udata->nmsgs))
768 if (nmsgs > I2C_RDRW_IOCTL_MAX_MSGS)
776 nmsgs * sizeof(struct i2c_msg));
779 if (put_user(nmsgs, &tdata->cmd.nmsgs) ||
783 for (i = 0; i < nmsgs; i++) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/ipath/
H A Dipath_intr.c505 static unsigned nmsgs, supp_msgs; local
513 if (nmsgs > 10) {
522 nmsgs = 0;
525 else if (!nmsgs++ || time_after(nc, nextmsg_time))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/misc/sgi-xp/
H A Dxpc_sn2.c1917 u32 nmsgs; local
1933 nmsgs = ch_sn2->w_remote_GP.put - ch_sn2->next_msg_to_pull;
1934 if (msg_index + nmsgs > ch->remote_nentries) {
1936 nmsgs = ch->remote_nentries - msg_index;
1945 nmsgs * ch->entry_size);
1950 "ret=%d\n", nmsgs, ch_sn2->next_msg_to_pull,
1959 ch_sn2->next_msg_to_pull += nmsgs;

Completed in 200 milliseconds