Home
last modified time | relevance | path

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

12

/drivers/ata/
Dsata_vsc.c180 writew(tf->lbam | (((u16)tf->hob_lbam) << 8), in vsc_sata_tf_load()
188 writew(tf->lbam, ioaddr->lbam_addr); in vsc_sata_tf_load()
202 u16 nsect, lbal, lbam, lbah, feature; in vsc_sata_tf_read() local
209 lbam = readw(ioaddr->lbam_addr); in vsc_sata_tf_read()
215 tf->lbam = lbam; in vsc_sata_tf_read()
222 tf->hob_lbam = lbam >> 8; in vsc_sata_tf_read()
Dsata_svw.c191 writew(tf->lbam | (((u16)tf->hob_lbam) << 8), in k2_sata_tf_load()
199 writew(tf->lbam, ioaddr->lbam_addr); in k2_sata_tf_load()
213 u16 nsect, lbal, lbam, lbah, feature; in k2_sata_tf_read() local
220 lbam = readw(ioaddr->lbam_addr); in k2_sata_tf_read()
226 tf->lbam = lbam; in k2_sata_tf_read()
233 tf->hob_lbam = lbam >> 8; in k2_sata_tf_read()
Dsata_promise.h120 buf[i++] = tf->lbam; in pdc_prep_lba28()
147 buf[i++] = tf->lbam; in pdc_prep_lba48()
Dsata_inic162x.c209 u8 lbam; /* ATA Cylinder Low */ member
504 cpb->lbam = qc->tf.lbam; in inic_qc_prep()
557 tf->lbam = readb(port_base + PORT_TF_LBAM); in inic_tf_read()
Dlibata-scsi.c1069 desc[9] = tf->lbam; in ata_gen_passthru_sense()
1100 desc[10] = tf->lbam; in ata_gen_passthru_sense()
1442 tf->lbam = 0x0; in ata_scsi_start_stop_xlat()
1448 tf->lbam = 0x0; /* cyl low */ in ata_scsi_start_stop_xlat()
1686 tf->lbam = (block >> 8) & 0xff; in ata_scsi_verify_xlat()
1716 tf->lbam = cyl; in ata_scsi_verify_xlat()
2782 qc->tf.lbam = SCSI_SENSE_BUFFERSIZE; in atapi_request_sense()
2947 qc->tf.lbam = (nbytes & 0xFF); in atapi_xlat()
3125 tf->lbam = cdb[10]; in ata_scsi_pass_thru()
3138 tf->lbam = cdb[6]; in ata_scsi_pass_thru()
[all …]
Dlibata-core.c565 fis[5] = tf->lbam; in ata_tf_to_fis()
602 tf->lbam = fis[5]; in ata_tf_from_fis()
713 block |= tf->lbam << 8; in ata_tf_read_block()
718 cyl = tf->lbam | (tf->lbah << 8); in ata_tf_read_block()
782 tf->lbam = (block >> 8) & 0xff; in ata_build_rw_tf()
816 tf->lbam = (block >> 8) & 0xff; in ata_build_rw_tf()
849 tf->lbam = cyl; 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.c428 iowrite8(tf->lbam, ioaddr->lbam_addr); in via_tf_load()
434 tf->lbam, in via_tf_load()
Dsata_rcar.c399 iowrite32(tf->lbam, ioaddr->lbam_addr); in sata_rcar_tf_load()
405 tf->lbam, in sata_rcar_tf_load()
425 tf->lbam = ioread32(ioaddr->lbam_addr); in sata_rcar_tf_read()
Dlibata-zpodd.c70 tf.lbam = sizeof(buf); in zpodd_get_mech_type()
Dpata_octeon_cf.c404 tf->lbam = blob & 0xff; in octeon_cf_tf_read16()
500 __raw_writew(tf->lbam | tf->lbah << 8, base + 4); in octeon_cf_tf_load16()
505 tf->lbam, in octeon_cf_tf_load16()
Dpata_samsung_cf.c201 ata_outb(ap->host, tf->lbam, ioaddr->lbam_addr); in pata_s3c_tf_load()
221 tf->lbam = ata_inb(ap->host, ioaddr->lbam_addr); in pata_s3c_tf_read()
Dpata_ns87415.c271 tf->lbam = ioread8(ioaddr->lbam_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()
90 tf.lbam = (val >> 16) & 0xff; in sata_pmp_write()
Dlibata-eh.c1535 tf.lbam = page; in ata_read_log_page()
1595 tf->lbam = buf[5]; in ata_eh_read_log_10h()
1682 ata_scsi_set_sense(dev, cmd, tf.lbah, tf.lbam, tf.lbal); in ata_eh_request_sense()
1735 tf.lbam = SCSI_SENSE_BUFFERSIZE; 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()
3176 tf.lbam = 0x4e; in ata_eh_park_issue_cmd()
Dpata_bf54x.c701 write_atapi_register(base, ATA_REG_LBAM, tf->lbam); in bfin_tf_load()
707 tf->lbam, in bfin_tf_load()
748 tf->lbam = read_atapi_register(base, ATA_REG_LBAM); in bfin_tf_read()
Dlibata-acpi.c559 tf->lbam = gtf->tf[3]; /* 0x1f4 */ in ata_acpi_gtf_to_tf()
705 tf.lbam, tf.lbah, tf.device, in ata_acpi_run_tf()
/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.c110 tf->lbam = (u8)(block >> 8); in __ide_do_rw_disk()
118 tf->lbam = (u8)((u64)block >> 32); in __ide_do_rw_disk()
128 tf->lbam = block >>= 8; in __ide_do_rw_disk()
144 tf->lbam = cyl; in __ide_do_rw_disk()
249 tf->lbam = (addr_req >>= 8) & 0xff; in idedisk_set_max_address()
253 cmd.hob.lbam = (addr_req >>= 8) & 0xff; in idedisk_set_max_address()
Dide-disk_proc.c16 tf->lbam = ATA_SMART_LBAM_PASS; in smart_enable()
33 tf->lbam = ATA_SMART_LBAM_PASS; in get_smart_data()
Dide-io-std.c108 tf_outb(tf->lbam, io_ports->lbam_addr); in ide_tf_load()
135 tf->lbam = tf_inb(io_ports->lbam_addr); in ide_tf_read()
Dide-park.c73 tf->lbam = 0x4e; in ide_do_park_unpark()
Dns87415.c76 tf->lbam = inb(io_ports->lbam_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()
538 cmd->tf.lbam = bcount & 0xff; in ide_init_packet_cmd()
Dide-ioctls.c144 tf->lbam = ATA_SMART_LBAM_PASS; in ide_cmd_ioctl()

12