Lines Matching +full:aux +full:- +full:bus

1 /* SPDX-License-Identifier: GPL-2.0 */
5 * The DP AUX bus is used for devices that are connected over a DisplayPort
6 * AUX bus. The devices on the far side of the bus are referred to as
17 * struct dp_aux_ep_device - Main dev structure for DP AUX endpoints
19 * This is used to instantiate devices that are connected via a DP AUX
20 * bus. Usually the device is a panel, but conceivable other devices could
26 /** @aux: Pointer to the aux bus */
27 struct drm_dp_aux *aux; member
47 int of_dp_aux_populate_bus(struct drm_dp_aux *aux,
48 int (*done_probing)(struct drm_dp_aux *aux));
49 void of_dp_aux_depopulate_bus(struct drm_dp_aux *aux);
50 int devm_of_dp_aux_populate_bus(struct drm_dp_aux *aux,
51 int (*done_probing)(struct drm_dp_aux *aux));
54 static inline int of_dp_aux_populate_ep_devices(struct drm_dp_aux *aux) in of_dp_aux_populate_ep_devices() argument
58 ret = of_dp_aux_populate_bus(aux, NULL); in of_dp_aux_populate_ep_devices()
60 /* New API returns -ENODEV for no child case; adapt to old assumption */ in of_dp_aux_populate_ep_devices()
61 return (ret != -ENODEV) ? ret : 0; in of_dp_aux_populate_ep_devices()
64 static inline int devm_of_dp_aux_populate_ep_devices(struct drm_dp_aux *aux) in devm_of_dp_aux_populate_ep_devices() argument
68 ret = devm_of_dp_aux_populate_bus(aux, NULL); in devm_of_dp_aux_populate_ep_devices()
70 /* New API returns -ENODEV for no child case; adapt to old assumption */ in devm_of_dp_aux_populate_ep_devices()
71 return (ret != -ENODEV) ? ret : 0; in devm_of_dp_aux_populate_ep_devices()
74 static inline void of_dp_aux_depopulate_ep_devices(struct drm_dp_aux *aux) in of_dp_aux_depopulate_ep_devices() argument
76 of_dp_aux_depopulate_bus(aux); in of_dp_aux_depopulate_ep_devices()