Home
last modified time | relevance | path

Searched refs:qsnt_state (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/scsi/qla2xxx/
Dqla_nx2.c258 uint32_t qsnt_state; in qla8044_set_qsnt_ready() local
261 qsnt_state = qla8044_rd_direct(vha, QLA8044_CRB_DRV_STATE_INDEX); in qla8044_set_qsnt_ready()
262 qsnt_state |= (1 << ha->portnum); in qla8044_set_qsnt_ready()
263 qla8044_wr_direct(vha, QLA8044_CRB_DRV_STATE_INDEX, qsnt_state); in qla8044_set_qsnt_ready()
265 __func__, vha->host_no, qsnt_state); in qla8044_set_qsnt_ready()
271 uint32_t qsnt_state; in qla8044_clear_qsnt_ready() local
274 qsnt_state = qla8044_rd_direct(vha, QLA8044_CRB_DRV_STATE_INDEX); in qla8044_clear_qsnt_ready()
275 qsnt_state &= ~(1 << ha->portnum); in qla8044_clear_qsnt_ready()
276 qla8044_wr_direct(vha, QLA8044_CRB_DRV_STATE_INDEX, qsnt_state); in qla8044_clear_qsnt_ready()
278 __func__, vha->host_no, qsnt_state); in qla8044_clear_qsnt_ready()
Dqla_nx.c2371 uint32_t qsnt_state; in qla82xx_set_qsnt_ready() local
2373 qsnt_state = qla82xx_rd_32(ha, QLA82XX_CRB_DRV_STATE); in qla82xx_set_qsnt_ready()
2374 qsnt_state |= (QLA82XX_DRVST_QSNT_RDY << (ha->portnum * 4)); in qla82xx_set_qsnt_ready()
2375 qla82xx_wr_32(ha, QLA82XX_CRB_DRV_STATE, qsnt_state); in qla82xx_set_qsnt_ready()
2382 uint32_t qsnt_state; in qla82xx_clear_qsnt_ready() local
2384 qsnt_state = qla82xx_rd_32(ha, QLA82XX_CRB_DRV_STATE); in qla82xx_clear_qsnt_ready()
2385 qsnt_state &= ~(QLA82XX_DRVST_QSNT_RDY << (ha->portnum * 4)); in qla82xx_clear_qsnt_ready()
2386 qla82xx_wr_32(ha, QLA82XX_CRB_DRV_STATE, qsnt_state); in qla82xx_clear_qsnt_ready()
/Linux-v5.10/drivers/scsi/qla4xxx/
Dql4_nx.c1730 uint32_t qsnt_state; in qla4_8xxx_set_qsnt_ready() local
1732 qsnt_state = qla4_8xxx_rd_direct(ha, QLA8XXX_CRB_DRV_STATE); in qla4_8xxx_set_qsnt_ready()
1740 qsnt_state |= (1 << ha->func_num); in qla4_8xxx_set_qsnt_ready()
1742 qsnt_state |= (2 << (ha->func_num * 4)); in qla4_8xxx_set_qsnt_ready()
1744 qla4_8xxx_wr_direct(ha, QLA8XXX_CRB_DRV_STATE, qsnt_state); in qla4_8xxx_set_qsnt_ready()