Lines Matching refs:device
62 static ssize_t vbus_show(struct device *device,
65 struct tahvo_usb *tu = dev_get_drvdata(device);
259 static ssize_t otg_mode_show(struct device *device,
262 struct tahvo_usb *tu = dev_get_drvdata(device);
274 static ssize_t otg_mode_store(struct device *device,
278 struct tahvo_usb *tu = dev_get_drvdata(device);
287 dev_info(device, "HOST mode: host controller present\n");
290 dev_info(device, "HOST mode: no host controller, powering off\n");
299 dev_info(device, "PERIPHERAL mode: gadget driver present\n");
302 dev_info(device, "PERIPHERAL mode: no gadget driver, powering off\n");
366 dev_err(&pdev->dev, "could not register extcon device: %d\n",