coreboot-kgpe-d16/src/include/device
Patrick Georgi 9adcbfe486 device/pciexp_device: Set values numerically instead of as bitmask
As noted on linux-pci, we have a weird way to handling "value" and
"scale" fields that are supposed to contain numerical values: we encode
them as a bitfield.
Instead define the two fields (offset and mask) and use numbers.

Another issue, not fixed in this CL, is that we write hard-coded values
while these fields really need to contain the max() of acceptable delays
of the downstream devices. That way the controller can decide whether or
not to enter a deeper power management state. It's noted as a TODO.

Change-Id: I895b9fe2ee438d3958c2d787e70a84d73eaa49d2
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Found-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-on: https://review.coreboot.org/22740
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2017-12-08 11:38:05 +00:00
..
dram device/dram/ddr2.c: Decoding byte[12] bit7 as self refresh flag 2017-09-22 18:31:03 +00:00
azalia.h src/include: Remove use of binary constants 2017-03-13 17:22:59 +01:00
azalia_device.h src/include: Wrap lines at 80 columns 2017-03-13 17:23:37 +01:00
cardbus.h
device.h device: further untangle device_t from struct device 2017-11-15 05:19:42 +00:00
drm_dp_helper.h
early_smbus.h intel/common/smbus: increase spd read performance 2017-10-31 15:49:55 +00:00
hypertransport.h
hypertransport_def.h src/include: Wrap lines at 80 columns 2017-03-13 17:23:37 +01:00
i2c.h include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
i2c_bus.h Reinvent I2C ops 2017-08-18 15:33:45 +00:00
i2c_simple.h include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
path.h src/include: Open brace on same line as enum or struct 2017-03-12 15:46:23 +01:00
pci.h device/pci: untangle struct device and device_t 2017-08-09 17:47:18 +00:00
pci_def.h src/device: Update LTR configuration scheme 2017-10-13 15:21:48 +00:00
pci_ehci.h usbdebug: Refactor early enable 2017-08-07 12:35:42 +00:00
pci_ids.h soc/intel/apollolake: add ability to enable eSPI 2017-12-07 05:45:55 +00:00
pci_ops.h PCI ops: Remove pci_mmio_xx() in ramstage 2016-12-06 20:47:49 +01:00
pci_rom.h src/include: Wrap lines at 80 columns 2017-03-13 17:23:37 +01:00
pciexp.h device/pciexp_device: Set values numerically instead of as bitmask 2017-12-08 11:38:05 +00:00
pcix.h
pnp.h device/pnp: remove struct io_info 2017-06-13 15:21:58 +02:00
pnp_def.h
resource.h lib: provide clearer devicetree semantics 2017-04-25 18:14:38 +02:00
smbus.h device/smbus: Reuse I2C bus operations where applicable 2017-08-18 15:34:15 +00:00
smbus_def.h Reinvent I2C ops 2017-08-18 15:33:45 +00:00
spi.h device: Add a new "SPI" device type 2017-02-16 08:41:28 +01:00