Lines Matching refs:hsm_task_state
674 ap->hsm_task_state = HSM_ST_LAST; in ata_pio_sector()
706 ap->hsm_task_state = HSM_ST_LAST; in ata_pio_sector()
762 ap->hsm_task_state = HSM_ST; in atapi_send_cdb()
765 ap->hsm_task_state = HSM_ST_LAST; in atapi_send_cdb()
769 ap->hsm_task_state = HSM_ST_LAST; in atapi_send_cdb()
904 ap->hsm_task_state = HSM_ST_ERR; in atapi_pio_bytes()
921 if (ap->hsm_task_state == HSM_ST_FIRST) { in ata_hsm_ok_in_wq()
1006 ap->print_id, qc->tf.protocol, ap->hsm_task_state, status); in ata_sff_hsm_move()
1008 switch (ap->hsm_task_state) { in ata_sff_hsm_move()
1031 ap->hsm_task_state = HSM_ST_ERR; in ata_sff_hsm_move()
1052 ap->hsm_task_state = HSM_ST_ERR; in ata_sff_hsm_move()
1066 ap->hsm_task_state = HSM_ST; in ata_sff_hsm_move()
1085 ap->hsm_task_state = HSM_ST_LAST; in ata_sff_hsm_move()
1100 ap->hsm_task_state = HSM_ST_ERR; in ata_sff_hsm_move()
1106 if (unlikely(ap->hsm_task_state == HSM_ST_ERR)) in ata_sff_hsm_move()
1138 ap->hsm_task_state = HSM_ST_ERR; in ata_sff_hsm_move()
1182 ap->hsm_task_state = HSM_ST_ERR; in ata_sff_hsm_move()
1188 if (ap->hsm_task_state == HSM_ST_LAST && in ata_sff_hsm_move()
1202 ap->hsm_task_state = HSM_ST_ERR; in ata_sff_hsm_move()
1212 ap->hsm_task_state = HSM_ST_IDLE; in ata_sff_hsm_move()
1221 ap->hsm_task_state = HSM_ST_IDLE; in ata_sff_hsm_move()
1231 ap->print_id, ap->hsm_task_state); in ata_sff_hsm_move()
1278 ap->hsm_task_state = HSM_ST_IDLE; in ata_sff_flush_pio_task()
1307 WARN_ON_ONCE(ap->hsm_task_state == HSM_ST_IDLE); in ata_sff_pio_task()
1380 ap->hsm_task_state = HSM_ST_LAST; in ata_sff_qc_issue()
1395 ap->hsm_task_state = HSM_ST_FIRST; in ata_sff_qc_issue()
1403 ap->hsm_task_state = HSM_ST; in ata_sff_qc_issue()
1423 ap->hsm_task_state = HSM_ST_FIRST; in ata_sff_qc_issue()
1482 ap->print_id, qc->tf.protocol, ap->hsm_task_state); in __ata_sff_port_intr()
1485 switch (ap->hsm_task_state) { in __ata_sff_port_intr()
1510 ap->hsm_task_state = HSM_ST_ERR; in __ata_sff_port_intr()
2762 ap->hsm_task_state = HSM_ST_LAST; in ata_bmdma_qc_issue()
2770 ap->hsm_task_state = HSM_ST_FIRST; in ata_bmdma_qc_issue()
2806 if (ap->hsm_task_state == HSM_ST_LAST && ata_is_dma(qc->tf.protocol)) { in ata_bmdma_port_intr()
2822 ap->hsm_task_state = HSM_ST_ERR; in ata_bmdma_port_intr()