/** *structdp_aux_ep_device-MaindevstructureforDPAUXendpoints * *ThisisusedtoinstantiatedevicesthatareconnectedviaaDPAUX *bus.Usuallythedeviceisapanel,butconceivableotherdevicescould *behookedupthere.
*/ struct dp_aux_ep_device { /** @dev: The normal dev pointer */ struct device dev; /** @aux: Pointer to the aux bus */ struct drm_dp_aux *aux;
};
int of_dp_aux_populate_bus(struct drm_dp_aux *aux, int (*done_probing)(struct drm_dp_aux *aux)); void of_dp_aux_depopulate_bus(struct drm_dp_aux *aux); int devm_of_dp_aux_populate_bus(struct drm_dp_aux *aux, int (*done_probing)(struct drm_dp_aux *aux));
/* Deprecated versions of the above functions. To be removed when no callers. */ staticinlineint of_dp_aux_populate_ep_devices(struct drm_dp_aux *aux)
{ int ret;
ret = of_dp_aux_populate_bus(aux, NULL);
/* New API returns -ENODEV for no child case; adapt to old assumption */ return (ret != -ENODEV) ? ret : 0;
}
staticinlineint devm_of_dp_aux_populate_ep_devices(struct drm_dp_aux *aux)
{ int ret;
ret = devm_of_dp_aux_populate_bus(aux, NULL);
/* New API returns -ENODEV for no child case; adapt to old assumption */ return (ret != -ENODEV) ? ret : 0;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.