Lines Matching refs:cfg_req

5462 	struct mpi3_config_request *cfg_req, int timeout, u16 *ioc_status)  in mpi3mr_post_cfg_req()  argument
5479 cfg_req->host_tag = cpu_to_le16(MPI3MR_HOSTTAG_CFG_CMDS); in mpi3mr_post_cfg_req()
5480 cfg_req->function = MPI3_FUNCTION_CONFIG; in mpi3mr_post_cfg_req()
5485 dprint_dump(cfg_req, sizeof(struct mpi3_config_request), in mpi3mr_post_cfg_req()
5487 retval = mpi3mr_admin_request_post(mrioc, cfg_req, sizeof(*cfg_req), 1); in mpi3mr_post_cfg_req()
5551 struct mpi3_config_request *cfg_req, in mpi3mr_process_cfg_req() argument
5562 if (cfg_req->action == MPI3_CONFIG_ACTION_PAGE_HEADER) in mpi3mr_process_cfg_req()
5567 cfg_req->action, cfg_req->page_type, in mpi3mr_process_cfg_req()
5568 cfg_req->page_number); in mpi3mr_process_cfg_req()
5573 if (cfg_req->action in mpi3mr_process_cfg_req()
5578 if ((cfg_req->action == in mpi3mr_process_cfg_req()
5580 (cfg_req->action == in mpi3mr_process_cfg_req()
5591 cfg_req->action, cfg_req->page_type, in mpi3mr_process_cfg_req()
5592 cfg_req->page_number, cfg_hdr->page_attribute); in mpi3mr_process_cfg_req()
5596 cfg_req->page_length = cfg_hdr->page_length; in mpi3mr_process_cfg_req()
5597 cfg_req->page_version = cfg_hdr->page_version; in mpi3mr_process_cfg_req()
5602 mpi3mr_add_sg_single(&cfg_req->sgl, sgl_flags, mem_desc.size, in mpi3mr_process_cfg_req()
5605 if ((cfg_req->action == MPI3_CONFIG_ACTION_WRITE_PERSISTENT) || in mpi3mr_process_cfg_req()
5606 (cfg_req->action == MPI3_CONFIG_ACTION_WRITE_CURRENT)) { in mpi3mr_process_cfg_req()
5614 if (mpi3mr_post_cfg_req(mrioc, cfg_req, timeout, ioc_status)) in mpi3mr_process_cfg_req()
5619 (cfg_req->action != MPI3_CONFIG_ACTION_WRITE_PERSISTENT) && in mpi3mr_process_cfg_req()
5620 (cfg_req->action != MPI3_CONFIG_ACTION_WRITE_CURRENT)) { in mpi3mr_process_cfg_req()
5654 struct mpi3_config_request cfg_req; in mpi3mr_cfg_get_dev_pg0() local
5659 memset(&cfg_req, 0, sizeof(cfg_req)); in mpi3mr_cfg_get_dev_pg0()
5661 cfg_req.function = MPI3_FUNCTION_CONFIG; in mpi3mr_cfg_get_dev_pg0()
5662 cfg_req.action = MPI3_CONFIG_ACTION_PAGE_HEADER; in mpi3mr_cfg_get_dev_pg0()
5663 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_DEVICE; in mpi3mr_cfg_get_dev_pg0()
5664 cfg_req.page_number = 0; in mpi3mr_cfg_get_dev_pg0()
5665 cfg_req.page_address = 0; in mpi3mr_cfg_get_dev_pg0()
5667 if (mpi3mr_process_cfg_req(mrioc, &cfg_req, NULL, in mpi3mr_cfg_get_dev_pg0()
5677 cfg_req.action = MPI3_CONFIG_ACTION_READ_CURRENT; in mpi3mr_cfg_get_dev_pg0()
5680 cfg_req.page_address = cpu_to_le32(page_address); in mpi3mr_cfg_get_dev_pg0()
5681 if (mpi3mr_process_cfg_req(mrioc, &cfg_req, &cfg_hdr, in mpi3mr_cfg_get_dev_pg0()
5714 struct mpi3_config_request cfg_req; in mpi3mr_cfg_get_sas_phy_pg0() local
5719 memset(&cfg_req, 0, sizeof(cfg_req)); in mpi3mr_cfg_get_sas_phy_pg0()
5721 cfg_req.function = MPI3_FUNCTION_CONFIG; in mpi3mr_cfg_get_sas_phy_pg0()
5722 cfg_req.action = MPI3_CONFIG_ACTION_PAGE_HEADER; in mpi3mr_cfg_get_sas_phy_pg0()
5723 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_SAS_PHY; in mpi3mr_cfg_get_sas_phy_pg0()
5724 cfg_req.page_number = 0; in mpi3mr_cfg_get_sas_phy_pg0()
5725 cfg_req.page_address = 0; in mpi3mr_cfg_get_sas_phy_pg0()
5727 if (mpi3mr_process_cfg_req(mrioc, &cfg_req, NULL, in mpi3mr_cfg_get_sas_phy_pg0()
5737 cfg_req.action = MPI3_CONFIG_ACTION_READ_CURRENT; in mpi3mr_cfg_get_sas_phy_pg0()
5740 cfg_req.page_address = cpu_to_le32(page_address); in mpi3mr_cfg_get_sas_phy_pg0()
5741 if (mpi3mr_process_cfg_req(mrioc, &cfg_req, &cfg_hdr, in mpi3mr_cfg_get_sas_phy_pg0()
5773 struct mpi3_config_request cfg_req; in mpi3mr_cfg_get_sas_phy_pg1() local
5778 memset(&cfg_req, 0, sizeof(cfg_req)); in mpi3mr_cfg_get_sas_phy_pg1()
5780 cfg_req.function = MPI3_FUNCTION_CONFIG; in mpi3mr_cfg_get_sas_phy_pg1()
5781 cfg_req.action = MPI3_CONFIG_ACTION_PAGE_HEADER; in mpi3mr_cfg_get_sas_phy_pg1()
5782 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_SAS_PHY; in mpi3mr_cfg_get_sas_phy_pg1()
5783 cfg_req.page_number = 1; in mpi3mr_cfg_get_sas_phy_pg1()
5784 cfg_req.page_address = 0; in mpi3mr_cfg_get_sas_phy_pg1()
5786 if (mpi3mr_process_cfg_req(mrioc, &cfg_req, NULL, in mpi3mr_cfg_get_sas_phy_pg1()
5796 cfg_req.action = MPI3_CONFIG_ACTION_READ_CURRENT; in mpi3mr_cfg_get_sas_phy_pg1()
5799 cfg_req.page_address = cpu_to_le32(page_address); in mpi3mr_cfg_get_sas_phy_pg1()
5800 if (mpi3mr_process_cfg_req(mrioc, &cfg_req, &cfg_hdr, in mpi3mr_cfg_get_sas_phy_pg1()
5833 struct mpi3_config_request cfg_req; in mpi3mr_cfg_get_sas_exp_pg0() local
5838 memset(&cfg_req, 0, sizeof(cfg_req)); in mpi3mr_cfg_get_sas_exp_pg0()
5840 cfg_req.function = MPI3_FUNCTION_CONFIG; in mpi3mr_cfg_get_sas_exp_pg0()
5841 cfg_req.action = MPI3_CONFIG_ACTION_PAGE_HEADER; in mpi3mr_cfg_get_sas_exp_pg0()
5842 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_SAS_EXPANDER; in mpi3mr_cfg_get_sas_exp_pg0()
5843 cfg_req.page_number = 0; in mpi3mr_cfg_get_sas_exp_pg0()
5844 cfg_req.page_address = 0; in mpi3mr_cfg_get_sas_exp_pg0()
5846 if (mpi3mr_process_cfg_req(mrioc, &cfg_req, NULL, in mpi3mr_cfg_get_sas_exp_pg0()
5856 cfg_req.action = MPI3_CONFIG_ACTION_READ_CURRENT; in mpi3mr_cfg_get_sas_exp_pg0()
5860 cfg_req.page_address = cpu_to_le32(page_address); in mpi3mr_cfg_get_sas_exp_pg0()
5861 if (mpi3mr_process_cfg_req(mrioc, &cfg_req, &cfg_hdr, in mpi3mr_cfg_get_sas_exp_pg0()
5893 struct mpi3_config_request cfg_req; in mpi3mr_cfg_get_sas_exp_pg1() local
5898 memset(&cfg_req, 0, sizeof(cfg_req)); in mpi3mr_cfg_get_sas_exp_pg1()
5900 cfg_req.function = MPI3_FUNCTION_CONFIG; in mpi3mr_cfg_get_sas_exp_pg1()
5901 cfg_req.action = MPI3_CONFIG_ACTION_PAGE_HEADER; in mpi3mr_cfg_get_sas_exp_pg1()
5902 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_SAS_EXPANDER; in mpi3mr_cfg_get_sas_exp_pg1()
5903 cfg_req.page_number = 1; in mpi3mr_cfg_get_sas_exp_pg1()
5904 cfg_req.page_address = 0; in mpi3mr_cfg_get_sas_exp_pg1()
5906 if (mpi3mr_process_cfg_req(mrioc, &cfg_req, NULL, in mpi3mr_cfg_get_sas_exp_pg1()
5916 cfg_req.action = MPI3_CONFIG_ACTION_READ_CURRENT; in mpi3mr_cfg_get_sas_exp_pg1()
5920 cfg_req.page_address = cpu_to_le32(page_address); in mpi3mr_cfg_get_sas_exp_pg1()
5921 if (mpi3mr_process_cfg_req(mrioc, &cfg_req, &cfg_hdr, in mpi3mr_cfg_get_sas_exp_pg1()
5953 struct mpi3_config_request cfg_req; in mpi3mr_cfg_get_enclosure_pg0() local
5958 memset(&cfg_req, 0, sizeof(cfg_req)); in mpi3mr_cfg_get_enclosure_pg0()
5960 cfg_req.function = MPI3_FUNCTION_CONFIG; in mpi3mr_cfg_get_enclosure_pg0()
5961 cfg_req.action = MPI3_CONFIG_ACTION_PAGE_HEADER; in mpi3mr_cfg_get_enclosure_pg0()
5962 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_ENCLOSURE; in mpi3mr_cfg_get_enclosure_pg0()
5963 cfg_req.page_number = 0; in mpi3mr_cfg_get_enclosure_pg0()
5964 cfg_req.page_address = 0; in mpi3mr_cfg_get_enclosure_pg0()
5966 if (mpi3mr_process_cfg_req(mrioc, &cfg_req, NULL, in mpi3mr_cfg_get_enclosure_pg0()
5976 cfg_req.action = MPI3_CONFIG_ACTION_READ_CURRENT; in mpi3mr_cfg_get_enclosure_pg0()
5979 cfg_req.page_address = cpu_to_le32(page_address); in mpi3mr_cfg_get_enclosure_pg0()
5980 if (mpi3mr_process_cfg_req(mrioc, &cfg_req, &cfg_hdr, in mpi3mr_cfg_get_enclosure_pg0()
6007 struct mpi3_config_request cfg_req; in mpi3mr_cfg_get_sas_io_unit_pg0() local
6012 memset(&cfg_req, 0, sizeof(cfg_req)); in mpi3mr_cfg_get_sas_io_unit_pg0()
6014 cfg_req.function = MPI3_FUNCTION_CONFIG; in mpi3mr_cfg_get_sas_io_unit_pg0()
6015 cfg_req.action = MPI3_CONFIG_ACTION_PAGE_HEADER; in mpi3mr_cfg_get_sas_io_unit_pg0()
6016 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_SAS_IO_UNIT; in mpi3mr_cfg_get_sas_io_unit_pg0()
6017 cfg_req.page_number = 0; in mpi3mr_cfg_get_sas_io_unit_pg0()
6018 cfg_req.page_address = 0; in mpi3mr_cfg_get_sas_io_unit_pg0()
6020 if (mpi3mr_process_cfg_req(mrioc, &cfg_req, NULL, in mpi3mr_cfg_get_sas_io_unit_pg0()
6030 cfg_req.action = MPI3_CONFIG_ACTION_READ_CURRENT; in mpi3mr_cfg_get_sas_io_unit_pg0()
6032 if (mpi3mr_process_cfg_req(mrioc, &cfg_req, &cfg_hdr, in mpi3mr_cfg_get_sas_io_unit_pg0()
6063 struct mpi3_config_request cfg_req; in mpi3mr_cfg_get_sas_io_unit_pg1() local
6068 memset(&cfg_req, 0, sizeof(cfg_req)); in mpi3mr_cfg_get_sas_io_unit_pg1()
6070 cfg_req.function = MPI3_FUNCTION_CONFIG; in mpi3mr_cfg_get_sas_io_unit_pg1()
6071 cfg_req.action = MPI3_CONFIG_ACTION_PAGE_HEADER; in mpi3mr_cfg_get_sas_io_unit_pg1()
6072 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_SAS_IO_UNIT; in mpi3mr_cfg_get_sas_io_unit_pg1()
6073 cfg_req.page_number = 1; in mpi3mr_cfg_get_sas_io_unit_pg1()
6074 cfg_req.page_address = 0; in mpi3mr_cfg_get_sas_io_unit_pg1()
6076 if (mpi3mr_process_cfg_req(mrioc, &cfg_req, NULL, in mpi3mr_cfg_get_sas_io_unit_pg1()
6086 cfg_req.action = MPI3_CONFIG_ACTION_READ_CURRENT; in mpi3mr_cfg_get_sas_io_unit_pg1()
6088 if (mpi3mr_process_cfg_req(mrioc, &cfg_req, &cfg_hdr, in mpi3mr_cfg_get_sas_io_unit_pg1()
6120 struct mpi3_config_request cfg_req; in mpi3mr_cfg_set_sas_io_unit_pg1() local
6124 memset(&cfg_req, 0, sizeof(cfg_req)); in mpi3mr_cfg_set_sas_io_unit_pg1()
6126 cfg_req.function = MPI3_FUNCTION_CONFIG; in mpi3mr_cfg_set_sas_io_unit_pg1()
6127 cfg_req.action = MPI3_CONFIG_ACTION_PAGE_HEADER; in mpi3mr_cfg_set_sas_io_unit_pg1()
6128 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_SAS_IO_UNIT; in mpi3mr_cfg_set_sas_io_unit_pg1()
6129 cfg_req.page_number = 1; in mpi3mr_cfg_set_sas_io_unit_pg1()
6130 cfg_req.page_address = 0; in mpi3mr_cfg_set_sas_io_unit_pg1()
6132 if (mpi3mr_process_cfg_req(mrioc, &cfg_req, NULL, in mpi3mr_cfg_set_sas_io_unit_pg1()
6142 cfg_req.action = MPI3_CONFIG_ACTION_WRITE_CURRENT; in mpi3mr_cfg_set_sas_io_unit_pg1()
6144 if (mpi3mr_process_cfg_req(mrioc, &cfg_req, &cfg_hdr, in mpi3mr_cfg_set_sas_io_unit_pg1()
6155 cfg_req.action = MPI3_CONFIG_ACTION_WRITE_PERSISTENT; in mpi3mr_cfg_set_sas_io_unit_pg1()
6157 if (mpi3mr_process_cfg_req(mrioc, &cfg_req, &cfg_hdr, in mpi3mr_cfg_set_sas_io_unit_pg1()
6188 struct mpi3_config_request cfg_req; in mpi3mr_cfg_get_driver_pg1() local
6193 memset(&cfg_req, 0, sizeof(cfg_req)); in mpi3mr_cfg_get_driver_pg1()
6195 cfg_req.function = MPI3_FUNCTION_CONFIG; in mpi3mr_cfg_get_driver_pg1()
6196 cfg_req.action = MPI3_CONFIG_ACTION_PAGE_HEADER; in mpi3mr_cfg_get_driver_pg1()
6197 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_DRIVER; in mpi3mr_cfg_get_driver_pg1()
6198 cfg_req.page_number = 1; in mpi3mr_cfg_get_driver_pg1()
6199 cfg_req.page_address = 0; in mpi3mr_cfg_get_driver_pg1()
6201 if (mpi3mr_process_cfg_req(mrioc, &cfg_req, NULL, in mpi3mr_cfg_get_driver_pg1()
6211 cfg_req.action = MPI3_CONFIG_ACTION_READ_CURRENT; in mpi3mr_cfg_get_driver_pg1()
6213 if (mpi3mr_process_cfg_req(mrioc, &cfg_req, &cfg_hdr, in mpi3mr_cfg_get_driver_pg1()
6245 struct mpi3_config_request cfg_req; in mpi3mr_cfg_get_driver_pg2() local
6250 memset(&cfg_req, 0, sizeof(cfg_req)); in mpi3mr_cfg_get_driver_pg2()
6252 cfg_req.function = MPI3_FUNCTION_CONFIG; in mpi3mr_cfg_get_driver_pg2()
6253 cfg_req.action = MPI3_CONFIG_ACTION_PAGE_HEADER; in mpi3mr_cfg_get_driver_pg2()
6254 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_DRIVER; in mpi3mr_cfg_get_driver_pg2()
6255 cfg_req.page_number = 2; in mpi3mr_cfg_get_driver_pg2()
6256 cfg_req.page_address = 0; in mpi3mr_cfg_get_driver_pg2()
6257 cfg_req.page_version = MPI3_DRIVER2_PAGEVERSION; in mpi3mr_cfg_get_driver_pg2()
6259 if (mpi3mr_process_cfg_req(mrioc, &cfg_req, NULL, in mpi3mr_cfg_get_driver_pg2()
6270 cfg_req.action = page_action; in mpi3mr_cfg_get_driver_pg2()
6272 if (mpi3mr_process_cfg_req(mrioc, &cfg_req, &cfg_hdr, in mpi3mr_cfg_get_driver_pg2()