Home
last modified time | relevance | path

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

/drivers/media/video/pvrusb2/
Dpvrusb2-debugifc.c37 unsigned int scnt; in debugifc_count_whitespace() local
40 for (scnt = 0; scnt < count; scnt++) { in debugifc_count_whitespace()
41 ch = buf[scnt]; in debugifc_count_whitespace()
47 return scnt; in debugifc_count_whitespace()
54 unsigned int scnt; in debugifc_count_nonwhitespace() local
57 for (scnt = 0; scnt < count; scnt++) { in debugifc_count_nonwhitespace()
58 ch = buf[scnt]; in debugifc_count_nonwhitespace()
63 return scnt; in debugifc_count_nonwhitespace()
74 unsigned int scnt; in debugifc_isolate_word() local
78 scnt = debugifc_count_whitespace(buf,count); in debugifc_isolate_word()
[all …]
Dpvrusb2-io.c303 unsigned int scnt; in pvr2_stream_buffer_count() local
315 scnt = cnt & ~0x1f; in pvr2_stream_buffer_count()
316 if (cnt > scnt) scnt += 0x20; in pvr2_stream_buffer_count()
319 if (scnt > sp->buffer_slot_count) { in pvr2_stream_buffer_count()
321 nb = kmalloc(scnt * sizeof(*nb),GFP_KERNEL); in pvr2_stream_buffer_count()
329 sp->buffer_slot_count = scnt; in pvr2_stream_buffer_count()
354 if (scnt < sp->buffer_slot_count) { in pvr2_stream_buffer_count()
356 if (scnt) { in pvr2_stream_buffer_count()
357 nb = kmalloc(scnt * sizeof(*nb),GFP_KERNEL); in pvr2_stream_buffer_count()
359 memcpy(nb,sp->buffers,scnt * sizeof(*nb)); in pvr2_stream_buffer_count()
[all …]
/drivers/block/
Damiflop.c721 int scnt; in amiga_read() local
729 for (scnt = 0;scnt < unit[drive].dtype->sects * unit[drive].type->sect_mult; scnt++) { in amiga_read()
731 printk (KERN_INFO "can't find sync for sector %d\n", scnt); in amiga_read()
767 hdr.magic, hdr.track, hdr.sect, hdr.ord, scnt, in amiga_read()
1036 int scnt; in dos_read() local
1044 for (scnt=0; scnt < unit[drive].dtype->sects * unit[drive].type->sect_mult; scnt++) { in dos_read()
1049 unit[drive].track,drive,scnt); in dos_read()
1095 unit[drive].track, drive, scnt, hdr.sec); in dos_read()
1105 hdr.track,hdr.side,hdr.sec,hdr.len_desc,scnt); in dos_read()
1117 hdr.sec, hdr.len_desc, scnt,data_crc[0], crc); in dos_read()
/drivers/block/aoe/
Daoe.h55 unsigned char scnt; member
69 unsigned char scnt; member
Daoecmd.c250 ah->scnt = bcnt >> 9; in aoecmd_ata_rw()
374 ah->scnt = n >> 9; in resend()
478 return ah->scnt; in ata_scnt()
813 n = ahout->scnt << 9; in aoecmd_ata_rsp()
916 ah->scnt = 1; in aoecmd_ata_id()
1032 if (n > ch->scnt) in aoecmd_cfg_rsp()
1033 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()
Ddevice_pgid.c151 irb->esw.esw0.erw.scnt, in __ccw_device_check_sense_pgid()
351 irb->esw.esw0.erw.scnt, in __ccw_device_check_pgid()
Ddevice_id.c230 irb->esw.esw0.erw.scnt, in ccw_device_check_sense_id()
/drivers/md/
Draid5.c3771 int scnt = 0; in retry_aligned_read() local
3787 scnt++) { in retry_aligned_read()
3789 if (scnt < raid5_bi_hw_segments(raid_bio)) in retry_aligned_read()
3797 raid5_set_bi_hw_segments(raid_bio, scnt); in retry_aligned_read()
3805 raid5_set_bi_hw_segments(raid_bio, scnt); in retry_aligned_read()