Home
last modified time | relevance | path

Searched refs:read_size (Results 1 – 8 of 8) sorted by relevance

/drivers/sbus/char/
Dflash.c29 unsigned long read_size; /* Size of read area */ member
45 size = flash.read_size; in flash_mmap()
54 size = flash.read_size; in flash_mmap()
90 if (file->f_pos > flash.read_size) in flash_llseek()
91 file->f_pos = flash.read_size; in flash_llseek()
94 file->f_pos = flash.read_size; in flash_llseek()
111 if (count > flash.read_size - p) in flash_read()
112 count = flash.read_size - p; in flash_read()
175 flash.read_size = resource_size(&op->resource[0]); in flash_probe()
187 flash.read_base, flash.read_size, in flash_probe()
/drivers/net/wimax/i2400m/
Dusb-rx.c196 int usb_pipe, read_size, rx_size, do_autopm; in i2400mu_rx() local
218 rx_size, &read_size, 200); in i2400mu_rx()
222 if (read_size == 0) in i2400mu_rx()
224 skb_put(rx_skb, read_size); in i2400mu_rx()
262 skb_put(rx_skb, read_size); in i2400mu_rx()
279 rx_size, read_size, rx_skb->len, in i2400mu_rx()
/drivers/staging/iio/Documentation/
Dgeneric_buffer.c156 ssize_t read_size; in main() local
305 read_size = read(fp, in main()
308 if (read_size == -EAGAIN) { in main()
312 for (i = 0; i < read_size/scan_size; i++) in main()
/drivers/uwb/i1480/dfu/
Dusb.c153 size_t itr, read_size = i1480->buf_size; in i1480_usb_read() local
158 BUG_ON(read_size > 512); in i1480_usb_read()
161 read_size = 4; in i1480_usb_read()
163 for (itr = 0; itr < size; itr += read_size) { in i1480_usb_read()
165 size_t itr_size = min(read_size, size - itr); in i1480_usb_read()
/drivers/s390/net/
Dclaw.c446 privptr->p_env->read_size=DEF_PACK_BUFSIZE; in claw_open()
451 privptr->p_env->read_size=CLAW_FRAME_SIZE; in claw_open()
519 if (privptr->p_env->read_size < PAGE_SIZE) { in claw_open()
851 if (privptr->p_env->read_size < PAGE_SIZE) { in claw_release()
1516 if (privptr->p_env->read_size < PAGE_SIZE) { in init_ccw_bk()
1517 claw_reads_perpage = PAGE_SIZE / privptr->p_env->read_size; in init_ccw_bk()
1523 DIV_ROUND_UP(privptr->p_env->read_size, PAGE_SIZE); in init_ccw_bk()
1536 DIV_ROUND_UP(privptr->p_env->read_size, PAGE_SIZE); in init_ccw_bk()
1746 if (privptr->p_env->read_size < PAGE_SIZE) { in init_ccw_bk()
1791 p_buf-> read.count = privptr->p_env->read_size; in init_ccw_bk()
[all …]
Dclaw.h298 __u16 read_size; /* read buffer size */ member
/drivers/block/
Damiflop.c592 custom.dsklen = unit[drive].type->read_size/sizeof(short) | DSKLEN_DMAEN; in raw_read()
593 custom.dsklen = unit[drive].type->read_size/sizeof(short) | DSKLEN_DMAEN; in raw_read()
728 end = raw + unit[drive].type->read_size; in amiga_read()
1043 end = raw + unit[drive].type->read_size; in dos_read()
1527 if (copy_to_user(argp, raw_buf, p->type->read_size)) in fd_locked_ioctl()
1530 return p->type->read_size; in fd_locked_ioctl()
/drivers/android/
Dbinder.c3248 (u64)bwr.read_size, (u64)bwr.read_buffer); in binder_ioctl_write_read()
3263 if (bwr.read_size > 0) { in binder_ioctl_write_read()
3265 bwr.read_size, in binder_ioctl_write_read()
3281 (u64)bwr.read_consumed, (u64)bwr.read_size); in binder_ioctl_write_read()