/linux/drivers/staging/media/atomisp/ |
A D | Makefile | 16 pci/atomisp_acc.o \ 17 pci/atomisp_cmd.o \ 19 pci/atomisp_csi2.o \ 21 pci/atomisp_file.o \ 25 pci/atomisp_tpg.o \ 29 pci/sh_css_hrt.o \ 32 pci/sh_css_mipi.o \ 33 pci/sh_css_mmu.o \ 35 pci/sh_css.o \ 41 pci/sh_css_sp.o \ [all …]
|
/linux/drivers/pci/controller/dwc/ |
A D | pcie-designware.c | 144 if (pci->ops && pci->ops->read_dbi) in dw_pcie_read_dbi() 145 return pci->ops->read_dbi(pci, pci->dbi_base, reg, size); in dw_pcie_read_dbi() 159 if (pci->ops && pci->ops->write_dbi) { in dw_pcie_write_dbi() 160 pci->ops->write_dbi(pci, pci->dbi_base, reg, size, val); in dw_pcie_write_dbi() 175 pci->ops->write_dbi2(pci, pci->dbi_base2, reg, size, val); in dw_pcie_write_dbi2() 189 if (pci->ops && pci->ops->read_dbi) in dw_pcie_readl_atu() 190 return pci->ops->read_dbi(pci, pci->atu_base, reg, 4); in dw_pcie_readl_atu() 203 if (pci->ops && pci->ops->write_dbi) { in dw_pcie_writel_atu() 204 pci->ops->write_dbi(pci, pci->atu_base, reg, 4, val); in dw_pcie_writel_atu() 534 if (pci->ops && pci->ops->link_up) in dw_pcie_link_up() [all …]
|
A D | pcie-designware-ep.c | 67 dw_pcie_dbi_ro_wr_en(pci); in __dw_pcie_ep_reset_bar() 438 if (pci->ops && pci->ops->stop_link) in dw_pcie_ep_stop() 439 pci->ops->stop_link(pci); in dw_pcie_ep_stop() 447 if (!pci->ops || !pci->ops->start_link) in dw_pcie_ep_start() 450 return pci->ops->start_link(pci); in dw_pcie_ep_start() 651 dev_err(pci->dev, in dw_pcie_ep_init_complete() 670 dw_pcie_setup(pci); in dw_pcie_ep_init_complete() 693 if (!pci->dbi_base) { in dw_pcie_ep_init() 700 if (!pci->dbi_base2) { in dw_pcie_ep_init() 703 pci->dbi_base2 = pci->dbi_base + SZ_4K; in dw_pcie_ep_init() [all …]
|
A D | pcie-designware-host.c | 314 if (!pci->dbi_base) { in dw_pcie_host_init() 317 if (IS_ERR(pci->dbi_base)) in dw_pcie_host_init() 335 if (pci->link_gen < 1) in dw_pcie_host_init() 401 dw_pcie_iatu_detect(pci); in dw_pcie_host_init() 405 if (!dw_pcie_link_up(pci) && pci->ops && pci->ops->start_link) { in dw_pcie_host_init() 406 ret = pci->ops->start_link(pci); in dw_pcie_host_init() 412 dw_pcie_wait_for_link(pci); in dw_pcie_host_init() 452 if (!dw_pcie_link_up(pci)) in dw_pcie_other_conf_map_bus() 535 dw_pcie_dbi_ro_wr_en(pci); in dw_pcie_setup_rc() 537 dw_pcie_setup(pci); in dw_pcie_setup_rc() [all …]
|
A D | pci-layerscape.c | 47 struct dw_pcie *pci; member 58 struct dw_pcie *pci = pcie->pci; in ls_pcie_is_bridge() local 70 struct dw_pcie *pci = pcie->pci; in ls_pcie_clear_multifunction() local 79 struct dw_pcie *pci = pcie->pci; in ls_pcie_drop_msg_tlp() local 121 struct dw_pcie *pci = pcie->pci; in ls_pcie_fix_error_response() local 133 dw_pcie_dbi_ro_wr_en(pci); in ls_pcie_host_init() 238 struct dw_pcie *pci; in ls_pcie_probe() local 246 pci = devm_kzalloc(dev, sizeof(*pci), GFP_KERNEL); in ls_pcie_probe() 247 if (!pci) in ls_pcie_probe() 252 pci->dev = dev; in ls_pcie_probe() [all …]
|
A D | pcie-armada8k.c | 31 struct dw_pcie *pci; member 113 struct dw_pcie *pci = pcie->pci; in armada8k_pcie_setup_phys() local 174 if (!dw_pcie_link_up(pci)) { in armada8k_pcie_host_init() 214 struct dw_pcie *pci = pcie->pci; in armada8k_pcie_irq_handler() local 235 struct dw_pcie *pci = pcie->pci; in armada8k_add_pcie_port() local 269 struct dw_pcie *pci; in armada8k_pcie_probe() local 279 pci = devm_kzalloc(dev, sizeof(*pci), GFP_KERNEL); in armada8k_pcie_probe() 280 if (!pci) in armada8k_pcie_probe() 283 pci->dev = dev; in armada8k_pcie_probe() 284 pci->ops = &dw_pcie_ops; in armada8k_pcie_probe() [all …]
|
A D | pcie-spear13xx.c | 25 struct dw_pcie *pci; member 87 struct dw_pcie *pci = spear13xx_pcie->pci; in spear13xx_pcie_irq_handler() local 88 struct pcie_port *pp = &pci->pp; in spear13xx_pcie_irq_handler() 157 struct dw_pcie *pci = spear13xx_pcie->pci; in spear13xx_add_pcie_port() local 194 struct dw_pcie *pci; in spear13xx_pcie_probe() local 203 pci = devm_kzalloc(dev, sizeof(*pci), GFP_KERNEL); in spear13xx_pcie_probe() 204 if (!pci) in spear13xx_pcie_probe() 207 pci->dev = dev; in spear13xx_pcie_probe() 208 pci->ops = &dw_pcie_ops; in spear13xx_pcie_probe() 210 spear13xx_pcie->pci = pci; in spear13xx_pcie_probe() [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
A D | base.c | 34 return pci->func->rd32(pci, addr); in nvkm_pci_rd32() 40 pci->func->wr08(pci, addr, data); in nvkm_pci_wr08() 46 pci->func->wr32(pci, addr, data); in nvkm_pci_wr32() 52 u32 data = pci->func->rd32(pci, addr); in nvkm_pci_mask() 53 pci->func->wr32(pci, addr, (data & ~mask) | value); in nvkm_pci_mask() 79 if (pci->msi) in nvkm_pci_intr() 80 pci->func->msi_rearm(pci); in nvkm_pci_intr() 142 pci->func->init(pci); in nvkm_pci_init() 148 pci->func->msi_rearm(pci); in nvkm_pci_init() 194 pci->pdev = device->func->pci(device)->pdev; in nvkm_pci_new_() [all …]
|
A D | pcie.c | 56 return pci->func->pcie.version(pci); in nvkm_pcie_get_version() 65 return pci->func->pcie.version_supported(pci); in nvkm_pcie_get_max_version() 75 pci->func->pcie.set_version(pci, version); in nvkm_pcie_set_version() 84 nvkm_pcie_speeds[pci->func->pcie.max_speed(pci)]); in nvkm_pcie_oneinit() 106 pci->func->pcie.init(pci); in nvkm_pcie_init() 109 nvkm_pcie_set_link(pci, pci->pcie.speed, pci->pcie.width); in nvkm_pcie_init() 122 if (!pci || !pci_is_pcie(pci->pdev)) in nvkm_pcie_set_link() 131 if (pci->func->pcie.version(pci) < 2) { in nvkm_pcie_set_link() 136 cur_speed = pci->func->pcie.cur_speed(pci); in nvkm_pcie_set_link() 138 pci->func->pcie.max_speed(pci)); in nvkm_pcie_set_link() [all …]
|
A D | agp.c | 46 if (pci->agp.acquired) { in nvkm_agp_fini() 48 pci->agp.acquired = false; in nvkm_agp_fini() 92 agp_enable(pci->agp.bridge, pci->agp.mode); in nvkm_agp_init() 93 pci->agp.acquired = true; in nvkm_agp_init() 125 if (!(pci->agp.bridge = agp_backend_acquire(pci->pdev))) { in nvkm_agp_ctor() 132 pci->agp.mode = info.mode; in nvkm_agp_ctor() 133 pci->agp.base = info.aper_base; in nvkm_agp_ctor() 136 pci->agp.mtrr = -1; in nvkm_agp_ctor() 159 pci->agp.mode &= ~0x00000007; in nvkm_agp_ctor() 163 pci->agp.bridge = NULL; in nvkm_agp_ctor() [all …]
|
A D | gk104.c | 39 gf100_pcie_set_cap_speed(pci, false); in gk104_pcie_set_cap_speed() 43 gf100_pcie_set_cap_speed(pci, true); in gk104_pcie_set_cap_speed() 47 gf100_pcie_set_cap_speed(pci, true); in gk104_pcie_set_cap_speed() 56 int speed = gf100_pcie_cap_speed(pci); in gk104_pcie_cap_speed() 92 nvkm_pci_mask(pci, 0xa8, 0x3, reg_v); in gk104_pcie_set_lnkctl_speed() 150 gk104_pcie_init(struct nvkm_pci * pci) in gk104_pcie_init() argument 155 if (gf100_pcie_version(pci) < 2) in gk104_pcie_init() 159 max_speed = gk104_pcie_max_speed(pci); in gk104_pcie_init() 160 cap_speed = gk104_pcie_cap_speed(pci); in gk104_pcie_init() 165 cap_speed = gk104_pcie_cap_speed(pci); in gk104_pcie_init() [all …]
|
A D | g84.c | 36 g84_pcie_version(struct nvkm_pci *pci) in g84_pcie_version() argument 57 g84_pcie_cur_speed(struct nvkm_pci *pci) in g84_pcie_cur_speed() argument 72 g84_pcie_max_speed(struct nvkm_pci *pci) in g84_pcie_max_speed() argument 90 nvkm_pci_mask(pci, 0x460, 0x30, mask_value); in g84_pcie_set_link_speed() 91 nvkm_pci_mask(pci, 0x460, 0x1, 0x1); in g84_pcie_set_link_speed() 98 g84_pcie_set_link_speed(pci, speed); in g84_pcie_set_link() 103 g84_pci_init(struct nvkm_pci *pci) in g84_pci_init() argument 106 if (!pci_is_pcie(pci->pdev)) in g84_pci_init() 119 if (nvkm_pci_rd32(pci, 0x007c) & 0x00000020) in g84_pci_init() 126 g84_pcie_init(struct nvkm_pci *pci) in g84_pcie_init() argument [all …]
|
/linux/drivers/edac/ |
A D | edac_pci.c | 40 pci = edac_align_ptr(&p, sizeof(*pci), 1); in edac_pci_alloc_ctl_info() 46 if (pci == NULL) in edac_pci_alloc_ctl_info() 57 return pci; in edac_pci_alloc_ctl_info() 86 return pci; in find_edac_pci_by_dev() 184 pci->edac_check(pci); in edac_pci_workq_function() 234 pci->mod_name, pci->ctl_name, pci->dev_name, in edac_pci_add_device() 277 pci->pci_idx, pci->mod_name, pci->ctl_name, edac_dev_name(pci)); in edac_pci_del_device() 279 return pci; in edac_pci_del_device() 309 if (!pci) in edac_pci_create_generic_ctl() 314 dev_set_drvdata(pci->dev, pci); in edac_pci_create_generic_ctl() [all …]
|
A D | octeon_edac-pci.c | 29 edac_pci_handle_pe(pci, pci->ctl_name); in octeon_pci_poll() 62 struct edac_pci_ctl_info *pci; in octeon_pci_probe() local 66 if (!pci) in octeon_pci_probe() 69 pci->dev = &pdev->dev; in octeon_pci_probe() 70 platform_set_drvdata(pdev, pci); in octeon_pci_probe() 71 pci->dev_name = dev_name(&pdev->dev); in octeon_pci_probe() 73 pci->mod_name = "octeon-pci"; in octeon_pci_probe() 74 pci->ctl_name = "octeon_pci_err"; in octeon_pci_probe() 75 pci->edac_check = octeon_pci_poll; in octeon_pci_probe() 85 edac_pci_free_ctl_info(pci); in octeon_pci_probe() [all …]
|
/linux/drivers/pinctrl/ |
A D | pinctrl-rk805.c | 141 ret = regmap_read(pci->rk808->regmap, pci->pin_cfg[offset].reg, &val); in rk805_gpio_get() 158 pci->pin_cfg[offset].reg, in rk805_gpio_set() 222 return pci->num_pin_groups; in rk805_pinctrl_get_groups_count() 258 return pci->num_functions; in rk805_pinctrl_get_funcs_count() 423 pci = devm_kzalloc(&pdev->dev, sizeof(*pci), GFP_KERNEL); in rk805_pinctrl_probe() 424 if (!pci) in rk805_pinctrl_probe() 427 pci->dev = &pdev->dev; in rk805_pinctrl_probe() 453 pci->rk808->variant); in rk805_pinctrl_probe() 458 ret = devm_gpiochip_add_data(&pdev->dev, &pci->gpio_chip, pci); in rk805_pinctrl_probe() 465 pci->pctl = devm_pinctrl_register(&pdev->dev, &pci->pinctrl_desc, pci); in rk805_pinctrl_probe() [all …]
|
/linux/drivers/pci/ |
A D | .built-in.a.cmd | 1 …pci/built-in.a := echo >/dev/null; rm -f drivers/pci/built-in.a; /usr/bin/ccache /home/test/worksp…
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | pci_hw.h | 77 MLXSW_ITEM32(pci, wqe, c, 0x00, 31, 1); 89 MLXSW_ITEM32(pci, wqe, lp, 0x00, 30, 1); 94 MLXSW_ITEM32(pci, wqe, type, 0x00, 23, 4); 146 MLXSW_ITEM32(pci, cqe0, lag, 0x00, 23, 1); 194 MLXSW_ITEM32(pci, cqe0, crc, 0x0C, 8, 1); 195 MLXSW_ITEM32(pci, cqe12, crc, 0x0C, 9, 1); 201 MLXSW_ITEM32(pci, cqe0, e, 0x0C, 7, 1); 202 MLXSW_ITEM32(pci, cqe12, e, 0x00, 27, 1); 209 MLXSW_ITEM32(pci, cqe0, sr, 0x0C, 6, 1); 216 MLXSW_ITEM32(pci, cqe0, dqn, 0x0C, 1, 5); [all …]
|
/linux/drivers/pci/controller/ |
A D | .built-in.a.cmd | 1 …pci/controller/built-in.a := echo >/dev/null; rm -f drivers/pci/controller/built-in.a; /usr/bin/cc…
|
/linux/sound/soc/intel/atom/sst/ |
A D | sst_pci.c | 28 struct pci_dev *pci = ctx->pci; in sst_platform_get_resources() local 65 ctx->shim = pcim_iomap(pci, 1, pci_resource_len(pci, 1)); in sst_platform_get_resources() 74 ctx->mailbox = pcim_iomap(pci, 2, pci_resource_len(pci, 2)); in sst_platform_get_resources() 84 ctx->iram = pcim_iomap(pci, 3, pci_resource_len(pci, 3)); in sst_platform_get_resources() 94 ctx->dram = pcim_iomap(pci, 4, pci_resource_len(pci, 4)); in sst_platform_get_resources() 101 pci_release_regions(pci); in sst_platform_get_resources() 119 dev_dbg(&pci->dev, "Probe for DID %x\n", pci->device); in intel_sst_probe() 120 ret = sst_alloc_drv_context(&sst_drv_ctx, &pci->dev, pci->device); in intel_sst_probe() 141 sst_drv_ctx->pci = pci_dev_get(pci); in intel_sst_probe() 171 pci_release_regions(pci); in intel_sst_remove() [all …]
|
/linux/sound/pci/ |
A D | .built-in.a.cmd | 1 …pci/built-in.a := echo >/dev/null; rm -f sound/pci/built-in.a; /usr/bin/ccache /home/test/workspac…
|
/linux/drivers/media/pci/ |
A D | Kconfig | 15 source "drivers/media/pci/meye/Kconfig" 16 source "drivers/media/pci/solo6x10/Kconfig" 17 source "drivers/media/pci/sta2x11/Kconfig" 18 source "drivers/media/pci/tw5864/Kconfig" 19 source "drivers/media/pci/tw68/Kconfig" 20 source "drivers/media/pci/tw686x/Kconfig" 25 source "drivers/media/pci/ivtv/Kconfig" 32 source "drivers/media/pci/cx18/Kconfig" 35 source "drivers/media/pci/cx88/Kconfig" 49 source "drivers/media/pci/pt1/Kconfig" [all …]
|
/linux/arch/mips/pci/ |
A D | Makefile | 6 obj-y += pci.o 7 obj-$(CONFIG_PCI_DRIVERS_LEGACY)+= pci-legacy.o 19 obj-$(CONFIG_BCM47XX) += pci-bcm47xx.o 23 obj-$(CONFIG_PCI_AR2315) += pci-ar2315.o 24 obj-$(CONFIG_SOC_AR71XX) += pci-ar71xx.o 25 obj-$(CONFIG_PCI_AR724X) += pci-ar724x.o 35 obj-$(CONFIG_SGI_IP27) += pci-ip27.o 39 obj-$(CONFIG_SIBYTE_BCM1x80) += pci-bcm1480.o pci-bcm1480ht.o 43 obj-$(CONFIG_SOC_MT7620) += pci-mt7620.o 44 obj-$(CONFIG_SOC_RT288X) += pci-rt2880.o [all …]
|
/linux/sound/soc/amd/renoir/ |
A D | rn-pci-acp3x.c | 220 if (pci->revision != 0x01) in snd_rn_acp_probe() 242 ret = pci_enable_msi(pci); in snd_rn_acp_probe() 257 pci_set_master(pci); in snd_rn_acp_probe() 258 pci_set_drvdata(pci, adata); in snd_rn_acp_probe() 332 pm_runtime_allow(&pci->dev); in snd_rn_acp_probe() 342 pci_disable_msi(pci); in snd_rn_acp_probe() 344 pci_release_regions(pci); in snd_rn_acp_probe() 346 pci_disable_device(pci); in snd_rn_acp_probe() 402 pci_disable_msi(pci); in snd_rn_acp_remove() 403 pci_release_regions(pci); in snd_rn_acp_remove() [all …]
|
/linux/sound/soc/amd/yc/ |
A D | pci-acp6x.c | 157 if (pci->revision != 0x60) in snd_acp6x_probe() 160 if (pci_enable_device(pci)) { in snd_acp6x_probe() 185 pci_set_master(pci); in snd_acp6x_probe() 186 pci_set_drvdata(pci, adata); in snd_acp6x_probe() 243 ret = devm_request_irq(&pci->dev, pci->irq, acp6x_irq_handler, in snd_acp6x_probe() 252 pm_runtime_allow(&pci->dev); in snd_acp6x_probe() 262 pci_release_regions(pci); in snd_acp6x_probe() 264 pci_disable_device(pci); in snd_acp6x_probe() 303 adata = pci_get_drvdata(pci); in snd_acp6x_remove() 313 pci_release_regions(pci); in snd_acp6x_remove() [all …]
|
/linux/drivers/staging/rts5208/ |
A D | rtsx.c | 248 dev_err(&dev->pci->dev, in rtsx_acquire_irq() 250 dev->pci->irq); in rtsx_acquire_irq() 254 dev->irq = dev->pci->irq; in rtsx_acquire_irq() 309 pci_set_master(pci); in rtsx_resume() 351 pci_disable_device(pci); in rtsx_shutdown() 667 dev_info(&dev->pci->dev, in rtsx_scan_thread() 842 dev->pci = pci; in rtsx_probe() 880 dev_info(&pci->dev, "pci->irq = %d\n", pci->irq); in rtsx_probe() 892 pci_set_master(pci); in rtsx_probe() 963 pci_release_regions(pci); in rtsx_probe() [all …]
|