Lines Matching refs:mn
1020 struct verify_chip_entry_84xx *mn = NULL; in qla84xx_updatefw() local
1066 mn = dma_pool_zalloc(ha->s_dma_pool, GFP_KERNEL, &mn_dma); in qla84xx_updatefw()
1067 if (!mn) { in qla84xx_updatefw()
1077 mn->entry_type = VERIFY_CHIP_IOCB_TYPE; in qla84xx_updatefw()
1078 mn->entry_count = 1; in qla84xx_updatefw()
1084 mn->options = cpu_to_le16(options); in qla84xx_updatefw()
1085 mn->fw_ver = cpu_to_le32(fw_ver); in qla84xx_updatefw()
1086 mn->fw_size = cpu_to_le32(data_len); in qla84xx_updatefw()
1087 mn->fw_seq_size = cpu_to_le32(data_len); in qla84xx_updatefw()
1088 put_unaligned_le64(fw_dma, &mn->dsd.address); in qla84xx_updatefw()
1089 mn->dsd.length = cpu_to_le32(data_len); in qla84xx_updatefw()
1090 mn->data_seg_cnt = cpu_to_le16(1); in qla84xx_updatefw()
1092 rval = qla2x00_issue_iocb_timeout(vha, mn, mn_dma, 0, 120); in qla84xx_updatefw()
1107 dma_pool_free(ha->s_dma_pool, mn, mn_dma); in qla84xx_updatefw()
1130 struct access_chip_84xx *mn = NULL; in qla84xx_mgmt_cmd() local
1145 mn = dma_pool_zalloc(ha->s_dma_pool, GFP_KERNEL, &mn_dma); in qla84xx_mgmt_cmd()
1146 if (!mn) { in qla84xx_mgmt_cmd()
1152 mn->entry_type = ACCESS_CHIP_IOCB_TYPE; in qla84xx_mgmt_cmd()
1153 mn->entry_count = 1; in qla84xx_mgmt_cmd()
1191 mn->options = cpu_to_le16(ACO_DUMP_MEMORY); in qla84xx_mgmt_cmd()
1192 mn->parameter1 = in qla84xx_mgmt_cmd()
1197 mn->options = cpu_to_le16(ACO_REQUEST_INFO); in qla84xx_mgmt_cmd()
1198 mn->parameter1 = in qla84xx_mgmt_cmd()
1201 mn->parameter2 = in qla84xx_mgmt_cmd()
1243 mn->options = cpu_to_le16(ACO_LOAD_MEMORY); in qla84xx_mgmt_cmd()
1244 mn->parameter1 = in qla84xx_mgmt_cmd()
1249 mn->options = cpu_to_le16(ACO_CHANGE_CONFIG_PARAM); in qla84xx_mgmt_cmd()
1250 mn->parameter1 = in qla84xx_mgmt_cmd()
1253 mn->parameter2 = in qla84xx_mgmt_cmd()
1256 mn->parameter3 = in qla84xx_mgmt_cmd()
1266 mn->total_byte_cnt = cpu_to_le32(ql84_mgmt->mgmt.len); in qla84xx_mgmt_cmd()
1267 mn->dseg_count = cpu_to_le16(1); in qla84xx_mgmt_cmd()
1268 put_unaligned_le64(mgmt_dma, &mn->dsd.address); in qla84xx_mgmt_cmd()
1269 mn->dsd.length = cpu_to_le32(ql84_mgmt->mgmt.len); in qla84xx_mgmt_cmd()
1272 rval = qla2x00_issue_iocb(vha, mn, mn_dma, 0); in qla84xx_mgmt_cmd()
1310 dma_pool_free(ha->s_dma_pool, mn, mn_dma); in qla84xx_mgmt_cmd()