/openbmc/u-boot/drivers/ata/ |
H A D | sata_sil.c | 20 #define ATA_SECTOR_WORDS (ATA_SECT_SIZE/2) 296 pcmd->sge.cnt = cpu_to_le32(blkcnt * ATA_SECT_SIZE); in sil_sata_rw_cmd() 344 pcmd->sge.cnt = cpu_to_le32(blkcnt * ATA_SECT_SIZE); in sil_sata_rw_cmd_ext() 375 addr += ATA_SECT_SIZE * max_blks; in sil_sata_rw_lba28() 380 addr += ATA_SECT_SIZE * blks; in sil_sata_rw_lba28() 404 addr += ATA_SECT_SIZE * max_blks; in sil_sata_rw_lba48() 410 addr += ATA_SECT_SIZE * blks; in sil_sata_rw_lba48()
|
H A D | fsl_sata.c | 557 fsl_sata_exec_cmd(sata, cfis, CMD_ATA, 0, buffer, ATA_SECT_SIZE * blkcnt); in fsl_sata_rw_cmd() 601 fsl_sata_exec_cmd(sata, cfis, CMD_ATA, 0, buffer, ATA_SECT_SIZE * blkcnt); in fsl_sata_rw_cmd_ext() 645 fsl_sata_exec_cmd(sata, cfis, CMD_NCQ, ncq_channel, buffer, ATA_SECT_SIZE * blkcnt); in fsl_sata_rw_ncq_cmd() 713 addr += ATA_SECT_SIZE * max_blks; in ata_low_level_rw_lba48() 721 addr += ATA_SECT_SIZE * blks; in ata_low_level_rw_lba48() 745 addr += ATA_SECT_SIZE * max_blks; in ata_low_level_rw_lba28() 750 addr += ATA_SECT_SIZE * blks; in ata_low_level_rw_lba28()
|
H A D | dwc_ahsata.c | 573 ATA_SECT_SIZE * blkcnt, is_write) > 0) in dwc_ahsata_rw_cmd() 623 ATA_SECT_SIZE * blkcnt, is_write) > 0) in dwc_ahsata_rw_cmd_ext() 676 addr += ATA_SECT_SIZE * max_blks; in ata_low_level_rw_lba48() 683 addr += ATA_SECT_SIZE * blks; in ata_low_level_rw_lba48() 711 addr += ATA_SECT_SIZE * max_blks; in ata_low_level_rw_lba28() 718 addr += ATA_SECT_SIZE * blks; in ata_low_level_rw_lba28() 781 pdev->blksz = ATA_SECT_SIZE; in dwc_ahsata_scan_common()
|
H A D | sata_mv.c | 246 #define MV_ATA_MAX_SECTORS (65535 / ATA_SECT_SIZE) 681 res = mv_ata_exec_ata_cmd(port, &cfis, buffer, ATA_SECT_SIZE * blkcnt, in mv_sata_rw_cmd_ext() 708 res = mv_ata_exec_ata_cmd(port, &cfis, buffer, ATA_SECT_SIZE * blkcnt, in mv_sata_rw_cmd() 739 addr += ATA_SECT_SIZE * max_blks; in ata_low_level_rw() 750 addr += ATA_SECT_SIZE * blks; in ata_low_level_rw()
|
H A D | sata_sil3114.c | 22 #define ATA_SECTOR_WORDS (ATA_SECT_SIZE/2) 172 sata_dev_desc[devno].blksz = ATA_SECT_SIZE; in sata_identify()
|
H A D | ahci.c | 809 transfer_size = ATA_SECT_SIZE * now_blocks; in ata_scsiop_read_write()
|
/openbmc/linux/drivers/hwmon/ |
H A D | drivetemp.c | 117 u8 smartdata[ATA_SECT_SIZE]; /* local buffer */ 197 ATA_SECT_SIZE, 10 * HZ, 5, NULL); in drivetemp_scsi_command() 226 for (i = 0; i < ATA_SECT_SIZE; i++) in drivetemp_get_smarttemp()
|
/openbmc/linux/include/linux/ |
H A D | ata.h | 28 ATA_SECT_SIZE = 512, enumerator 326 ATA_LOG_CDL_SIZE = ATA_SECT_SIZE, 329 ATA_LOG_SENSE_NCQ_SIZE = ATA_SECT_SIZE * 2, 642 return ATA_SECT_SIZE; in ata_id_logical_sector_size()
|
H A D | libata.h | 880 u8 sector_buf[ATA_SECT_SIZE] ____cacheline_aligned; 1826 qc->sect_size = ATA_SECT_SIZE; in ata_qc_reinit()
|
/openbmc/linux/drivers/block/mtip32xx/ |
H A D | mtip32xx.c | 40 #define AHCI_IDFY_SZ ATA_SECT_SIZE 42 #define AHCI_SECTBUF_SZ ATA_SECT_SIZE 44 #define AHCI_SMARTBUF_SZ ATA_SECT_SIZE 1259 memset(buffer, 0, sectors * ATA_SECT_SIZE); in mtip_read_log_page() 1265 sectors * ATA_SECT_SIZE, in mtip_read_log_page() 1299 ATA_SECT_SIZE, in mtip_get_smart_data() 1337 memset(port->smart_buf, 0, ATA_SECT_SIZE); in mtip_get_smart_attr() 1419 ((u64)sectors) * ATA_SECT_SIZE >> 20); in mtip_dump_identify() 1560 ATA_SECT_SIZE * xfer_sz, in exec_drive_command() 1566 ATA_SECT_SIZE * xfer_sz); in exec_drive_command() [all …]
|
/openbmc/u-boot/include/ |
H A D | libata.h | 19 ATA_SECT_SIZE = 512, enumerator
|
/openbmc/linux/drivers/ata/ |
H A D | libata-scsi.c | 483 argsize = ATA_SECT_SIZE * args[3]; in ata_cmd_ioctl() 1076 sdev->sector_size = ATA_SECT_SIZE; in ata_scsi_dev_config() 3084 qc->sect_size = ATA_SECT_SIZE; in ata_scsi_pass_thru()
|
H A D | libata-sata.c | 1316 for (i = 0; i < ATA_SECT_SIZE; i++) in ata_eh_read_log_10h()
|
H A D | libata-core.c | 2121 buf, sectors * ATA_SECT_SIZE, 0); in ata_read_log_page()
|