Lines Matching defs:config

156 	{	"config-l@",		pfc_config_fetch},
157 { "config-w@", pfc_config_fetch},
158 { "config-b@", pfc_config_fetch},
159 { "config-l!", pfc_config_store},
160 { "config-w!", pfc_config_store},
161 { "config-b!", pfc_config_store},
847 * Construct a config address pci reg property from the args.
860 "invalid config addr: %x\n", p.pci_phys_hi);
861 return (fc_priv_error(cp, "non-config addr"));
865 * Extract the register number from the config address and
876 * character of the name which is "config-{l,w,b}@"
900 return (fc_priv_error(cp, "pci config map-in failed"));
919 return (fc_priv_error(cp, "pci config fetch failed"));
943 * Remove the temporary config space mapping
979 * Construct a config address pci reg property from the args.
992 "invalid config addr: %x\n", p.pci_phys_hi);
993 return (fc_priv_error(cp, "non-config addr"));
997 * Extract the register number from the config address and
1007 * character of the name which is "config-{l,w,b}@"
1031 return (fc_priv_error(cp, "pci config map-in failed"));
1050 return (fc_priv_error(cp, "pci config store failed"));
1074 * Remove the temporary config space mapping
1169 * Return the physical probe address: lo=0, mid=0, hi-config-addr
1273 pci_regspec_t config;
1348 config.pci_phys_hi = PCI_CONF_ADDR_MASK & phys_spec.pci_phys_hi;
1349 config.pci_phys_hi &= ~PCI_REG_REG_M;
1350 config.pci_phys_mid = config.pci_phys_low = 0;
1351 config.pci_size_hi = config.pci_size_low = 0;
1360 if (error = pci_map_phys(dip, &config, &virt, &acc, &h)) {
1399 pci_unmap_phys(&h, &config);
1434 pci_unmap_phys(&h, &config);
1484 pci_unmap_phys(&h, &config);
1523 pci_unmap_phys(&h, &config);
1543 pci_unmap_phys(&h, &config);
1553 pci_unmap_phys(&h, &config);
1557 pci_unmap_phys(&h, &config);
1566 pci_regspec_t config;
1575 config.pci_phys_hi = PCI_CONF_ADDR_MASK & phys_spec.pci_phys_hi;
1576 config.pci_phys_hi &= ~PCI_REG_REG_M;
1577 config.pci_phys_mid = config.pci_phys_low = 0;
1578 config.pci_size_hi = config.pci_size_low = 0;
1587 if (error = pci_map_phys(dip, &config, &virt, &acc, &h)) {
1623 pci_unmap_phys(&h, &config);
1639 pci_unmap_phys(&h, &config);
1651 pci_unmap_phys(&h, &config);
1662 pci_unmap_phys(&h, &config);
1667 pci_unmap_phys(&h, &config);
1681 pci_unmap_phys(&h, &config);
1685 pci_unmap_phys(&h, &config);