Home
last modified time | relevance | path

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

/drivers/media/usb/pvrusb2/
Dpvrusb2-debugifc.c21 unsigned int scnt; in debugifc_count_whitespace() local
24 for (scnt = 0; scnt < count; scnt++) { in debugifc_count_whitespace()
25 ch = buf[scnt]; in debugifc_count_whitespace()
31 return scnt; in debugifc_count_whitespace()
38 unsigned int scnt; in debugifc_count_nonwhitespace() local
41 for (scnt = 0; scnt < count; scnt++) { in debugifc_count_nonwhitespace()
42 ch = buf[scnt]; in debugifc_count_nonwhitespace()
47 return scnt; in debugifc_count_nonwhitespace()
58 unsigned int scnt; in debugifc_isolate_word() local
62 scnt = debugifc_count_whitespace(buf,count); in debugifc_isolate_word()
[all …]
Dpvrusb2-io.c284 unsigned int scnt; in pvr2_stream_buffer_count() local
295 scnt = cnt & ~0x1f; in pvr2_stream_buffer_count()
296 if (cnt > scnt) scnt += 0x20; in pvr2_stream_buffer_count()
299 if (scnt > sp->buffer_slot_count) { in pvr2_stream_buffer_count()
302 nb = kmalloc_array(scnt, sizeof(*nb), GFP_KERNEL); in pvr2_stream_buffer_count()
310 sp->buffer_slot_count = scnt; in pvr2_stream_buffer_count()
335 if (scnt < sp->buffer_slot_count) { in pvr2_stream_buffer_count()
337 if (scnt) { in pvr2_stream_buffer_count()
338 nb = kmemdup(sp->buffers, scnt * sizeof(*nb), in pvr2_stream_buffer_count()
344 sp->buffer_slot_count = scnt; in pvr2_stream_buffer_count()
/drivers/block/
Damiflop.c839 int scnt; in amiga_read() local
847 for (scnt = 0;scnt < unit[drive].dtype->sects * unit[drive].type->sect_mult; scnt++) { in amiga_read()
849 printk (KERN_INFO "can't find sync for sector %d\n", scnt); in amiga_read()
885 hdr.magic, hdr.track, hdr.sect, hdr.ord, scnt, in amiga_read()
1154 int scnt; in dos_read() local
1162 for (scnt=0; scnt < unit[drive].dtype->sects * unit[drive].type->sect_mult; scnt++) { in dos_read()
1167 unit[drive].track,drive,scnt); in dos_read()
1213 unit[drive].track, drive, scnt, hdr.sec); in dos_read()
1223 hdr.track,hdr.side,hdr.sec,hdr.len_desc,scnt); in dos_read()
1235 hdr.sec, hdr.len_desc, scnt,data_crc[0], crc); in dos_read()
/drivers/block/aoe/
Daoe.h54 unsigned char scnt; member
68 unsigned char scnt; member
Daoecmd.c342 ah->scnt = f->iter.bi_size >> 9; in ata_rw_frameinit()
1107 n = ahout->scnt << 9; in ktiocomplete()
1394 ah->scnt = 1; in aoecmd_ata_id()
1576 if (n > ch->scnt) in aoecmd_cfg_rsp()
1577 n = ch->scnt; in aoecmd_cfg_rsp()
/drivers/s390/cio/
Ddevice_status.c187 cdev_irb->esw.esw0.erw.scnt = irb->esw.esw0.erw.scnt; in ccw_device_accumulate_esw()
/drivers/ntb/test/
Dntb_perf.c699 int ret, sidx, scnt; in perf_enable_service() local
720 scnt = ntb_spad_count(perf->ntb); in perf_enable_service()
721 for (sidx = 0; sidx < scnt; sidx++) in perf_enable_service()
/drivers/md/
Draid5.c6648 int scnt = 0; in retry_aligned_read() local
6660 scnt++) { in retry_aligned_read()
6662 if (scnt < offset) in retry_aligned_read()
6671 conf->retry_read_offset = scnt; in retry_aligned_read()
6678 conf->retry_read_offset = scnt; in retry_aligned_read()