Lines Matching refs:func

114 	struct pci_func *func = NULL;  in shpchprm_find_available_resources()  local
218 func = shpchp_slot_find(primary_bus, dev_func >> 3, 0); in shpchprm_find_available_resources()
220 while (func && (func->function != (dev_func & 0x07))) { in shpchprm_find_available_resources()
221 dbg("func = %p b:d:f(%x:%x:%x)\n", func, primary_bus, dev_func >> 3, index); in shpchprm_find_available_resources()
222 func = shpchp_slot_find(primary_bus, dev_func >> 3, index++); in shpchprm_find_available_resources()
226 if (!func) { in shpchprm_find_available_resources()
261 io_node->next = func->io_head; in shpchprm_find_available_resources()
262 func->io_head = io_node; in shpchprm_find_available_resources()
281 mem_node->next = func->mem_head; in shpchprm_find_available_resources()
282 func->mem_head = mem_node; in shpchprm_find_available_resources()
304 p_mem_node->next = func->p_mem_head; in shpchprm_find_available_resources()
305 func->p_mem_head = p_mem_node; in shpchprm_find_available_resources()
327 bus_node->next = func->bus_head; in shpchprm_find_available_resources()
328 func->bus_head = bus_node; in shpchprm_find_available_resources()
348 struct pci_func *func, in shpchprm_set_hpp() argument
357 pci_bus->number = func->bus; in shpchprm_set_hpp()
358 devfn = PCI_DEVFN(func->device, func->function); in shpchprm_set_hpp()
365 …t secondary LT error. b:d:f(%02x:%02x:%02x)\n", __FUNCTION__, func->bus, func->device, func->funct… in shpchprm_set_hpp()
373 …dbg("%s: set LT error. b:d:f(%02x:%02x:%02x)\n", __FUNCTION__, func->bus, func->device, func->func… in shpchprm_set_hpp()
381 …dbg("%s: set CLS error. b:d:f(%02x:%02x:%02x)\n", __FUNCTION__, func->bus, func->device, func->fun… in shpchprm_set_hpp()
392 struct pci_func *func, in shpchprm_enable_card() argument
402 pci_bus->number = func->bus; in shpchprm_enable_card()
403 devfn = PCI_DEVFN(func->device, func->function); in shpchprm_enable_card()