Lines Matching refs:amd_sdw_manager
28 #define to_amd_sdw(b) container_of(b, struct amd_sdw_manager, bus)
30 static int amd_init_sdw_manager(struct amd_sdw_manager *amd_manager) in amd_init_sdw_manager()
62 static int amd_enable_sdw_manager(struct amd_sdw_manager *amd_manager) in amd_enable_sdw_manager()
71 static int amd_disable_sdw_manager(struct amd_sdw_manager *amd_manager) in amd_disable_sdw_manager()
88 static void amd_enable_sdw_interrupts(struct amd_sdw_manager *amd_manager) in amd_enable_sdw_interrupts()
104 static void amd_disable_sdw_interrupts(struct amd_sdw_manager *amd_manager) in amd_disable_sdw_interrupts()
119 static int amd_deinit_sdw_manager(struct amd_sdw_manager *amd_manager) in amd_deinit_sdw_manager()
125 static void amd_sdw_set_frameshape(struct amd_sdw_manager *amd_manager) in amd_sdw_set_frameshape()
133 static void amd_sdw_wake_enable(struct amd_sdw_manager *amd_manager, bool enable) in amd_sdw_wake_enable()
172 static u64 amd_sdw_send_cmd_get_resp(struct amd_sdw_manager *amd_manager, u32 lower_data, in amd_sdw_send_cmd_get_resp()
219 amd_program_scp_addr(struct amd_sdw_manager *amd_manager, struct sdw_msg *msg) in amd_program_scp_addr()
258 static int amd_prep_msg(struct amd_sdw_manager *amd_manager, struct sdw_msg *msg) in amd_prep_msg()
280 static enum sdw_command_response amd_sdw_fill_msg_resp(struct amd_sdw_manager *amd_manager, in amd_sdw_fill_msg_resp()
305 static unsigned int _amd_sdw_xfer_msg(struct amd_sdw_manager *amd_manager, struct sdw_msg *msg, in _amd_sdw_xfer_msg()
318 struct amd_sdw_manager *amd_manager = to_amd_sdw(bus); in amd_sdw_xfer_msg()
332 static void amd_sdw_fill_slave_status(struct amd_sdw_manager *amd_manager, u16 index, u32 status) in amd_sdw_fill_slave_status()
346 static void amd_sdw_process_ping_status(u64 response, struct amd_sdw_manager *amd_manager) in amd_sdw_process_ping_status()
363 static void amd_sdw_read_and_process_ping_status(struct amd_sdw_manager *amd_manager) in amd_sdw_read_and_process_ping_status()
375 struct amd_sdw_manager *amd_manager = to_amd_sdw(bus); in amd_sdw_read_ping_status()
432 struct amd_sdw_manager *amd_manager = to_amd_sdw(bus); in amd_sdw_port_params()
459 struct amd_sdw_manager *amd_manager = to_amd_sdw(bus); in amd_sdw_transport_params()
519 struct amd_sdw_manager *amd_manager = to_amd_sdw(bus); in amd_sdw_port_enable()
549 struct amd_sdw_manager *amd_manager = to_amd_sdw(bus); in sdw_master_read_amd_prop()
604 struct amd_sdw_manager *amd_manager = snd_soc_dai_get_drvdata(dai); in amd_sdw_hw_params()
646 struct amd_sdw_manager *amd_manager = snd_soc_dai_get_drvdata(dai); in amd_sdw_hw_free()
663 struct amd_sdw_manager *amd_manager = snd_soc_dai_get_drvdata(dai); in amd_set_sdw_stream()
704 struct amd_sdw_manager *amd_manager = snd_soc_dai_get_drvdata(dai); in amd_get_sdw_stream()
725 static int amd_sdw_register_dais(struct amd_sdw_manager *amd_manager) in amd_sdw_register_dais()
770 struct amd_sdw_manager *amd_manager = in amd_sdw_update_slave_status_work()
771 container_of(work, struct amd_sdw_manager, amd_sdw_work); in amd_sdw_update_slave_status_work()
805 struct amd_sdw_manager *amd_manager) in amd_sdw_update_slave_status()
828 static void amd_sdw_process_wake_event(struct amd_sdw_manager *amd_manager) in amd_sdw_process_wake_event()
837 struct amd_sdw_manager *amd_manager = in amd_sdw_irq_thread()
838 container_of(work, struct amd_sdw_manager, amd_sdw_irq_thread); in amd_sdw_irq_thread()
861 int amd_sdw_manager_start(struct amd_sdw_manager *amd_manager) in amd_sdw_manager_start()
893 struct amd_sdw_manager *amd_manager; in amd_sdw_manager_probe()
896 amd_manager = devm_kzalloc(dev, sizeof(struct amd_sdw_manager), GFP_KERNEL); in amd_sdw_manager_probe()
971 struct amd_sdw_manager *amd_manager = dev_get_drvdata(&pdev->dev); in amd_sdw_manager_remove()
982 static int amd_sdw_clock_stop(struct amd_sdw_manager *amd_manager) in amd_sdw_clock_stop()
1013 static int amd_sdw_clock_stop_exit(struct amd_sdw_manager *amd_manager) in amd_sdw_clock_stop_exit()
1065 struct amd_sdw_manager *amd_manager = dev_get_drvdata(dev); in amd_pm_prepare()
1099 struct amd_sdw_manager *amd_manager = dev_get_drvdata(dev); in amd_suspend()
1127 struct amd_sdw_manager *amd_manager = dev_get_drvdata(dev); in amd_suspend_runtime()
1150 struct amd_sdw_manager *amd_manager = dev_get_drvdata(dev); in amd_resume_runtime()