Home
last modified time | relevance | path

Searched refs:lbah (Results 1 – 25 of 39) sorted by relevance

12

/drivers/ata/
Dsata_vsc.c182 writew(tf->lbah | (((u16)tf->hob_lbah) << 8), in vsc_sata_tf_load()
189 writew(tf->lbah, ioaddr->lbah_addr); in vsc_sata_tf_load()
202 u16 nsect, lbal, lbam, lbah, feature; in vsc_sata_tf_read() local
210 lbah = readw(ioaddr->lbah_addr); in vsc_sata_tf_read()
216 tf->lbah = lbah; in vsc_sata_tf_read()
223 tf->hob_lbah = lbah >> 8; in vsc_sata_tf_read()
Dsata_svw.c193 writew(tf->lbah | (((u16)tf->hob_lbah) << 8), in k2_sata_tf_load()
200 writew(tf->lbah, ioaddr->lbah_addr); in k2_sata_tf_load()
213 u16 nsect, lbal, lbam, lbah, feature; in k2_sata_tf_read() local
221 lbah = readw(ioaddr->lbah_addr); in k2_sata_tf_read()
227 tf->lbah = lbah; in k2_sata_tf_read()
234 tf->hob_lbah = lbah >> 8; in k2_sata_tf_read()
Dsata_promise.h123 buf[i++] = tf->lbah; in pdc_prep_lba28()
151 buf[i++] = tf->lbah; in pdc_prep_lba48()
Dsata_inic162x.c211 u8 lbah; /* ATA Cylinder High */ member
505 cpb->lbah = qc->tf.lbah; in inic_qc_prep()
558 tf->lbah = readb(port_base + PORT_TF_LBAH); in inic_tf_read()
Dlibata-scsi.c1070 desc[11] = tf->lbah; in ata_gen_passthru_sense()
1101 desc[11] = tf->lbah; in ata_gen_passthru_sense()
1441 tf->lbah = 0x0; in ata_scsi_start_stop_xlat()
1449 tf->lbah = 0x0; /* cyl high */ in ata_scsi_start_stop_xlat()
1685 tf->lbah = (block >> 16) & 0xff; in ata_scsi_verify_xlat()
1717 tf->lbah = cyl >> 8; in ata_scsi_verify_xlat()
2783 qc->tf.lbah = 0; in atapi_request_sense()
2948 qc->tf.lbah = (nbytes >> 8); in atapi_xlat()
3126 tf->lbah = cdb[12]; in ata_scsi_pass_thru()
3139 tf->lbah = cdb[7]; in ata_scsi_pass_thru()
[all …]
Dlibata-core.c566 fis[6] = tf->lbah; in ata_tf_to_fis()
603 tf->lbah = fis[6]; in ata_tf_from_fis()
712 block |= tf->lbah << 16; in ata_tf_read_block()
718 cyl = tf->lbam | (tf->lbah << 8); in ata_tf_read_block()
781 tf->lbah = (block >> 16) & 0xff; in ata_build_rw_tf()
815 tf->lbah = (block >> 16) & 0xff; in ata_build_rw_tf()
850 tf->lbah = cyl >> 8; in ata_build_rw_tf()
1078 if ((tf->lbam == 0) && (tf->lbah == 0)) { in ata_dev_classify()
1083 if ((tf->lbam == 0x14) && (tf->lbah == 0xeb)) { in ata_dev_classify()
1088 if ((tf->lbam == 0x69) && (tf->lbah == 0x96)) { in ata_dev_classify()
[all …]
Dpata_via.c429 iowrite8(tf->lbah, ioaddr->lbah_addr); in via_tf_load()
435 tf->lbah); in via_tf_load()
Dsata_rcar.c400 iowrite32(tf->lbah, ioaddr->lbah_addr); in sata_rcar_tf_load()
406 tf->lbah); in sata_rcar_tf_load()
426 tf->lbah = ioread32(ioaddr->lbah_addr); in sata_rcar_tf_read()
Dpata_octeon_cf.c405 tf->lbah = blob >> 8; in octeon_cf_tf_read16()
500 __raw_writew(tf->lbam | tf->lbah << 8, base + 4); in octeon_cf_tf_load16()
506 tf->lbah); in octeon_cf_tf_load16()
Dpata_samsung_cf.c202 ata_outb(ap->host, tf->lbah, ioaddr->lbah_addr); in pata_s3c_tf_load()
222 tf->lbah = ata_inb(ap->host, ioaddr->lbah_addr); in pata_s3c_tf_read()
Dpata_ns87415.c272 tf->lbah = ioread8(ioaddr->lbah_addr); in ns87560_tf_read()
Dlibata-pmp.c58 *r_val = tf.nsect | tf.lbal << 8 | tf.lbam << 16 | tf.lbah << 24; in sata_pmp_read()
91 tf.lbah = (val >> 24) & 0xff; in sata_pmp_write()
Dpata_bf54x.c702 write_atapi_register(base, ATA_REG_LBAH, tf->lbah); in bfin_tf_load()
708 tf->lbah); in bfin_tf_load()
749 tf->lbah = read_atapi_register(base, ATA_REG_LBAH); in bfin_tf_read()
Dlibata-acpi.c560 tf->lbah = gtf->tf[4]; /* 0x1f5 */ in ata_acpi_gtf_to_tf()
705 tf.lbam, tf.lbah, tf.device, in ata_acpi_run_tf()
Dpata_ep93xx.c403 ep93xx_pata_write_reg(drv_data, tf->lbah, IDECTRL_ADDR_LBAH); in ep93xx_pata_tf_load()
423 tf->lbah = ep93xx_pata_read_reg(drv_data, IDECTRL_ADDR_LBAH); in ep93xx_pata_tf_read()
Dlibata-eh.c1596 tf->lbah = buf[6]; in ata_eh_read_log_10h()
1682 ata_scsi_set_sense(dev, cmd, tf.lbah, tf.lbam, tf.lbal); in ata_eh_request_sense()
1736 tf.lbah = 0; in atapi_eh_request_sense()
2649 cmd->lbal, cmd->lbam, cmd->lbah, in ata_eh_link_report()
2654 res->lbal, res->lbam, res->lbah, in ata_eh_link_report()
3177 tf.lbah = 0x55; in ata_eh_park_issue_cmd()
/drivers/ide/
Dide-lib.c40 low = (tf->lbah << 16) | (tf->lbam << 8) | tf->lbal; in ide_get_lba_addr()
43 high = (tf->lbah << 16) | (tf->lbam << 8) | tf->lbal; in ide_get_lba_addr()
71 printk(KERN_CONT ", CHS=%d/%d/%d", (tf->lbah << 8) + tf->lbam, in ide_dump_sector()
Dide-disk.c111 tf->lbah = (u8)(block >> 16); in __ide_do_rw_disk()
119 tf->lbah = (u8)((u64)block >> 40); in __ide_do_rw_disk()
129 tf->lbah = block >>= 8; in __ide_do_rw_disk()
145 tf->lbah = cyl >> 8; in __ide_do_rw_disk()
250 tf->lbah = (addr_req >>= 8) & 0xff; in idedisk_set_max_address()
254 cmd.hob.lbah = (addr_req >>= 8) & 0xff; in idedisk_set_max_address()
Dide-disk_proc.c17 tf->lbah = ATA_SMART_LBAH_PASS; in smart_enable()
34 tf->lbah = ATA_SMART_LBAH_PASS; in get_smart_data()
Dide-io-std.c110 tf_outb(tf->lbah, io_ports->lbah_addr); in ide_tf_load()
137 tf->lbah = tf_inb(io_ports->lbah_addr); in ide_tf_read()
Dide-park.c74 tf->lbah = 0x55; in ide_do_park_unpark()
Dns87415.c78 tf->lbah = inb(io_ports->lbah_addr); in superio_tf_read()
Dide-taskfile.c50 cmd->tf.lbal, cmd->tf.lbam, cmd->tf.lbah, in ide_tf_dump()
53 s, cmd->hob.nsect, cmd->hob.lbal, cmd->hob.lbam, cmd->hob.lbah); in ide_tf_dump()
Dide-atapi.c330 *bcount = (tf.lbah << 8) | tf.lbam; in ide_read_bcount_and_ireason()
539 cmd->tf.lbah = (bcount >> 8) & 0xff; in ide_init_packet_cmd()
Dide-ioctls.c145 tf->lbah = ATA_SMART_LBAH_PASS; in ide_cmd_ioctl()

12