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