Lines Matching defs:controller
101 * controller.
102 * @dev: Pointer to the given USB controller device
128 * @dev: Pointer to the given USB controller device
246 * of_usb_get_dr_mode_by_phy - Get dual role mode for the controller device
252 * In dts a usb controller associates with phy devices. The function gets
253 * the string from property 'dr_mode' of the controller associated with the
258 struct device_node *controller = NULL;
265 controller = of_find_node_with_property(controller, "phys");
266 if (!of_device_is_available(controller))
271 args.np = of_parse_phandle(controller, "phys",
275 err = of_parse_phandle_with_args(controller,
288 } while (controller);
291 err = of_property_read_string(controller, "dr_mode", &dr_mode);
292 of_node_put(controller);