Lines Matching defs:ql84_mgmt
1120 struct qla_bsg_a84_mgmt *ql84_mgmt;
1140 ql84_mgmt = (void *)bsg_request + sizeof(struct fc_bsg_request);
1141 switch (ql84_mgmt->mgmt.cmd) {
1176 if (ql84_mgmt->mgmt.cmd == QLA84_MGMT_READ_MEM) {
1180 ql84_mgmt->mgmt.mgmtp.u.mem.start_addr);
1182 } else if (ql84_mgmt->mgmt.cmd == QLA84_MGMT_GET_INFO) {
1185 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.info.type);
1189 ql84_mgmt->mgmt.mgmtp.u.info.context);
1231 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.mem.start_addr);
1237 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.id);
1240 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.param0);
1243 cpu_to_le32(ql84_mgmt->mgmt.mgmtp.u.config.param1);
1251 if (ql84_mgmt->mgmt.cmd != QLA84_MGMT_CHNG_CONFIG) {
1252 mn->total_byte_cnt = cpu_to_le32(ql84_mgmt->mgmt.len);
1255 mn->dsd.length = cpu_to_le32(ql84_mgmt->mgmt.len);
1273 if ((ql84_mgmt->mgmt.cmd == QLA84_MGMT_READ_MEM) ||
1274 (ql84_mgmt->mgmt.cmd == QLA84_MGMT_GET_INFO)) {