Home
last modified time | relevance | path

Searched refs:link_res (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/soundwire/
H A Dintel_ace2x.c435 void __iomem *shim_vs = sdw->link_res->shim_vs; in intel_shim_vs_init()
477 void __iomem *shim_vs = sdw->link_res->shim_vs; in intel_shim_vs_set_clock_source()
506 mutex_lock(sdw->link_res->shim_lock); in intel_shim_wake()
508 ret = hdac_bus_eml_sdw_get_lsdiid_unlocked(sdw->link_res->hbus, sdw->instance, &lsdiid); in intel_shim_wake()
512 wake_en = snd_hdac_chip_readw(sdw->link_res->hbus, WAKEEN); in intel_shim_wake()
518 snd_hdac_chip_writew(sdw->link_res->hbus, WAKEEN, wake_en); in intel_shim_wake()
522 snd_hdac_chip_writew(sdw->link_res->hbus, WAKEEN, wake_en); in intel_shim_wake()
525 wake_sts = snd_hdac_chip_readw(sdw->link_res->hbus, STATESTS); in intel_shim_wake()
527 snd_hdac_chip_writew(sdw->link_res->hbus, STATESTS, wake_sts); in intel_shim_wake()
530 mutex_unlock(sdw->link_res->shim_lock); in intel_shim_wake()
[all …]
H A Dintel_auxdevice.c96 if (sdw->link_res->hw_ops->bpt_send_async) in generic_bpt_send_async()
97 return sdw->link_res->hw_ops->bpt_send_async(sdw, slave, msg); in generic_bpt_send_async()
106 if (sdw->link_res->hw_ops->bpt_wait) in generic_bpt_wait()
107 return sdw->link_res->hw_ops->bpt_wait(sdw, slave, msg); in generic_bpt_wait()
116 return sdw->link_res->hw_ops->pre_bank_switch(sdw); in generic_pre_bank_switch()
124 return sdw->link_res->hw_ops->post_bank_switch(sdw); in generic_post_bank_switch()
152 if (sdw->link_res->hw_ops->program_sdi && wake_capable) in generic_new_peripheral_assigned()
153 sdw->link_res->hw_ops->program_sdi(sdw, dev_num); in generic_new_peripheral_assigned()
326 sdw->link_res = &ldev->link_res; in intel_link_probe()
328 cdns->registers = sdw->link_res->registers; in intel_link_probe()
[all …]
H A Dintel.h78 struct sdw_intel_link_res *link_res; member
133 #define SDW_INTEL_CHECK_OPS(sdw, cb) ((sdw) && (sdw)->link_res && (sdw)->link_res->hw_ops && \
134 (sdw)->link_res->hw_ops->cb)
135 #define SDW_INTEL_OPS(sdw, cb) ((sdw)->link_res->hw_ops->cb)
H A Dintel_init.c64 link = &ldev->link_res; in intel_link_dev_register()
134 if (!ldev->link_res.clock_stop_quirks) in sdw_intel_cleanup()
135 pm_runtime_put_noidle(ldev->link_res.dev); in sdw_intel_cleanup()
237 link = &ldev->link_res; in sdw_intel_probe_controller()
308 if (!ldev->link_res.clock_stop_quirks) { in sdw_intel_startup_controller()
315 pm_runtime_get_noresume(ldev->link_res.dev); in sdw_intel_startup_controller()
H A Dintel_ace2x_debugfs.c40 void __iomem *s = sdw->link_res->shim; in intel_reg_show()
41 void __iomem *vs_s = sdw->link_res->shim_vs; in intel_reg_show()
79 if (sdw->link_res->mic_privacy) { in intel_reg_show()
/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dlink_hwss.h55 const struct link_resource *link_res,
60 const struct link_resource *link_res,
63 const struct link_resource *link_res,
67 const struct link_resource *link_res,
81 const struct link_resource *link_res,
/linux/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_resource.c33 struct link_resource *link_res) in link_get_cur_link_res() argument
38 memset(link_res, 0, sizeof(*link_res)); in link_get_cur_link_res()
44 *link_res = pipe->link_res; in link_get_cur_link_res()
H A Dlink_hwss_hpo_frl.c54 const struct link_resource *link_res) in can_use_hpo_frl_link_hwss() argument
56 return link_res->hpo_frl_link_enc != NULL; in can_use_hpo_frl_link_hwss()
/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dp_training_auxless.h33 const struct link_resource *link_res,
H A Dlink_dp_training_fixed_vs_pe_retimer.h33 const struct link_resource *link_res,
H A Dlink_dp_training_dpia.h40 const struct link_resource *link_res,
/linux/drivers/gpu/drm/amd/display/dc/link/hwss/
H A Dlink_hwss_dpia.h35 const struct link_resource *link_res);
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn314/
H A Ddcn314_hwseq.h48 void dcn314_disable_link_output(struct dc_link *link, const struct link_resource *link_res, enum si…
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/
H A Ddcn35_clk_mgr.c206 struct link_encoder *new_pipe_link_enc = new_pipe->link_res.dio_link_enc; in dcn35_disable_otg_wa()
207 struct link_encoder *pipe_link_enc = pipe->link_res.dio_link_enc; in dcn35_disable_otg_wa()
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c7821 if (pipe_ctx->stream_res.hpo_frl_stream_enc && pipe_ctx->link_res.hpo_frl_link_enc) { in dc_capture_register_software_state()
7822 int hpo_le_inst = pipe_ctx->link_res.hpo_frl_link_enc->inst; in dc_capture_register_software_state()