Lines Matching defs:func

555 	int func;
588 for (func = 0; func < max_function; ) {
590 if ((function != PCICFG_ALL_FUNC) && (function != func))
594 trans_device = func >> 3;
599 bus, trans_device, func & 7, &highest_bus,
608 "[0x%x] slot [0x%x] func [0x%x]\n",
609 bus, trans_device, func &7);
620 if (func)
625 "slot => [%d] func => [%d]\n",
626 bus, trans_device, func & 7);
634 trans_device, func & 7)) == NULL) {
676 if (func == 0) {
706 func = next_function;
708 func++;
710 DEBUG1("Next Function - %x\n", func);
715 if (func == 0)
727 for (func = 0; func < PCI_MAX_FUNCTIONS; func++) {
728 if ((function != PCICFG_ALL_FUNC) && (function != func))
731 if ((new_device = pcicfg_devi_find(devi, device, func))
737 device, func);
1457 int func;
1475 for (func = 0; func < max_function; func++) {
1476 if ((function != PCICFG_ALL_FUNC) && (function != func))
1480 trans_device = func >> 3; /* ARI Device */
1485 func & 7)) == NULL)
1497 trans_device, func & 7);
1505 for (i = 0; i < func; i++) {
1530 for (func = 0; func < max_function; func++) {
1531 if ((function != PCICFG_ALL_FUNC) && (function != func))
1535 trans_device = func >> 3; /* ARI Device */
1539 if ((child_dip = pcicfg_devi_find(devi, trans_device, func & 7))
1541 DEBUG2("No device at %x,%x\n", trans_device, func & 7);
1546 trans_device, func & 7);
1559 "function [0x%x]\n", trans_device, func & 7);
3674 uint_t func, uint_t *highest_bus, pcicfg_flags_t flags, boolean_t is_pcie)
3690 if (pcicfg_add_config_reg(new_child, bus, device, func)
3708 (void) pcie_init_bus(new_child, PCI_GETBDF(bus, device, func),
3746 if ((!(header_type & PCI_HEADER_MULTI)) && (func != 0)) {
3761 DEBUG3("--Bridge found bus [0x%x] device[0x%x] func [0x%x]\n",
3762 bus, device, func);
3778 "[0x%x] func [0x%x]\n", bus, device, func);
4519 "func [0x%x]\n", new_bus,
4528 "func [0x%x]\n", new_bus,
5076 uint_t bus, uint_t device, uint_t func)
5080 reg[0] = PCICFG_MAKE_REG_HIGH(bus, device, func, 0);