| /Linux-v5.4/drivers/staging/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 (!dev_is_pci(umc->dev.parent)) 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 | 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 | 420 static int whcrc_pre_reset(struct umc_dev *umc) in whcrc_pre_reset() argument 422 struct whcrc *whcrc = umc_get_drvdata(umc); in whcrc_pre_reset() 429 static int whcrc_post_reset(struct umc_dev *umc) in whcrc_post_reset() argument 431 struct whcrc *whcrc = umc_get_drvdata(umc); in whcrc_post_reset()
|
| /Linux-v5.4/drivers/staging/wusbcore/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-v5.4/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_umc.h | 40 for (umc_inst = 0; umc_inst < adev->umc.umc_inst_num; umc_inst++) { \ 42 adev->umc.funcs->enable_umc_index_mode(adev, umc_inst); \ 44 channel_inst < adev->umc.channel_inst_num; \ 47 umc_reg_offset = adev->umc.channel_offs * channel_inst; \ 49 channel_index = adev->umc.channel_idx_tbl[ \ 50 umc_inst * adev->umc.channel_inst_num + channel_inst]; \ 54 adev->umc.funcs->disable_umc_index_mode(adev);
|
| D | gmc_v9_0.c | 251 if (adev->umc.funcs->query_ras_error_count) in gmc_v9_0_process_ras_data_cb() 252 adev->umc.funcs->query_ras_error_count(adev, err_data); in gmc_v9_0_process_ras_data_cb() 256 if (adev->umc.funcs->query_ras_error_address) in gmc_v9_0_process_ras_data_cb() 257 adev->umc.funcs->query_ras_error_address(adev, err_data); in gmc_v9_0_process_ras_data_cb() 668 adev->umc.max_ras_err_cnt_per_query = UMC_V6_1_TOTAL_CHANNEL_NUM; in gmc_v9_0_set_umc_funcs() 669 adev->umc.channel_inst_num = UMC_V6_1_CHANNEL_INSTANCE_NUM; in gmc_v9_0_set_umc_funcs() 670 adev->umc.umc_inst_num = UMC_V6_1_UMC_INSTANCE_NUM; in gmc_v9_0_set_umc_funcs() 671 adev->umc.channel_offs = UMC_V6_1_PER_CHANNEL_OFFSET; in gmc_v9_0_set_umc_funcs() 672 adev->umc.channel_idx_tbl = &umc_v6_1_channel_idx_tbl[0][0]; in gmc_v9_0_set_umc_funcs() 673 adev->umc.funcs = &umc_v6_1_funcs; in gmc_v9_0_set_umc_funcs()
|
| D | amdgpu_ras.c | 605 if (adev->umc.funcs->query_ras_error_count) in amdgpu_ras_error_query() 606 adev->umc.funcs->query_ras_error_count(adev, &err_data); in amdgpu_ras_error_query() 610 if (adev->umc.funcs->query_ras_error_address) in amdgpu_ras_error_query() 611 adev->umc.funcs->query_ras_error_address(adev, &err_data); in amdgpu_ras_error_query() 1539 if (adev->umc.funcs->ras_init) in amdgpu_ras_init() 1540 adev->umc.funcs->ras_init(adev); in amdgpu_ras_init()
|
| /Linux-v5.4/drivers/edac/ |
| D | amd64_edac.c | 729 if (pvt->umc) { in determine_edac_cap() 733 if (!(pvt->umc[i].sdp_ctrl & UMC_SDP_INIT)) in determine_edac_cap() 739 if (pvt->umc[i].umc_cfg & BIT(12)) in determine_edac_cap() 839 struct amd64_umc *umc; in __dump_misc_regs_df() local 844 umc = &pvt->umc[i]; in __dump_misc_regs_df() 846 edac_dbg(1, "UMC%d DIMM cfg: 0x%x\n", i, umc->dimm_cfg); in __dump_misc_regs_df() 847 edac_dbg(1, "UMC%d UMC cfg: 0x%x\n", i, umc->umc_cfg); in __dump_misc_regs_df() 848 edac_dbg(1, "UMC%d SDP ctrl: 0x%x\n", i, umc->sdp_ctrl); in __dump_misc_regs_df() 849 edac_dbg(1, "UMC%d ECC ctrl: 0x%x\n", i, umc->ecc_ctrl); in __dump_misc_regs_df() 856 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 | 385 struct amd64_umc *umc; /* UMC registers */ member
|
| /Linux-v5.4/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-v5.4/drivers/staging/uwb/include/ |
| D | umc.h | 100 int __must_check umc_device_register(struct umc_dev *umc); 101 void umc_device_unregister(struct umc_dev *umc); 121 int umc_match_pci_id(struct umc_driver *umc_drv, struct umc_dev *umc); 190 int umc_controller_reset(struct umc_dev *umc);
|
| /Linux-v5.4/arch/x86/kernel/cpu/mce/ |
| D | amd.c | 662 int umc_normaddr_to_sysaddr(u64 norm_addr, u16 nid, u8 umc, u64 *sys_addr) in umc_normaddr_to_sysaddr() argument 679 if (amd_df_indirect_read(nid, 0, 0x1B4, umc, &tmp)) in umc_normaddr_to_sysaddr() 693 if (amd_df_indirect_read(nid, 0, 0x110 + (8 * base), umc, &tmp)) in umc_normaddr_to_sysaddr() 716 if (amd_df_indirect_read(nid, 0, 0x114 + (8 * base), umc, &tmp)) in umc_normaddr_to_sysaddr() 772 if (amd_df_indirect_read(nid, 0, 0x50, umc, &tmp)) in umc_normaddr_to_sysaddr() 789 if (amd_df_indirect_read(nid, 1, 0x208, umc, &tmp)) in umc_normaddr_to_sysaddr() 828 if (amd_df_indirect_read(nid, 0, 0x104, umc, &tmp)) in umc_normaddr_to_sysaddr()
|
| /Linux-v5.4/arch/x86/include/asm/ |
| D | mce.h | 339 int umc_normaddr_to_sysaddr(u64 norm_addr, u16 nid, u8 umc, u64 *sys_addr); 348 umc_normaddr_to_sysaddr(u64 norm_addr, u16 nid, u8 umc, u64 *sys_addr) { return -EINVAL; }; in umc_normaddr_to_sysaddr() argument
|
| /Linux-v5.4/arch/x86/kernel/cpu/ |
| D | Makefile | 41 obj-$(CONFIG_CPU_SUP_UMC_32) += umc.o
|
| /Linux-v5.4/drivers/scsi/ |
| D | megaraid.c | 3520 megacmd_t __user *umc; in mega_n_to_m() local 3540 umc = MBOX_P(uiocp); in mega_n_to_m() 3542 if (get_user(upthru, (mega_passthru __user * __user *)&umc->xferaddr)) in mega_n_to_m() 3557 umc = (megacmd_t __user *)uioc_mimd->mbox; in mega_n_to_m() 3559 if (get_user(upthru, (mega_passthru __user * __user *)&umc->xferaddr)) in mega_n_to_m()
|