Lines Matching full:aux

5  * The DP AUX bus is used for devices that are connected over a DisplayPort
6 * AUX bus. The device on the far side of the bus is referred to as an
9 * There is only one device connected to the DP AUX bus: an eDP panel.
11 * platform devices, putting them under the DP AUX bus allows the panel driver
27 int (*done_probing)(struct drm_dp_aux *aux);
69 ret = aux_ep_with_data->done_probing(aux_ep->aux); in dp_aux_ep_probe()
79 "DP AUX done_probing() can't defer\n"); in dp_aux_ep_probe()
131 .name = "dp-aux",
176 * of_dp_aux_ep_destroy() - Destroy an DP AUX endpoint device
181 * is called for _all_ of the child devices of the device providing the AUX bus.
211 * @aux: The AUX channel whose device we want to depopulate
216 void of_dp_aux_depopulate_bus(struct drm_dp_aux *aux) in of_dp_aux_depopulate_bus() argument
218 device_for_each_child_reverse(aux->dev, NULL, of_dp_aux_ep_destroy); in of_dp_aux_depopulate_bus()
223 * of_dp_aux_populate_bus() - Populate the endpoint device on the DP AUX
224 * @aux: The AUX channel whose device we want to populate. It is required that
225 * drm_dp_aux_init() has already been called for this AUX channel.
231 * "aux-bus" node of the device providing the AUX channel (AKA aux->dev).
254 int of_dp_aux_populate_bus(struct drm_dp_aux *aux, in of_dp_aux_populate_bus() argument
255 int (*done_probing)(struct drm_dp_aux *aux)) in of_dp_aux_populate_bus() argument
263 WARN_ON_ONCE(!aux->ddc.algo); in of_dp_aux_populate_bus()
265 if (!aux->dev->of_node) in of_dp_aux_populate_bus()
267 bus = of_get_child_by_name(aux->dev->of_node, "aux-bus"); in of_dp_aux_populate_bus()
277 dev_err(aux->dev, "DP AUX EP device already populated\n"); in of_dp_aux_populate_bus()
291 aux_ep->aux = aux; in of_dp_aux_populate_bus()
292 aux_ep->dev.parent = aux->dev; in of_dp_aux_populate_bus()
296 dev_set_name(&aux_ep->dev, "aux-%s", dev_name(aux->dev)); in of_dp_aux_populate_bus()
300 dev_err(aux->dev, "Failed to create AUX EP for %pOF: %d\n", np, ret); in of_dp_aux_populate_bus()
330 * @aux: The AUX channel whose device we want to populate
335 * Handles freeing w/ devm on the device "aux->dev".
341 int devm_of_dp_aux_populate_bus(struct drm_dp_aux *aux, in devm_of_dp_aux_populate_bus() argument
342 int (*done_probing)(struct drm_dp_aux *aux)) in devm_of_dp_aux_populate_bus() argument
346 ret = of_dp_aux_populate_bus(aux, done_probing); in devm_of_dp_aux_populate_bus()
350 return devm_add_action_or_reset(aux->dev, in devm_of_dp_aux_populate_bus()
351 of_dp_aux_depopulate_bus_void, aux); in devm_of_dp_aux_populate_bus()
390 MODULE_DESCRIPTION("DRM DisplayPort AUX bus");