coreboot-kgpe-d16/src/device
Raul E Rangel 2c952d6bd9 device/xhci: Add helper method to iterate over xhci_supported_protocl
There is some boilerplate required to iterate over the USB supported
protocol structs. Encapsulate all the in a method to make the callers
simpler.

BUG=b:154756391
TEST=Built test trembyle.

Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Change-Id: I401f10d242638b0000ba697573856d765333dca0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43352
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-07-12 17:01:24 +00:00
..
dram treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
oprom treewide: Replace CONFIG(ARCH_xx) tests 2020-06-17 21:13:09 +00:00
azalia_device.c src: Use pci_dev_ops_pci where applicable 2020-06-06 20:36:51 +00:00
cardbus_device.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
cpu_device.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
device.c treewide: Replace CONFIG(ARCH_xx) tests 2020-06-17 21:13:09 +00:00
device_const.c Remove MAYBE_STATIC_BSS and ENV_STAGE_HAS_BSS_SECTION 2020-05-26 15:04:08 +00:00
device_util.c device_util,agesa/family14: Do not consider unassigned resources in find_pci_tolm() 2020-05-26 15:15:05 +00:00
hypertransport.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
i2c.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
i2c_bus.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
Kconfig Kconfig: Escape variable to accommodate new Kconfig versions 2020-06-19 15:29:04 +00:00
Makefile.inc device/xhci: Add xHCI utility to enumerate capabilities 2020-06-10 18:50:36 +00:00
mmio.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
pci_class.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
pci_device.c device/pci_device.c: Drop dead code 2020-07-09 23:44:44 +00:00
pci_early.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
pci_ops.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
pci_rom.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
pciexp_device.c Revert "Revert "pciexp_device: Add option to allocate prefetch memory above 4G boundary"" 2020-05-28 09:42:46 +00:00
pcix_device.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
pnp_device.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
resource_allocator_common.c device: Move resource allocation into a separate compilation unit 2020-05-26 15:15:21 +00:00
resource_allocator_v3.c device/resource_allocator_v3: Do not set IORESOURCE_ASSIGNED for size 0 resource 2020-05-26 15:15:54 +00:00
resource_allocator_v4.c device/resource_allocator_v4: Improve the logging in resource allocator 2020-05-28 09:43:44 +00:00
root_device.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
smbus_ops.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
software_i2c.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
xhci.c device/xhci: Add helper method to iterate over xhci_supported_protocl 2020-07-12 17:01:24 +00:00