Home
last modified time | relevance | path

Searched refs:lport_tpg_enabled (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/scsi/qla2xxx/
H A Dtcm_qla2xxx.h44 atomic_t lport_tpg_enabled; member
H A Dtcm_qla2xxx.c919 if (atomic_read(&tpg->lport_tpg_enabled)) in tcm_qla2xxx_enable_tpg()
922 atomic_set(&tpg->lport_tpg_enabled, 1); in tcm_qla2xxx_enable_tpg()
925 if (!atomic_read(&tpg->lport_tpg_enabled)) in tcm_qla2xxx_enable_tpg()
928 atomic_set(&tpg->lport_tpg_enabled, 0); in tcm_qla2xxx_enable_tpg()
1062 if (atomic_read(&tpg->lport_tpg_enabled)) in tcm_qla2xxx_npiv_enable_tpg()
1065 atomic_set(&tpg->lport_tpg_enabled, 1); in tcm_qla2xxx_npiv_enable_tpg()
1068 if (!atomic_read(&tpg->lport_tpg_enabled)) in tcm_qla2xxx_npiv_enable_tpg()
1071 atomic_set(&tpg->lport_tpg_enabled, 0); in tcm_qla2xxx_npiv_enable_tpg()
1666 !atomic_read(&base_lport->tpg_1->lport_tpg_enabled)) { in tcm_qla2xxx_lport_register_npiv_cb()