Lines Matching refs:ptr

435 …struct pci_device_structure_header_t *ptr = container_of(pci_device_structure_list, struct pci_dev…  in pci_init()  local
438 if (ptr->HeaderType == 0x0) in pci_init()
440 if (ptr->Status & 0x10) in pci_init()
442ptr->Class_code, ptr->SubClass, ptr->Status, ((struct pci_device_structure_general_device_t *)ptr)… in pci_init()
443ptr->Vendor_ID, ptr->Device_ID); in pci_init()
444 …uint32_t tmp = pci_read_config(ptr->bus, ptr->device, ptr->func, ((struct pci_device_structure_gen… in pci_init()
449 …e %d ] class code = %d\tsubclass=%d\tstatus=%#010lx\t", i, ptr->Class_code, ptr->SubClass, ptr->St… in pci_init()
452 else if (ptr->HeaderType == 0x1) in pci_init()
454 if (ptr->Status & 0x10) in pci_init()
456 …tcap_pointer=%#010lx", i, ptr->Class_code, ptr->SubClass, ptr->Status, ((struct pci_device_structu… in pci_init()
461 …e %d ] class code = %d\tsubclass=%d\tstatus=%#010lx\t", i, ptr->Class_code, ptr->SubClass, ptr->St… in pci_init()
464 else if (ptr->HeaderType == 0x2) in pci_init()
466 …e %d ] class code = %d\tsubclass=%d\tstatus=%#010lx\t", i, ptr->Class_code, ptr->SubClass, ptr->St… in pci_init()
469 ptr = container_of(list_next(&(ptr->list)), struct pci_device_structure_header_t, list); in pci_init()
485 …struct pci_device_structure_header_t *ptr = container_of(pci_device_structure_list, struct pci_dev… in pci_get_device_structure() local
490 if ((ptr->Class_code == class_code) && (ptr->SubClass == sub_class)) in pci_get_device_structure()
492 …rogIF=%d, bar5=%#010lx", i, ptr->Class_code, ptr->SubClass, ptr->ProgIF, ((struct pci_device_struc… in pci_get_device_structure()
494 res[*count_res] = ptr; in pci_get_device_structure()
497 ptr = container_of(list_next(&(ptr->list)), struct pci_device_structure_header_t, list); in pci_get_device_structure()