Searched refs:ireason (Results 1 – 3 of 3) sorted by relevance
/drivers/ide/ |
D | ide-atapi.c | 350 void ide_read_bcount_and_ireason(ide_drive_t *drive, u16 *bcount, u8 *ireason) in ide_read_bcount_and_ireason() argument 358 *ireason = tf.nsect & 3; in ide_read_bcount_and_ireason() 371 int ireason, int rw) in ide_check_ireason() argument 375 debug_log("ireason: 0x%x, rw: 0x%x\n", ireason, rw); in ide_check_ireason() 377 if (ireason == (!rw << 1)) in ide_check_ireason() 379 else if (ireason == (rw << 1)) { in ide_check_ireason() 385 } else if (!rw && ireason == ATAPI_COD) { in ide_check_ireason() 395 if (ireason & ATAPI_COD) in ide_check_ireason() 401 drive->name, __func__, ireason); in ide_check_ireason() 425 u8 stat, ireason, dsc = 0; in ide_pc_intr() local [all …]
|
D | ide-cd.c | 617 u8 ireason, stat; in cdrom_newpc_intr() local 655 ide_read_bcount_and_ireason(drive, &len, &ireason); in cdrom_newpc_intr() 706 rc = ide_check_ireason(drive, rq, len, ireason, write); in cdrom_newpc_intr() 714 rq->cmd_type, ireason); in cdrom_newpc_intr()
|
/drivers/ata/ |
D | libata-sff.c | 849 unsigned int ireason, bc_lo, bc_hi, bytes; in atapi_pio_bytes() local 859 ireason = qc->result_tf.nsect; in atapi_pio_bytes() 865 if (unlikely(ireason & ATAPI_COD)) in atapi_pio_bytes() 869 i_write = ((ireason & ATAPI_IO) == 0) ? 1 : 0; in atapi_pio_bytes() 886 ireason, bytes); in atapi_pio_bytes()
|