/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link_exports.c | 63 const struct dc_link *link, in dc_get_edp_link_panel_inst() 81 bool dc_link_detect(struct dc_link *link, enum dc_detect_reason reason) in dc_link_detect() 86 bool dc_link_detect_connection_type(struct dc_link *link, in dc_link_detect_connection_type() 92 const struct dc_link_status *dc_link_get_status(const struct dc_link *link) in dc_link_get_status() 98 bool dc_link_is_hdcp14(struct dc_link *link, enum signal_type signal) in dc_link_is_hdcp14() 103 bool dc_link_is_hdcp22(struct dc_link *link, enum signal_type signal) in dc_link_is_hdcp22() 108 void dc_link_clear_dprx_states(struct dc_link *link) in dc_link_clear_dprx_states() 113 bool dc_link_reset_cur_dp_mst_topology(struct dc_link *link) in dc_link_reset_cur_dp_mst_topology() 119 const struct dc_link *link, in dc_link_bandwidth_kbps() 137 struct dc_link *link = pipe_ctx->stream->link; in dc_link_update_dsc_config() local [all …]
|
/drivers/gpu/drm/amd/display/dc/link/accessories/ |
D | link_dp_trace.c | 29 void dp_trace_init(struct dc_link *link) in dp_trace_init() 35 void dp_trace_reset(struct dc_link *link) in dp_trace_reset() 40 bool dp_trace_is_initialized(struct dc_link *link) in dp_trace_is_initialized() 45 void dp_trace_detect_lt_init(struct dc_link *link) in dp_trace_detect_lt_init() 50 void dp_trace_commit_lt_init(struct dc_link *link) in dp_trace_commit_lt_init() 55 void dp_trace_link_loss_increment(struct dc_link *link) in dp_trace_link_loss_increment() 60 void dp_trace_lt_fail_count_update(struct dc_link *link, in dp_trace_lt_fail_count_update() 70 void dp_trace_lt_total_count_increment(struct dc_link *link, in dp_trace_lt_total_count_increment() 79 void dp_trace_set_is_logged_flag(struct dc_link *link, in dp_trace_set_is_logged_flag() 89 bool dp_trace_is_logged(struct dc_link *link, bool in_detection) in dp_trace_is_logged() [all …]
|
/drivers/gpu/drm/amd/display/dc/link/protocols/ |
D | link_edp_panel_control.c | 50 void dp_set_panel_mode(struct dc_link *link, enum dp_panel_mode panel_mode) in dp_set_panel_mode() 98 enum dp_panel_mode dp_get_panel_mode(struct dc_link *link) in dp_get_panel_mode() 152 bool edp_set_backlight_level_nits(struct dc_link *link, in edp_set_backlight_level_nits() 205 bool edp_get_backlight_level_nits(struct dc_link *link, in edp_get_backlight_level_nits() 235 bool edp_backlight_enable_aux(struct dc_link *link, bool enable) in edp_backlight_enable_aux() 252 static bool read_default_bl_aux(struct dc_link *link, uint32_t *backlight_millinits) in read_default_bl_aux() 276 bool set_default_brightness_aux(struct dc_link *link) in set_default_brightness_aux() 293 bool edp_is_ilr_optimization_enabled(struct dc_link *link) in edp_is_ilr_optimization_enabled() 300 enum dc_link_rate get_max_link_rate_from_ilr_table(struct dc_link *link) in get_max_link_rate_from_ilr_table() 312 bool edp_is_ilr_optimization_required(struct dc_link *link, in edp_is_ilr_optimization_required() [all …]
|
D | link_dp_capability.c | 106 bool is_dp_active_dongle(const struct dc_link *link) in is_dp_active_dongle() 112 bool is_dp_branch_device(const struct dc_link *link) in is_dp_branch_device() 261 static enum clock_source_id get_clock_source_id(struct dc_link *link) in get_clock_source_id() 279 static void dp_wa_power_up_0010FA(struct dc_link *link, uint8_t *dpcd_data, in dp_wa_power_up_0010FA() 317 bool dp_is_fec_supported(const struct dc_link *link) in dp_is_fec_supported() 332 bool dp_should_enable_fec(const struct dc_link *link) in dp_should_enable_fec() 361 bool dp_is_lttpr_present(struct dc_link *link) in dp_is_lttpr_present() 397 static enum dc_link_rate get_lttpr_max_link_rate(struct dc_link *link) in get_lttpr_max_link_rate() 411 static enum dc_link_rate get_cable_max_link_rate(struct dc_link *link) in get_cable_max_link_rate() 449 static enum dc_link_rate reduce_link_rate(const struct dc_link *link, enum dc_link_rate link_rate) in reduce_link_rate() [all …]
|
D | link_dp_dpia_bw.c | 54 static void reset_bw_alloc_struct(struct dc_link *link) in reset_bw_alloc_struct() 75 static uint8_t get_bw_granularity(struct dc_link *link) in get_bw_granularity() 101 static int get_estimated_bw(struct dc_link *link) in get_estimated_bw() 114 static int get_non_reduced_max_link_rate(struct dc_link *link) in get_non_reduced_max_link_rate() 127 static int get_non_reduced_max_lane_count(struct dc_link *link) in get_non_reduced_max_lane_count() 145 static void init_usb4_bw_struct(struct dc_link *link) in init_usb4_bw_struct() 163 static uint8_t get_lowest_dpia_index(struct dc_link *link) in get_lowest_dpia_index() 243 static void dpia_bw_alloc_unplug(struct dc_link *link) in dpia_bw_alloc_unplug() 252 static void set_usb4_req_bw_req(struct dc_link *link, int req_bw) in set_usb4_req_bw_req() 293 static bool get_cm_response_ready_flag(struct dc_link *link) in get_cm_response_ready_flag() [all …]
|
D | link_dp_training.c | 59 struct dc_link *link, in dp_log_training_result() 180 struct dc_link *link, in dp_initialize_scrambling_data_symbols() 207 struct dc_link *link, in dp_training_pattern_to_dpcd_training_pattern() 272 struct dc_link *link, in dp_wait_for_training_aux_rd_interval() 515 struct dc_link *link, in dp_check_link_loss_status() 556 struct dc_link *link, in dp_get_lane_status_and_lane_adjust() 665 void dp_get_lttpr_mode_override(struct dc_link *link, enum lttpr_mode *override) in dp_get_lttpr_mode_override() 681 struct dc_link *link, in override_training_settings() 762 enum dc_dp_training_pattern decide_eq_training_pattern(struct dc_link *link, in decide_eq_training_pattern() 795 enum lttpr_mode dp_decide_lttpr_mode(struct dc_link *link, in dp_decide_lttpr_mode() [all …]
|
D | link_dp_phy.c | 43 void dpcd_write_rx_power_ctrl(struct dc_link *link, bool on) in dpcd_write_rx_power_ctrl() 58 struct dc_link *link, in dp_enable_link_phy() 70 void dp_disable_link_phy(struct dc_link *link, in dp_disable_link_phy() 89 static inline bool is_immediate_downstream(struct dc_link *link, uint32_t offset) in is_immediate_downstream() 96 struct dc_link *link, in dp_set_hw_lane_settings() 118 struct dc_link *link, in dp_set_drive_settings() 133 enum dc_status dp_set_fec_ready(struct dc_link *link, const struct link_resource *link_res, bool re… in dp_set_fec_ready() 180 void dp_set_fec_enable(struct dc_link *link, bool enable) in dp_set_fec_enable()
|
D | link_dp_irq_handler.c | 44 struct dc_link *link, in dp_parse_link_loss_status() 119 static bool handle_hpd_irq_psr_sink(struct dc_link *link) in handle_hpd_irq_psr_sink() 185 static bool handle_hpd_irq_replay_sink(struct dc_link *link) in handle_hpd_irq_replay_sink() 247 void dp_handle_link_loss(struct dc_link *link) in dp_handle_link_loss() 273 static void read_dpcd204h_on_irq_hpd(struct dc_link *link, union hpd_irq_data *irq_data) in read_dpcd204h_on_irq_hpd() 293 struct dc_link *link, in dp_read_hpd_rx_irq_data() 346 bool dp_should_allow_hpd_rx_irq(const struct dc_link *link) in dp_should_allow_hpd_rx_irq() 361 bool dp_handle_hpd_rx_irq(struct dc_link *link, in dp_handle_hpd_rx_irq()
|
D | link_hpd.c | 36 bool link_get_hpd_state(struct dc_link *link) in link_get_hpd_state() 47 void link_enable_hpd(const struct dc_link *link) in link_enable_hpd() 55 void link_disable_hpd(const struct dc_link *link) in link_disable_hpd() 63 void link_enable_hpd_filter(struct dc_link *link, bool enable) in link_enable_hpd_filter() 120 bool query_hpd_status(struct dc_link *link, uint32_t *is_hpd_high) in query_hpd_status() 135 enum hpd_source_id get_hpd_line(struct dc_link *link) in get_hpd_line() 176 bool program_hpd_filter(const struct dc_link *link) in program_hpd_filter()
|
D | link_dp_training_dpia.c | 101 struct dc_link *link, in dpia_configure_link() 147 struct dc_link *link, in core_link_send_set_config() 171 struct dc_link *link, in dpia_build_set_config_data() 234 struct dc_link *link, in dpcd_set_lt_pattern() 287 struct dc_link *link, in dpia_training_cr_non_transparent() 459 struct dc_link *link, in dpia_training_cr_transparent() 562 struct dc_link *link, in dpia_training_cr_phase() 579 const struct dc_link *link, in dpia_get_eq_aux_rd_interval() 612 struct dc_link *link, in dpia_training_eq_non_transparent() 762 struct dc_link *link, in dpia_training_eq_transparent() [all …]
|
D | link_dp_training_128b_132b.c | 40 struct dc_link *link, in dpcd_128b_132b_set_lane_settings() 55 static void dpcd_128b_132b_get_aux_rd_interval(struct dc_link *link, in dpcd_128b_132b_get_aux_rd_interval() 72 struct dc_link *link, in dp_perform_128b_132b_channel_eq_done_sequence() 157 struct dc_link *link, in dp_perform_128b_132b_cds_done_sequence() 196 struct dc_link *link, in dp_perform_128b_132b_link_training() 229 void decide_128b_132b_training_settings(struct dc_link *link, in decide_128b_132b_training_settings() 255 enum lttpr_mode dp_decide_128b_132b_lttpr_mode(struct dc_link *link) in dp_decide_128b_132b_lttpr_mode()
|
/drivers/gpu/drm/msm/dp/ |
D | dp_link.c | 50 struct dp_link_info *link) in dp_aux_link_power_up() 78 struct dp_link_info *link) in dp_aux_link_power_down() 100 static int dp_link_get_period(struct dp_link_private *link, int const addr) in dp_link_get_period() 126 static int dp_link_parse_audio_channel_period(struct dp_link_private *link) in dp_link_parse_audio_channel_period() 191 static int dp_link_parse_audio_pattern_type(struct dp_link_private *link) in dp_link_parse_audio_pattern_type() 218 static int dp_link_parse_audio_mode(struct dp_link_private *link) in dp_link_parse_audio_mode() 261 static int dp_link_parse_audio_pattern_params(struct dp_link_private *link) in dp_link_parse_audio_pattern_params() 311 static int dp_link_parse_timing_params1(struct dp_link_private *link, in dp_link_parse_timing_params1() 332 static int dp_link_parse_timing_params2(struct dp_link_private *link, in dp_link_parse_timing_params2() 355 static int dp_link_parse_timing_params3(struct dp_link_private *link, in dp_link_parse_timing_params3() [all …]
|
/drivers/gpu/drm/tegra/ |
D | dp.c | 34 static void drm_dp_link_reset(struct drm_dp_link *link) in drm_dp_link_reset() 74 int drm_dp_link_add_rate(struct drm_dp_link *link, unsigned long rate) in drm_dp_link_add_rate() 111 int drm_dp_link_remove_rate(struct drm_dp_link *link, unsigned long rate) in drm_dp_link_remove_rate() 144 void drm_dp_link_update_rates(struct drm_dp_link *link) in drm_dp_link_update_rates() 170 int drm_dp_link_probe(struct drm_dp_aux *aux, struct drm_dp_link *link) in drm_dp_link_probe() 265 int drm_dp_link_power_up(struct drm_dp_aux *aux, struct drm_dp_link *link) in drm_dp_link_power_up() 302 int drm_dp_link_power_down(struct drm_dp_aux *aux, struct drm_dp_link *link) in drm_dp_link_power_down() 332 int drm_dp_link_configure(struct drm_dp_aux *aux, struct drm_dp_link *link) in drm_dp_link_configure() 387 int drm_dp_link_choose(struct drm_dp_link *link, in drm_dp_link_choose() 466 static int drm_dp_link_apply_training(struct drm_dp_link *link) in drm_dp_link_apply_training() [all …]
|
/drivers/gpu/drm/amd/display/dc/link/ |
D | link_detection.c | 164 static enum signal_type link_detect_sink_signal_type(struct dc_link *link, in link_detect_sink_signal_type() 456 static void link_disconnect_sink(struct dc_link *link) in link_disconnect_sink() 467 static void link_disconnect_remap(struct dc_sink *prev_sink, struct dc_link *link) in link_disconnect_remap() 473 static void query_hdcp_capability(enum signal_type signal, struct dc_link *link) in query_hdcp_capability() 512 static void read_current_link_settings_on_detect(struct dc_link *link) in read_current_link_settings_on_detect() 577 static bool detect_dp(struct dc_link *link, in detect_dp() 624 static bool wait_for_entering_dp_alt_mode(struct dc_link *link) in wait_for_entering_dp_alt_mode() 679 static void apply_dpia_mst_dsc_always_on_wa(struct dc_link *link) in apply_dpia_mst_dsc_always_on_wa() 693 static void revert_dpia_mst_dsc_always_on_wa(struct dc_link *link) in revert_dpia_mst_dsc_always_on_wa() 700 static bool discover_dp_mst_topology(struct dc_link *link, enum dc_detect_reason reason) in discover_dp_mst_topology() [all …]
|
D | link_dpms.c | 117 void link_blank_dp_stream(struct dc_link *link, bool hw_init) in link_blank_dp_stream() 145 void link_set_all_streams_dpms_off_for_link(struct dc_link *link) in link_set_all_streams_dpms_off_for_link() 173 void link_resume(struct dc_link *link) in link_resume() 182 static bool is_master_pipe_for_link(const struct dc_link *link, in is_master_pipe_for_link() 193 void link_get_master_pipes_with_dpms_on(const struct dc_link *link, in link_get_master_pipes_with_dpms_on() 724 static void enable_mst_on_sink(struct dc_link *link, bool enable) in enable_mst_on_sink() 979 struct dc_link *link = stream->link; in enable_stream_features() local 1003 static void log_vcp_x_y(const struct dc_link *link, struct fixed31_32 avg_time_slots_per_mtp) in log_vcp_x_y() 1100 struct dc_link *link, in get_lane_status() 1125 static bool poll_for_allocation_change_trigger(struct dc_link *link) in poll_for_allocation_change_trigger() [all …]
|
/drivers/pci/pcie/ |
D | aspm.c | 107 static int policy_to_aspm_state(struct pcie_link_state *link) in policy_to_aspm_state() 125 static int policy_to_clkpm_state(struct pcie_link_state *link) in policy_to_clkpm_state() 141 static void pcie_set_clkpm_nocheck(struct pcie_link_state *link, int enable) in pcie_set_clkpm_nocheck() 154 static void pcie_set_clkpm(struct pcie_link_state *link, int enable) in pcie_set_clkpm() 168 static void pcie_clkpm_cap_init(struct pcie_link_state *link, int blacklist) in pcie_clkpm_cap_init() 199 static void pcie_aspm_configure_common_clock(struct pcie_link_state *link) in pcie_aspm_configure_common_clock() 364 struct pcie_link_state *link; in pcie_aspm_check_latency() local 438 static void aspm_calc_l12_info(struct pcie_link_state *link, in aspm_calc_l12_info() 527 static void aspm_l1ss_init(struct pcie_link_state *link) in aspm_l1ss_init() 584 static void pcie_aspm_cap_init(struct pcie_link_state *link, int blacklist) in pcie_aspm_cap_init() [all …]
|
/drivers/net/wireless/intersil/orinoco/ |
D | spectrum_cs.c | 77 spectrum_reset(struct pcmcia_device *link, int idle) in spectrum_reset() 134 struct pcmcia_device *link = card->p_dev; in spectrum_cs_hard_reset() local 146 struct pcmcia_device *link = card->p_dev; in spectrum_cs_stop_firmware() local 156 spectrum_cs_probe(struct pcmcia_device *link) in spectrum_cs_probe() 184 static void spectrum_cs_detach(struct pcmcia_device *link) in spectrum_cs_detach() 205 spectrum_cs_config(struct pcmcia_device *link) in spectrum_cs_config() 269 spectrum_cs_release(struct pcmcia_device *link) in spectrum_cs_release() 287 spectrum_cs_suspend(struct pcmcia_device *link) in spectrum_cs_suspend() 298 spectrum_cs_resume(struct pcmcia_device *link) in spectrum_cs_resume()
|
D | orinoco_cs.c | 74 struct pcmcia_device *link = card->p_dev; in orinoco_cs_hard_reset() local 95 orinoco_cs_probe(struct pcmcia_device *link) in orinoco_cs_probe() 122 static void orinoco_cs_detach(struct pcmcia_device *link) in orinoco_cs_detach() 143 orinoco_cs_config(struct pcmcia_device *link) in orinoco_cs_config() 202 orinoco_cs_release(struct pcmcia_device *link) in orinoco_cs_release() 218 static int orinoco_cs_suspend(struct pcmcia_device *link) in orinoco_cs_suspend() 232 static int orinoco_cs_resume(struct pcmcia_device *link) in orinoco_cs_resume()
|
/drivers/tty/serial/8250/ |
D | serial_cs.c | 108 static void quirk_setup_brainboxes_0104(struct pcmcia_device *link, struct uart_8250_port *uart) in quirk_setup_brainboxes_0104() 113 static int quirk_post_ibm(struct pcmcia_device *link) in quirk_post_ibm() 135 static void quirk_config_nokia(struct pcmcia_device *link) in quirk_config_nokia() 143 static void quirk_wakeup_oxsemi(struct pcmcia_device *link) in quirk_wakeup_oxsemi() 157 static void quirk_wakeup_possio_gcc(struct pcmcia_device *link) in quirk_wakeup_possio_gcc() 180 static void quirk_config_socket(struct pcmcia_device *link) in quirk_config_socket() 264 static void serial_remove(struct pcmcia_device *link) in serial_remove() 281 static int serial_suspend(struct pcmcia_device *link) in serial_suspend() 292 static int serial_resume(struct pcmcia_device *link) in serial_resume() 306 static int serial_probe(struct pcmcia_device *link) in serial_probe() [all …]
|
/drivers/ata/ |
D | libata-pmp.c | 38 static unsigned int sata_pmp_read(struct ata_link *link, int reg, u32 *r_val) in sata_pmp_read() 75 static unsigned int sata_pmp_write(struct ata_link *link, int reg, u32 val) in sata_pmp_write() 111 struct ata_link *link = qc->dev->link; in sata_pmp_qc_defer_cmd_switch() local 141 int sata_pmp_scr_read(struct ata_link *link, int reg, u32 *r_val) in sata_pmp_scr_read() 172 int sata_pmp_scr_write(struct ata_link *link, int reg, u32 val) in sata_pmp_scr_write() 203 int sata_pmp_set_lpm(struct ata_link *link, enum ata_lpm_policy policy, in sata_pmp_set_lpm() 361 struct ata_link *link = &pmp_link[i]; in sata_pmp_init_links() local 383 struct ata_link *link; in sata_pmp_quirks() local 487 struct ata_link *link = dev->link; in sata_pmp_attach() local 561 struct ata_link *link = dev->link; in sata_pmp_detach() local [all …]
|
/drivers/media/mc/ |
D | mc-entity.c | 48 static inline const char *link_type_name(struct media_link *link) in link_type_name() 105 struct media_link *link = gobj_to_link(gobj); in dev_dbg_obj() local 270 media_entity_other(struct media_entity *entity, struct media_link *link) in media_entity_other() 349 struct media_link *link; in media_graph_walk_iter() local 599 struct media_link *link; in media_pipeline_explore_next_link() local 802 struct media_link *link; in __media_pipeline_start() local 1049 struct media_link *link; in media_add_link() local 1061 struct media_link *link) in __media_entity_remove_link() 1122 struct media_link *link; in media_create_pad_link() local 1250 struct media_link *link, *tmp; in __media_entity_remove_links() local [all …]
|
/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_helpers.c | 89 struct dc_link *link, in dm_helpers_parse_edid_caps() 159 fill_dc_mst_payload_table_from_drm(struct dc_link *link, in fill_dc_mst_payload_table_from_drm() 211 const struct dc_link *link) in dm_helpers_dp_update_branch_info() 215 struct dc_link *link, in dm_helpers_construct_old_payload() 306 const struct dc_link *link) in dm_helpers_dp_mst_poll_pending_down_reply() 314 const struct dc_link *link) in dm_helpers_dp_mst_clear_payload_allocation_table() 481 const struct dc_link *link, in dm_helpers_dp_mst_start_top_mgr() 515 struct dc_link *link) in dm_helpers_dp_mst_stop_top_mgr() 537 const struct dc_link *link, in dm_helpers_dp_read_dpcd() 556 const struct dc_link *link, in dm_helpers_dp_write_dpcd() [all …]
|
/drivers/misc/ocxl/ |
D | link.c | 48 struct ocxl_link *link; member 191 struct ocxl_link *link = (struct ocxl_link *) data; in xsl_fault_handler() local 277 static int setup_xsl_irq(struct pci_dev *dev, struct ocxl_link *link) in setup_xsl_irq() 332 static void release_xsl_irq(struct ocxl_link *link) in release_xsl_irq() 344 static int alloc_spa(struct pci_dev *dev, struct ocxl_link *link) in alloc_spa() 371 static void free_spa(struct ocxl_link *link) in free_spa() 387 struct ocxl_link *link; in alloc_link() local 434 static void free_link(struct ocxl_link *link) in free_link() 444 struct ocxl_link *link; in ocxl_link_setup() local 471 struct ocxl_link *link = container_of(ref, struct ocxl_link, ref); in release_xsl() local [all …]
|
/drivers/gpu/drm/amd/display/dc/link/hwss/ |
D | link_hwss_dio_fixed_vs_pe_retimer.c | 29 uint8_t dp_dio_fixed_vs_pe_retimer_lane_cfg_to_hw_cfg(struct dc_link *link) in dp_dio_fixed_vs_pe_retimer_lane_cfg_to_hw_cfg() 38 void dp_dio_fixed_vs_pe_retimer_exit_manual_automation(struct dc_link *link) in dp_dio_fixed_vs_pe_retimer_exit_manual_automation() 74 static bool set_dio_fixed_vs_pe_retimer_dp_link_test_pattern_override(struct dc_link *link, in set_dio_fixed_vs_pe_retimer_dp_link_test_pattern_override() 124 static void set_dio_fixed_vs_pe_retimer_dp_link_test_pattern(struct dc_link *link, in set_dio_fixed_vs_pe_retimer_dp_link_test_pattern() 137 void enable_dio_fixed_vs_pe_retimer_program_4lane_output(struct dc_link *link) in enable_dio_fixed_vs_pe_retimer_program_4lane_output() 157 static void enable_dio_fixed_vs_pe_retimer_dp_link_output(struct dc_link *link, in enable_dio_fixed_vs_pe_retimer_dp_link_output() 186 bool requires_fixed_vs_pe_retimer_dio_link_hwss(const struct dc_link *link) in requires_fixed_vs_pe_retimer_dio_link_hwss()
|
/drivers/acpi/ |
D | pci_link.c | 87 struct acpi_pci_link *link = context; in acpi_pci_link_check_possible() local 155 static int acpi_pci_link_get_possible(struct acpi_pci_link *link) in acpi_pci_link_get_possible() 228 static int acpi_pci_link_get_current(struct acpi_pci_link *link) in acpi_pci_link_get_current() 277 static int acpi_pci_link_set(struct acpi_pci_link *link, int irq) in acpi_pci_link_set() 453 struct acpi_pci_link *link; in acpi_irq_pci_sharing_penalty() local 492 struct acpi_pci_link *link; in acpi_irq_penalty_init() local 528 static int acpi_pci_link_allocate(struct acpi_pci_link *link) in acpi_pci_link_allocate() 610 struct acpi_pci_link *link; in acpi_pci_link_allocate_irq() local 660 struct acpi_pci_link *link; in acpi_pci_link_free_irq() local 708 struct acpi_pci_link *link; in acpi_pci_link_add() local [all …]
|