Searched refs:lbam (Results 1 - 45 of 45) sorted by relevance

/linux-4.1.27/include/trace/events/
H A Dlibata.h155 __field( unsigned char, lbam )
177 __entry->lbam = qc->tf.lbam;
194 __entry->lbal, __entry->lbam, __entry->lbah,
213 __field( unsigned char, lbam )
233 __entry->lbam = qc->result_tf.lbam;
250 __entry->lbal, __entry->lbam, __entry->lbah,
/linux-4.1.27/drivers/ata/
H A Dsata_vsc.c180 writew(tf->lbam | (((u16)tf->hob_lbam) << 8), vsc_sata_tf_load()
188 writew(tf->lbam, ioaddr->lbam_addr); vsc_sata_tf_load()
202 u16 nsect, lbal, lbam, lbah, feature; vsc_sata_tf_read() local
209 lbam = readw(ioaddr->lbam_addr); vsc_sata_tf_read()
215 tf->lbam = lbam; vsc_sata_tf_read()
222 tf->hob_lbam = lbam >> 8; vsc_sata_tf_read()
H A Dsata_promise.h120 buf[i++] = tf->lbam; pdc_prep_lba28()
147 buf[i++] = tf->lbam; pdc_prep_lba48()
H A Dsata_svw.c191 writew(tf->lbam | (((u16)tf->hob_lbam) << 8), k2_sata_tf_load()
199 writew(tf->lbam, ioaddr->lbam_addr); k2_sata_tf_load()
213 u16 nsect, lbal, lbam, lbah, feature; k2_sata_tf_read() local
220 lbam = readw(ioaddr->lbam_addr); k2_sata_tf_read()
226 tf->lbam = lbam; k2_sata_tf_read()
233 tf->hob_lbam = lbam >> 8; k2_sata_tf_read()
H A Dsata_inic162x.c209 u8 lbam; /* ATA Cylinder Low */ member in struct:inic_cpb
504 cpb->lbam = qc->tf.lbam; inic_qc_prep()
557 tf->lbam = readb(port_base + PORT_TF_LBAM); inic_tf_read()
H A Dlibata-zpodd.c70 tf.lbam = sizeof(buf); zpodd_get_mech_type()
H A Dpata_samsung_cf.c201 ata_outb(ap->host, tf->lbam, ioaddr->lbam_addr); pata_s3c_tf_load()
221 tf->lbam = ata_inb(ap->host, ioaddr->lbam_addr); pata_s3c_tf_read()
H A Dpata_via.c428 iowrite8(tf->lbam, ioaddr->lbam_addr); via_tf_load()
434 tf->lbam, via_tf_load()
H A Dpata_ns87415.c271 tf->lbam = ioread8(ioaddr->lbam_addr); ns87560_tf_read()
H A Dlibata-acpi.c559 tf->lbam = gtf->tf[3]; /* 0x1f4 */ ata_acpi_gtf_to_tf()
628 * Writes the control, feature, nsect, lbal, lbam, and lbah registers.
705 tf.lbam, tf.lbah, tf.device, ata_acpi_run_tf()
H A Dpata_octeon_cf.c405 tf->lbam = blob & 0xff; octeon_cf_tf_read16()
501 __raw_writew(tf->lbam | tf->lbah << 8, base + 4); octeon_cf_tf_load16()
506 tf->lbam, octeon_cf_tf_load16()
H A Dsata_rcar.c399 iowrite32(tf->lbam, ioaddr->lbam_addr); sata_rcar_tf_load()
405 tf->lbam, sata_rcar_tf_load()
425 tf->lbam = ioread32(ioaddr->lbam_addr); sata_rcar_tf_read()
H A Dlibata-core.c562 fis[5] = tf->lbam; ata_tf_to_fis()
599 tf->lbam = fis[5]; ata_tf_from_fis()
710 block |= tf->lbam << 8; ata_tf_read_block()
715 cyl = tf->lbam | (tf->lbah << 8); ata_tf_read_block()
779 tf->lbam = (block >> 8) & 0xff; ata_build_rw_tf()
813 tf->lbam = (block >> 8) & 0xff; ata_build_rw_tf()
846 tf->lbam = cyl; ata_build_rw_tf()
1075 if ((tf->lbam == 0) && (tf->lbah == 0)) { ata_dev_classify()
1080 if ((tf->lbam == 0x14) && (tf->lbah == 0xeb)) { ata_dev_classify()
1085 if ((tf->lbam == 0x69) && (tf->lbah == 0x96)) { ata_dev_classify()
1090 if ((tf->lbam == 0x3c) && (tf->lbah == 0xc3)) { ata_dev_classify()
1095 if ((tf->lbam == 0xcd) && (tf->lbah == 0xab)) { ata_dev_classify()
1192 sectors |= (tf->lbam & 0xff) << 8; ata_tf_to_lba48()
1204 sectors |= (tf->lbam & 0xff) << 8; ata_tf_to_lba()
1302 tf.lbam = (new_sectors >> 8) & 0xff; ata_set_max_sectors()
H A Dlibata-scsi.c648 args[4] = desc[9]; /* lbam */ ata_task_ioctl()
1021 desc[9] = tf->lbam; ata_gen_passthru_sense()
1367 tf->lbam = 0x0; ata_scsi_start_stop_xlat()
1373 tf->lbam = 0x0; /* cyl low */ ata_scsi_start_stop_xlat()
1605 tf->lbam = (block >> 8) & 0xff; ata_scsi_verify_xlat()
1635 tf->lbam = cyl; ata_scsi_verify_xlat()
2643 qc->tf.lbam = SCSI_SENSE_BUFFERSIZE; atapi_request_sense()
2810 qc->tf.lbam = (nbytes & 0xFF); atapi_xlat()
2975 tf->lbam = cdb[10]; ata_scsi_pass_thru()
2988 tf->lbam = cdb[6]; ata_scsi_pass_thru()
H A Dpata_bf54x.c701 write_atapi_register(base, ATA_REG_LBAM, tf->lbam); bfin_tf_load()
707 tf->lbam, bfin_tf_load()
748 tf->lbam = read_atapi_register(base, ATA_REG_LBAM); bfin_tf_read()
H A Dpdc_adma.c358 buf[i++] = qc->tf.lbam; adma_qc_prep()
H A Dlibata-pmp.c58 *r_val = tf.nsect | tf.lbal << 8 | tf.lbam << 16 | tf.lbah << 24; sata_pmp_read()
90 tf.lbam = (val >> 16) & 0xff; sata_pmp_write()
H A Dpata_ep93xx.c402 ep93xx_pata_write_reg(drv_data, tf->lbam, IDECTRL_ADDR_LBAM); ep93xx_pata_tf_load()
422 tf->lbam = ep93xx_pata_read_reg(drv_data, IDECTRL_ADDR_LBAM); ep93xx_pata_tf_read()
H A Dsata_dwc_460ex.c261 "feature: 0x%02x nsect: 0x%x lbal: 0x%x lbam: 0x%x lbah: 0x%x\n", sata_dwc_tf_dump()
262 tf->feature, tf->nsect, tf->lbal, tf->lbam, tf->lbah); sata_dwc_tf_dump()
H A Dlibata-sff.c444 iowrite8(tf->lbam, ioaddr->lbam_addr); ata_sff_tf_load()
450 tf->lbam, ata_sff_tf_load()
484 tf->lbam = ioread8(ioaddr->lbam_addr); ata_sff_tf_read()
927 bc_lo = qc->result_tf.lbam; atapi_pio_bytes()
H A Dlibata-eh.c1527 tf.lbam = page; ata_read_log_page()
1587 tf->lbam = buf[5]; ata_eh_read_log_10h()
1675 tf.lbam = SCSI_SENSE_BUFFERSIZE; atapi_eh_request_sense()
2551 cmd->lbal, cmd->lbam, cmd->lbah, ata_eh_link_report()
2556 res->lbal, res->lbam, res->lbah, ata_eh_link_report()
3077 tf.lbam = 0x4e; ata_eh_park_issue_cmd()
H A Dsata_promise.c557 buf[23] = qc->tf.lbam; pdc_atapi_pkt()
H A Dsata_fsl.c819 tf.lbam = (temp >> 16) & 0xff; sata_fsl_dev_classify()
H A Dlibahci.c1189 tf.lbam = (tmp >> 16) & 0xff; ahci_dev_classify()
H A Dsata_nv.c820 cpb[idx++] = cpu_to_le16((ATA_REG_LBAM << 8) | tf->lbam); nv_adma_tf_to_cpb()
H A Dsata_mv.c2127 mv_crqb_pack_cmd(cw++, tf->lbam, ATA_REG_LBAM, 0); mv_qc_prep()
2188 (tf->lbam << 8) | mv_qc_prep_iie()
/linux-4.1.27/drivers/ide/
H A Dide-lib.c40 low = (tf->lbah << 16) | (tf->lbam << 8) | tf->lbal; ide_get_lba_addr()
43 high = (tf->lbah << 16) | (tf->lbam << 8) | tf->lbal; ide_get_lba_addr()
71 printk(KERN_CONT ", CHS=%d/%d/%d", (tf->lbah << 8) + tf->lbam, ide_dump_sector()
H A Dide-disk_proc.c16 tf->lbam = ATA_SMART_LBAM_PASS; smart_enable()
33 tf->lbam = ATA_SMART_LBAM_PASS; get_smart_data()
H A Dide-disk.c110 tf->lbam = (u8)(block >> 8); __ide_do_rw_disk()
118 tf->lbam = (u8)((u64)block >> 32); __ide_do_rw_disk()
128 tf->lbam = block >>= 8; __ide_do_rw_disk()
144 tf->lbam = cyl; __ide_do_rw_disk()
249 tf->lbam = (addr_req >>= 8) & 0xff; idedisk_set_max_address()
253 cmd.hob.lbam = (addr_req >>= 8) & 0xff; idedisk_set_max_address()
H A Dide-park.c73 tf->lbam = 0x4e; ide_do_park_unpark()
H A Dide-taskfile.c48 "lbam 0x%02x lbah 0x%02x dev 0x%02x cmd 0x%02x\n", ide_tf_dump()
50 cmd->tf.lbal, cmd->tf.lbam, cmd->tf.lbah, ide_tf_dump()
52 printk("%s: hob: nsect 0x%02x lbal 0x%02x lbam 0x%02x lbah 0x%02x\n", ide_tf_dump()
53 s, cmd->hob.nsect, cmd->hob.lbal, cmd->hob.lbam, cmd->hob.lbah); ide_tf_dump()
H A Dide-io-std.c108 tf_outb(tf->lbam, io_ports->lbam_addr); ide_tf_load()
135 tf->lbam = tf_inb(io_ports->lbam_addr); ide_tf_read()
H A Dide-ioctls.c144 tf->lbam = ATA_SMART_LBAM_PASS; ide_cmd_ioctl()
H A Dns87415.c76 tf->lbam = inb(io_ports->lbam_addr); superio_tf_read()
H A Dide-atapi.c330 *bcount = (tf.lbah << 8) | tf.lbam; ide_read_bcount_and_ireason()
538 cmd->tf.lbam = bcount & 0xff; ide_init_packet_cmd()
H A Dide-io.c159 tf->lbam = drive->cyl; ide_tf_set_specify_cmd()
/linux-4.1.27/include/scsi/
H A Dsas.h218 union { u8 lbam; u8 byte_count_low; }; member in union:dev_to_host_fis::__anon12946
242 union { u8 lbam; u8 byte_count_low; }; member in union:host_to_dev_fis::__anon12949
/linux-4.1.27/drivers/scsi/
H A Dipr.h560 u8 lbam; member in struct:ipr_ioarcb_ata_regs
672 u8 lbam; member in struct:ipr_ioasa_gata
H A Dipr.c6592 regs->lbam = tf->lbam; ipr_copy_sata_tf()
6887 tf->lbam = g->lbam; ipr_qc_fill_rtf()
/linux-4.1.27/drivers/scsi/pm8001/
H A Dpm8001_hwi.h201 u8 lbam; member in struct:pio_setup_fis
H A Dpm80xx_hwi.h290 u8 lbam; member in struct:pio_setup_fis
H A Dpm80xx_hwi.c4164 (sata_cmd.sata_fis.lbam << 8) | pm80xx_chip_sata_req()
/linux-4.1.27/include/linux/
H A Dide.h275 u8 lbam; /* 4: LBA mid */ member in struct:ide_taskfile
H A Dlibata.h570 u8 lbam; member in struct:ata_taskfile
/linux-4.1.27/drivers/block/mtip32xx/
H A Dmtip32xx.c2145 " sect/lbal %x, lcyl/lbam %x, hcyl/lbah %x," exec_drive_taskfile()

Completed in 1208 milliseconds