Home
last modified time | relevance | path

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

12

/Linux-v4.19/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.c1136 desc[11] = tf->lbah; in ata_gen_passthru_sense()
1167 desc[11] = tf->lbah; in ata_gen_passthru_sense()
1510 tf->lbah = 0x0; in ata_scsi_start_stop_xlat()
1518 tf->lbah = 0x0; /* cyl high */ in ata_scsi_start_stop_xlat()
1754 tf->lbah = (block >> 16) & 0xff; in ata_scsi_verify_xlat()
1786 tf->lbah = cyl >> 8; in ata_scsi_verify_xlat()
2843 qc->tf.lbah = 0; in atapi_request_sense()
3006 qc->tf.lbah = (nbytes >> 8); in atapi_xlat()
3190 tf->lbah = cdb[12]; in ata_scsi_pass_thru()
3203 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()
782 tf->lbah = (block >> 16) & 0xff; in ata_build_rw_tf()
822 tf->lbah = (block >> 16) & 0xff; in ata_build_rw_tf()
857 tf->lbah = cyl >> 8; in ata_build_rw_tf()
1085 if ((tf->lbam == 0) && (tf->lbah == 0)) { in ata_dev_classify()
1090 if ((tf->lbam == 0x14) && (tf->lbah == 0xeb)) { in ata_dev_classify()
1095 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.c403 iowrite32(tf->lbah, ioaddr->lbah_addr); in sata_rcar_tf_load()
409 tf->lbah); in sata_rcar_tf_load()
429 tf->lbah = ioread32(ioaddr->lbah_addr); in sata_rcar_tf_read()
Dpata_samsung_cf.c203 ata_outb(ap->host, tf->lbah, ioaddr->lbah_addr); in pata_s3c_tf_load()
223 tf->lbah = ata_inb(ap->host, ioaddr->lbah_addr); in pata_s3c_tf_read()
Dpata_octeon_cf.c397 tf->lbah = blob >> 8; in octeon_cf_tf_read16()
492 __raw_writew(tf->lbam | tf->lbah << 8, base + 4); in octeon_cf_tf_load16()
498 tf->lbah); in octeon_cf_tf_load16()
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()
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()
/Linux-v4.19/include/trace/events/
Dlibata.h165 __field( unsigned char, lbah )
187 __entry->lbah = qc->tf.lbah;
204 __entry->lbal, __entry->lbam, __entry->lbah,
224 __field( unsigned char, lbah )
244 __entry->lbah = qc->result_tf.lbah;
260 __entry->lbal, __entry->lbam, __entry->lbah,
/Linux-v4.19/drivers/ide/
Dide-lib.c14 low = (tf->lbah << 16) | (tf->lbam << 8) | tf->lbal; in ide_get_lba_addr()
17 high = (tf->lbah << 16) | (tf->lbam << 8) | tf->lbal; in ide_get_lba_addr()
45 printk(KERN_CONT ", CHS=%d/%d/%d", (tf->lbah << 8) + tf->lbam, in ide_dump_sector()
Dide-disk_proc.c18 tf->lbah = ATA_SMART_LBAH_PASS; in smart_enable()
35 tf->lbah = ATA_SMART_LBAH_PASS; in get_smart_data()
Dide-disk.c112 tf->lbah = (u8)(block >> 16); in __ide_do_rw_disk()
120 tf->lbah = (u8)((u64)block >> 40); in __ide_do_rw_disk()
130 tf->lbah = block >>= 8; in __ide_do_rw_disk()
146 tf->lbah = cyl >> 8; in __ide_do_rw_disk()
251 tf->lbah = (addr_req >>= 8) & 0xff; in idedisk_set_max_address()
255 cmd.hob.lbah = (addr_req >>= 8) & 0xff; in idedisk_set_max_address()
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.c76 tf->lbah = 0x55; in ide_do_park_unpark()
Dns87415.c78 tf->lbah = inb(io_ports->lbah_addr); in superio_tf_read()
Dide-atapi.c340 *bcount = (tf.lbah << 8) | tf.lbam; in ide_read_bcount_and_ireason()
550 cmd->tf.lbah = (bcount >> 8) & 0xff; in ide_init_packet_cmd()
Dide-taskfile.c51 cmd->tf.lbal, cmd->tf.lbam, cmd->tf.lbah, in ide_tf_dump()
54 s, cmd->hob.nsect, cmd->hob.lbal, cmd->hob.lbam, cmd->hob.lbah); in ide_tf_dump()
Dide-ioctls.c146 tf->lbah = ATA_SMART_LBAH_PASS; in ide_cmd_ioctl()
/Linux-v4.19/include/scsi/
Dsas.h219 union { u8 lbah; u8 byte_count_high; }; member
243 union { u8 lbah; u8 byte_count_high; }; member

12