#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/slab.h>
#include <linux/uwb/umc.h>
Go to the source code of this file.
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.