• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/uwb/

Lines Matching defs:umc_dev

24  * devices, whci ceates a umc_dev [whci_probe() -> whci_add_cap()]
33 * each umc_dev assigned to each of the PCI function's capabilities
35 * created umc_dev. Of course, if you are bound to the device, your
56 * struct umc_dev - UMC capability device
64 struct umc_dev {
73 #define to_umc_dev(d) container_of(d, struct umc_dev, dev)
85 int (*match)(struct umc_driver *, struct umc_dev *);
88 int (*probe)(struct umc_dev *);
89 void (*remove)(struct umc_dev *);
90 int (*suspend)(struct umc_dev *, pm_message_t state);
91 int (*resume)(struct umc_dev *);
92 int (*pre_reset)(struct umc_dev *);
93 int (*post_reset)(struct umc_dev *);
102 struct umc_dev *umc_device_create(struct device *parent, int n);
103 int __must_check umc_device_register(struct umc_dev *umc);
104 void umc_device_unregister(struct umc_dev *umc);
125 int umc_match_pci_id(struct umc_driver *umc_drv, struct umc_dev *umc);
127 static inline struct pci_dev *umc_parent_pci_dev(struct umc_dev *umc_dev)
130 if (umc_dev->dev.parent->bus == &pci_bus_type)
131 pci_dev = to_pci_dev(umc_dev->dev.parent);
137 * @umc_dev: Pointer to UMC device.
143 static inline struct umc_dev *umc_dev_get(struct umc_dev *umc_dev)
145 get_device(&umc_dev->dev);
146 return umc_dev;
151 * @umc_dev: Pointer to UMC device.
153 static inline void umc_dev_put(struct umc_dev *umc_dev)
155 put_device(&umc_dev->dev);
160 * @umc_dev: Pointer to UMC device.
163 static inline void umc_set_drvdata(struct umc_dev *umc_dev, void *data)
165 dev_set_drvdata(&umc_dev->dev, data);
170 * @umc_dev: Pointer to UMC device.
172 static inline void *umc_get_drvdata(struct umc_dev *umc_dev)
174 return dev_get_drvdata(&umc_dev->dev);
177 int umc_controller_reset(struct umc_dev *umc);