#include <errno.h>
#include <str_error.h>
#include <stdlib.h>
#include <usb_iface.h>
#include <usb/ddfiface.h>
#include <usb/dev/pipes.h>
#include <usb/classes/classes.h>
#include <usb/dev/recognise.h>
#include "usbmid.h"
Go to the source code of this file.
Functions | |
static int | usb_iface_get_address_impl (ddf_fun_t *fun, devman_handle_t handle, usb_address_t *address) |
Callback for DDF USB interface. | |
static int | usb_iface_get_interface_impl (ddf_fun_t *fun, devman_handle_t handle, int *iface_no) |
Callback for DDF USB interface. | |
int | usbmid_spawn_interface_child (usb_device_t *parent, usbmid_interface_t *iface, const usb_standard_device_descriptor_t *device_descriptor, const usb_standard_interface_descriptor_t *interface_descriptor) |
Spawn new child device from one interface. | |
Variables | |
static ddf_dev_ops_t | child_device_ops |
Operations for children - interface functions. | |
static usb_iface_t | child_usb_iface |
DDF interface of the child - interface function. |
Definition in file usbmid.c.