Lines Matching refs:ret
14 #define ADD_DEVICE_STRUCT_TO_LIST(ret) \ argument
20 list_add(pci_device_structure_list, &(ret->header.list)); \
25 list_init(&(ret->header.list)); \
26 pci_device_structure_list = &(ret->header.list); \
50 uint32_t ret = (uint)(io_in32(PORT_PCI_CONFIG_DATA)); in pci_read_config() local
52 return ret; in pci_read_config()
259 void *ret; in pci_read_header() local
271 ret = common_header; in pci_read_header()
273 …pci_read_general_device_header((struct pci_device_structure_general_device_t *)ret, bus, slot, fun… in pci_read_header()
275 ADD_DEVICE_STRUCT_TO_LIST(((struct pci_device_structure_general_device_t *)ret)); in pci_read_header()
278 return ret; in pci_read_header()
281 ret = common_header; in pci_read_header()
282 …pci_read_pci_to_pci_bridge_header((struct pci_device_structure_pci_to_pci_bridge_t *)ret, bus, slo… in pci_read_header()
284 ADD_DEVICE_STRUCT_TO_LIST(((struct pci_device_structure_pci_to_pci_bridge_t *)ret)); in pci_read_header()
287 return ret; in pci_read_header()
290 ret = common_header; in pci_read_header()
291 …cardbus_bridge_header((struct pci_device_structure_pci_to_cardbus_bridge_t *)ret, bus, slot, func); in pci_read_header()
293 ADD_DEVICE_STRUCT_TO_LIST(((struct pci_device_structure_pci_to_cardbus_bridge_t *)ret)); in pci_read_header()
296 return ret; in pci_read_header()