Home
last modified time | relevance | path

Searched refs:umc (Results 1 – 18 of 18) sorted by relevance

/linux-2.6.39/drivers/uwb/
Dumc-dev.c14 struct umc_dev *umc = to_umc_dev(dev); in umc_device_release() local
16 kfree(umc); in umc_device_release()
29 struct umc_dev *umc; in umc_device_create() local
31 umc = kzalloc(sizeof(struct umc_dev), GFP_KERNEL); in umc_device_create()
32 if (umc) { in umc_device_create()
33 dev_set_name(&umc->dev, "%s-%d", dev_name(parent), n); in umc_device_create()
34 umc->dev.parent = parent; in umc_device_create()
35 umc->dev.bus = &umc_bus_type; in umc_device_create()
36 umc->dev.release = umc_device_release; in umc_device_create()
38 umc->dev.dma_mask = parent->dma_mask; in umc_device_create()
[all …]
Dumc-bus.c19 struct umc_dev *umc = to_umc_dev(dev); in umc_bus_pre_reset_helper() local
23 ret = umc_drv->pre_reset(umc); in umc_bus_pre_reset_helper()
35 struct umc_dev *umc = to_umc_dev(dev); in umc_bus_post_reset_helper() local
39 ret = umc_drv->post_reset(umc); in umc_bus_post_reset_helper()
60 int umc_controller_reset(struct umc_dev *umc) in umc_controller_reset() argument
62 struct device *parent = umc->dev.parent; in umc_controller_reset()
82 int umc_match_pci_id(struct umc_driver *umc_drv, struct umc_dev *umc) in umc_match_pci_id() argument
87 if (umc->dev.parent->bus != &pci_bus_type) in umc_match_pci_id()
90 pci = to_pci_dev(umc->dev.parent); in umc_match_pci_id()
121 struct umc_dev *umc = to_umc_dev(dev); in umc_bus_match() local
[all …]
Dwhci.c93 struct umc_dev *umc; in whci_add_cap() local
97 umc = umc_device_create(&card->pci->dev, n); in whci_add_cap()
98 if (umc == NULL) in whci_add_cap()
108 umc->version = UWBCAPDATA_TO_VERSION(capdata); in whci_add_cap()
109 umc->cap_id = n == 0 ? 0 : UWBCAPDATA_TO_CAP_ID(capdata); in whci_add_cap()
110 umc->bar = bar; in whci_add_cap()
111 umc->resource.start = pci_resource_start(card->pci, bar) in whci_add_cap()
113 umc->resource.end = umc->resource.start in whci_add_cap()
115 umc->resource.name = dev_name(&umc->dev); in whci_add_cap()
116 umc->resource.flags = card->pci->resource[bar].flags; in whci_add_cap()
[all …]
DMakefile2 obj-$(CONFIG_UWB_WHCI) += umc.o whci.o whc-rc.o
28 umc-objs := \
29 umc-bus.o \
30 umc-dev.o \
31 umc-drv.o
Dwhc-rc.c434 static int whcrc_pre_reset(struct umc_dev *umc) in whcrc_pre_reset() argument
436 struct whcrc *whcrc = umc_get_drvdata(umc); in whcrc_pre_reset()
443 static int whcrc_post_reset(struct umc_dev *umc) in whcrc_post_reset() argument
445 struct whcrc *whcrc = umc_get_drvdata(umc); in whcrc_post_reset()
/linux-2.6.39/drivers/usb/host/whci/
Dinit.c33 whci_wait_for(&whc->umc->dev, whc->base + WUSBCMD, WUSBCMD_WHCRESET, 0, in whc_hw_reset()
68 whc->workqueue = create_singlethread_workqueue(dev_name(&whc->umc->dev)); in whc_init()
85 start = whc->umc->resource.start; in whc_init()
86 len = whc->umc->resource.end - start + 1; in whc_init()
88 dev_err(&whc->umc->dev, "can't request HC region\n"); in whc_init()
95 dev_err(&whc->umc->dev, "ioremap\n"); in whc_init()
108 dev_dbg(&whc->umc->dev, "N_DEVICES = %d, N_KEYS = %d, N_MMC_IES = %d\n", in whc_init()
111 whc->qset_pool = dma_pool_create("qset", &whc->umc->dev, in whc_init()
129 whc->gen_cmd_buf = dma_alloc_coherent(&whc->umc->dev, WHC_GEN_CMD_DATA_LEN, in whc_init()
136 whc->dn_buf = dma_alloc_coherent(&whc->umc->dev, in whc_init()
[all …]
Dhcd.c97 whci_wait_for(&whc->umc->dev, whc->base + WUSBSTS, in whc_stop()
128 dev_err(&whc->umc->dev, "isochronous transfers unsupported\n"); in whc_urb_enqueue()
238 static int whc_probe(struct umc_dev *umc) in whc_probe() argument
244 struct device *dev = &umc->dev; in whc_probe()
257 whc->umc = umc; in whc_probe()
264 wusbhc->uwb_rc = uwb_rc_get_by_grandpa(umc->dev.parent); in whc_probe()
292 ret = usb_add_hcd(usb_hcd, whc->umc->irq, IRQF_SHARED); in whc_probe()
322 static void whc_remove(struct umc_dev *umc) in whc_remove() argument
324 struct usb_hcd *usb_hcd = dev_get_drvdata(&umc->dev); in whc_remove()
Dhw.c62 dev_err(&whc->umc->dev, "generic command timeout (%04x/%04x)\n", in whc_do_gencmd()
102 dev_err(&whc->umc->dev, "hardware error: %s\n", reason); in whc_hw_error()
Dpzl.c163 whci_wait_for(&whc->umc->dev, whc->base + WUSBSTS, in pzl_start()
175 whci_wait_for(&whc->umc->dev, whc->base + WUSBSTS, in pzl_stop()
392 whc->pz_list = dma_alloc_coherent(&whc->umc->dev, sizeof(u64) * 16, in pzl_init()
415 dma_free_coherent(&whc->umc->dev, sizeof(u64) * 16, whc->pz_list, in pzl_clean_up()
Dwusb.c33 return whci_wait_for(&whc->umc->dev, in whc_update_di()
160 ret = whci_wait_for(&whc->umc->dev, whc->base + WUSBSETSECKEYCMD, in whc_set_key()
Dint.c47 dev_err(&whc->umc->dev, "FIXME: host system error\n"); in whc_int_handler()
Dasl.c154 whci_wait_for(&whc->umc->dev, whc->base + WUSBSTS, in asl_start()
162 whci_wait_for(&whc->umc->dev, whc->base + WUSBSTS, in asl_stop()
Dwhcd.h36 struct umc_dev *umc; member
Dqset.c613 std->dma_addr = dma_map_single(&whc->umc->dev, std->bounce_buf, std->len, in qset_add_urb_sg_linearize()
/linux-2.6.39/Documentation/ABI/testing/
Dsysfs-bus-umc1 What: /sys/bus/umc/
11 The umc bus presents each of the individual
14 What: /sys/bus/umc/devices/.../capability_id
22 What: /sys/bus/umc/devices/.../version
/linux-2.6.39/include/linux/uwb/
Dumc.h103 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);
194 int umc_controller_reset(struct umc_dev *umc);
/linux-2.6.39/arch/x86/kernel/cpu/
DMakefile27 obj-$(CONFIG_CPU_SUP_UMC_32) += umc.o
/linux-2.6.39/drivers/scsi/
Dmegaraid.c3854 megacmd_t __user *umc; in mega_n_to_m() local
3874 umc = MBOX_P(uiocp); in mega_n_to_m()
3876 if (get_user(upthru, (mega_passthru __user * __user *)&umc->xferaddr)) in mega_n_to_m()
3891 umc = (megacmd_t __user *)uioc_mimd->mbox; in mega_n_to_m()
3893 if (get_user(upthru, (mega_passthru __user * __user *)&umc->xferaddr)) in mega_n_to_m()