Home
last modified time | relevance | path

Searched refs:bcount (Results 1 – 11 of 11) sorted by relevance

/drivers/ide/
Dide-atapi.c74 unsigned int bcount, int write) in ide_io_buffers() argument
83 while (bcount) { in ide_io_buffers()
84 count = min(sg->length - pc->b_count, bcount); in ide_io_buffers()
99 bcount -= count; in ide_io_buffers()
111 if (bcount) { in ide_io_buffers()
113 bcount, write ? "padding with zeros" in ide_io_buffers()
115 ide_pad_transfer(drive, write, bcount); in ide_io_buffers()
313 u16 bcount; in ide_pc_intr() local
399 ide_read_bcount_and_ireason(drive, &bcount, &ireason); in ide_pc_intr()
418 temp = pc->xferred + bcount; in ide_pc_intr()
[all …]
Dide-dma-sff.c128 u32 cur_addr, cur_len, xcount, bcount; in ide_build_dmatable() local
143 bcount = 0x10000 - (cur_addr & 0xffff); in ide_build_dmatable()
144 if (bcount > cur_len) in ide_build_dmatable()
145 bcount = cur_len; in ide_build_dmatable()
147 xcount = bcount & 0xffff; in ide_build_dmatable()
158 cur_addr += bcount; in ide_build_dmatable()
159 cur_len -= bcount; in ide_build_dmatable()
Dtx4939ide.c246 u32 cur_addr, cur_len, bcount; in tx4939ide_build_dmatable() local
259 bcount = 0x10000 - (cur_addr & 0xffff); in tx4939ide_build_dmatable()
260 if (bcount > cur_len) in tx4939ide_build_dmatable()
261 bcount = cur_len; in tx4939ide_build_dmatable()
266 if (bcount == 0x10000) in tx4939ide_build_dmatable()
267 bcount = 0x8000; in tx4939ide_build_dmatable()
268 *table++ = bcount & 0xffff; in tx4939ide_build_dmatable()
270 cur_addr += bcount; in tx4939ide_build_dmatable()
271 cur_len -= bcount; in tx4939ide_build_dmatable()
Dsgiioc4.c454 u32 bcount = in sgiioc4_build_dma_table() local
457 if (bcount > cur_len) in sgiioc4_build_dma_table()
458 bcount = cur_len; in sgiioc4_build_dma_table()
469 *table = cpu_to_be32(bcount); in sgiioc4_build_dma_table()
472 cur_addr += bcount; in sgiioc4_build_dma_table()
473 cur_len -= bcount; in sgiioc4_build_dma_table()
Dide-tape.c317 unsigned int bcount) in idetape_input_buffers() argument
322 while (bcount) { in idetape_input_buffers()
326 ide_pad_transfer(drive, 0, bcount); in idetape_input_buffers()
331 bcount); in idetape_input_buffers()
334 bcount -= count; in idetape_input_buffers()
346 unsigned int bcount) in idetape_output_buffers() argument
351 while (bcount) { in idetape_output_buffers()
357 count = min((unsigned int)pc->b_count, (unsigned int)bcount); in idetape_output_buffers()
359 bcount -= count; in idetape_output_buffers()
377 unsigned int bcount = pc->xferred; in idetape_update_buffers() local
[all …]
Dide-io.c1195 void ide_pktcmd_tf_load(ide_drive_t *drive, u32 tf_flags, u16 bcount, u8 dma) in ide_pktcmd_tf_load() argument
1204 task.tf.lbam = bcount & 0xff; in ide_pktcmd_tf_load()
1205 task.tf.lbah = (bcount >> 8) & 0xff; in ide_pktcmd_tf_load()
Dide-iops.c365 void ide_read_bcount_and_ireason(ide_drive_t *drive, u16 *bcount, u8 *ireason) in ide_read_bcount_and_ireason() argument
375 *bcount = (task.tf.lbah << 8) | task.tf.lbam; in ide_read_bcount_and_ireason()
/drivers/char/
Dnwbutton.c33 static int bcount; /* The number of bytes in the buffer */ variable
137 bcount = sprintf (button_output_buffer, "%d\n", button_press_count); in button_sequence_finished()
172 return (copy_to_user (buffer, &button_output_buffer, bcount)) in button_read()
173 ? -EFAULT : bcount; in button_read()
Dser_a2232.c716 int bcount; in a2232board_init() local
753 to = (u_char *)mem; from = a2232_65EC02code; bcount = sizeof(a2232_65EC02code) - 2; in a2232board_init()
757 while(bcount--) *to++ = *from++; in a2232board_init()
767 for (bcount = 0; bcount < 2000; bcount++) { in a2232board_init()
/drivers/media/video/
Dvideobuf-core.c336 unsigned int bcount, unsigned int bsize, in __videobuf_mmap_setup() argument
349 for (i = 0; i < bcount; i++) { in __videobuf_mmap_setup()
380 unsigned int bcount, unsigned int bsize, in videobuf_mmap_setup() argument
385 ret = __videobuf_mmap_setup(q, bcount, bsize, memory); in videobuf_mmap_setup()
/drivers/atm/
Dnicstar.c387 int bcount; in ns_init_card() local
713 if ((bcount = ns_stat_lfbqc_get(readl(card->membase + STAT))) < card->lbnr.min) in ns_init_card()
716 i, j, bcount); in ns_init_card()
744 if ((bcount = ns_stat_sfbqc_get(readl(card->membase + STAT))) < card->sbnr.min) in ns_init_card()
747 i, j, bcount); in ns_init_card()