Home
last modified time | relevance | path

Searched refs:umc_dev (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/staging/uwb/include/
Dumc.h63 struct umc_dev { struct
72 #define to_umc_dev(d) container_of(d, struct umc_dev, dev) argument
84 int (*match)(struct umc_driver *, struct umc_dev *);
87 int (*probe)(struct umc_dev *);
88 void (*remove)(struct umc_dev *);
89 int (*pre_reset)(struct umc_dev *);
90 int (*post_reset)(struct umc_dev *);
99 struct umc_dev *umc_device_create(struct device *parent, int n);
100 int __must_check umc_device_register(struct umc_dev *umc);
101 void umc_device_unregister(struct umc_dev *umc);
[all …]
/Linux-v5.4/drivers/staging/uwb/
Dwhc-rc.c50 struct umc_dev *umc_dev; member
83 struct device *dev = &whcrc->umc_dev->dev; in whcrc_cmd()
125 return umc_controller_reset(whcrc->umc_dev); in whcrc_reset()
178 struct device *dev = &whcrc->umc_dev->dev; in whcrc_irq_cb()
207 struct device *dev = &whcrc->umc_dev->dev; in whcrc_setup_rc_umc()
208 struct umc_dev *umc_dev = whcrc->umc_dev; in whcrc_setup_rc_umc() local
210 whcrc->area = umc_dev->resource.start; in whcrc_setup_rc_umc()
211 whcrc->rc_len = resource_size(&umc_dev->resource); in whcrc_setup_rc_umc()
226 result = request_irq(umc_dev->irq, whcrc_irq_cb, IRQF_SHARED, in whcrc_setup_rc_umc()
230 umc_dev->irq, result); in whcrc_setup_rc_umc()
[all …]
Dumc-bus.c19 struct umc_dev *umc = to_umc_dev(dev); in umc_bus_pre_reset_helper()
35 struct umc_dev *umc = to_umc_dev(dev); in umc_bus_post_reset_helper()
60 int umc_controller_reset(struct umc_dev *umc) in umc_controller_reset()
82 int umc_match_pci_id(struct umc_driver *umc_drv, struct umc_dev *umc) in umc_match_pci_id()
121 struct umc_dev *umc = to_umc_dev(dev); in umc_bus_match()
135 struct umc_dev *umc; in umc_device_probe()
154 struct umc_dev *umc; in umc_device_remove()
167 struct umc_dev *umc = to_umc_dev(dev); in capability_id_show()
175 struct umc_dev *umc = to_umc_dev(dev); in version_show()
186 ATTRIBUTE_GROUPS(umc_dev);
Dumc-dev.c14 struct umc_dev *umc = to_umc_dev(dev); in umc_device_release()
27 struct umc_dev *umc_device_create(struct device *parent, int n) in umc_device_create()
29 struct umc_dev *umc; in umc_device_create()
31 umc = kzalloc(sizeof(struct umc_dev), GFP_KERNEL); in umc_device_create()
51 int umc_device_register(struct umc_dev *umc) in umc_device_register()
84 void umc_device_unregister(struct umc_dev *umc) in umc_device_unregister()
Dwhci.c20 struct umc_dev *devs[0];
93 struct umc_dev *umc; in whci_add_cap()
133 struct umc_dev *umc = card->devs[n]; in whci_del_cap()
176 + sizeof(struct umc_dev *) * (n_caps + 1), in whci_probe()
/Linux-v5.4/drivers/staging/wusbcore/host/whci/
Dhcd.c226 static int whc_probe(struct umc_dev *umc) in whc_probe()
311 static void whc_remove(struct umc_dev *umc) in whc_remove()
Dwhcd.h23 struct umc_dev *umc;