Searched refs:ATA_IDX_OUTB (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/dev/ata/ |
H A D | ata-lowlevel.c | 177 ATA_IDX_OUTB(ch, ATA_DRIVE, ATA_D_IBM | ATA_DEV(request->unit)); in ata_begin_transaction() 196 ATA_IDX_OUTB(ch, ATA_DRIVE, ATA_D_IBM | ATA_DEV(request->unit)); in ata_begin_transaction() 479 ATA_IDX_OUTB(ch, ATA_DRIVE, ATA_D_IBM | ATA_D_LBA | ATA_DEV(ATA_MASTER)); in ata_generic_reset() 490 ATA_IDX_OUTB(ch, ATA_DRIVE, ATA_D_IBM | ATA_D_LBA | ATA_DEV(ATA_SLAVE)); in ata_generic_reset() 511 ATA_IDX_OUTB(ch, ATA_DRIVE, ATA_D_IBM | ATA_D_LBA | ATA_DEV(ATA_MASTER)); in ata_generic_reset() 513 ATA_IDX_OUTB(ch, ATA_CONTROL, ATA_A_IDS | ATA_A_RESET); in ata_generic_reset() 515 ATA_IDX_OUTB(ch, ATA_CONTROL, ATA_A_IDS); in ata_generic_reset() 522 ATA_IDX_OUTB(ch, ATA_DRIVE, ATA_D_IBM | ATA_DEV(ATA_MASTER)); in ata_generic_reset() 555 ATA_IDX_OUTB(ch, ATA_DRIVE, ATA_D_IBM | ATA_DEV(ATA_SLAVE)); in ata_generic_reset() 632 ATA_IDX_OUTB(ch, ATA_DRIVE, ATA_D_IBM | ATA_DEV(unit)); in ata_wait() [all …]
|
H A D | ata-all.h | 560 #define ATA_IDX_OUTB(ch, idx, value) \ macro
|
/freebsd/sys/dev/ata/chipsets/ |
H A D | ata-acard.c | 134 ATA_IDX_OUTB(ch, ATA_BMSTAT_PORT, bmstat & ~ATA_BMSTAT_ERROR); in ata_acard_status() 136 ATA_IDX_OUTB(ch, ATA_BMCMD_PORT, in ata_acard_status()
|
H A D | ata-intel.c | 905 ATA_IDX_OUTB(ch, ATA_FEATURE, request->u.ata.feature); in ata_intel_31244_tf_write() 906 ATA_IDX_OUTB(ch, ATA_COUNT, request->u.ata.count); in ata_intel_31244_tf_write() 907 ATA_IDX_OUTB(ch, ATA_SECTOR, request->u.ata.lba); in ata_intel_31244_tf_write() 908 ATA_IDX_OUTB(ch, ATA_CYL_LSB, request->u.ata.lba >> 8); in ata_intel_31244_tf_write() 909 ATA_IDX_OUTB(ch, ATA_CYL_MSB, request->u.ata.lba >> 16); in ata_intel_31244_tf_write() 910 ATA_IDX_OUTB(ch, ATA_DRIVE, in ata_intel_31244_tf_write()
|
H A D | ata-via.c | 456 ATA_IDX_OUTB(ch, ATA_DRIVE, ATA_D_IBM | ATA_D_LBA | in ata_via_sata_reset() 466 ATA_IDX_OUTB(ch, ATA_DRIVE, ATA_D_IBM | ATA_D_LBA | in ata_via_sata_reset()
|