Home
last modified time | relevance | path

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

/linux/drivers/scsi/qla2xxx/
H A Dqla_bsg.c165 if (!ha->fcp_prio_cfg && (oper != QLFC_FCP_PRIO_SET_CONFIG)) { in qla24xx_proc_fcp_prio_cfg_cmd()
173 ha->fcp_prio_cfg->attributes &= in qla24xx_proc_fcp_prio_cfg_cmd()
186 if (ha->fcp_prio_cfg) { in qla24xx_proc_fcp_prio_cfg_cmd()
188 ha->fcp_prio_cfg->attributes |= in qla24xx_proc_fcp_prio_cfg_cmd()
212 bsg_job->reply_payload.sg_cnt, ha->fcp_prio_cfg, in qla24xx_proc_fcp_prio_cfg_cmd()
225 if (!ha->fcp_prio_cfg) { in qla24xx_proc_fcp_prio_cfg_cmd()
226 ha->fcp_prio_cfg = vmalloc(FCP_PRIO_CFG_SIZE); in qla24xx_proc_fcp_prio_cfg_cmd()
227 if (!ha->fcp_prio_cfg) { in qla24xx_proc_fcp_prio_cfg_cmd()
237 memset(ha->fcp_prio_cfg, 0, FCP_PRIO_CFG_SIZE); in qla24xx_proc_fcp_prio_cfg_cmd()
239 bsg_job->request_payload.sg_cnt, ha->fcp_prio_cfg, in qla24xx_proc_fcp_prio_cfg_cmd()
[all …]
H A Dqla_sup.c3644 if (!ha->fcp_prio_cfg) { in qla24xx_read_fcp_prio_cfg()
3645 ha->fcp_prio_cfg = vmalloc(FCP_PRIO_CFG_SIZE); in qla24xx_read_fcp_prio_cfg()
3646 if (!ha->fcp_prio_cfg) { in qla24xx_read_fcp_prio_cfg()
3653 memset(ha->fcp_prio_cfg, 0, FCP_PRIO_CFG_SIZE); in qla24xx_read_fcp_prio_cfg()
3658 ha->isp_ops->read_optrom(vha, ha->fcp_prio_cfg, in qla24xx_read_fcp_prio_cfg()
3661 if (!qla24xx_fcp_prio_cfg_valid(vha, ha->fcp_prio_cfg, 0)) in qla24xx_read_fcp_prio_cfg()
3666 len = ha->fcp_prio_cfg->num_entries * sizeof(struct qla_fcp_prio_entry); in qla24xx_read_fcp_prio_cfg()
3669 ha->isp_ops->read_optrom(vha, &ha->fcp_prio_cfg->entry[0], in qla24xx_read_fcp_prio_cfg()
3673 if (!qla24xx_fcp_prio_cfg_valid(vha, ha->fcp_prio_cfg, 1)) in qla24xx_read_fcp_prio_cfg()
3679 vfree(ha->fcp_prio_cfg); in qla24xx_read_fcp_prio_cfg()
[all …]
H A Dqla_init.c9514 if (!ha->fcp_prio_cfg || !ha->flags.fcp_prio_enabled) in qla24xx_get_fcp_prio()
9518 entries = ha->fcp_prio_cfg->num_entries; in qla24xx_get_fcp_prio()
9519 pri_entry = &ha->fcp_prio_cfg->entry[0]; in qla24xx_get_fcp_prio()
H A Dqla_def.h4742 struct qla_fcp_prio_cfg *fcp_prio_cfg; member