![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Data Structures | |
struct | intel_soundwire_controller |
struct intel_soundwire_controller - SoundWire controller configuration for Intel SoC. More... | |
Enumerations | |
enum | intel_soundwire_quirk { INTEL_SOUNDWIRE_QUIRK_STATIC_CLOCK = BIT(0) , INTEL_SOUNDWIRE_QUIRK_BUS_DISABLE = BIT(1) } |
enum intel_soundwire_quirk - Quirks for controller master links. More... | |
Functions | |
int | soc_fill_soundwire_controller (struct intel_soundwire_controller **controller) |
soc_fill_soundwire_controller() - Get SoundWire controller properties from the SoC. More... | |
enum intel_soundwire_quirk - Quirks for controller master links.
@INTEL_SOUNDWIRE_QUIRK_STATIC_CLOCK: Link clock is fixed. @INTEL_SOUNDWIRE_QUIRK_BUS_DISABLE: This link should be disabled.
Enumerator | |
---|---|
INTEL_SOUNDWIRE_QUIRK_STATIC_CLOCK | |
INTEL_SOUNDWIRE_QUIRK_BUS_DISABLE |
Definition at line 14 of file soundwire.h.
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.
References BIOS_ERR, intel_controller, intel_soundwire_controller::ip_clock, KHz, link_xtal_24, link_xtal_38_4, soundwire_controller::master_list, soundwire_controller::master_list_count, memcpy(), MHz, pmc_get_xtal_freq(), printk, intel_soundwire_controller::sdw, XTAL_19_2_MHZ, XTAL_24_MHZ, and XTAL_38_4_MHZ.
Referenced by intel_soundwire_fill_ssdt().