Home
last modified time | relevance | path

Searched refs:header_type (Results 1 – 10 of 10) sorted by relevance

/openbmc/u-boot/board/synopsys/axs10x/
H A Dheaderize-axs.py32 def arg_verify(uboot_bin_filename, uboot_elf_filename, header_type): argument
41 if header_type not in ("v1", "v2"):
42 print("unknown header type: " + header_type)
64 header_type = "v2"
81 if opt in ('-t', "--header-type"): header_type = arg
87 arg_verify(uboot_bin_filename, uboot_elf_filename, header_type)
94 if header_type == "v2":
/openbmc/u-boot/cmd/
H A Dpci.c97 u8 header_type; in pci_bar_show() local
106 dm_pci_read_config8(dev, PCI_HEADER_TYPE, &header_type); in pci_bar_show()
108 if (header_type == PCI_HEADER_TYPE_CARDBUS) { in pci_bar_show()
113 bar_cnt = (header_type == PCI_HEADER_TYPE_NORMAL) ? 6 : 2; in pci_bar_show()
267 unsigned long class, header_type; in pci_header_show() local
270 dm_pci_read_config(dev, PCI_HEADER_TYPE, &header_type, PCI_SIZE_8); in pci_header_show()
272 u8 class, header_type; in pci_header_show()
275 pci_read_config_byte(dev, PCI_HEADER_TYPE, &header_type); in pci_header_show()
282 switch (header_type & 0x03) { in pci_header_show()
395 unsigned char header_type; in pciinfo() local
[all …]
/openbmc/u-boot/drivers/pci/
H A Dpci_auto.c29 u8 header_type; in dm_pciauto_setup_device() local
131 dm_pci_read_config8(dev, PCI_HEADER_TYPE, &header_type); in dm_pciauto_setup_device()
132 header_type &= 0x7f; in dm_pciauto_setup_device()
133 if (header_type != PCI_HEADER_TYPE_CARDBUS) { in dm_pciauto_setup_device()
134 rom_addr = (header_type == PCI_HEADER_TYPE_NORMAL) ? in dm_pciauto_setup_device()
H A Dpci_auto_old.c39 u8 header_type; in pciauto_setup_device() local
142 pci_hose_read_config_byte(hose, dev, PCI_HEADER_TYPE, &header_type); in pciauto_setup_device()
143 header_type &= 0x7f; in pciauto_setup_device()
144 if (header_type != PCI_HEADER_TYPE_CARDBUS) { in pciauto_setup_device()
145 rom_addr = (header_type == PCI_HEADER_TYPE_NORMAL) ? in pciauto_setup_device()
H A Dpci_common.c286 u8 header_type; in pci_hose_find_devices() local
298 &header_type); in pci_hose_find_devices()
299 found_multi = header_type & 0x80; in pci_hose_find_devices()
H A Dpci.c339 unsigned char header_type; in pci_hose_scan_bus() local
361 pci_hose_read_config_byte(hose, dev, PCI_HEADER_TYPE, &header_type); in pci_hose_scan_bus()
369 found_multi = header_type & 0x80; in pci_hose_scan_bus()
H A Dpci-uclass.c759 ulong header_type; in pci_bind_bus_devices() local
788 &header_type, PCI_SIZE_8); in pci_bind_bus_devices()
791 found_multi = header_type & 0x80; in pci_bind_bus_devices()
813 if ((header_type & 0x7f) == PCI_HEADER_TYPE_NORMAL) { in pci_bind_bus_devices()
1391 u8 header_type; in dm_pci_find_capability() local
1398 dm_pci_read_config8(dev, PCI_HEADER_TYPE, &header_type); in dm_pci_find_capability()
1399 if ((header_type & 0x7f) == PCI_HEADER_TYPE_CARDBUS) in dm_pci_find_capability()
H A Dfsl_pci_init.c617 u8 header_type; in fsl_is_pci_agent() local
620 &header_type); in fsl_is_pci_agent()
621 return (header_type & 0x7f) == PCI_HEADER_TYPE_NORMAL; in fsl_is_pci_agent()
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dpci.c136 u8 header_type; in pci_mpc85xx_init() local
141 &header_type); in pci_mpc85xx_init()
/openbmc/qemu/migration/
H A Dmigration.c2492 uint16_t header_len, header_type; in source_return_path_thread() local
2506 header_type = qemu_get_be16(rp); in source_return_path_thread()
2514 if (header_type >= MIG_RP_MSG_MAX || in source_return_path_thread()
2515 header_type == MIG_RP_MSG_INVALID) { in source_return_path_thread()
2517 header_type, header_len); in source_return_path_thread()
2521 if ((rp_cmd_args[header_type].len != -1 && in source_return_path_thread()
2522 header_len != rp_cmd_args[header_type].len) || in source_return_path_thread()
2526 rp_cmd_args[header_type].name, header_type, header_len, in source_return_path_thread()
2527 (size_t)rp_cmd_args[header_type].len); in source_return_path_thread()
2536 header_type, res, header_len); in source_return_path_thread()
[all …]