#include <linux/device.h>
#include <linux/pci.h>
Go to the source code of this file.
Definition at line 73 of file umc.h.
Definition at line 98 of file umc.h.
#define UMC_CAP_ID_WHCI_RC 0x00 /* radio controller */ |
Definition at line 52 of file umc.h.
#define UMC_CAP_ID_WHCI_WUSB_HC 0x01 /* WUSB host controller */ |
Definition at line 53 of file umc.h.
umc_driver_register - register a UMC capabiltity driver. : pointer to the driver.
Definition at line 114 of file umc.h.
umc_controller_reset - reset the whole UMC controller : the UMC device for the radio controller.
Drivers or all capabilities of the controller will have their pre_reset methods called or be unbound from their device. Then all post_reset methods will be called or the drivers will be rebound.
Radio controllers must provide pre_reset and post_reset methods and reset the hardware in their start method.
If this is called while a probe() or remove() is in progress it will return -EAGAIN and not perform the reset.
Definition at line 61 of file umc-bus.c.
umc_device_create - allocate a child UMC device : parent of the new UMC device.
: index of the new device.
The new UMC device will have a bus ID of the parent with '-n' appended.
Definition at line 28 of file umc-dev.c.
umc_device_register - register a UMC device : pointer to the UMC device
The memory resource for the UMC device is acquired and the device registered with the system.
Definition at line 52 of file umc-dev.c.
umc_device_unregister - unregister a UMC device : pointer to the UMC device
First we unregister the device, make sure the driver can do it's resource release thing and then we try to release any left over resources. We take a ref to the device, to make sure it doesn't disappear under our feet.
Definition at line 84 of file umc-dev.c.
umc_driver_register - unregister a UMC capabiltity driver. : pointer to the driver.
Definition at line 28 of file umc-drv.c.
umc_match_pci_id - match a UMC driver to a UMC device's parent PCI device. : umc driver with match_data pointing to a zero-terminated table of pci_device_id's. : umc device whose parent is to be matched.
Definition at line 83 of file umc-bus.c.