Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/ata/
Dsata_vsc.c166 writew(tf->lbah | (((u16)tf->hob_lbah) << 8), in vsc_sata_tf_load()
173 writew(tf->lbah, ioaddr->lbah_addr); in vsc_sata_tf_load()
186 u16 nsect, lbal, lbam, lbah, feature; in vsc_sata_tf_read() local
194 lbah = readw(ioaddr->lbah_addr); in vsc_sata_tf_read()
200 tf->lbah = lbah; in vsc_sata_tf_read()
207 tf->hob_lbah = lbah >> 8; in vsc_sata_tf_read()
Dsata_svw.c177 writew(tf->lbah | (((u16)tf->hob_lbah) << 8), in k2_sata_tf_load()
184 writew(tf->lbah, ioaddr->lbah_addr); in k2_sata_tf_load()
197 u16 nsect, lbal, lbam, lbah, feature; in k2_sata_tf_read() local
205 lbah = readw(ioaddr->lbah_addr); in k2_sata_tf_read()
211 tf->lbah = lbah; in k2_sata_tf_read()
218 tf->hob_lbah = lbah >> 8; in k2_sata_tf_read()
Dsata_promise.h107 buf[i++] = tf->lbah; in pdc_prep_lba28()
135 buf[i++] = tf->lbah; in pdc_prep_lba48()
Dsata_inic162x.c210 u8 lbah; /* ATA Cylinder High */ member
511 cpb->lbah = qc->tf.lbah; in inic_qc_prep()
564 tf->lbah = readb(port_base + PORT_TF_LBAH); in inic_tf_read()
Dlibata-scsi.c1121 desc[11] = tf->lbah; in ata_gen_passthru_sense()
1152 desc[11] = tf->lbah; in ata_gen_passthru_sense()
1493 tf->lbah = 0x0; in ata_scsi_start_stop_xlat()
1501 tf->lbah = 0x0; /* cyl high */ in ata_scsi_start_stop_xlat()
1737 tf->lbah = (block >> 16) & 0xff; in ata_scsi_verify_xlat()
1769 tf->lbah = cyl >> 8; in ata_scsi_verify_xlat()
2847 qc->tf.lbah = 0; in atapi_request_sense()
3010 qc->tf.lbah = (nbytes >> 8); in atapi_xlat()
3194 tf->lbah = cdb[12]; in ata_scsi_pass_thru()
3207 tf->lbah = cdb[7]; in ata_scsi_pass_thru()
[all …]
Dlibata-core.c550 fis[6] = tf->lbah; in ata_tf_to_fis()
587 tf->lbah = fis[6]; in ata_tf_from_fis()
696 block |= tf->lbah << 16; in ata_tf_read_block()
702 cyl = tf->lbam | (tf->lbah << 8); in ata_tf_read_block()
766 tf->lbah = (block >> 16) & 0xff; in ata_build_rw_tf()
806 tf->lbah = (block >> 16) & 0xff; in ata_build_rw_tf()
841 tf->lbah = cyl >> 8; in ata_build_rw_tf()
1069 if ((tf->lbam == 0) && (tf->lbah == 0)) { in ata_dev_classify()
1074 if ((tf->lbam == 0x14) && (tf->lbah == 0xeb)) { in ata_dev_classify()
1079 if ((tf->lbam == 0x69) && (tf->lbah == 0x96)) { in ata_dev_classify()
[all …]
Dpata_via.c430 iowrite8(tf->lbah, ioaddr->lbah_addr); in via_tf_load()
436 tf->lbah); in via_tf_load()
Dsata_rcar.c399 iowrite32(tf->lbah, ioaddr->lbah_addr); in sata_rcar_tf_load()
405 tf->lbah); in sata_rcar_tf_load()
425 tf->lbah = ioread32(ioaddr->lbah_addr); in sata_rcar_tf_read()
Dpata_samsung_cf.c200 ata_outb(ap->host, tf->lbah, ioaddr->lbah_addr); in pata_s3c_tf_load()
220 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.c273 tf->lbah = ioread8(ioaddr->lbah_addr); in ns87560_tf_read()
Dlibata-pmp.c57 *r_val = tf.nsect | tf.lbal << 8 | tf.lbam << 16 | tf.lbah << 24; in sata_pmp_read()
90 tf.lbah = (val >> 24) & 0xff; in sata_pmp_write()
Dlibata-acpi.c561 tf->lbah = gtf->tf[4]; /* 0x1f5 */ in ata_acpi_gtf_to_tf()
706 tf.lbam, tf.lbah, tf.device, in ata_acpi_run_tf()
Dpata_ep93xx.c404 ep93xx_pata_write_reg(drv_data, tf->lbah, IDECTRL_ADDR_LBAH); in ep93xx_pata_tf_load()
424 tf->lbah = ep93xx_pata_read_reg(drv_data, IDECTRL_ADDR_LBAH); in ep93xx_pata_tf_read()
/Linux-v5.4/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-v5.4/drivers/ide/
Dide-lib.c15 low = (tf->lbah << 16) | (tf->lbam << 8) | tf->lbal; in ide_get_lba_addr()
18 high = (tf->lbah << 16) | (tf->lbam << 8) | tf->lbal; in ide_get_lba_addr()
46 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.c111 tf_outb(tf->lbah, io_ports->lbah_addr); in ide_tf_load()
138 tf->lbah = tf_inb(io_ports->lbah_addr); in ide_tf_read()
Dide-park.c78 tf->lbah = 0x55; in ide_do_park_unpark()
Dns87415.c79 tf->lbah = inb(io_ports->lbah_addr); in superio_tf_read()
Dide-atapi.c357 *bcount = (tf.lbah << 8) | tf.lbam; in ide_read_bcount_and_ireason()
567 cmd->tf.lbah = (bcount >> 8) & 0xff; in ide_init_packet_cmd()
Dide-taskfile.c52 cmd->tf.lbal, cmd->tf.lbam, cmd->tf.lbah, in ide_tf_dump()
55 s, cmd->hob.nsect, cmd->hob.lbal, cmd->hob.lbam, cmd->hob.lbah); in ide_tf_dump()
Dide-ioctls.c147 tf->lbah = ATA_SMART_LBAH_PASS; in ide_cmd_ioctl()
/Linux-v5.4/include/scsi/
Dsas.h202 union { u8 lbah; u8 byte_count_high; }; member
226 union { u8 lbah; u8 byte_count_high; }; member

12