Lines Matching defs:device
149 * Before we can read a midi byte from the device, we have to set
174 /* waits for device ready
177 * 1 device ready
195 /* Init device (LED blinking startup magic)
222 * Opens the device (set communication mode)
236 * Close device (clear communication mode)
253 * When reading a byte from the device, the device tells us
270 /* Probe parport for device
274 * 0 device found
275 * -ENODEV no device
296 /* Read byte incl. status from device
314 /* Read a byte from device
323 * Byte read from device
344 * The device creates SMPTE Timecode by hardware.
379 /* Write a command byte to device
392 /* Write a data byte to device
676 if the device has not been opened before.
677 So there aren't any IRQs from the device */
842 struct platform_device *device;
844 device = platform_device_alloc(PLATFORM_DRIVER, device_count);
845 if (!device)
849 platform_set_drvdata(device, p);
851 if (platform_device_add(device) < 0) {
852 platform_device_put(device);
857 * We need to check if device probing succeeded or not */
858 if (!platform_get_drvdata(device)) {
859 platform_device_unregister(device);
863 /* register device in global table */
864 platform_devices[device_count] = device;
943 pdev->id); /* device number */
975 /* init device */