Lines Matching refs:ql84_mgmt
1139 struct qla_bsg_a84_mgmt *ql84_mgmt; in qla84xx_mgmt_cmd() local
1159 ql84_mgmt = (void *)bsg_request + sizeof(struct fc_bsg_request); in qla84xx_mgmt_cmd()
1160 switch (ql84_mgmt->mgmt.cmd) { in qla84xx_mgmt_cmd()
1195 if (ql84_mgmt->mgmt.cmd == QLA84_MGMT_READ_MEM) { in qla84xx_mgmt_cmd()
1199 ql84_mgmt->mgmt.mgmtp.u.mem.start_addr); in qla84xx_mgmt_cmd()
1201 } else if (ql84_mgmt->mgmt.cmd == QLA84_MGMT_GET_INFO) { in qla84xx_mgmt_cmd()
1204 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.info.type); in qla84xx_mgmt_cmd()
1208 ql84_mgmt->mgmt.mgmtp.u.info.context); in qla84xx_mgmt_cmd()
1250 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.mem.start_addr); in qla84xx_mgmt_cmd()
1256 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.id); in qla84xx_mgmt_cmd()
1259 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.param0); in qla84xx_mgmt_cmd()
1262 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.param1); in qla84xx_mgmt_cmd()
1270 if (ql84_mgmt->mgmt.cmd != QLA84_MGMT_CHNG_CONFIG) { in qla84xx_mgmt_cmd()
1271 mn->total_byte_cnt = cpu_to_le32(ql84_mgmt->mgmt.len); in qla84xx_mgmt_cmd()
1274 mn->dsd.length = cpu_to_le32(ql84_mgmt->mgmt.len); in qla84xx_mgmt_cmd()
1292 if ((ql84_mgmt->mgmt.cmd == QLA84_MGMT_READ_MEM) || in qla84xx_mgmt_cmd()
1293 (ql84_mgmt->mgmt.cmd == QLA84_MGMT_GET_INFO)) { in qla84xx_mgmt_cmd()