Searched refs:bdf (Results 1 – 11 of 11) sorted by relevance
| /misc/config_tools/board_config/ |
| A D | pci_devices_h.py | 15 def write_pbdf(i_cnt, bdf, bar_attr, config): argument 24 board_cfg_lib.PCI_DEV_BAR_DESC.pci_dev_dic[bdf].name_w_i_cnt = tmp_sub_name 26 bus = int(bdf.split(':')[0], 16) 27 dev = int(bdf.split(':')[1].split('.')[0], 16) 28 fun = int(bdf.split('.')[1], 16) 53 for bdf, bar_attr in board_cfg_lib.PCI_DEV_BAR_DESC.pci_dev_dic.items(): 54 if cnt_sub_name == bar_attr.name and bdf not in compared_bdf: 55 compared_bdf.append(bdf) 60 write_pbdf(i_cnt, bdf, bar_attr, config)
|
| A D | vbar_base_h.py | 76 def write_vbar(i_cnt, bdf, pci_bar_dic, bar_attr, \ argument 90 if bdf in pci_bar_dic.keys(): 91 bar_list = list(pci_bar_dic[bdf].keys()) 100 if bdf in pci_devs_per_vm[vm_i]: 118 bar_val = pci_bar_dic[bdf][bar_i].addr 119 if pci_bar_dic[bdf][bar_i].remapped: 438 for bdf, bar_attr in board_cfg_lib.PCI_DEV_BAR_DESC.pci_dev_dic.items(): 439 if cnt_sub_name == bar_attr.name and bdf not in compared_bdf: 440 compared_bdf.append(bdf) 444 write_vbar(i_cnt, bdf, board_cfg_lib.PCI_DEV_BAR_DESC.pci_bar_dic, bar_attr, \
|
| /misc/config_tools/static_allocators/ |
| A D | bdf.py | 26 return bdf 42 bdf = lib.lib.BusDevFunc.from_str(shm.get('vbdf')) 43 devdict[f"{IVSHMEM}_{shm.get('id')}"] = bdf 44 used.append(bdf) 58 dev_name = str(bdf) 59 devdict[dev_name] = bdf 60 used.append(bdf) 69 dev_name = str(bdf) 105 dev_list.append(bdf) 111 bdf = devdict.get(dev) [all …]
|
| A D | gpa.py | 156 bdf = pt_dev.split()[0] 157 bus = int(bdf.split(':')[0], 16) 168 dev_name = str(bdf) 181 bdf = pt_dev.split()[0] 182 bus = int(bdf.split(':')[0], 16) 190 dev_name = str(bdf) 228 dev_name = str(bdf) 276 bdf = pt_dev.split()[0] 277 bus = int(bdf.split(':')[0], 16) 296 bdf = pt_dev.split()[0] [all …]
|
| A D | intx.py | 165 bdf = lib.lib.BusDevFunc.from_str(pci_dev.split(" ")[0]) 166 address = hex((bdf.dev << 16) | (bdf.func)) 242 bdf = dev.split(" ")[0]
|
| /misc/config_tools/board_inspector/legacy/ |
| A D | misc.py | 55 def is_bdf_format(bdf): argument 58 …if len(bdf) == 7 and len(bdf.split(':')[0]) == 2 and len(bdf.split(':')[1].split('.')[0]) == 2 and… 65 bdf = '' 75 bdf = line.split(" ")[-1].lstrip("0000").lstrip(":") 76 if not is_bdf_format(bdf): 81 return bdf 98 bdf = f'{b[0]}:{b[1]}.{b[2]}' 100 bdf = '' 101 if bdf: 108 bdf = iomem2bdf(base) [all …]
|
| /misc/config_tools/board_inspector/extractors/ |
| A D | 70-device-classes.py | 88 bdf = (bus, device, function) 89 display_id = display_ids[bdf] 91 display_ids[bdf] += 1
|
| /misc/config_tools/library/ |
| A D | board_cfg_lib.py | 331 bdf = line.split()[0] 332 pci_desc[bdf] = line 646 bdf = vpid_line.split()[0] 647 known_caps_pci_devs[dev].append(bdf)
|
| A D | launch_cfg_lib.py | 465 if pt_sel.bdf[pt_devname][vm_id]: 507 def get_vpid_by_bdf(bdf): argument 512 if bdf in vpid_line:
|
| A D | scenario_cfg_lib.py | 72 bdf = pci_des.split()[0] 73 bdf_list.append(bdf)
|
| /misc/config_tools/acpi_gen/ |
| A D | asl_gen.py | 672 bdf = f"{bus_number:02x}:{device_number:02x}.{function_number}"
|
Completed in 18 milliseconds