Lines Matching refs:aux_ep
26 struct dp_aux_ep_device aux_ep; member
55 struct dp_aux_ep_device *aux_ep = to_dp_aux_ep_dev(dev); in dp_aux_ep_probe() local
57 container_of(aux_ep, struct dp_aux_ep_device_with_data, aux_ep); in dp_aux_ep_probe()
64 ret = aux_ep_drv->probe(aux_ep); in dp_aux_ep_probe()
69 ret = aux_ep_with_data->done_probing(aux_ep->aux); in dp_aux_ep_probe()
89 aux_ep_drv->remove(aux_ep); in dp_aux_ep_probe()
105 struct dp_aux_ep_device *aux_ep = to_dp_aux_ep_dev(dev); in dp_aux_ep_remove() local
108 aux_ep_drv->remove(aux_ep); in dp_aux_ep_remove()
157 struct dp_aux_ep_device *aux_ep = to_dp_aux_ep_dev(dev); in dp_aux_ep_dev_release() local
159 container_of(aux_ep, struct dp_aux_ep_device_with_data, aux_ep); in dp_aux_ep_dev_release()
253 struct dp_aux_ep_device *aux_ep; in of_dp_aux_populate_bus() local
285 aux_ep = &aux_ep_with_data->aux_ep; in of_dp_aux_populate_bus()
286 aux_ep->aux = aux; in of_dp_aux_populate_bus()
287 aux_ep->dev.parent = aux->dev; in of_dp_aux_populate_bus()
288 aux_ep->dev.bus = &dp_aux_bus_type; in of_dp_aux_populate_bus()
289 aux_ep->dev.type = &dp_aux_device_type_type; in of_dp_aux_populate_bus()
290 aux_ep->dev.of_node = of_node_get(np); in of_dp_aux_populate_bus()
291 dev_set_name(&aux_ep->dev, "aux-%s", dev_name(aux->dev)); in of_dp_aux_populate_bus()
293 ret = device_register(&aux_ep->dev); in of_dp_aux_populate_bus()
301 put_device(&aux_ep->dev); in of_dp_aux_populate_bus()