Home
last modified time | relevance | path

Searched refs:lbam (Results 1 – 25 of 46) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/ata/
Dsata_vsc.c164 writew(tf->lbam | (((u16)tf->hob_lbam) << 8), in vsc_sata_tf_load()
172 writew(tf->lbam, ioaddr->lbam_addr); in vsc_sata_tf_load()
186 u16 nsect, lbal, lbam, lbah, feature; in vsc_sata_tf_read() local
193 lbam = readw(ioaddr->lbam_addr); in vsc_sata_tf_read()
199 tf->lbam = lbam; in vsc_sata_tf_read()
206 tf->hob_lbam = lbam >> 8; in vsc_sata_tf_read()
Dsata_svw.c175 writew(tf->lbam | (((u16)tf->hob_lbam) << 8), in k2_sata_tf_load()
183 writew(tf->lbam, ioaddr->lbam_addr); in k2_sata_tf_load()
197 u16 nsect, lbal, lbam, lbah, feature; in k2_sata_tf_read() local
204 lbam = readw(ioaddr->lbam_addr); in k2_sata_tf_read()
210 tf->lbam = lbam; in k2_sata_tf_read()
217 tf->hob_lbam = lbam >> 8; in k2_sata_tf_read()
Dsata_promise.h104 buf[i++] = tf->lbam; in pdc_prep_lba28()
131 buf[i++] = tf->lbam; in pdc_prep_lba48()
Dsata_inic162x.c208 u8 lbam; /* ATA Cylinder Low */ member
510 cpb->lbam = qc->tf.lbam; in inic_qc_prep()
565 tf->lbam = readb(port_base + PORT_TF_LBAM); in inic_tf_read()
Dlibata-scsi.c902 desc[9] = tf->lbam; in ata_gen_passthru_sense()
933 desc[10] = tf->lbam; in ata_gen_passthru_sense()
1204 tf->lbam = 0x0; in ata_scsi_start_stop_xlat()
1210 tf->lbam = 0x0; /* cyl low */ in ata_scsi_start_stop_xlat()
1448 tf->lbam = (block >> 8) & 0xff; in ata_scsi_verify_xlat()
1478 tf->lbam = cyl; in ata_scsi_verify_xlat()
2558 qc->tf.lbam = SCSI_SENSE_BUFFERSIZE; in atapi_request_sense()
2721 qc->tf.lbam = (nbytes & 0xFF); in atapi_xlat()
2916 tf->lbam = cdb[10]; in ata_scsi_pass_thru()
2929 tf->lbam = cdb[6]; in ata_scsi_pass_thru()
[all …]
Dlibata-core.c632 block |= tf->lbam << 8; in ata_tf_read_block()
637 cyl = tf->lbam | (tf->lbah << 8); in ata_tf_read_block()
702 tf->lbam = (block >> 8) & 0xff; in ata_build_rw_tf()
742 tf->lbam = (block >> 8) & 0xff; in ata_build_rw_tf()
775 tf->lbam = cyl; in ata_build_rw_tf()
1009 if ((tf->lbam == 0) && (tf->lbah == 0)) { in ata_dev_classify()
1014 if ((tf->lbam == 0x14) && (tf->lbah == 0xeb)) { in ata_dev_classify()
1019 if ((tf->lbam == 0x69) && (tf->lbah == 0x96)) { in ata_dev_classify()
1024 if ((tf->lbam == 0x3c) && (tf->lbah == 0xc3)) { in ata_dev_classify()
1029 if ((tf->lbam == 0xcd) && (tf->lbah == 0xab)) { in ata_dev_classify()
[all …]
Dlibata-zpodd.c76 tf.lbam = 16; in zpodd_get_mech_type()
Dpata_via.c429 iowrite8(tf->lbam, ioaddr->lbam_addr); in via_tf_load()
435 tf->lbam, in via_tf_load()
Dlibata-sata.c160 fis[5] = tf->lbam; in ata_tf_to_fis()
198 tf->lbam = fis[5]; in ata_tf_from_fis()
1396 tf->lbam = buf[5]; in ata_eh_read_log_10h()
Dsata_rcar.c398 iowrite32(tf->lbam, ioaddr->lbam_addr); in sata_rcar_tf_load()
404 tf->lbam, in sata_rcar_tf_load()
424 tf->lbam = ioread32(ioaddr->lbam_addr); in sata_rcar_tf_read()
Dpata_samsung_cf.c199 ata_outb(ap->host, tf->lbam, ioaddr->lbam_addr); in pata_s3c_tf_load()
219 tf->lbam = ata_inb(ap->host, ioaddr->lbam_addr); in pata_s3c_tf_read()
Dpata_octeon_cf.c396 tf->lbam = blob & 0xff; in octeon_cf_tf_read16()
492 __raw_writew(tf->lbam | tf->lbah << 8, base + 4); in octeon_cf_tf_load16()
497 tf->lbam, in octeon_cf_tf_load16()
Dpata_ns87415.c271 tf->lbam = ioread8(ioaddr->lbam_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()
89 tf.lbam = (val >> 16) & 0xff; in sata_pmp_write()
/kernel/linux/linux-5.10/include/trace/events/
Dlibata.h164 __field( unsigned char, lbam )
186 __entry->lbam = qc->tf.lbam;
204 __entry->lbal, __entry->lbam, __entry->lbah,
223 __field( unsigned char, lbam )
243 __entry->lbam = qc->result_tf.lbam;
261 __entry->lbal, __entry->lbam, __entry->lbah,
/kernel/linux/linux-5.10/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.c17 tf->lbam = ATA_SMART_LBAM_PASS; in smart_enable()
34 tf->lbam = ATA_SMART_LBAM_PASS; in get_smart_data()
Dide-disk.c111 tf->lbam = (u8)(block >> 8); in __ide_do_rw_disk()
119 tf->lbam = (u8)((u64)block >> 32); in __ide_do_rw_disk()
129 tf->lbam = block >>= 8; in __ide_do_rw_disk()
145 tf->lbam = cyl; in __ide_do_rw_disk()
250 tf->lbam = (addr_req >>= 8) & 0xff; in idedisk_set_max_address()
254 cmd.hob.lbam = (addr_req >>= 8) & 0xff; in idedisk_set_max_address()
Dide-io-std.c109 tf_outb(tf->lbam, io_ports->lbam_addr); in ide_tf_load()
136 tf->lbam = tf_inb(io_ports->lbam_addr); in ide_tf_read()
Dide-park.c77 tf->lbam = 0x4e; in ide_do_park_unpark()
Dns87415.c77 tf->lbam = inb(io_ports->lbam_addr); in superio_tf_read()
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-atapi.c356 *bcount = (tf.lbah << 8) | tf.lbam; in ide_read_bcount_and_ireason()
565 cmd->tf.lbam = bcount & 0xff; in ide_init_packet_cmd()
Dide-ioctls.c155 tf->lbam = ATA_SMART_LBAM_PASS; in ide_cmd_ioctl()
/kernel/linux/linux-5.10/include/scsi/
Dsas.h201 union { u8 lbam; u8 byte_count_low; }; member
225 union { u8 lbam; u8 byte_count_low; }; member

12