Home
last modified time | relevance | path

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

/linux/drivers/scsi/qla2xxx/
H A 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()
H A Dqla_nx.c2367 uint32_t qsnt_state; in qla82xx_set_qsnt_ready() local
2369 qsnt_state = qla82xx_rd_32(ha, QLA82XX_CRB_DRV_STATE); in qla82xx_set_qsnt_ready()
2370 qsnt_state |= (QLA82XX_DRVST_QSNT_RDY << (ha->portnum * 4)); in qla82xx_set_qsnt_ready()
2371 qla82xx_wr_32(ha, QLA82XX_CRB_DRV_STATE, qsnt_state); in qla82xx_set_qsnt_ready()
2378 uint32_t qsnt_state; in qla82xx_clear_qsnt_ready() local
2380 qsnt_state = qla82xx_rd_32(ha, QLA82XX_CRB_DRV_STATE); in qla82xx_clear_qsnt_ready()
2381 qsnt_state &= ~(QLA82XX_DRVST_QSNT_RDY << (ha->portnum * 4)); in qla82xx_clear_qsnt_ready()
2382 qla82xx_wr_32(ha, QLA82XX_CRB_DRV_STATE, qsnt_state); in qla82xx_clear_qsnt_ready()
/linux/drivers/scsi/qla4xxx/
H A Dql4_nx.c1717 uint32_t qsnt_state; in qla4_8xxx_set_qsnt_ready() local
1719 qsnt_state = qla4_8xxx_rd_direct(ha, QLA8XXX_CRB_DRV_STATE); in qla4_8xxx_set_qsnt_ready()
1727 qsnt_state |= (1 << ha->func_num); in qla4_8xxx_set_qsnt_ready()
1729 qsnt_state |= (2 << (ha->func_num * 4)); in qla4_8xxx_set_qsnt_ready()
1731 qla4_8xxx_wr_direct(ha, QLA8XXX_CRB_DRV_STATE, qsnt_state); in qla4_8xxx_set_qsnt_ready()