/linux-2.6.39/drivers/uwb/ |
D | umc-dev.c | 14 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 …]
|
D | umc-bus.c | 19 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 …]
|
D | whci.c | 93 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 …]
|
D | Makefile | 2 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
|
D | whc-rc.c | 434 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/ |
D | init.c | 33 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 …]
|
D | hcd.c | 97 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()
|
D | hw.c | 62 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()
|
D | pzl.c | 163 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()
|
D | wusb.c | 33 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()
|
D | int.c | 47 dev_err(&whc->umc->dev, "FIXME: host system error\n"); in whc_int_handler()
|
D | asl.c | 154 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()
|
D | whcd.h | 36 struct umc_dev *umc; member
|
D | qset.c | 613 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/ |
D | sysfs-bus-umc | 1 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/ |
D | umc.h | 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); 194 int umc_controller_reset(struct umc_dev *umc);
|
/linux-2.6.39/arch/x86/kernel/cpu/ |
D | Makefile | 27 obj-$(CONFIG_CPU_SUP_UMC_32) += umc.o
|
/linux-2.6.39/drivers/scsi/ |
D | megaraid.c | 3854 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()
|