Lines Matching full:aux

51 /***** amdgpu AUX functions *****/
128 amdgpu_atombios_dp_aux_transfer(struct drm_dp_aux *aux, struct drm_dp_aux_msg *msg) in amdgpu_atombios_dp_aux_transfer() argument
131 container_of(aux, struct amdgpu_i2c_chan, aux); in amdgpu_atombios_dp_aux_transfer()
191 amdgpu_connector->ddc_bus->aux.transfer = amdgpu_atombios_dp_aux_transfer; in amdgpu_atombios_dp_aux_init()
192 amdgpu_connector->ddc_bus->aux.drm_dev = amdgpu_connector->base.dev; in amdgpu_atombios_dp_aux_init()
194 drm_dp_aux_init(&amdgpu_connector->ddc_bus->aux); in amdgpu_atombios_dp_aux_init()
325 if (drm_dp_dpcd_read(&amdgpu_connector->ddc_bus->aux, DP_SINK_OUI, buf, 3) == 3) in amdgpu_atombios_dp_probe_oui()
329 if (drm_dp_dpcd_read(&amdgpu_connector->ddc_bus->aux, DP_BRANCH_OUI, buf, 3) == 3) in amdgpu_atombios_dp_probe_oui()
340 ret = drm_dp_dpcd_read(&amdgpu_connector->ddc_bus->aux, in amdgpu_atombios_dp_ds_ports()
356 ret = drm_dp_dpcd_read(&amdgpu_connector->ddc_bus->aux, DP_DPCD_REV, in amdgpu_atombios_dp_get_dpcd()
386 if (drm_dp_dpcd_readb(&amdgpu_connector->ddc_bus->aux, in amdgpu_atombios_dp_get_panel_mode()
398 if (drm_dp_dpcd_readb(&amdgpu_connector->ddc_bus->aux, in amdgpu_atombios_dp_get_panel_mode()
461 if (drm_dp_dpcd_read_link_status(&amdgpu_connector->ddc_bus->aux, link_status) in amdgpu_atombios_dp_needs_link_train()
482 drm_dp_dpcd_writeb(&amdgpu_connector->ddc_bus->aux, in amdgpu_atombios_dp_set_rx_power_state()
499 struct drm_dp_aux *aux; member
511 drm_dp_dpcd_write(dp_info->aux, DP_TRAINING_LANE0_SET, in amdgpu_atombios_dp_update_vs_emph()
535 drm_dp_dpcd_writeb(dp_info->aux, DP_TRAINING_PATTERN_SET, tp); in amdgpu_atombios_dp_set_tp()
550 drm_dp_dpcd_writeb(dp_info->aux, in amdgpu_atombios_dp_link_train_init()
553 drm_dp_dpcd_writeb(dp_info->aux, in amdgpu_atombios_dp_link_train_init()
557 drm_dp_dpcd_writeb(dp_info->aux, DP_EDP_CONFIGURATION_SET, 1); in amdgpu_atombios_dp_link_train_init()
563 drm_dp_dpcd_writeb(dp_info->aux, DP_LANE_COUNT_SET, tmp); in amdgpu_atombios_dp_link_train_init()
567 drm_dp_dpcd_writeb(dp_info->aux, DP_LINK_BW_SET, tmp); in amdgpu_atombios_dp_link_train_init()
574 drm_dp_dpcd_writeb(dp_info->aux, in amdgpu_atombios_dp_link_train_init()
587 drm_dp_dpcd_writeb(dp_info->aux, in amdgpu_atombios_dp_link_train_finish()
616 drm_dp_link_train_clock_recovery_delay(dp_info->aux, dp_info->dpcd); in amdgpu_atombios_dp_link_train_cr()
618 if (drm_dp_dpcd_read_link_status(dp_info->aux, in amdgpu_atombios_dp_link_train_cr()
681 drm_dp_link_train_channel_eq_delay(dp_info->aux, dp_info->dpcd); in amdgpu_atombios_dp_link_train_ce()
683 if (drm_dp_dpcd_read_link_status(dp_info->aux, in amdgpu_atombios_dp_link_train_ce()
743 if (drm_dp_dpcd_readb(&amdgpu_connector->ddc_bus->aux, DP_MAX_LANE_COUNT, &tmp) in amdgpu_atombios_dp_link_train()
759 dp_info.aux = &amdgpu_connector->ddc_bus->aux; in amdgpu_atombios_dp_link_train()