Lines Matching refs:aux
939 intel_dp_aux_transfer(struct drm_dp_aux *aux, struct drm_dp_aux_msg *msg) in intel_dp_aux_transfer() argument
941 struct intel_dp *intel_dp = container_of(aux, struct intel_dp, aux); in intel_dp_aux_transfer()
1077 intel_dp->aux.name = name; in intel_dp_aux_init()
1078 intel_dp->aux.dev = dev->dev; in intel_dp_aux_init()
1079 intel_dp->aux.transfer = intel_dp_aux_transfer; in intel_dp_aux_init()
1084 ret = drm_dp_aux_register(&intel_dp->aux); in intel_dp_aux_init()
1092 &intel_dp->aux.ddc.dev.kobj, in intel_dp_aux_init()
1093 intel_dp->aux.ddc.dev.kobj.name); in intel_dp_aux_init()
1096 drm_dp_aux_unregister(&intel_dp->aux); in intel_dp_aux_init()
1107 intel_dp->aux.ddc.dev.kobj.name); in intel_dp_connector_unregister()
2207 ret = drm_dp_dpcd_writeb(&intel_dp->aux, DP_SET_POWER, in intel_dp_sink_dpms()
2215 ret = drm_dp_dpcd_writeb(&intel_dp->aux, DP_SET_POWER, in intel_dp_sink_dpms()
3019 intel_dp_dpcd_read_wake(struct drm_dp_aux *aux, unsigned int offset, in intel_dp_dpcd_read_wake() argument
3030 drm_dp_dpcd_read(aux, DP_DPCD_REV, buffer, 1); in intel_dp_dpcd_read_wake()
3033 ret = drm_dp_dpcd_read(aux, offset, buffer, size); in intel_dp_dpcd_read_wake()
3049 return intel_dp_dpcd_read_wake(&intel_dp->aux, in intel_dp_get_link_status()
3621 ret = drm_dp_dpcd_write(&intel_dp->aux, DP_TRAINING_PATTERN_SET, in intel_dp_set_link_train()
3652 ret = drm_dp_dpcd_write(&intel_dp->aux, DP_TRAINING_LANE0_SET, in intel_dp_update_link_train()
3713 drm_dp_dpcd_write(&intel_dp->aux, DP_LINK_BW_SET, link_config, 2); in intel_dp_link_training_clock_recovery()
3715 drm_dp_dpcd_write(&intel_dp->aux, DP_LINK_RATE_SET, in intel_dp_link_training_clock_recovery()
3720 drm_dp_dpcd_write(&intel_dp->aux, DP_DOWNSPREAD_CTRL, link_config, 2); in intel_dp_link_training_clock_recovery()
3979 if (intel_dp_dpcd_read_wake(&intel_dp->aux, 0x000, intel_dp->dpcd, in intel_dp_get_dpcd()
3991 intel_dp_dpcd_read_wake(&intel_dp->aux, DP_PSR_SUPPORT, in intel_dp_get_dpcd()
4004 intel_dp_dpcd_read_wake(&intel_dp->aux, in intel_dp_get_dpcd()
4022 (intel_dp_dpcd_read_wake(&intel_dp->aux, DP_EDP_DPCD_REV, &rev, 1) == 1) && in intel_dp_get_dpcd()
4027 intel_dp_dpcd_read_wake(&intel_dp->aux, in intel_dp_get_dpcd()
4053 if (intel_dp_dpcd_read_wake(&intel_dp->aux, DP_DOWNSTREAM_PORT_0, in intel_dp_get_dpcd()
4069 if (intel_dp_dpcd_read_wake(&intel_dp->aux, DP_SINK_OUI, buf, 3) == 3) in intel_dp_probe_oui()
4073 if (intel_dp_dpcd_read_wake(&intel_dp->aux, DP_BRANCH_OUI, buf, 3) == 3) in intel_dp_probe_oui()
4089 if (intel_dp_dpcd_read_wake(&intel_dp->aux, DP_MSTM_CAP, buf, 1)) { in intel_dp_probe_mst()
4110 if (drm_dp_dpcd_readb(&intel_dp->aux, DP_TEST_SINK, &buf) < 0) { in intel_dp_sink_crc_stop()
4116 if (drm_dp_dpcd_writeb(&intel_dp->aux, DP_TEST_SINK, in intel_dp_sink_crc_stop()
4142 if (drm_dp_dpcd_readb(&intel_dp->aux, DP_TEST_SINK_MISC, &buf) < 0) in intel_dp_sink_crc_start()
4150 if (drm_dp_dpcd_readb(&intel_dp->aux, DP_TEST_SINK, &buf) < 0) in intel_dp_sink_crc_start()
4155 if (drm_dp_dpcd_writeb(&intel_dp->aux, DP_TEST_SINK, in intel_dp_sink_crc_start()
4182 if (drm_dp_dpcd_readb(&intel_dp->aux, in intel_dp_sink_crc()
4196 if (drm_dp_dpcd_read(&intel_dp->aux, DP_TEST_CRC_R_CR, crc, 6) < 0) { in intel_dp_sink_crc()
4228 return intel_dp_dpcd_read_wake(&intel_dp->aux, in intel_dp_get_sink_irq()
4238 ret = intel_dp_dpcd_read_wake(&intel_dp->aux, in intel_dp_get_sink_irq_esi()
4267 intel_dp->aux.i2c_defer_count > 6) { in intel_dp_autotest_edid()
4275 if (intel_dp->aux.i2c_nack_count > 0 || in intel_dp_autotest_edid()
4276 intel_dp->aux.i2c_defer_count > 0) in intel_dp_autotest_edid()
4278 intel_dp->aux.i2c_nack_count, in intel_dp_autotest_edid()
4279 intel_dp->aux.i2c_defer_count); in intel_dp_autotest_edid()
4289 if (!drm_dp_dpcd_write(&intel_dp->aux, in intel_dp_autotest_edid()
4321 intel_dp->aux.i2c_nack_count = 0; in intel_dp_handle_test_request()
4322 intel_dp->aux.i2c_defer_count = 0; in intel_dp_handle_test_request()
4324 status = drm_dp_dpcd_read(&intel_dp->aux, DP_TEST_REQUEST, &rxdata, 1); in intel_dp_handle_test_request()
4357 status = drm_dp_dpcd_write(&intel_dp->aux, in intel_dp_handle_test_request()
4392 wret = drm_dp_dpcd_write(&intel_dp->aux, in intel_dp_check_mst_status()
4459 drm_dp_dpcd_writeb(&intel_dp->aux, in intel_dp_check_link_status()
4496 if (intel_dp_dpcd_read_wake(&intel_dp->aux, DP_SINK_COUNT, in intel_dp_detect_dpcd()
4505 if (drm_probe_ddc(&intel_dp->aux.ddc)) in intel_dp_detect_dpcd()
4736 &intel_dp->aux.ddc); in intel_dp_get_edid()
4823 drm_dp_dpcd_writeb(&intel_dp->aux, in intel_dp_detect()
5017 drm_dp_aux_unregister(&intel_dp->aux); in intel_dp_encoder_destroy()
5924 edid = drm_get_edid(connector, &intel_dp->aux.ddc); in intel_edp_init_connector()
6106 drm_dp_aux_unregister(&intel_dp->aux); in intel_dp_init_connector()