Lines Matching defs:bytecount
854 * so if an odd bytecount is specified, be sure that there's at least one
858 cris_atapi_input_bytes (ide_drive_t *drive, void *buffer, unsigned int bytecount)
861 buffer, bytecount));
863 if(bytecount & 1) {
864 printk("warning, odd bytecount in cdrom_in_bytes = %d.\n", bytecount);
865 bytecount++; /* to round off */
870 cris_ide_fill_descriptor(&mydescr, buffer, bytecount, 1);
871 cris_ide_start_dma(drive, &mydescr, 1, TYPE_PIO, bytecount);
880 cris_atapi_output_bytes (ide_drive_t *drive, void *buffer, unsigned int bytecount)
883 buffer, bytecount));
885 if(bytecount & 1) {
886 printk("odd bytecount %d in atapi_out_bytes!\n", bytecount);
887 bytecount++;
890 cris_ide_fill_descriptor(&mydescr, buffer, bytecount, 1);
891 cris_ide_start_dma(drive, &mydescr, 0, TYPE_PIO, bytecount);