Home
last modified time | relevance | path

Searched refs:lbal (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.6.21/drivers/ata/
Dsata_vsc.c162 writew(tf->lbal | (((u16)tf->hob_lbal) << 8), in vsc_sata_tf_load()
171 writew(tf->lbal, ioaddr->lbal_addr); in vsc_sata_tf_load()
186 u16 nsect, lbal, lbam, lbah, error; in vsc_sata_tf_read() local
192 lbal = readw(ioaddr->lbal_addr); in vsc_sata_tf_read()
198 tf->lbal = lbal; in vsc_sata_tf_read()
205 tf->hob_lbal = lbal >> 8; in vsc_sata_tf_read()
Dsata_svw.c174 writew(tf->lbal | (((u16)tf->hob_lbal) << 8), in k2_sata_tf_load()
183 writew(tf->lbal, ioaddr->lbal_addr); in k2_sata_tf_load()
198 u16 nsect, lbal, lbam, lbah, error; in k2_sata_tf_read() local
204 lbal = readw(ioaddr->lbal_addr); in k2_sata_tf_read()
210 tf->lbal = lbal; in k2_sata_tf_read()
217 tf->hob_lbal = lbal >> 8; in k2_sata_tf_read()
Dsata_promise.h101 buf[i++] = tf->lbal; in pdc_prep_lba28()
127 buf[i++] = tf->lbal; in pdc_prep_lba48()
Dpata_ep93xx.c403 ep93xx_pata_write_reg(drv_data, tf->lbal, IDECTRL_ADDR_LBAL); in ep93xx_pata_tf_load()
423 tf->lbal = ep93xx_pata_read_reg(drv_data, IDECTRL_ADDR_LBAL); in ep93xx_pata_tf_read()
525 u8 nsect, lbal; in ep93xx_pata_device_is_present() local
539 lbal = ep93xx_pata_read_reg(drv_data, IDECTRL_ADDR_LBAL); in ep93xx_pata_device_is_present()
541 if ((nsect == 0x55) && (lbal == 0xaa)) in ep93xx_pata_device_is_present()
584 u8 nsect, lbal; in ep93xx_pata_wait_after_reset() local
588 lbal = ep93xx_pata_read_reg(drv_data, in ep93xx_pata_wait_after_reset()
590 if (nsect == 1 && lbal == 1) in ep93xx_pata_wait_after_reset()
Dlibata-acpi.c551 tf->lbal = gtf->tf[2]; /* 0x1f3 */ in ata_acpi_gtf_to_tf()
671 tf.command, tf.feature, tf.nsect, tf.lbal, in ata_acpi_run_tf()
680 tf.command, tf.feature, tf.nsect, tf.lbal, in ata_acpi_run_tf()
690 tf.command, tf.feature, tf.nsect, tf.lbal, in ata_acpi_run_tf()
700 tf.command, tf.feature, tf.nsect, tf.lbal, in ata_acpi_run_tf()
Dsata_inic162x.c206 u8 lbal; /* ATA Sector Number */ member
507 cpb->lbal = qc->tf.lbal; in inic_qc_prep()
562 tf->lbal = readb(port_base + PORT_TF_LBAL); in inic_tf_read()
Dsata_rcar.c285 u8 nsect, lbal; in sata_rcar_ata_devchk() local
299 lbal = ioread32(ioaddr->lbal_addr); in sata_rcar_ata_devchk()
301 if (nsect == 0x55 && lbal == 0xaa) in sata_rcar_ata_devchk()
382 iowrite32(tf->lbal, ioaddr->lbal_addr); in sata_rcar_tf_load()
400 tf->lbal = ioread32(ioaddr->lbal_addr); in sata_rcar_tf_read()
Dlibata-scsi.c900 desc[7] = tf->lbal; in ata_gen_passthru_sense()
931 desc[9] = tf->lbal; in ata_gen_passthru_sense()
1245 tf->lbal = 0x0; in ata_scsi_start_stop_xlat()
1249 tf->lbal = 0x1; /* sect */ in ata_scsi_start_stop_xlat()
1470 tf->lbal = block & 0xff; in ata_scsi_verify_xlat()
1495 tf->lbal = sect; in ata_scsi_verify_xlat()
2944 tf->lbal = cdb[8]; in ata_scsi_pass_thru()
2958 tf->lbal = cdb[5]; in ata_scsi_pass_thru()
2982 tf->lbal = cdb[19]; in ata_scsi_pass_thru()
3532 tf->lbal = block & 0xff; in ata_scsi_zbc_in_xlat()
[all …]
Dlibata-sff.c367 iowrite8(tf->lbal, ioaddr->lbal_addr); in ata_sff_tf_load()
399 tf->lbal = ioread8(ioaddr->lbal_addr); in ata_sff_tf_read()
1702 u8 nsect, lbal; in ata_devchk() local
1716 lbal = ioread8(ioaddr->lbal_addr); in ata_devchk()
1718 if ((nsect == 0x55) && (lbal == 0xaa)) in ata_devchk()
1847 u8 nsect, lbal; in ata_sff_wait_after_reset() local
1850 lbal = ioread8(ioaddr->lbal_addr); in ata_sff_wait_after_reset()
1851 if ((nsect == 1) && (lbal == 1)) in ata_sff_wait_after_reset()
Dlibata-sata.c161 fis[4] = tf->lbal; in ata_tf_to_fis()
199 tf->lbal = fis[4]; in ata_tf_from_fis()
1329 tf->lbal = buf[4]; in ata_eh_read_log_10h()
Dpata_ns87415.c270 tf->lbal = ioread8(ioaddr->lbal_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()
88 tf.lbal = (val >> 8) & 0xff; in sata_pmp_write()
Dlibata-core.c648 block |= tf->lbal; in ata_tf_read_block()
654 sect = tf->lbal; in ata_tf_read_block()
739 tf->lbal = block & 0xff; in ata_build_rw_tf()
788 tf->lbal = block & 0xff; in ata_build_rw_tf()
816 tf->lbal = sect; in ata_build_rw_tf()
1161 sectors |= (tf->lbal & 0xff); in ata_tf_to_lba48()
1173 sectors |= (tf->lbal & 0xff); in ata_tf_to_lba()
1269 tf.lbal = (new_sectors >> 0) & 0xff; in ata_set_max_sectors()
2058 tf.lbal = 0x1; /* sect */ in ata_dev_power_set_active()
2114 tf.lbal = log; in ata_read_log_page()
Dpata_octeon_cf.c390 tf->lbal = blob >> 8; in octeon_cf_tf_read16()
480 __raw_writew(tf->nsect | tf->lbal << 8, base + 2); in octeon_cf_tf_load16()
Dlibata-eh.c1435 if (ata_scsi_sense_is_valid(tf.lbah, tf.lbam, tf.lbal)) { in ata_eh_request_sense()
1439 tf.lbam, tf.lbal); in ata_eh_request_sense()
2477 cmd->lbal, cmd->lbam, cmd->lbah, in ata_eh_link_report()
2482 res->lbal, res->lbam, res->lbah, in ata_eh_link_report()
3008 tf.lbal = 0x4c; in ata_eh_park_issue_cmd()
3019 if (park && (err_mask || tf.lbal != 0xc4)) { in ata_eh_park_issue_cmd()
Dpata_via.c422 iowrite8(tf->lbal, ioaddr->lbal_addr); in via_tf_load()
Dpdc_adma.c335 buf[i++] = qc->tf.lbal; in adma_qc_prep()
Dsata_promise.c524 buf[19] = qc->tf.lbal; in pdc_atapi_pkt()
/linux-6.6.21/include/trace/events/
Dlibata.h194 __field( unsigned char, lbal )
216 __entry->lbal = qc->tf.lbal;
235 __entry->lbal, __entry->lbam, __entry->lbah,
261 __field( unsigned char, lbal )
281 __entry->lbal = qc->result_tf.lbal;
300 __entry->lbal, __entry->lbam, __entry->lbah,
328 __field( unsigned char, lbal )
346 __entry->lbal = tf->lbal;
365 __entry->lbal, __entry->lbam, __entry->lbah,
/linux-6.6.21/drivers/ata/pata_parport/
Dpata_parport.c64 u8 nsect, lbal; in pata_parport_devchk() local
78 lbal = pi->proto->read_regr(pi, 0, ATA_REG_LBAL); in pata_parport_devchk()
80 return (nsect == 0x55) && (lbal == 0xaa); in pata_parport_devchk()
122 u8 nsect, lbal; in pata_parport_wait_after_reset() local
125 lbal = pi->proto->read_regr(pi, 0, ATA_REG_LBAL); in pata_parport_wait_after_reset()
126 if (nsect == 1 && lbal == 1) in pata_parport_wait_after_reset()
240 pi->proto->write_regr(pi, 0, ATA_REG_LBAL, tf->lbal); in pata_parport_tf_load()
258 tf->lbal = pi->proto->read_regr(pi, 0, ATA_REG_LBAL); in pata_parport_tf_read()
/linux-6.6.21/drivers/scsi/isci/
Drequest.h310 task->ata_task.fis.lbal == ATA_LOG_SATA_NCQ); in isci_task_is_ncq_recovery()
/linux-6.6.21/include/scsi/
Dsas.h209 u8 lbal; member
233 u8 lbal; member
/linux-6.6.21/drivers/scsi/pm8001/
Dpm8001_hwi.h196 u8 lbal; member
Dpm80xx_hwi.h393 u8 lbal; member
/linux-6.6.21/drivers/scsi/libsas/
Dsas_discover.c76 if (fis->interrupt_reason == 1 && fis->lbal == 1 && in sas_get_port_device()

12