Lines Matching refs:sector_buf
2040 if (ata_read_log_page(dev, ATA_LOG_DIRECTORY, 0, ap->sector_buf, 1)) in ata_log_supported()
2042 return get_unaligned_le16(&ap->sector_buf[log * 2]) ? true : false; in ata_log_supported()
2059 err = ata_read_log_page(dev, ATA_LOG_IDENTIFY_DEVICE, 0, ap->sector_buf, in ata_identify_page_supported()
2068 for (i = 0; i < ap->sector_buf[8]; i++) { in ata_identify_page_supported()
2069 if (ap->sector_buf[9 + i] == page) in ata_identify_page_supported()
2129 0, ap->sector_buf, 1); in ata_dev_config_ncq_send_recv()
2138 memcpy(cmds, ap->sector_buf, ATA_LOG_NCQ_SEND_RECV_SIZE); in ata_dev_config_ncq_send_recv()
2159 0, ap->sector_buf, 1); in ata_dev_config_ncq_non_data()
2167 memcpy(cmds, ap->sector_buf, ATA_LOG_NCQ_NON_DATA_SIZE); in ata_dev_config_ncq_non_data()
2184 ap->sector_buf, in ata_dev_config_ncq_prio()
2193 if (ap->sector_buf[ATA_LOG_NCQ_PRIO_OFFSET] & BIT(3)) { in ata_dev_config_ncq_prio()
2282 u8 *identify_buf = ap->sector_buf; in ata_dev_config_zac()
2348 ap->sector_buf, 1); in ata_dev_config_trusted()
2355 trusted_cap = get_unaligned_le64(&ap->sector_buf[40]); in ata_dev_config_trusted()
2572 u8 *sata_setting = ap->sector_buf; in ata_dev_configure()
3655 u16 *id = (void *)dev->link->ap->sector_buf; in ata_dev_reread_id()