Searched defs:real_size (Results 1 - 7 of 7) sorted by relevance

/drivers/hid/
H A Dhid-roccat-arvo.c185 loff_t off, size_t count, size_t real_size, uint command)
193 if (off != 0 || count != real_size)
197 retval = roccat_common_send(usb_dev, command, buf, real_size);
200 return (retval ? retval : real_size);
205 size_t count, size_t real_size, uint command)
213 if (off >= real_size)
216 if (off != 0 || count != real_size)
220 retval = roccat_common_receive(usb_dev, command, buf, real_size);
223 return (retval ? retval : real_size);
183 arvo_sysfs_write(struct file *fp, struct kobject *kobj, void const *buf, loff_t off, size_t count, size_t real_size, uint command) argument
203 arvo_sysfs_read(struct file *fp, struct kobject *kobj, void *buf, loff_t off, size_t count, size_t real_size, uint command) argument
H A Dhid-roccat-isku.c165 size_t real_size, uint command)
173 if (off >= real_size)
176 if (off != 0 || count != real_size)
180 retval = isku_receive(usb_dev, command, buf, real_size);
183 return retval ? retval : real_size;
188 size_t real_size, uint command)
196 if (off != 0 || count != real_size)
200 retval = isku_send(usb_dev, command, (void *)buf, real_size);
203 return retval ? retval : real_size;
163 isku_sysfs_read(struct file *fp, struct kobject *kobj, char *buf, loff_t off, size_t count, size_t real_size, uint command) argument
186 isku_sysfs_write(struct file *fp, struct kobject *kobj, void const *buf, loff_t off, size_t count, size_t real_size, uint command) argument
H A Dhid-roccat-koneplus.c196 size_t real_size, uint command)
204 if (off >= real_size)
207 if (off != 0 || count != real_size)
211 retval = roccat_common_receive(usb_dev, command, buf, real_size);
217 return real_size;
222 size_t real_size, uint command)
230 if (off != 0 || count != real_size)
234 retval = koneplus_send(usb_dev, command, buf, real_size);
240 return real_size;
194 koneplus_sysfs_read(struct file *fp, struct kobject *kobj, char *buf, loff_t off, size_t count, size_t real_size, uint command) argument
220 koneplus_sysfs_write(struct file *fp, struct kobject *kobj, void const *buf, loff_t off, size_t count, size_t real_size, uint command) argument
/drivers/uwb/
H A Dneh.c472 * real_size: the actual space taken by this event in the buffer.
485 size_t size, real_size, event_size; local
501 &real_size, &event_size);
526 real_size = event_size = ret;
533 itr += real_size;
534 size -= real_size;
/drivers/net/ethernet/mellanox/mlx4/
H A Den_tx.c500 int real_size; local
504 real_size = CTRL_SIZE + skb_shinfo(skb)->nr_frags * DS_SIZE +
510 real_size += DS_SIZE;
520 real_size = CTRL_SIZE + (skb_shinfo(skb)->nr_frags + 1) * DS_SIZE;
522 real_size = inline_size(skb);
525 return real_size;
529 int real_size, u16 *vlan_tag, int tx_ind, void *fragptr)
568 tx_desc->ctrl.fence_size = (real_size / 16) & 0x3f;
606 int real_size; local
619 real_size
528 build_inline_wqe(struct mlx4_en_tx_desc *tx_desc, struct sk_buff *skb, int real_size, u16 *vlan_tag, int tx_ind, void *fragptr) argument
[all...]
/drivers/video/
H A Ds3c-fb.c1141 unsigned int real_size, virt_size, size; local
1147 real_size = windata->win_mode.xres * windata->win_mode.yres;
1150 dev_dbg(sfb->dev, "real_size=%u (%u.%u), virt_size=%u (%u.%u)\n",
1151 real_size, windata->win_mode.xres, windata->win_mode.yres,
1154 size = (real_size > virt_size) ? real_size : virt_size;
/drivers/block/
H A Dcciss.c2873 sector_t real_size = total_size + 1; local
2874 unsigned long rem = sector_div(real_size, t);
2876 real_size++;
2877 drv->cylinders = real_size;

Completed in 154 milliseconds