Lines Matching refs:rsrc_ptr
1021 struct ebda_pci_rsrc *rsrc_ptr; in ebda_rsrc_rsrc() local
1034 rsrc_ptr = alloc_ebda_pci_rsrc (); in ebda_rsrc_rsrc()
1035 if (!rsrc_ptr) { in ebda_rsrc_rsrc()
1039 rsrc_ptr->rsrc_type = type; in ebda_rsrc_rsrc()
1041 rsrc_ptr->bus_num = readb (io_mem + addr); in ebda_rsrc_rsrc()
1042 rsrc_ptr->dev_fun = readb (io_mem + addr + 1); in ebda_rsrc_rsrc()
1043 rsrc_ptr->start_addr = readw (io_mem + addr + 2); in ebda_rsrc_rsrc()
1044 rsrc_ptr->end_addr = readw (io_mem + addr + 4); in ebda_rsrc_rsrc()
1049 …rsrc_ptr->rsrc_type, rsrc_ptr->bus_num, rsrc_ptr->dev_fun, rsrc_ptr->start_addr, rsrc_ptr->end_add… in ebda_rsrc_rsrc()
1051 list_add (&rsrc_ptr->ebda_pci_rsrc_list, &ibmphp_ebda_pci_rsrc_head); in ebda_rsrc_rsrc()
1055 rsrc_ptr = alloc_ebda_pci_rsrc (); in ebda_rsrc_rsrc()
1056 if (!rsrc_ptr ) { in ebda_rsrc_rsrc()
1060 rsrc_ptr->rsrc_type = type; in ebda_rsrc_rsrc()
1062 rsrc_ptr->bus_num = readb (io_mem + addr); in ebda_rsrc_rsrc()
1063 rsrc_ptr->dev_fun = readb (io_mem + addr + 1); in ebda_rsrc_rsrc()
1064 rsrc_ptr->start_addr = readl (io_mem + addr + 2); in ebda_rsrc_rsrc()
1065 rsrc_ptr->end_addr = readl (io_mem + addr + 6); in ebda_rsrc_rsrc()
1070 …rsrc_ptr->rsrc_type, rsrc_ptr->bus_num, rsrc_ptr->dev_fun, rsrc_ptr->start_addr, rsrc_ptr->end_add… in ebda_rsrc_rsrc()
1072 list_add (&rsrc_ptr->ebda_pci_rsrc_list, &ibmphp_ebda_pci_rsrc_head); in ebda_rsrc_rsrc()