Searched refs:ireason (Results 1 – 3 of 3) sorted by relevance
/drivers/ide/ |
D | ide-atapi.c | 323 void ide_read_bcount_and_ireason(ide_drive_t *drive, u16 *bcount, u8 *ireason) in ide_read_bcount_and_ireason() argument 331 *ireason = tf.nsect & 3; in ide_read_bcount_and_ireason() 344 int ireason, int rw) in ide_check_ireason() argument 348 debug_log("ireason: 0x%x, rw: 0x%x\n", ireason, rw); in ide_check_ireason() 350 if (ireason == (!rw << 1)) in ide_check_ireason() 352 else if (ireason == (rw << 1)) { in ide_check_ireason() 358 } else if (!rw && ireason == ATAPI_COD) { in ide_check_ireason() 368 if (ireason & ATAPI_COD) in ide_check_ireason() 374 drive->name, __func__, ireason); in ide_check_ireason() 398 u8 stat, ireason, dsc = 0; in ide_pc_intr() local [all …]
|
D | ide-cd.c | 532 u8 ireason, stat; in cdrom_newpc_intr() local 570 ide_read_bcount_and_ireason(drive, &len, &ireason); in cdrom_newpc_intr() 615 rc = ide_check_ireason(drive, rq, len, ireason, write); in cdrom_newpc_intr() 623 rq->cmd_type, ireason); in cdrom_newpc_intr()
|
/drivers/ata/ |
D | libata-sff.c | 916 unsigned int ireason, bc_lo, bc_hi, bytes; in atapi_pio_bytes() local 926 ireason = qc->result_tf.nsect; in atapi_pio_bytes() 932 if (unlikely(ireason & ATAPI_COD)) in atapi_pio_bytes() 936 i_write = ((ireason & ATAPI_IO) == 0) ? 1 : 0; in atapi_pio_bytes() 953 ireason, bytes); in atapi_pio_bytes()
|