Lines Matching refs:cfg

295 	CONFIGPARMS		 cfg;  in mptfc_GetFcDevPage0()  local
328 cfg.cfghdr.hdr = &hdr; in mptfc_GetFcDevPage0()
329 cfg.physAddr = -1; in mptfc_GetFcDevPage0()
330 cfg.action = MPI_CONFIG_ACTION_PAGE_HEADER; in mptfc_GetFcDevPage0()
331 cfg.dir = 0; in mptfc_GetFcDevPage0()
332 cfg.pageAddr = port_id; in mptfc_GetFcDevPage0()
333 cfg.timeout = 0; in mptfc_GetFcDevPage0()
335 if ((rc = mpt_config(ioc, &cfg)) != 0) in mptfc_GetFcDevPage0()
348 cfg.physAddr = page0_dma; in mptfc_GetFcDevPage0()
349 cfg.action = MPI_CONFIG_ACTION_PAGE_READ_CURRENT; in mptfc_GetFcDevPage0()
351 if ((rc = mpt_config(ioc, &cfg)) == 0) { in mptfc_GetFcDevPage0()
742 CONFIGPARMS cfg; in mptfc_GetFcPortPage0() local
759 cfg.cfghdr.hdr = &hdr; in mptfc_GetFcPortPage0()
760 cfg.physAddr = -1; in mptfc_GetFcPortPage0()
761 cfg.action = MPI_CONFIG_ACTION_PAGE_HEADER; in mptfc_GetFcPortPage0()
762 cfg.dir = 0; in mptfc_GetFcPortPage0()
763 cfg.pageAddr = portnum; in mptfc_GetFcPortPage0()
764 cfg.timeout = 0; in mptfc_GetFcPortPage0()
766 if ((rc = mpt_config(ioc, &cfg)) != 0) in mptfc_GetFcPortPage0()
779 cfg.physAddr = page0_dma; in mptfc_GetFcPortPage0()
780 cfg.action = MPI_CONFIG_ACTION_PAGE_READ_CURRENT; in mptfc_GetFcPortPage0()
782 if ((rc = mpt_config(ioc, &cfg)) == 0) { in mptfc_GetFcPortPage0()
838 CONFIGPARMS cfg; in mptfc_WriteFcPortPage1() local
852 cfg.cfghdr.hdr = &hdr; in mptfc_WriteFcPortPage1()
853 cfg.physAddr = -1; in mptfc_WriteFcPortPage1()
854 cfg.action = MPI_CONFIG_ACTION_PAGE_HEADER; in mptfc_WriteFcPortPage1()
855 cfg.dir = 0; in mptfc_WriteFcPortPage1()
856 cfg.pageAddr = portnum; in mptfc_WriteFcPortPage1()
857 cfg.timeout = 0; in mptfc_WriteFcPortPage1()
859 if ((rc = mpt_config(ioc, &cfg)) != 0) in mptfc_WriteFcPortPage1()
868 cfg.physAddr = ioc->fc_data.fc_port_page1[portnum].dma; in mptfc_WriteFcPortPage1()
869 cfg.action = MPI_CONFIG_ACTION_PAGE_WRITE_CURRENT; in mptfc_WriteFcPortPage1()
870 cfg.dir = 1; in mptfc_WriteFcPortPage1()
872 rc = mpt_config(ioc, &cfg); in mptfc_WriteFcPortPage1()
881 CONFIGPARMS cfg; in mptfc_GetFcPortPage1() local
895 cfg.cfghdr.hdr = &hdr; in mptfc_GetFcPortPage1()
896 cfg.physAddr = -1; in mptfc_GetFcPortPage1()
897 cfg.action = MPI_CONFIG_ACTION_PAGE_HEADER; in mptfc_GetFcPortPage1()
898 cfg.dir = 0; in mptfc_GetFcPortPage1()
899 cfg.pageAddr = portnum; in mptfc_GetFcPortPage1()
900 cfg.timeout = 0; in mptfc_GetFcPortPage1()
902 if ((rc = mpt_config(ioc, &cfg)) != 0) in mptfc_GetFcPortPage1()
935 cfg.physAddr = page1_dma; in mptfc_GetFcPortPage1()
936 cfg.action = MPI_CONFIG_ACTION_PAGE_READ_CURRENT; in mptfc_GetFcPortPage1()
938 if ((rc = mpt_config(ioc, &cfg)) == 0) { in mptfc_GetFcPortPage1()