/u-boot/lib/efi_loader/ |
A D | efi_variable.c | 49 const efi_guid_t *vendor, in efi_variable_authenticate() argument 119 efi_image_region_add(regs, (uint8_t *)vendor, in efi_variable_authenticate() 120 (uint8_t *)vendor + sizeof(*vendor), 1); in efi_variable_authenticate() 143 var_type = efi_auth_var_get_type(variable, vendor); in efi_variable_authenticate() 198 const efi_guid_t *vendor, in efi_variable_authenticate() argument 217 u16 *variable_name, efi_guid_t *vendor) in efi_get_next_variable_name_int() argument 232 if (!variable_name || !*variable_name || !vendor || in efi_set_variable_int() 238 var = efi_var_mem_find(vendor, variable_name, NULL); in efi_set_variable_int() 244 var_type = efi_auth_var_get_type(variable_name, vendor); in efi_set_variable_int() 289 ret = efi_variable_authenticate(variable_name, vendor, in efi_set_variable_int() [all …]
|
A D | efi_root_node.c | 18 struct efi_device_path_vendor vendor; member 41 dp->vendor.dp.type = DEVICE_PATH_TYPE_HARDWARE_DEVICE; in efi_root_node_register() 42 dp->vendor.dp.sub_type = DEVICE_PATH_SUB_TYPE_VENDOR; in efi_root_node_register() 43 dp->vendor.dp.length = sizeof(struct efi_device_path_vendor); in efi_root_node_register() 44 dp->vendor.guid = efi_u_boot_guid; in efi_root_node_register()
|
A D | efi_var_common.c | 56 const efi_guid_t *vendor, u32 *attributes, in efi_get_variable() argument 61 EFI_ENTRY("\"%ls\" %pUl %p %p %p", variable_name, vendor, attributes, in efi_get_variable() 64 ret = efi_get_variable_int(variable_name, vendor, attributes, in efi_get_variable() 90 const efi_guid_t *vendor, u32 attributes, in efi_set_variable() argument 95 EFI_ENTRY("\"%ls\" %pUl %x %zu %p", variable_name, vendor, attributes, in efi_set_variable() 102 ret = efi_set_variable_int(variable_name, vendor, attributes, in efi_set_variable() 122 efi_guid_t *vendor) in efi_get_next_variable_name() argument 126 EFI_ENTRY("%p \"%ls\" %pUl", variable_name_size, variable_name, vendor); in efi_get_next_variable_name() 129 vendor); in efi_get_next_variable_name()
|
A D | efi_var_mem.c | 138 const efi_guid_t *vendor, u32 attributes, in efi_var_mem_ins() argument 162 efi_memcpy_runtime(&var->guid, vendor, sizeof(efi_guid_t)); in efi_var_mem_ins() 277 efi_get_variable_mem(u16 *variable_name, const efi_guid_t *vendor, u32 *attributes, in efi_get_variable_mem() argument 284 if (!variable_name || !vendor || !data_size) in efi_get_variable_mem() 286 var = efi_var_mem_find(vendor, variable_name, NULL); in efi_get_variable_mem() 314 u16 *variable_name, efi_guid_t *vendor) in efi_get_next_variable_name_mem() argument 320 if (!variable_name_size || !variable_name || !vendor) in efi_get_next_variable_name_mem() 327 if (!efi_var_mem_find(vendor, variable_name, &var) && *variable_name) in efi_get_next_variable_name_mem() 344 efi_memcpy_runtime(vendor, &var->guid, sizeof(efi_guid_t)); in efi_get_next_variable_name_mem()
|
A D | efi_variable_tee.c | 288 const efi_guid_t *vendor, in set_property_int() argument 307 guidcpy(&smm_property->guid, vendor); in set_property_int() 321 const efi_guid_t *vendor, in get_property_int() argument 341 guidcpy(&smm_property->guid, vendor); in get_property_int() 376 if (!variable_name || !vendor || !data_size) { in efi_get_variable_int() 405 guidcpy(&var_acc->guid, vendor); in efi_get_variable_int() 420 ret = get_property_int(variable_name, name_size, vendor, &var_property); in efi_get_variable_int() 517 if (!variable_name || variable_name[0] == 0 || !vendor) { in efi_set_variable_int() 550 ret = get_property_int(variable_name, name_size, vendor, in efi_set_variable_int() 569 guidcpy(&var_acc->guid, vendor); in efi_set_variable_int() [all …]
|
A D | efi_bootmgr.c | 43 static void *get_var(u16 *name, const efi_guid_t *vendor, in get_var() argument 50 ret = efi_get_variable_int(name, vendor, NULL, size, buf, NULL); in get_var() 53 ret = efi_get_variable_int(name, vendor, NULL, size, buf, NULL); in get_var()
|
/u-boot/drivers/pci/ |
A D | pci_sandbox.c | 20 u16 vendor; member 57 u16 vendor, device; in sandbox_pci_read_config() local 61 vendor = priv->vendev[devfn].vendor; in sandbox_pci_read_config() 63 if (offset == PCI_VENDOR_ID && vendor) in sandbox_pci_read_config() 64 *valuep = vendor; in sandbox_pci_read_config() 105 priv->vendev[devfn].vendor = fdt32_to_cpu(cell[2]); in sandbox_pci_probe()
|
A D | pci_common.c | 272 pci_dev_t pci_find_device(unsigned int vendor, unsigned int device, int index) in pci_find_device() argument 276 ids[0].vendor = vendor; in pci_find_device() 286 u16 vendor, device; in pci_hose_find_devices() local 306 pci_read_config_word(bdf, PCI_VENDOR_ID, &vendor); in pci_hose_find_devices() 309 for (i = 0; ids[i].vendor != 0; i++) { in pci_hose_find_devices() 310 if (vendor == ids[i].vendor && in pci_hose_find_devices()
|
A D | pci.c | 289 unsigned int vendor, in pci_find_config() argument 297 for (table = hose->config_table; table && table->vendor; table++) { in pci_find_config() 298 if ((table->vendor == PCI_ANY_ID || table->vendor == vendor) && in pci_find_config() 343 unsigned short vendor, device, class; in pci_hose_scan_bus() local 368 pci_hose_read_config_word(hose, dev, PCI_VENDOR_ID, &vendor); in pci_hose_scan_bus() 370 if (vendor == 0xffff || vendor == 0x0000) in pci_hose_scan_bus() 383 board_pci_fixup_dev(hose, dev, vendor, device, class); in pci_hose_scan_bus() 395 vendor, device, pci_class_str(class >> 8)); in pci_hose_scan_bus() 403 cfg = pci_find_config(hose, class, vendor, device, in pci_hose_scan_bus()
|
A D | pci-uclass.c | 173 for (i = 0; ids[i].vendor != 0; i++) { in pci_device_matches_ids() 174 if (pplat->vendor == ids[i].vendor && in pci_device_matches_ids() 230 if (pplat->vendor == vendor && pplat->device == device) { in dm_pci_bus_find_device() 666 if ((id->vendor == PCI_ANY_ID || id->vendor == find->vendor) && in pci_match_one_id() 792 ulong vendor, device; in pci_bind_bus_devices() local 819 if (vendor == 0xffff || vendor == 0x0000) in pci_bind_bus_devices() 846 find_id.vendor = vendor; in pci_bind_bus_devices() 867 pplat->vendor = vendor; in pci_bind_bus_devices() 1690 u16 vendor, device; in pci_sriov_init() local 1754 find_id.vendor = vendor; in pci_sriov_init() [all …]
|
/u-boot/include/ |
A D | efi_variable.h | 34 efi_status_t efi_get_variable_int(u16 *variable_name, const efi_guid_t *vendor, 49 efi_status_t efi_set_variable_int(u16 *variable_name, const efi_guid_t *vendor, 67 efi_guid_t *vendor); 224 const efi_guid_t *vendor, u32 attributes, 264 efi_guid_t *vendor); 279 efi_get_variable_mem(u16 *variable_name, const efi_guid_t *vendor, u32 *attributes,
|
A D | efi_load_initrd.h | 21 struct efi_device_path_vendor vendor; member
|
/u-boot/test/dm/ |
A D | pci.c | 30 u16 vendor, device; in dm_test_pci_busdev() local 36 vendor = 0; in dm_test_pci_busdev() 37 ut_assertok(dm_pci_read_config16(swap, PCI_VENDOR_ID, &vendor)); in dm_test_pci_busdev() 38 ut_asserteq(SANDBOX_PCI_VENDOR_ID, vendor); in dm_test_pci_busdev() 48 vendor = 0; in dm_test_pci_busdev() 49 ut_assertok(dm_pci_read_config16(swap, PCI_VENDOR_ID, &vendor)); in dm_test_pci_busdev() 50 ut_asserteq(SANDBOX_PCI_VENDOR_ID, vendor); in dm_test_pci_busdev() 140 u16 vendor, device; in dm_test_pci_mixed() local 148 vendor = 0; in dm_test_pci_mixed() 149 ut_assertok(dm_pci_read_config16(swap, PCI_VENDOR_ID, &vendor)); in dm_test_pci_mixed() [all …]
|
/u-boot/arch/x86/cpu/ |
A D | pci.c | 77 u16 vendor; in pci_assign_irqs() local 82 pci_read_config16(bdf, PCI_VENDOR_ID, &vendor); in pci_assign_irqs() 83 if (vendor == 0xffff || vendor == 0x0000) in pci_assign_irqs()
|
A D | cpu_x86.c | 32 const char *vendor = cpu_vendor_name(gd->arch.x86_vendor); in cpu_x86_get_vendor() local 34 if (size < (strlen(vendor) + 1)) in cpu_x86_get_vendor() 37 strcpy(buf, vendor); in cpu_x86_get_vendor()
|
A D | cpu.c | 130 const char *cpu_vendor_name(int vendor) in cpu_vendor_name() argument 134 if (vendor < ARRAY_SIZE(x86_vendor_name) && in cpu_vendor_name() 135 x86_vendor_name[vendor]) in cpu_vendor_name() 136 name = x86_vendor_name[vendor]; in cpu_vendor_name()
|
/u-boot/drivers/virtio/ |
A D | virtio_blk.c | 94 if (uc_priv->vendor >> 16) in virtio_blk_bind() 95 sprintf(desc->vendor, "%s", (char *)&uc_priv->vendor); in virtio_blk_bind() 97 sprintf(desc->vendor, "%04x", uc_priv->vendor); in virtio_blk_bind()
|
/u-boot/arch/x86/cpu/i386/ |
A D | cpu.c | 59 unsigned vendor; member 77 int vendor; member 280 cpu->vendor = X86_VENDOR_INTEL; in identify_cpu() 283 cpu->vendor = X86_VENDOR_AMD; in identify_cpu() 286 cpu->vendor = X86_VENDOR_ANY; in identify_cpu() 327 cpu->vendor = X86_VENDOR_UNKNOWN; in identify_cpu() 330 cpu->vendor = x86_vendors[i].vendor; in identify_cpu() 387 gd->arch.x86_vendor = cpu.vendor; in setup_identity()
|
/u-boot/drivers/power/regulator/ |
A D | fan53555.c | 33 unsigned int vendor; member 90 unsigned int vendor; member 174 if (ic_types[i].vendor != priv->vendor) in fan53555_voltages_setup() 219 priv->vendor = dev->driver_data; in fan53555_probe()
|
/u-boot/arch/x86/cpu/intel_common/ |
A D | p2sb.c | 134 u16 vendor; in intel_p2sb_set_hide() local 140 dm_pci_read_config16(dev, PCI_VENDOR_ID, &vendor); in intel_p2sb_set_hide() 141 if (hide && vendor != 0xffff) in intel_p2sb_set_hide() 143 else if (!hide && vendor != PCI_VENDOR_ID_INTEL) in intel_p2sb_set_hide()
|
/u-boot/doc/board/amlogic/ |
A D | libretech-cc.rst | 46 * bl2.bin: vendor-provided binary blob 47 * bl21.bin: built from vendor u-boot source 48 * bl30.bin: vendor-provided binary blob 49 * bl301.bin: built from vendor u-boot source 50 * bl31.bin: vendor-provided binary blob 51 * acs.bin: built from vendor u-boot source 64 Alternatively, you can obtain the original vendor u-boot tree which 83 or having built the vendor u-boot yourself), you can then proceed to glue
|
/u-boot/doc/device-tree-bindings/sound/ |
A D | intel-hda.txt | 24 - vendor-id: 16-bit vendor ID for audio codec
|
/u-boot/tools/buildman/ |
A D | board.py | 75 def __init__(self, status, arch, cpu, soc, vendor, board_name, target, options): argument 92 self.vendor = vendor 96 self.vendor, self.soc, self.options]
|
/u-boot/drivers/tpm/ |
A D | tpm_tis_infineon.c | 511 u32 vendor; in tpm_tis_i2c_init() local 528 if (tpm_tis_i2c_read(dev, TPM_DID_VID(0), (uchar *)&vendor, 4) < 0) { in tpm_tis_i2c_init() 534 vendor = be32_to_cpu(vendor); in tpm_tis_i2c_init() 541 if (chip->chip_type != UNKNOWN && vendor != expected_did_vid) { in tpm_tis_i2c_init() 542 pr_err("Vendor id did not match! ID was %08x\n", vendor); in tpm_tis_i2c_init() 546 chip->vend_dev = vendor; in tpm_tis_i2c_init() 548 chip_name[chip->chip_type], vendor >> 16); in tpm_tis_i2c_init()
|
A D | cr50_i2c.c | 55 uint vendor; member 562 chip->chip_addr, priv->vendor >> 16); in cr50_i2c_get_desc() 697 u32 vendor = 0; in cr50_i2c_probe() local 710 ret = cr50_i2c_read(dev, tpm_did_vid(0), (u8 *)&vendor, 4); in cr50_i2c_probe() 711 if (!ret && vendor == CR50_DID_VID) in cr50_i2c_probe() 717 if (vendor != CR50_DID_VID) { in cr50_i2c_probe() 718 log_warning("DID_VID %08x not recognised\n", vendor); in cr50_i2c_probe() 721 priv->vendor = vendor; in cr50_i2c_probe()
|