Lines Matching refs:dp_aux

11 #include "dp_aux.h"
45 struct drm_dp_aux dp_aux;
268 static ssize_t dp_aux_transfer(struct drm_dp_aux *dp_aux,
276 aux = container_of(dp_aux, struct dp_aux_private, dp_aux);
295 ret = pm_runtime_resume_and_get(dp_aux->dev);
367 pm_runtime_put_sync(dp_aux->dev);
372 irqreturn_t dp_aux_isr(struct drm_dp_aux *dp_aux)
377 if (!dp_aux) {
382 aux = container_of(dp_aux, struct dp_aux_private, dp_aux);
432 void dp_aux_enable_xfers(struct drm_dp_aux *dp_aux, bool enabled)
436 aux = container_of(dp_aux, struct dp_aux_private, dp_aux);
440 void dp_aux_reconfig(struct drm_dp_aux *dp_aux)
444 aux = container_of(dp_aux, struct dp_aux_private, dp_aux);
450 void dp_aux_init(struct drm_dp_aux *dp_aux)
454 if (!dp_aux) {
459 aux = container_of(dp_aux, struct dp_aux_private, dp_aux);
470 void dp_aux_deinit(struct drm_dp_aux *dp_aux)
474 aux = container_of(dp_aux, struct dp_aux_private, dp_aux);
484 int dp_aux_register(struct drm_dp_aux *dp_aux)
488 if (!dp_aux) {
493 ret = drm_dp_aux_register(dp_aux);
503 void dp_aux_unregister(struct drm_dp_aux *dp_aux)
505 drm_dp_aux_unregister(dp_aux);
508 static int dp_wait_hpd_asserted(struct drm_dp_aux *dp_aux,
514 aux = container_of(dp_aux, struct dp_aux_private, dp_aux);
553 aux->dp_aux.name = "dpu_dp_aux";
554 aux->dp_aux.dev = dev;
555 aux->dp_aux.transfer = dp_aux_transfer;
556 aux->dp_aux.wait_hpd_asserted = dp_wait_hpd_asserted;
557 drm_dp_aux_init(&aux->dp_aux);
559 return &aux->dp_aux;
562 void dp_aux_put(struct drm_dp_aux *dp_aux)
566 if (!dp_aux)
569 aux = container_of(dp_aux, struct dp_aux_private, dp_aux);