coreboot/src/device
Subrata Banik ed5c7ac031 device: Add helper function devfn_disable()
devfn_disable() function is used to disable a device based on
given bus, device function number. This function checks if the
device is at enable state and disables the device.

Change-Id: Ia4a8bfec7fc95c729a5bb156f88e9aab3bf5dd41
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55354
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
2021-06-17 06:48:45 +00:00
..
dram device/dram: Add LPDDR4 utilities 2021-06-09 15:10:34 +00:00
oprom device/oprom/include/x86emu/fpu_regs.h: Fix lint error 2021-02-01 08:46:11 +00:00
azalia_device.c device/azalia_device.c: Add option to lock down GCAP 2021-04-19 19:02:08 +00:00
cardbus_device.c src: Never set ISA Enable on PCI bridges 2020-07-28 10:54:02 +00:00
cpu_device.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
device.c device: Add helper function devfn_disable() 2021-06-17 06:48:45 +00:00
device_const.c device: Add helper function is_devfn_enabled() 2021-06-09 10:14:14 +00:00
device_util.c Rename do_printk() to printk() 2021-04-14 10:38:09 +00:00
gpio.c device + util/sconfig: introduce new device gpio 2020-12-28 17:47:04 +00:00
i2c.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
i2c_bus.c device/i2c_bus.c: Correct code style 2021-04-06 07:02:47 +00:00
Kconfig device/azalia_device.c: Add option to lock down GCAP 2021-04-19 19:02:08 +00:00
Makefile.inc device + util/sconfig: introduce new device gpio 2020-12-28 17:47:04 +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/pciexp_device.c: Remove CPP guarding 2021-03-14 19:27:18 +00:00
pci_early.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
pci_ops.c device: Switch pci_dev_is_wake_source to take pci_devfn_t 2021-05-03 16:28:42 +00:00
pci_rom.c soc/amd/common/block/graphics/graphics: GOP: load VBIOS 2021-03-13 02:44:40 +00:00
pciexp_device.c pciexp_device: Rewrite LTR configuration 2021-03-15 06:04:38 +00:00
pcix_device.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
pnp_device.c device/pnp: Always provide pnp_unset_and_set_config 2021-06-10 05:38:13 +00:00
resource_allocator_common.c src/device: Remove unused <console/console.h> 2021-02-15 10:48:28 +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 device: Export enable_static_device() function 2020-10-21 15:35:24 +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.c: Remove repeated word 2021-01-18 07:33:25 +00:00