Lines Matching refs:facts_data
17 struct mpi3_ioc_facts_data *facts_data);
2903 struct mpi3_ioc_facts_data *facts_data) in mpi3mr_issue_iocfacts() argument
2908 u32 data_len = sizeof(*facts_data); in mpi3mr_issue_iocfacts()
2962 memcpy(facts_data, (u8 *)data, data_len); in mpi3mr_issue_iocfacts()
2963 mpi3mr_process_factsdata(mrioc, facts_data); in mpi3mr_issue_iocfacts()
3017 struct mpi3_ioc_facts_data *facts_data) in mpi3mr_process_factsdata() argument
3021 if ((le16_to_cpu(facts_data->ioc_facts_data_length)) != in mpi3mr_process_factsdata()
3022 (sizeof(*facts_data) / 4)) { in mpi3mr_process_factsdata()
3025 sizeof(*facts_data), in mpi3mr_process_factsdata()
3026 le16_to_cpu(facts_data->ioc_facts_data_length) * 4); in mpi3mr_process_factsdata()
3032 if (le16_to_cpu(facts_data->ioc_request_frame_size) != (req_sz / 4)) { in mpi3mr_process_factsdata()
3035 req_sz / 4, le16_to_cpu(facts_data->ioc_request_frame_size)); in mpi3mr_process_factsdata()
3040 facts_flags = le32_to_cpu(facts_data->flags); in mpi3mr_process_factsdata()
3046 mrioc->facts.ioc_num = facts_data->ioc_number; in mpi3mr_process_factsdata()
3047 mrioc->facts.who_init = facts_data->who_init; in mpi3mr_process_factsdata()
3048 mrioc->facts.max_msix_vectors = le16_to_cpu(facts_data->max_msix_vectors); in mpi3mr_process_factsdata()
3054 mrioc->facts.protocol_flags = facts_data->protocol_flags; in mpi3mr_process_factsdata()
3055 mrioc->facts.mpi_version = le32_to_cpu(facts_data->mpi_version.word); in mpi3mr_process_factsdata()
3056 mrioc->facts.max_reqs = le16_to_cpu(facts_data->max_outstanding_requests); in mpi3mr_process_factsdata()
3057 mrioc->facts.product_id = le16_to_cpu(facts_data->product_id); in mpi3mr_process_factsdata()
3058 mrioc->facts.reply_sz = le16_to_cpu(facts_data->reply_frame_size) * 4; in mpi3mr_process_factsdata()
3059 mrioc->facts.exceptions = le16_to_cpu(facts_data->ioc_exceptions); in mpi3mr_process_factsdata()
3060 mrioc->facts.max_perids = le16_to_cpu(facts_data->max_persistent_id); in mpi3mr_process_factsdata()
3061 mrioc->facts.max_vds = le16_to_cpu(facts_data->max_vds); in mpi3mr_process_factsdata()
3062 mrioc->facts.max_hpds = le16_to_cpu(facts_data->max_host_pds); in mpi3mr_process_factsdata()
3063 mrioc->facts.max_advhpds = le16_to_cpu(facts_data->max_adv_host_pds); in mpi3mr_process_factsdata()
3064 mrioc->facts.max_raid_pds = le16_to_cpu(facts_data->max_raid_pds); in mpi3mr_process_factsdata()
3065 mrioc->facts.max_nvme = le16_to_cpu(facts_data->max_nvme); in mpi3mr_process_factsdata()
3067 le16_to_cpu(facts_data->max_pcie_switches); in mpi3mr_process_factsdata()
3069 le16_to_cpu(facts_data->max_sas_expanders); in mpi3mr_process_factsdata()
3070 mrioc->facts.max_data_length = le16_to_cpu(facts_data->max_data_length); in mpi3mr_process_factsdata()
3072 le16_to_cpu(facts_data->max_sas_initiators); in mpi3mr_process_factsdata()
3073 mrioc->facts.max_enclosures = le16_to_cpu(facts_data->max_enclosures); in mpi3mr_process_factsdata()
3074 mrioc->facts.min_devhandle = le16_to_cpu(facts_data->min_dev_handle); in mpi3mr_process_factsdata()
3075 mrioc->facts.max_devhandle = le16_to_cpu(facts_data->max_dev_handle); in mpi3mr_process_factsdata()
3077 le16_to_cpu(facts_data->max_operational_request_queues); in mpi3mr_process_factsdata()
3079 le16_to_cpu(facts_data->max_operational_reply_queues); in mpi3mr_process_factsdata()
3081 le32_to_cpu(facts_data->ioc_capabilities); in mpi3mr_process_factsdata()
3083 le16_to_cpu(facts_data->fw_version.build_num); in mpi3mr_process_factsdata()
3085 le16_to_cpu(facts_data->fw_version.customer_id); in mpi3mr_process_factsdata()
3086 mrioc->facts.fw_ver.ph_minor = facts_data->fw_version.phase_minor; in mpi3mr_process_factsdata()
3087 mrioc->facts.fw_ver.ph_major = facts_data->fw_version.phase_major; in mpi3mr_process_factsdata()
3088 mrioc->facts.fw_ver.gen_minor = facts_data->fw_version.gen_minor; in mpi3mr_process_factsdata()
3089 mrioc->facts.fw_ver.gen_major = facts_data->fw_version.gen_major; in mpi3mr_process_factsdata()
3092 mrioc->facts.sge_mod_mask = facts_data->sge_modifier_mask; in mpi3mr_process_factsdata()
3093 mrioc->facts.sge_mod_value = facts_data->sge_modifier_value; in mpi3mr_process_factsdata()
3094 mrioc->facts.sge_mod_shift = facts_data->sge_modifier_shift; in mpi3mr_process_factsdata()
3096 le16_to_cpu(facts_data->shutdown_timeout); in mpi3mr_process_factsdata()
3098 le32_to_cpu(facts_data->diag_trace_size); in mpi3mr_process_factsdata()
3100 le32_to_cpu(facts_data->diag_fw_size); in mpi3mr_process_factsdata()
3101 mrioc->facts.diag_drvr_sz = le32_to_cpu(facts_data->diag_driver_size); in mpi3mr_process_factsdata()
3103 facts_data->max_devices_per_throttle_group; in mpi3mr_process_factsdata()
3105 le16_to_cpu(facts_data->io_throttle_data_length); in mpi3mr_process_factsdata()
3107 le16_to_cpu(facts_data->max_io_throttle_group); in mpi3mr_process_factsdata()
3108 mrioc->facts.io_throttle_low = le16_to_cpu(facts_data->io_throttle_low); in mpi3mr_process_factsdata()
3110 le16_to_cpu(facts_data->io_throttle_high); in mpi3mr_process_factsdata()
4135 struct mpi3_ioc_facts_data facts_data; in mpi3mr_init_ioc() local
4153 retval = mpi3mr_issue_iocfacts(mrioc, &facts_data); in mpi3mr_init_ioc()
4330 struct mpi3_ioc_facts_data facts_data; in mpi3mr_reinit_ioc() local
4355 retval = mpi3mr_issue_iocfacts(mrioc, &facts_data); in mpi3mr_reinit_ioc()