Lines Matching refs:umc
11 #include <linux/uwb/umc.h>
19 struct umc_dev *umc = to_umc_dev(dev);
23 ret = umc_drv->pre_reset(umc);
35 struct umc_dev *umc = to_umc_dev(dev);
39 ret = umc_drv->post_reset(umc);
48 * @umc: the UMC device for the radio controller.
60 int umc_controller_reset(struct umc_dev *umc)
62 struct device *parent = umc->dev.parent;
78 * @umc_drv: umc driver with match_data pointing to a zero-terminated
80 * @umc: umc device whose parent is to be matched.
82 int umc_match_pci_id(struct umc_driver *umc_drv, struct umc_dev *umc)
87 if (umc->dev.parent->bus != &pci_bus_type)
90 pci = to_pci_dev(umc->dev.parent);
121 struct umc_dev *umc = to_umc_dev(dev);
124 if (umc->cap_id == umc_driver->cap_id) {
126 return umc_driver->match(umc_driver, umc);
135 struct umc_dev *umc;
140 umc = to_umc_dev(dev);
143 err = umc_driver->probe(umc);
154 struct umc_dev *umc;
158 umc = to_umc_dev(dev);
160 umc_driver->remove(umc);
167 struct umc_dev *umc;
171 umc = to_umc_dev(dev);
176 err = umc_driver->suspend(umc, state);
183 struct umc_dev *umc;
187 umc = to_umc_dev(dev);
192 err = umc_driver->resume(umc);
199 struct umc_dev *umc = to_umc_dev(dev);
201 return sprintf(buf, "0x%02x\n", umc->cap_id);
206 struct umc_dev *umc = to_umc_dev(dev);
208 return sprintf(buf, "0x%04x\n", umc->version);
218 .name = "umc",