![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <acpi/acpigen.h>
#include <acpi/acpi_device.h>
#include <acpi/acpi_soundwire.h>
#include <commonlib/helpers.h>
#include <device/device.h>
#include <device/path.h>
#include <device/soundwire.h>
#include <stdbool.h>
#include "soundwire.h"
#include "chip.h"
Go to the source code of this file.
Functions | |
__weak int | soc_fill_soundwire_controller (struct intel_soundwire_controller **controller) |
soc_fill_soundwire_controller() - Get SoundWire controller properties from the SoC. More... | |
static bool | link_enabled (const struct device *dev, unsigned int link) |
static void | intel_soundwire_link_prop_cb (struct acpi_dp *dsd, unsigned int id, const struct soundwire_controller *controller) |
static void | intel_soundwire_fill_ssdt (const struct device *dev) |
static const char * | intel_soundwire_acpi_name (const struct device *dev) |
static void | intel_soundwire_enable (struct device *dev) |
Variables | |
static struct device_operations | intel_soundwire_ops |
struct chip_operations | drivers_intel_soundwire_ops |
|
static |
Definition at line 78 of file soundwire.c.
Definition at line 91 of file soundwire.c.
Definition at line 47 of file soundwire.c.
References intel_soundwire_controller::acpi_address, acpi_device_name(), acpi_device_scope(), acpi_device_status(), acpi_dp_new_table(), acpi_dp_write(), ACPI_HID_CONTAINER, acpigen_pop_len(), acpigen_write_device(), acpigen_write_name_integer(), acpigen_write_name_string(), acpigen_write_scope(), acpigen_write_STA(), device::chip_ops, intel_soundwire_controller::dev, intel_soundwire_link_prop_cb(), chip_operations::name, intel_soundwire_controller::sdw, soc_fill_soundwire_controller(), and soundwire_gen_controller().
|
static |
Definition at line 32 of file soundwire.c.
References acpi_dp_add_integer(), container_of, intel_soundwire_controller::dev, intel_controller, INTEL_SOUNDWIRE_QUIRK_BUS_DISABLE, intel_soundwire_controller::ip_clock, link_enabled(), intel_soundwire_controller::quirk_mask, and intel_soundwire_controller::sdw.
Referenced by intel_soundwire_fill_ssdt().
Definition at line 20 of file soundwire.c.
References bus::children, DEVICE_PATH_GENERIC, device::enabled, device_path::generic, generic_path::id, device::link_list, device::path, device::sibling, and device_path::type.
Referenced by intel_soundwire_link_prop_cb().
__weak int soc_fill_soundwire_controller | ( | struct intel_soundwire_controller ** | controller | ) |
soc_fill_soundwire_controller() - Get SoundWire controller properties from the SoC.
@controller: Properties to be filled by the SoC. Return zero for success, -1 if there was any error filling the properties.
Definition at line 15 of file soundwire.c.
Referenced by intel_soundwire_fill_ssdt().
struct chip_operations drivers_intel_soundwire_ops |
Definition at line 91 of file soundwire.c.
|
static |
Definition at line 78 of file soundwire.c.