![]() |
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.
Typedefs | |
typedef void | soundwire_dp_prop_cb(struct acpi_dp *dsd, unsigned int port_id, const struct soundwire_codec *codec) |
soundwire_dp_prop_cb() - Callback to add custom data port properties. More... | |
typedef void | soundwire_link_prop_cb(struct acpi_dp *dsd, unsigned int link_id, const struct soundwire_controller *controller) |
soundwire_link_prop_cb() - Callback to add custom link properties. More... | |
Functions | |
void | soundwire_gen_codec (struct acpi_dp *dsd, const struct soundwire_codec *codec, soundwire_dp_prop_cb dp_prop_cb) |
soundwire_gen_codec() - Generate SoundWire properties for codec device. More... | |
void | soundwire_gen_controller (struct acpi_dp *dsd, const struct soundwire_controller *prop, soundwire_link_prop_cb link_prop_cb) |
soundwire_gen_controller() - Generate SoundWire properties for master links. More... | |
typedef void soundwire_dp_prop_cb(struct acpi_dp *dsd, unsigned int port_id, const struct soundwire_codec *codec) |
soundwire_dp_prop_cb() - Callback to add custom data port properties.
@dsd: ACPI Device Property handle for this data port. @port_id: Data Port ID from 0-14. @codec: Properties that were passed to soundwire_gen_codec().
Definition at line 15 of file acpi_soundwire.h.
typedef void soundwire_link_prop_cb(struct acpi_dp *dsd, unsigned int link_id, const struct soundwire_controller *controller) |
soundwire_link_prop_cb() - Callback to add custom link properties.
@dsd: ACPI Device Property handle for master link. @link_id: Link number for this master. @controller: Properties that were passed to soundwire_gen_controller().
Definition at line 33 of file acpi_soundwire.h.
void soundwire_gen_codec | ( | struct acpi_dp * | dsd, |
const struct soundwire_codec * | codec, | ||
soundwire_dp_prop_cb | dp_prop_cb | ||
) |
soundwire_gen_codec() - Generate SoundWire properties for codec device.
@dsd: ACPI Device Property handle. @prop: Properties for codec which includes all other properties. @dp_prop_cb: Callback to allow custom codec properties.
Definition at line 338 of file soundwire.c.
References acpi_dp_add_child(), acpi_dp_new_table(), soundwire_codec::audio_mode, audio_mode_names, bra_mode_names, soundwire_codec::dp0, soundwire_codec::dp0_bra_mode, soundwire_codec::dpn, dpn_sink_names, dpn_source_names, soundwire_codec::multilane, name, soundwire_dpn_entry::port, soundwire_dpn_entry::sink, soundwire_codec::slave, soundwire_gen_audio_mode(), soundwire_gen_bra_mode(), soundwire_gen_dp0(), soundwire_gen_dpn(), soundwire_gen_multilane(), soundwire_gen_slave(), SOUNDWIRE_MAX_DPN, SOUNDWIRE_MAX_MODE, SOUNDWIRE_MIN_DPN, and soundwire_dpn_entry::source.
Referenced by soundwire_alc1308_fill_ssdt(), soundwire_alc5682_fill_ssdt(), soundwire_alc711_fill_ssdt(), and soundwire_max98373_fill_ssdt().
void soundwire_gen_controller | ( | struct acpi_dp * | dsd, |
const struct soundwire_controller * | prop, | ||
soundwire_link_prop_cb | link_prop_cb | ||
) |
soundwire_gen_controller() - Generate SoundWire properties for master links.
@dsd: ACPI Device Property handle for controller. @prop: Properties for controller which includes all other properties. @link_prop_cb: Callback to allow custom link properties.
Definition at line 318 of file soundwire.c.
References acpi_dp_add_child(), acpi_dp_new_table(), link_names, soundwire_controller::master_list, soundwire_controller::master_list_count, SDW_INT, soundwire_gen_interface_revision(), soundwire_gen_link(), and SOUNDWIRE_MAX_LINK.
Referenced by intel_soundwire_fill_ssdt().