Lines Matching refs:sector_buf

2140 	if (ata_read_log_page(dev, ATA_LOG_DIRECTORY, 0, ap->sector_buf, 1))  in ata_log_supported()
2142 return get_unaligned_le16(&ap->sector_buf[log * 2]); in ata_log_supported()
2170 err = ata_read_log_page(dev, ATA_LOG_IDENTIFY_DEVICE, 0, ap->sector_buf, in ata_identify_page_supported()
2175 for (i = 0; i < ap->sector_buf[8]; i++) { in ata_identify_page_supported()
2176 if (ap->sector_buf[9 + i] == page) in ata_identify_page_supported()
2236 0, ap->sector_buf, 1); in ata_dev_config_ncq_send_recv()
2241 memcpy(cmds, ap->sector_buf, ATA_LOG_NCQ_SEND_RECV_SIZE); in ata_dev_config_ncq_send_recv()
2262 0, ap->sector_buf, 1); in ata_dev_config_ncq_non_data()
2266 memcpy(cmds, ap->sector_buf, ATA_LOG_NCQ_NON_DATA_SIZE); in ata_dev_config_ncq_non_data()
2281 ap->sector_buf, in ata_dev_config_ncq_prio()
2286 if (!(ap->sector_buf[ATA_LOG_NCQ_PRIO_OFFSET] & BIT(3))) in ata_dev_config_ncq_prio()
2404 u8 *identify_buf = ap->sector_buf; in ata_dev_config_zac()
2470 ap->sector_buf, 1); in ata_dev_config_trusted()
2474 trusted_cap = get_unaligned_le64(&ap->sector_buf[40]); in ata_dev_config_trusted()
2502 ap->sector_buf, 1); in ata_dev_config_cdl()
2507 val = get_unaligned_le64(&ap->sector_buf[168]); in ata_dev_config_cdl()
2520 val = get_unaligned_le64(&ap->sector_buf[8]); in ata_dev_config_cdl()
2540 ap->sector_buf, 1); in ata_dev_config_cdl()
2544 val = get_unaligned_le64(&ap->sector_buf[8]); in ata_dev_config_cdl()
2601 err_mask = ata_read_log_page(dev, ATA_LOG_CDL, 0, ap->sector_buf, 1); in ata_dev_config_cdl()
2607 memcpy(dev->cdl, ap->sector_buf, ATA_LOG_CDL_SIZE); in ata_dev_config_cdl()
2699 u8 *sata_setting = dev->link->ap->sector_buf; in ata_dev_config_devslp()
3875 u16 *id = (void *)dev->link->ap->sector_buf; in ata_dev_reread_id()