device/device.h: Rename busses for clarity

This renames bus to upstream and link_list to downstream.

Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Change-Id: I80a81b6b8606e450ff180add9439481ec28c2420
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78330
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
Arthur Heymans 2023-08-24 15:12:19 +02:00 committed by Felix Held
commit 7fcd4d58ec
104 changed files with 343 additions and 348 deletions

View file

@ -449,7 +449,7 @@ static void configure_c_states(void)
static void configure_thermal_target(struct device *dev)
{
/* Make sure your devicetree has the cpu_cluster below chip cpu/intel/haswell! */
struct cpu_intel_haswell_config *conf = dev->bus->dev->chip_info;
struct cpu_intel_haswell_config *conf = dev->upstream->dev->chip_info;
msr_t msr;
/* Set TCC activation offset if supported */

View file

@ -22,7 +22,7 @@
static void configure_thermal_target(struct device *dev)
{
struct cpu_intel_model_2065x_config *conf = dev->bus->dev->chip_info;
struct cpu_intel_model_2065x_config *conf = dev->upstream->dev->chip_info;
msr_t msr;
/* Set TCC activation offset if supported */

View file

@ -223,7 +223,7 @@ static void configure_c_states(void)
static void configure_thermal_target(struct device *dev)
{
struct cpu_intel_model_206ax_config *conf = dev->bus->dev->chip_info;
struct cpu_intel_model_206ax_config *conf = dev->upstream->dev->chip_info;
msr_t msr;
if (boot_cpu()) {