Home
last modified time | relevance | path

Searched refs:fcp_prio_cfg (Results 1 – 4 of 4) sorted by relevance

/drivers/scsi/qla2xxx/
Dqla_bsg.c137 if (!ha->fcp_prio_cfg && (oper != QLFC_FCP_PRIO_SET_CONFIG)) { in qla24xx_proc_fcp_prio_cfg_cmd()
145 ha->fcp_prio_cfg->attributes &= in qla24xx_proc_fcp_prio_cfg_cmd()
158 if (ha->fcp_prio_cfg) { in qla24xx_proc_fcp_prio_cfg_cmd()
160 ha->fcp_prio_cfg->attributes |= in qla24xx_proc_fcp_prio_cfg_cmd()
184 bsg_job->reply_payload.sg_cnt, ha->fcp_prio_cfg, in qla24xx_proc_fcp_prio_cfg_cmd()
197 if (!ha->fcp_prio_cfg) { in qla24xx_proc_fcp_prio_cfg_cmd()
198 ha->fcp_prio_cfg = vmalloc(FCP_PRIO_CFG_SIZE); in qla24xx_proc_fcp_prio_cfg_cmd()
199 if (!ha->fcp_prio_cfg) { in qla24xx_proc_fcp_prio_cfg_cmd()
209 memset(ha->fcp_prio_cfg, 0, FCP_PRIO_CFG_SIZE); in qla24xx_proc_fcp_prio_cfg_cmd()
211 bsg_job->request_payload.sg_cnt, ha->fcp_prio_cfg, in qla24xx_proc_fcp_prio_cfg_cmd()
[all …]
Dqla_sup.c3178 if (!ha->fcp_prio_cfg) { in qla24xx_read_fcp_prio_cfg()
3179 ha->fcp_prio_cfg = vmalloc(FCP_PRIO_CFG_SIZE); in qla24xx_read_fcp_prio_cfg()
3180 if (!ha->fcp_prio_cfg) { in qla24xx_read_fcp_prio_cfg()
3187 memset(ha->fcp_prio_cfg, 0, FCP_PRIO_CFG_SIZE); in qla24xx_read_fcp_prio_cfg()
3192 ha->isp_ops->read_optrom(vha, (uint8_t *)ha->fcp_prio_cfg, in qla24xx_read_fcp_prio_cfg()
3195 if (!qla24xx_fcp_prio_cfg_valid(vha, ha->fcp_prio_cfg, 0)) in qla24xx_read_fcp_prio_cfg()
3200 len = ha->fcp_prio_cfg->num_entries * FCP_PRIO_CFG_ENTRY_SIZE; in qla24xx_read_fcp_prio_cfg()
3203 ha->isp_ops->read_optrom(vha, (uint8_t *)&ha->fcp_prio_cfg->entry[0], in qla24xx_read_fcp_prio_cfg()
3207 if (!qla24xx_fcp_prio_cfg_valid(vha, ha->fcp_prio_cfg, 1)) in qla24xx_read_fcp_prio_cfg()
3213 vfree(ha->fcp_prio_cfg); in qla24xx_read_fcp_prio_cfg()
[all …]
Dqla_init.c6381 if (!ha->fcp_prio_cfg || !ha->flags.fcp_prio_enabled) in qla24xx_get_fcp_prio()
6385 entries = ha->fcp_prio_cfg->num_entries; in qla24xx_get_fcp_prio()
6386 pri_entry = &ha->fcp_prio_cfg->entry[0]; in qla24xx_get_fcp_prio()
Dqla_def.h3411 struct qla_fcp_prio_cfg *fcp_prio_cfg; member