Lines Matching refs:facts_data
17 struct mpi3_ioc_facts_data *facts_data);
2698 struct mpi3_ioc_facts_data *facts_data) in mpi3mr_issue_iocfacts() argument
2703 u32 data_len = sizeof(*facts_data); in mpi3mr_issue_iocfacts()
2757 memcpy(facts_data, (u8 *)data, data_len); in mpi3mr_issue_iocfacts()
2758 mpi3mr_process_factsdata(mrioc, facts_data); in mpi3mr_issue_iocfacts()
2812 struct mpi3_ioc_facts_data *facts_data) in mpi3mr_process_factsdata() argument
2816 if ((le16_to_cpu(facts_data->ioc_facts_data_length)) != in mpi3mr_process_factsdata()
2817 (sizeof(*facts_data) / 4)) { in mpi3mr_process_factsdata()
2820 sizeof(*facts_data), in mpi3mr_process_factsdata()
2821 le16_to_cpu(facts_data->ioc_facts_data_length) * 4); in mpi3mr_process_factsdata()
2827 if (le16_to_cpu(facts_data->ioc_request_frame_size) != (req_sz / 4)) { in mpi3mr_process_factsdata()
2830 req_sz / 4, le16_to_cpu(facts_data->ioc_request_frame_size)); in mpi3mr_process_factsdata()
2835 facts_flags = le32_to_cpu(facts_data->flags); in mpi3mr_process_factsdata()
2841 mrioc->facts.ioc_num = facts_data->ioc_number; in mpi3mr_process_factsdata()
2842 mrioc->facts.who_init = facts_data->who_init; in mpi3mr_process_factsdata()
2843 mrioc->facts.max_msix_vectors = le16_to_cpu(facts_data->max_msix_vectors); in mpi3mr_process_factsdata()
2849 mrioc->facts.protocol_flags = facts_data->protocol_flags; in mpi3mr_process_factsdata()
2850 mrioc->facts.mpi_version = le32_to_cpu(facts_data->mpi_version.word); in mpi3mr_process_factsdata()
2851 mrioc->facts.max_reqs = le16_to_cpu(facts_data->max_outstanding_requests); in mpi3mr_process_factsdata()
2852 mrioc->facts.product_id = le16_to_cpu(facts_data->product_id); in mpi3mr_process_factsdata()
2853 mrioc->facts.reply_sz = le16_to_cpu(facts_data->reply_frame_size) * 4; in mpi3mr_process_factsdata()
2854 mrioc->facts.exceptions = le16_to_cpu(facts_data->ioc_exceptions); in mpi3mr_process_factsdata()
2855 mrioc->facts.max_perids = le16_to_cpu(facts_data->max_persistent_id); in mpi3mr_process_factsdata()
2856 mrioc->facts.max_vds = le16_to_cpu(facts_data->max_vds); in mpi3mr_process_factsdata()
2857 mrioc->facts.max_hpds = le16_to_cpu(facts_data->max_host_pds); in mpi3mr_process_factsdata()
2858 mrioc->facts.max_advhpds = le16_to_cpu(facts_data->max_adv_host_pds); in mpi3mr_process_factsdata()
2859 mrioc->facts.max_raid_pds = le16_to_cpu(facts_data->max_raid_pds); in mpi3mr_process_factsdata()
2860 mrioc->facts.max_nvme = le16_to_cpu(facts_data->max_nvme); in mpi3mr_process_factsdata()
2862 le16_to_cpu(facts_data->max_pcie_switches); in mpi3mr_process_factsdata()
2864 le16_to_cpu(facts_data->max_sas_expanders); in mpi3mr_process_factsdata()
2865 mrioc->facts.max_data_length = le16_to_cpu(facts_data->max_data_length); in mpi3mr_process_factsdata()
2867 le16_to_cpu(facts_data->max_sas_initiators); in mpi3mr_process_factsdata()
2868 mrioc->facts.max_enclosures = le16_to_cpu(facts_data->max_enclosures); in mpi3mr_process_factsdata()
2869 mrioc->facts.min_devhandle = le16_to_cpu(facts_data->min_dev_handle); in mpi3mr_process_factsdata()
2870 mrioc->facts.max_devhandle = le16_to_cpu(facts_data->max_dev_handle); in mpi3mr_process_factsdata()
2872 le16_to_cpu(facts_data->max_operational_request_queues); in mpi3mr_process_factsdata()
2874 le16_to_cpu(facts_data->max_operational_reply_queues); in mpi3mr_process_factsdata()
2876 le32_to_cpu(facts_data->ioc_capabilities); in mpi3mr_process_factsdata()
2878 le16_to_cpu(facts_data->fw_version.build_num); in mpi3mr_process_factsdata()
2880 le16_to_cpu(facts_data->fw_version.customer_id); in mpi3mr_process_factsdata()
2881 mrioc->facts.fw_ver.ph_minor = facts_data->fw_version.phase_minor; in mpi3mr_process_factsdata()
2882 mrioc->facts.fw_ver.ph_major = facts_data->fw_version.phase_major; in mpi3mr_process_factsdata()
2883 mrioc->facts.fw_ver.gen_minor = facts_data->fw_version.gen_minor; in mpi3mr_process_factsdata()
2884 mrioc->facts.fw_ver.gen_major = facts_data->fw_version.gen_major; in mpi3mr_process_factsdata()
2887 mrioc->facts.sge_mod_mask = facts_data->sge_modifier_mask; in mpi3mr_process_factsdata()
2888 mrioc->facts.sge_mod_value = facts_data->sge_modifier_value; in mpi3mr_process_factsdata()
2889 mrioc->facts.sge_mod_shift = facts_data->sge_modifier_shift; in mpi3mr_process_factsdata()
2891 le16_to_cpu(facts_data->shutdown_timeout); in mpi3mr_process_factsdata()
2894 facts_data->max_devices_per_throttle_group; in mpi3mr_process_factsdata()
2896 le16_to_cpu(facts_data->io_throttle_data_length); in mpi3mr_process_factsdata()
2898 le16_to_cpu(facts_data->max_io_throttle_group); in mpi3mr_process_factsdata()
2899 mrioc->facts.io_throttle_low = le16_to_cpu(facts_data->io_throttle_low); in mpi3mr_process_factsdata()
2901 le16_to_cpu(facts_data->io_throttle_high); in mpi3mr_process_factsdata()
3809 struct mpi3_ioc_facts_data facts_data; in mpi3mr_init_ioc() local
3827 retval = mpi3mr_issue_iocfacts(mrioc, &facts_data); in mpi3mr_init_ioc()
3985 struct mpi3_ioc_facts_data facts_data; in mpi3mr_reinit_ioc() local
4010 retval = mpi3mr_issue_iocfacts(mrioc, &facts_data); in mpi3mr_reinit_ioc()