Lines Matching defs:func

716 	int func;
746 for (func = 0; func < max_function; ) {
747 if ((function != PCICFG_ALL_FUNC) && (function != func))
751 trans_device = func >> 3;
756 bus, trans_device, func & 7);
762 func & 7, &highest_bus, flags, is_pcie)) {
770 "[0x%x] slot [0x%x] func [0x%x]\n",
771 bus, trans_device, func & 7);
782 if (func)
787 "slot => [%d] func => [%d]\n",
788 bus, trans_device, func & 7);
796 trans_device, (func & 7))) == NULL) {
805 if (func == 0) {
836 func = next_function;
838 func++;
841 DEBUG1("Next Function - %x\n", func);
846 if (func == 0)
862 for (func = 0; func < max_function; func++) {
865 trans_device = func >> 3; /* ARI Device */
870 trans_device, (func & 0x7))) == NULL) {
876 trans_device, func & 7);
1552 int func;
1571 for (func = 0; func < max_function; func++) {
1574 trans_device = func >> 3; /* ARI Device */
1579 (func & 0x7))) == NULL)
1589 DEBUG2("Device [0x%x] function [%x] is busy\n", device, func);
1597 for (i = 0; i < func; i++) {
1624 for (func = 0; func < max_function; func++) {
1627 trans_device = func >> 3; /* ARI Device */
1632 trans_device, (func & 7))) == NULL) {
1638 trans_device, (func & 7));
1652 trans_device, func & 7);
4007 uint_t func, uint_t *highest_bus, pcicfg_flags_t flags, boolean_t is_pcie)
4032 device, func) != DDI_SUCCESS) {
4050 (void) pcie_init_bus(new_child, PCI_GETBDF(bus, device, func),
4089 if ((!(header_type & PCI_HEADER_MULTI)) && (func != 0)) {
4109 "[0x%x] func [0x%x]\n", bus, device, func);
4124 "[0x%x] func [0x%x]\n",
4125 bus, device, func);
4278 uint_t func, uint_t *highest_bus, pcicfg_flags_t flags, boolean_t is_pcie)
4342 device, func) != DDI_SUCCESS) {
4356 p.pci_phys_hi = PCICFG_MAKE_REG_HIGH(bus, device, func, 0);
4388 (void) pcie_init_bus(new_child, PCI_GETBDF(bus, device, func),
4429 if (!(header_type & PCI_HEADER_MULTI) && (func > 0)) {
4448 "[0x%x] func [0x%x]\n", bus, device, func);
4461 "[0x%x] func [0x%x]\n",
4462 bus, device, func);
4507 bus, device, func, request, &p)
4522 func, vendor_id, device_id, &fcode_addr,
4561 PCICFG_MAKE_REG_HIGH(bus, device, func, 0);
4568 (void) sprintf(unit_address, "%x,%x", device, func);
4689 ret = pcicfg_probe_children(parent, bus, device, func,
4701 parent, device, func)) == NULL) {
5263 "func [0x%x]\n", new_bus,
5271 "func [0x%x]\n", new_bus,
5744 uint_t bus, uint_t device, uint_t func)
5748 reg[0] = PCICFG_MAKE_REG_HIGH(bus, device, func, 0);
5785 pcicfg_load_fcode(dev_info_t *dip, uint_t bus, uint_t device, uint_t func,
5805 "bus %x device =%x func=%x rom_paddr=%lx\n",
5806 bus, device, func, rom_paddr);
5818 func, PCI_CONF_ROM);
6000 uint_t device, uint_t func, int32_t fc_request, pci_regspec_t *rom_regspec)
6036 hiword = PCICFG_MAKE_REG_HIGH(bus, device, func, i);
6125 phys_spec.pci_phys_hi = PCICFG_MAKE_REG_HIGH(bus, device, func, \