Lines Matching defs:device
62 static ssize_t vbus_show(struct device *device,
65 struct tahvo_usb *tu = dev_get_drvdata(device);
255 static ssize_t otg_mode_show(struct device *device,
258 struct tahvo_usb *tu = dev_get_drvdata(device);
270 static ssize_t otg_mode_store(struct device *device,
274 struct tahvo_usb *tu = dev_get_drvdata(device);
283 dev_info(device, "HOST mode: host controller present\n");
286 dev_info(device, "HOST mode: no host controller, powering off\n");
295 dev_info(device, "PERIPHERAL mode: gadget driver present\n");
298 dev_info(device, "PERIPHERAL mode: no gadget driver, powering off\n");
362 dev_err(&pdev->dev, "could not register extcon device: %d\n",