Lines Matching refs:umc
20 struct umc_dev *umc = to_umc_dev(dev); in umc_bus_pre_reset_helper() local
24 ret = umc_drv->pre_reset(umc); in umc_bus_pre_reset_helper()
36 struct umc_dev *umc = to_umc_dev(dev); in umc_bus_post_reset_helper() local
40 ret = umc_drv->post_reset(umc); in umc_bus_post_reset_helper()
61 int umc_controller_reset(struct umc_dev *umc) in umc_controller_reset() argument
63 struct device *parent = umc->dev.parent; in umc_controller_reset()
83 int umc_match_pci_id(struct umc_driver *umc_drv, struct umc_dev *umc) in umc_match_pci_id() argument
88 if (!dev_is_pci(umc->dev.parent)) in umc_match_pci_id()
91 pci = to_pci_dev(umc->dev.parent); in umc_match_pci_id()
122 struct umc_dev *umc = to_umc_dev(dev); in umc_bus_match() local
125 if (umc->cap_id == umc_driver->cap_id) { in umc_bus_match()
127 return umc_driver->match(umc_driver, umc); in umc_bus_match()
136 struct umc_dev *umc; in umc_device_probe() local
141 umc = to_umc_dev(dev); in umc_device_probe()
144 err = umc_driver->probe(umc); in umc_device_probe()
155 struct umc_dev *umc; in umc_device_remove() local
159 umc = to_umc_dev(dev); in umc_device_remove()
161 umc_driver->remove(umc); in umc_device_remove()
168 struct umc_dev *umc = to_umc_dev(dev); in capability_id_show() local
170 return sprintf(buf, "0x%02x\n", umc->cap_id); in capability_id_show()
176 struct umc_dev *umc = to_umc_dev(dev); in version_show() local
178 return sprintf(buf, "0x%04x\n", umc->version); in version_show()