/Linux-v4.19/drivers/uwb/ |
D | umc-dev.c | 15 struct umc_dev *umc = to_umc_dev(dev); in umc_device_release() local 17 kfree(umc); in umc_device_release() 30 struct umc_dev *umc; in umc_device_create() local 32 umc = kzalloc(sizeof(struct umc_dev), GFP_KERNEL); in umc_device_create() 33 if (umc) { in umc_device_create() 34 dev_set_name(&umc->dev, "%s-%d", dev_name(parent), n); in umc_device_create() 35 umc->dev.parent = parent; in umc_device_create() 36 umc->dev.bus = &umc_bus_type; in umc_device_create() 37 umc->dev.release = umc_device_release; in umc_device_create() 39 umc->dev.dma_mask = parent->dma_mask; in umc_device_create() [all …]
|
D | umc-bus.c | 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 [all …]
|
D | whci.c | 94 struct umc_dev *umc; in whci_add_cap() local 98 umc = umc_device_create(&card->pci->dev, n); in whci_add_cap() 99 if (umc == NULL) in whci_add_cap() 109 umc->version = UWBCAPDATA_TO_VERSION(capdata); in whci_add_cap() 110 umc->cap_id = n == 0 ? 0 : UWBCAPDATA_TO_CAP_ID(capdata); in whci_add_cap() 111 umc->bar = bar; in whci_add_cap() 112 umc->resource.start = pci_resource_start(card->pci, bar) in whci_add_cap() 114 umc->resource.end = umc->resource.start in whci_add_cap() 116 umc->resource.name = dev_name(&umc->dev); in whci_add_cap() 117 umc->resource.flags = card->pci->resource[bar].flags; in whci_add_cap() [all …]
|
D | Makefile | 3 obj-$(CONFIG_UWB_WHCI) += umc.o whci.o whc-rc.o 29 umc-objs := \ 30 umc-bus.o \ 31 umc-dev.o \ 32 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-v4.19/drivers/usb/host/whci/ |
D | init.c | 22 whci_wait_for(&whc->umc->dev, whc->base + WUSBCMD, WUSBCMD_WHCRESET, 0, in whc_hw_reset() 57 whc->workqueue = alloc_ordered_workqueue(dev_name(&whc->umc->dev), 0); in whc_init() 74 start = whc->umc->resource.start; in whc_init() 75 len = whc->umc->resource.end - start + 1; in whc_init() 77 dev_err(&whc->umc->dev, "can't request HC region\n"); in whc_init() 84 dev_err(&whc->umc->dev, "ioremap\n"); in whc_init() 97 dev_dbg(&whc->umc->dev, "N_DEVICES = %d, N_KEYS = %d, N_MMC_IES = %d\n", in whc_init() 100 whc->qset_pool = dma_pool_create("qset", &whc->umc->dev, in whc_init() 118 whc->gen_cmd_buf = dma_alloc_coherent(&whc->umc->dev, WHC_GEN_CMD_DATA_LEN, in whc_init() 125 whc->dn_buf = dma_alloc_coherent(&whc->umc->dev, in whc_init() [all …]
|
D | hcd.c | 87 whci_wait_for(&whc->umc->dev, whc->base + WUSBSTS, in whc_stop() 118 dev_err(&whc->umc->dev, "isochronous transfers unsupported\n"); in whc_urb_enqueue() 226 static int whc_probe(struct umc_dev *umc) in whc_probe() argument 232 struct device *dev = &umc->dev; in whc_probe() 245 whc->umc = umc; in whc_probe() 252 wusbhc->uwb_rc = uwb_rc_get_by_grandpa(umc->dev.parent); in whc_probe() 280 ret = usb_add_hcd(usb_hcd, whc->umc->irq, IRQF_SHARED); in whc_probe() 311 static void whc_remove(struct umc_dev *umc) in whc_remove() argument 313 struct usb_hcd *usb_hcd = dev_get_drvdata(&umc->dev); in whc_remove()
|
D | hw.c | 51 dev_err(&whc->umc->dev, "generic command timeout (%04x/%04x)\n", in whc_do_gencmd() 91 dev_err(&whc->umc->dev, "hardware error: %s\n", reason); in whc_hw_error()
|
D | pzl.c | 150 whci_wait_for(&whc->umc->dev, whc->base + WUSBSTS, in pzl_start() 162 whci_wait_for(&whc->umc->dev, whc->base + WUSBSTS, in pzl_stop() 379 whc->pz_list = dma_alloc_coherent(&whc->umc->dev, sizeof(u64) * 16, in pzl_init() 402 dma_free_coherent(&whc->umc->dev, sizeof(u64) * 16, whc->pz_list, in pzl_clean_up()
|
D | wusb.c | 21 return whci_wait_for(&whc->umc->dev, in whc_update_di() 148 ret = whci_wait_for(&whc->umc->dev, whc->base + WUSBSETSECKEYCMD, in whc_set_key()
|
D | int.c | 35 dev_err(&whc->umc->dev, "FIXME: host system error\n"); in whc_int_handler()
|
D | asl.c | 141 whci_wait_for(&whc->umc->dev, whc->base + WUSBSTS, in asl_start() 149 whci_wait_for(&whc->umc->dev, whc->base + WUSBSTS, in asl_stop()
|
D | whcd.h | 23 struct umc_dev *umc; member
|
D | qset.c | 610 std->dma_addr = dma_map_single(&whc->umc->dev, std->bounce_buf, std->len, in qset_add_urb_sg_linearize() 612 if (dma_mapping_error(&whc->umc->dev, std->dma_addr)) in qset_add_urb_sg_linearize()
|
/Linux-v4.19/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-v4.19/drivers/edac/ |
D | amd64_edac.c | 721 if (pvt->umc) { in determine_edac_cap() 725 if (!(pvt->umc[i].sdp_ctrl & UMC_SDP_INIT)) in determine_edac_cap() 731 if (pvt->umc[i].umc_cfg & BIT(12)) in determine_edac_cap() 810 struct amd64_umc *umc; in __dump_misc_regs_df() local 815 umc = &pvt->umc[i]; in __dump_misc_regs_df() 817 edac_dbg(1, "UMC%d DIMM cfg: 0x%x\n", i, umc->dimm_cfg); in __dump_misc_regs_df() 818 edac_dbg(1, "UMC%d UMC cfg: 0x%x\n", i, umc->umc_cfg); in __dump_misc_regs_df() 819 edac_dbg(1, "UMC%d SDP ctrl: 0x%x\n", i, umc->sdp_ctrl); in __dump_misc_regs_df() 820 edac_dbg(1, "UMC%d ECC ctrl: 0x%x\n", i, umc->ecc_ctrl); in __dump_misc_regs_df() 827 edac_dbg(1, "UMC%d UMC cap high: 0x%x\n", i, umc->umc_cap_hi); in __dump_misc_regs_df() [all …]
|
D | amd64_edac.h | 372 struct amd64_umc *umc; /* UMC registers */ member
|
/Linux-v4.19/include/linux/uwb/ |
D | umc.h | 101 int __must_check umc_device_register(struct umc_dev *umc); 102 void umc_device_unregister(struct umc_dev *umc); 122 int umc_match_pci_id(struct umc_driver *umc_drv, struct umc_dev *umc); 191 int umc_controller_reset(struct umc_dev *umc);
|
/Linux-v4.19/arch/x86/include/asm/ |
D | mce.h | 211 int umc_normaddr_to_sysaddr(u64 norm_addr, u16 nid, u8 umc, u64 *sys_addr); 214 static inline int umc_normaddr_to_sysaddr(u64 norm_addr, u16 nid, u8 umc, u64 *sys_addr) { return -… in umc_normaddr_to_sysaddr() argument
|
/Linux-v4.19/arch/x86/kernel/cpu/mcheck/ |
D | mce_amd.c | 582 int umc_normaddr_to_sysaddr(u64 norm_addr, u16 nid, u8 umc, u64 *sys_addr) in umc_normaddr_to_sysaddr() argument 599 if (amd_df_indirect_read(nid, 0, 0x1B4, umc, &tmp)) in umc_normaddr_to_sysaddr() 613 if (amd_df_indirect_read(nid, 0, 0x110 + (8 * base), umc, &tmp)) in umc_normaddr_to_sysaddr() 636 if (amd_df_indirect_read(nid, 0, 0x114 + (8 * base), umc, &tmp)) in umc_normaddr_to_sysaddr() 692 if (amd_df_indirect_read(nid, 0, 0x50, umc, &tmp)) in umc_normaddr_to_sysaddr() 709 if (amd_df_indirect_read(nid, 1, 0x208, umc, &tmp)) in umc_normaddr_to_sysaddr() 748 if (amd_df_indirect_read(nid, 0, 0x104, umc, &tmp)) in umc_normaddr_to_sysaddr()
|
/Linux-v4.19/arch/x86/kernel/cpu/ |
D | Makefile | 36 obj-$(CONFIG_CPU_SUP_UMC_32) += umc.o
|
/Linux-v4.19/drivers/scsi/ |
D | megaraid.c | 3525 megacmd_t __user *umc; in mega_n_to_m() local 3545 umc = MBOX_P(uiocp); in mega_n_to_m() 3547 if (get_user(upthru, (mega_passthru __user * __user *)&umc->xferaddr)) in mega_n_to_m() 3562 umc = (megacmd_t __user *)uioc_mimd->mbox; in mega_n_to_m() 3564 if (get_user(upthru, (mega_passthru __user * __user *)&umc->xferaddr)) in mega_n_to_m()
|