Lines Matching refs:ql84_mgmt
1116 struct qla_bsg_a84_mgmt *ql84_mgmt; in qla84xx_mgmt_cmd() local
1136 ql84_mgmt = (void *)bsg_request + sizeof(struct fc_bsg_request); in qla84xx_mgmt_cmd()
1137 switch (ql84_mgmt->mgmt.cmd) { in qla84xx_mgmt_cmd()
1172 if (ql84_mgmt->mgmt.cmd == QLA84_MGMT_READ_MEM) { in qla84xx_mgmt_cmd()
1176 ql84_mgmt->mgmt.mgmtp.u.mem.start_addr); in qla84xx_mgmt_cmd()
1178 } else if (ql84_mgmt->mgmt.cmd == QLA84_MGMT_GET_INFO) { in qla84xx_mgmt_cmd()
1181 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.info.type); in qla84xx_mgmt_cmd()
1185 ql84_mgmt->mgmt.mgmtp.u.info.context); in qla84xx_mgmt_cmd()
1227 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.mem.start_addr); in qla84xx_mgmt_cmd()
1233 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.id); in qla84xx_mgmt_cmd()
1236 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.param0); in qla84xx_mgmt_cmd()
1239 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.param1); in qla84xx_mgmt_cmd()
1247 if (ql84_mgmt->mgmt.cmd != QLA84_MGMT_CHNG_CONFIG) { in qla84xx_mgmt_cmd()
1248 mn->total_byte_cnt = cpu_to_le32(ql84_mgmt->mgmt.len); in qla84xx_mgmt_cmd()
1251 mn->dsd.length = cpu_to_le32(ql84_mgmt->mgmt.len); in qla84xx_mgmt_cmd()
1269 if ((ql84_mgmt->mgmt.cmd == QLA84_MGMT_READ_MEM) || in qla84xx_mgmt_cmd()
1270 (ql84_mgmt->mgmt.cmd == QLA84_MGMT_GET_INFO)) { in qla84xx_mgmt_cmd()