Home
last modified time | relevance | path

Searched refs:mgmt_connection (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/staging/greybus/
H A Dfw-core.c17 struct gb_connection *mgmt_connection; member
28 return fw_core->mgmt_connection; in to_fw_mgmt_connection()
84 if (fw_core->mgmt_connection) { in gb_fw_core_probe()
101 fw_core->mgmt_connection = connection; in gb_fw_core_probe()
168 if (!fw_core->mgmt_connection) { in gb_fw_core_probe()
201 ret = gb_fw_mgmt_connection_init(fw_core->mgmt_connection); in gb_fw_core_probe()
222 gb_connection_destroy(fw_core->mgmt_connection); in gb_fw_core_probe()
243 gb_fw_mgmt_connection_exit(fw_core->mgmt_connection); in gb_fw_core_disconnect()
248 gb_connection_destroy(fw_core->mgmt_connection); in gb_fw_core_disconnect()
H A Daudio_module.c184 if (gbmodule->mgmt_connection) { in gb_audio_add_mgmt_connection()
196 gbmodule->mgmt_connection = connection; in gb_audio_add_mgmt_connection()
293 if (!gbmodule->mgmt_connection) { in gb_audio_probe()
300 ret = gb_connection_enable(gbmodule->mgmt_connection); in gb_audio_probe()
369 gb_connection_disable(gbmodule->mgmt_connection); in gb_audio_probe()
378 if (gbmodule->mgmt_connection) in gb_audio_probe()
379 gb_connection_destroy(gbmodule->mgmt_connection); in gb_audio_probe()
402 gb_connection_disable(gbmodule->mgmt_connection); in gb_audio_disconnect()
409 gb_connection_destroy(gbmodule->mgmt_connection); in gb_audio_disconnect()
410 gbmodule->mgmt_connection = NULL; in gb_audio_disconnect()
[all …]
H A Daudio_topology.c240 ret = gb_audio_gb_get_control(module->mgmt_connection, data->ctl_id, in gbcodec_mixer_ctl_get()
329 ret = gb_audio_gb_set_control(module->mgmt_connection, data->ctl_id, in gbcodec_mixer_ctl_put()
410 ret = gb_audio_gb_get_control(module->mgmt_connection, data->ctl_id, in gbcodec_mixer_dapm_ctl_get()
480 ret = gb_audio_gb_set_control(module->mgmt_connection, in gbcodec_mixer_dapm_ctl_put()
573 ret = gb_audio_gb_get_control(module->mgmt_connection, ctl_id, in gbcodec_enum_ctl_get()
630 ret = gb_audio_gb_set_control(module->mgmt_connection, ctl_id, in gbcodec_enum_ctl_put()
740 ret = gb_audio_gb_get_control(module->mgmt_connection, ctl_id, in gbcodec_enum_dapm_ctl_get()
792 ret = gb_audio_gb_get_control(module->mgmt_connection, ctl_id, in gbcodec_enum_dapm_ctl_put()
832 ret = gb_audio_gb_set_control(module->mgmt_connection, ctl_id, in gbcodec_enum_dapm_ctl_put()
963 ret = gb_audio_gb_enable_widget(module->mgmt_connection, wid); in gbaudio_widget_event()
[all …]
H A Daudio_codec.c91 ret = gb_audio_gb_set_pcm(module->mgmt_connection, data_cport, in gbaudio_module_enable_tx()
104 ret = gb_audio_gb_set_tx_data_size(module->mgmt_connection, in gbaudio_module_enable_tx()
112 ret = gb_audio_gb_activate_tx(module->mgmt_connection, data_cport); in gbaudio_module_enable_tx()
142 ret = gb_audio_gb_deactivate_tx(module->mgmt_connection, in gbaudio_module_disable_tx()
217 ret = gb_audio_gb_set_pcm(module->mgmt_connection, data_cport, in gbaudio_module_enable_rx()
230 ret = gb_audio_gb_set_rx_data_size(module->mgmt_connection, in gbaudio_module_enable_rx()
238 ret = gb_audio_gb_activate_rx(module->mgmt_connection, in gbaudio_module_enable_rx()
269 ret = gb_audio_gb_deactivate_rx(module->mgmt_connection, in gbaudio_module_disable_rx()
H A Daudio_codec.h143 struct gb_connection *mgmt_connection; member