Home
last modified time | relevance | path

Searched full:pci (Results 1 – 25 of 4311) sorted by relevance

12345678910>>...173

/linux/drivers/staging/media/atomisp/
H A DMakefile7 obj-$(CONFIG_VIDEO_ATOMISP) += pci/atomisp_gmin_platform.o
16 pci/atomisp_cmd.o \
17 pci/atomisp_compat_css20.o \
18 pci/atomisp_csi2.o \
19 pci/atomisp_csi2_bridge.o \
20 pci/atomisp_drvfs.o \
21 pci/atomisp_fops.o \
22 pci/atomisp_ioctl.o \
23 pci/atomisp_subdev.o \
24 pci/atomisp_v4l2.o \
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
H A Dbase.c28 #include <core/pci.h>
33 struct nvkm_pci *pci = device->pci; in nvkm_pci_msi_rearm() local
35 if (pci && pci->msi) in nvkm_pci_msi_rearm()
36 pci->func->msi_rearm(pci); in nvkm_pci_msi_rearm()
40 nvkm_pci_rd32(struct nvkm_pci *pci, u16 addr) in nvkm_pci_rd32() argument
42 return pci->func->rd32(pci, addr); in nvkm_pci_rd32()
46 nvkm_pci_wr08(struct nvkm_pci *pci, u16 addr, u8 data) in nvkm_pci_wr08() argument
48 pci->func->wr08(pci, addr, data); in nvkm_pci_wr08()
52 nvkm_pci_wr32(struct nvkm_pci *pci, u16 addr, u32 data) in nvkm_pci_wr32() argument
54 pci->func->wr32(pci, addr, data); in nvkm_pci_wr32()
[all …]
H A Dpcie.c51 nvkm_pcie_get_version(struct nvkm_pci *pci) in nvkm_pcie_get_version() argument
53 if (!pci->func->pcie.version) in nvkm_pcie_get_version()
56 return pci->func->pcie.version(pci); in nvkm_pcie_get_version()
60 nvkm_pcie_get_max_version(struct nvkm_pci *pci) in nvkm_pcie_get_max_version() argument
62 if (!pci->func->pcie.version_supported) in nvkm_pcie_get_max_version()
65 return pci->func->pcie.version_supported(pci); in nvkm_pcie_get_max_version()
69 nvkm_pcie_set_version(struct nvkm_pci *pci, int version) in nvkm_pcie_set_version() argument
71 if (!pci->func->pcie.set_version) in nvkm_pcie_set_version()
74 nvkm_trace(&pci->subdev, "set to version %i\n", version); in nvkm_pcie_set_version()
75 pci->func->pcie.set_version(pci, version); in nvkm_pcie_set_version()
[all …]
H A Dagp.c38 /* SiS 761 does not support AGP cards, use PCI mode */
44 nvkm_agp_fini(struct nvkm_pci *pci) in nvkm_agp_fini() argument
46 if (pci->agp.acquired) { in nvkm_agp_fini()
47 agp_backend_release(pci->agp.bridge); in nvkm_agp_fini()
48 pci->agp.acquired = false; in nvkm_agp_fini()
56 nvkm_agp_preinit(struct nvkm_pci *pci) in nvkm_agp_preinit() argument
58 struct nvkm_device *device = pci->subdev.device; in nvkm_agp_preinit()
59 u32 mode = nvkm_pci_rd32(pci, 0x004c); in nvkm_agp_preinit()
66 if ((mode | pci->agp.mode) & PCI_AGP_COMMAND_FW) { in nvkm_agp_preinit()
67 mode = pci->agp.mode & ~PCI_AGP_COMMAND_FW; in nvkm_agp_preinit()
[all …]
H A Dgk104.c27 gk104_pcie_version_supported(struct nvkm_pci *pci) in gk104_pcie_version_supported() argument
29 return (nvkm_rd32(pci->subdev.device, 0x8c1c0) & 0x4) == 0x4 ? 2 : 1; in gk104_pcie_version_supported()
33 gk104_pcie_set_cap_speed(struct nvkm_pci *pci, enum nvkm_pcie_speed speed) in gk104_pcie_set_cap_speed() argument
35 struct nvkm_device *device = pci->subdev.device; in gk104_pcie_set_cap_speed()
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()
54 gk104_pcie_cap_speed(struct nvkm_pci *pci) in gk104_pcie_cap_speed() argument
56 int speed = gf100_pcie_cap_speed(pci); in gk104_pcie_cap_speed()
62 int speed2 = nvkm_rd32(pci->subdev.device, 0x8c1c0) & 0x30000; in gk104_pcie_cap_speed()
[all …]
/linux/drivers/edac/
H A Dedac_pci.c3 * EDAC PCI component
31 struct edac_pci_ctl_info *pci; in edac_pci_alloc_ctl_info() local
35 pci = kzalloc(sizeof(struct edac_pci_ctl_info), GFP_KERNEL); in edac_pci_alloc_ctl_info()
36 if (!pci) in edac_pci_alloc_ctl_info()
40 pci->pvt_info = kzalloc(sz_pvt, GFP_KERNEL); in edac_pci_alloc_ctl_info()
41 if (!pci->pvt_info) in edac_pci_alloc_ctl_info()
45 pci->op_state = OP_ALLOC; in edac_pci_alloc_ctl_info()
47 snprintf(pci->name, strlen(edac_pci_name) + 1, "%s", edac_pci_name); in edac_pci_alloc_ctl_info()
49 return pci; in edac_pci_alloc_ctl_info()
52 kfree(pci); in edac_pci_alloc_ctl_info()
[all …]
H A Dedac_pci_sysfs.c20 static int check_pci_errors; /* default NO check PCI parity */
21 static int edac_pci_panic_on_pe; /* default NO panic on PCI Parity */
22 static int edac_pci_log_pe = 1; /* log PCI parity errors */
23 static int edac_pci_log_npe = 1; /* log PCI non-parity error errors */
58 /**************************** EDAC PCI sysfs instance *******************/
59 static ssize_t instance_pe_count_show(struct edac_pci_ctl_info *pci, char *data) in instance_pe_count_show() argument
61 return sprintf(data, "%u\n", atomic_read(&pci->counters.pe_count)); in instance_pe_count_show()
64 static ssize_t instance_npe_count_show(struct edac_pci_ctl_info *pci, in instance_npe_count_show() argument
67 return sprintf(data, "%u\n", atomic_read(&pci->counters.npe_count)); in instance_npe_count_show()
76 struct edac_pci_ctl_info *pci; in edac_pci_instance_release() local
[all …]
/linux/drivers/media/pci/
H A DKconfig3 if PCI
6 bool "Media PCI Adapters"
8 Enable media drivers for PCI/PCIe bus.
16 source "drivers/media/pci/mgb4/Kconfig"
17 source "drivers/media/pci/solo6x10/Kconfig"
18 source "drivers/media/pci/sta2x11/Kconfig"
19 source "drivers/media/pci/tw5864/Kconfig"
20 source "drivers/media/pci/tw68/Kconfig"
21 source "drivers/media/pci/tw686x/Kconfig"
22 source "drivers/media/pci/zoran/Kconfig"
[all …]
/linux/Documentation/PCI/endpoint/
H A Dpci-endpoint.rst5 This document is a guide to use the PCI Endpoint Framework in order to create
12 Linux has a comprehensive PCI subsystem to support PCI controllers that
13 operates in Root Complex mode. The subsystem has capability to scan PCI bus,
14 assign memory resources and IRQ resources, load PCI driver (based on
18 However the PCI controller IP integrated in some SoCs is capable of operating
19 either in Root Complex mode or Endpoint mode. PCI Endpoint Framework will
24 PCI Endpoint Core
27 The PCI Endpoint Core layer comprises 3 components: the Endpoint Controller
31 PCI Endpoint Controller(EPC) Library
38 APIs for the PCI controller Driver
[all …]
/linux/Documentation/PCI/
H A Dpciebus-howto.rst5 The PCI Express Port Bus Driver Guide HOWTO
14 This guide describes the basics of the PCI Express Port Bus driver
16 register/unregister with the PCI Express Port Bus Driver.
19 What is the PCI Express Port Bus Driver
22 A PCI Express Port is a logical PCI-PCI Bridge structure. There
23 are two types of PCI Express Port: the Root Port and the Switch
24 Port. The Root Port originates a PCI Express link from a PCI Express
25 Root Complex and the Switch Port connects PCI Express links to
26 internal logical PCI buses. The Switch Port, which has its secondary
30 PCI Express link from the PCI Express Switch.
[all …]
/linux/drivers/comedi/
H A DKconfig427 tristate "Intelligent Instruments PCI-20001C carrier support"
430 Enable support for Intelligent Instruments PCI-20001C carrier
431 PCI-20001, PCI-20006 and PCI-20341
567 tristate "Comedi PCI drivers"
568 depends on PCI
570 Enable support for comedi PCI drivers.
578 tristate "Generic PCI based 8255 digital i/o board support"
581 Enable support for PCI based 8255 digital i/o boards. This driver
582 provides a PCI wrapper around the generic 8255 driver.
585 ADlink - PCI-7224, PCI-7248, and PCI-7296
[all …]
/linux/sound/soc/intel/atom/sst/
H A Dsst_pci.c3 * sst_pci.c - SST (LPE) driver init file for pci enumeration.
15 #include <linux/pci.h>
27 struct pci_dev *pci = ctx->pci; in sst_platform_get_resources() local
29 ret = pci_request_regions(pci, SST_DRV_NAME); in sst_platform_get_resources()
36 ctx->ddr_base = pci_resource_start(pci, 0); in sst_platform_get_resources()
50 ctx->ddr_end = pci_resource_end(pci, 0); in sst_platform_get_resources()
52 ctx->ddr = pcim_iomap(pci, 0, in sst_platform_get_resources()
53 pci_resource_len(pci, 0)); in sst_platform_get_resources()
63 ctx->shim_phy_add = pci_resource_start(pci, 1); in sst_platform_get_resources()
64 ctx->shim = pcim_iomap(pci, 1, pci_resource_len(pci, 1)); in sst_platform_get_resources()
[all …]
/linux/drivers/pci/
H A Dsearch.c3 * PCI searching functions
11 #include <linux/pci.h>
15 #include "pci.h"
37 * requester is on another PCI bus. in pci_for_each_dma_alias()
74 * PCIe-to-PCI/X bridges alias transactions from downstream in pci_for_each_dma_alias()
75 * devices using the subordinate bus number (PCI Express to in pci_for_each_dma_alias()
76 * PCI/PCI-X Bridge Spec, rev 1.0, sec 2.3). For all cases in pci_for_each_dma_alias()
77 * where the upstream bus is PCI/X we alias to the bridge in pci_for_each_dma_alias()
80 * when the secondary interface is PCI-X). in pci_for_each_dma_alias()
133 * pci_find_bus - locate PCI bus from a given domain and bus number
[all …]
/linux/drivers/pci/controller/dwc/
H A Dpci-layerscape-ep.c15 #include <linux/pci.h>
44 struct dw_pcie *pci; member
54 struct dw_pcie *pci = pcie->pci; in ls_pcie_pf_lut_readl() local
57 return ioread32be(pci->dbi_base + offset); in ls_pcie_pf_lut_readl()
59 return ioread32(pci->dbi_base + offset); in ls_pcie_pf_lut_readl()
64 struct dw_pcie *pci = pcie->pci; in ls_pcie_pf_lut_writel() local
67 iowrite32be(value, pci->dbi_base + offset); in ls_pcie_pf_lut_writel()
69 iowrite32(value, pci->dbi_base + offset); in ls_pcie_pf_lut_writel()
75 struct dw_pcie *pci = pcie->pci; in ls_pcie_ep_event_handler() local
87 offset = dw_pcie_find_capability(pci, PCI_CAP_ID_EXP); in ls_pcie_ep_event_handler()
[all …]
H A Dpcie-armada8k.c19 #include <linux/pci.h>
30 struct dw_pcie *pci; member
112 struct dw_pcie *pci = pcie->pci; in armada8k_pcie_setup_phys() local
113 struct device *dev = pci->dev; in armada8k_pcie_setup_phys()
142 static int armada8k_pcie_link_up(struct dw_pcie *pci) in armada8k_pcie_link_up() argument
147 reg = dw_pcie_readl_dbi(pci, PCIE_GLOBAL_STATUS_REG); in armada8k_pcie_link_up()
152 dev_dbg(pci->dev, "No link detected (Global-Status: 0x%08x).\n", reg); in armada8k_pcie_link_up()
156 static int armada8k_pcie_start_link(struct dw_pcie *pci) in armada8k_pcie_start_link() argument
161 reg = dw_pcie_readl_dbi(pci, PCIE_GLOBAL_CONTROL_REG); in armada8k_pcie_start_link()
163 dw_pcie_writel_dbi(pci, PCIE_GLOBAL_CONTROL_REG, reg); in armada8k_pcie_start_link()
[all …]
H A Dpci-layerscape.c19 #include <linux/pci.h>
25 #include "../../pci.h"
64 struct dw_pcie *pci; member
77 struct dw_pcie *pci = pcie->pci; in ls_pcie_is_bridge() local
80 header_type = ioread8(pci->dbi_base + PCI_HEADER_TYPE); in ls_pcie_is_bridge()
89 struct dw_pcie *pci = pcie->pci; in ls_pcie_clear_multifunction() local
91 iowrite8(PCI_HEADER_TYPE_BRIDGE, pci->dbi_base + PCI_HEADER_TYPE); in ls_pcie_clear_multifunction()
98 struct dw_pcie *pci = pcie->pci; in ls_pcie_drop_msg_tlp() local
100 val = ioread32(pci->dbi_base + PCIE_STRFMR1); in ls_pcie_drop_msg_tlp()
102 iowrite32(val, pci->dbi_base + PCIE_STRFMR1); in ls_pcie_drop_msg_tlp()
[all …]
H A Dpcie-designware-ep.c15 #include <linux/pci-epc.h>
16 #include <linux/pci-epf.h>
39 static void __dw_pcie_ep_reset_bar(struct dw_pcie *pci, u8 func_no, in __dw_pcie_ep_reset_bar() argument
42 struct dw_pcie_ep *ep = &pci->ep; in __dw_pcie_ep_reset_bar()
46 dw_pcie_dbi_ro_wr_en(pci); in __dw_pcie_ep_reset_bar()
53 dw_pcie_dbi_ro_wr_dis(pci); in __dw_pcie_ep_reset_bar()
58 * @pci: DWC PCI device
61 void dw_pcie_ep_reset_bar(struct dw_pcie *pci, enum pci_barno bar) in dw_pcie_ep_reset_bar() argument
65 funcs = pci->ep.epc->max_functions; in dw_pcie_ep_reset_bar()
68 __dw_pcie_ep_reset_bar(pci, func_no, bar, 0); in dw_pcie_ep_reset_bar()
[all …]
/linux/drivers/scsi/qla2xxx/
H A Dqla_devtbl.h8 "QLA2340", "133MHz PCI-X to 2Gb FC, Single Channel", /* 0x100 */
9 "QLA2342", "133MHz PCI-X to 2Gb FC, Dual Channel", /* 0x101 */
10 "QLA2344", "133MHz PCI-X to 2Gb FC, Quad Channel", /* 0x102 */
14 "QLA2310", "Sun 66MHz PCI-X to 2Gb FC, Single Channel", /* 0x106 */
15 "QLA2332", "Sun 66MHz PCI-X to 2Gb FC, Single Channel", /* 0x107 */
18 "QLA2342", "Sun 133MHz PCI-X to 2Gb FC, Dual Channel", /* 0x10a */
20 "QLA2350", "133MHz PCI-X to 2Gb FC, Single Channel", /* 0x10c */
21 "QLA2352", "133MHz PCI-X to 2Gb FC, Dual Channel", /* 0x10d */
22 "QLA2352", "Sun 133MHz PCI-X to 2Gb FC, Dual Channel", /* 0x10e */
29 "QLA2360", "133MHz PCI-X to 2Gb FC, Single Channel", /* 0x115 */
[all …]
/linux/arch/mips/pci/
H A DMakefile3 # Makefile for the PCI specific kernel interface routines under Linux.
6 obj-y += pci.o
7 obj-$(CONFIG_PCI_DRIVERS_LEGACY)+= pci-legacy.o
8 obj-$(CONFIG_PCI_DRIVERS_GENERIC)+= pci-generic.o
11 # PCI bus host bridge specific code
17 obj-$(CONFIG_BCM47XX) += pci-bcm47xx.o
18 obj-$(CONFIG_BCM63XX) += pci-bcm63xx.o fixup-bcm63xx.o \
20 obj-$(CONFIG_MIPS_ALCHEMY) += pci-alchemy.o
21 obj-$(CONFIG_PCI_AR2315) += pci-ar2315.o
22 obj-$(CONFIG_SOC_AR71XX) += pci-ar71xx.o
[all …]
/linux/Documentation/scsi/
H A Daic7xxx.rst27 aic7850 10 PCI/32 10MHz 8Bit 3
28 aic7855 10 PCI/32 10MHz 8Bit 3
29 aic7856 10 PCI/32 10MHz 8Bit 3
30 aic7859 10 PCI/32 20MHz 8Bit 3
31 aic7860 10 PCI/32 20MHz 8Bit 3
32 aic7870 10 PCI/32 10MHz 16Bit 16
33 aic7880 10 PCI/32 20MHz 16Bit 16
34 aic7890 20 PCI/32 40MHz 16Bit 16 3 4 5 6 7 8
35 aic7891 20 PCI/64 40MHz 16Bit 16 3 4 5 6 7 8
36 aic7892 20 PCI/64-66 80MHz 16Bit 16 3 4 5 6 7 8
[all …]
/linux/Documentation/driver-api/pci/
H A Dpci.rst1 PCI Support Library
4 .. kernel-doc:: drivers/pci/pci.c
7 .. kernel-doc:: drivers/pci/iomap.c
10 .. kernel-doc:: drivers/pci/devres.c
13 .. kernel-doc:: drivers/pci/pci-driver.c
16 .. kernel-doc:: drivers/pci/remove.c
19 .. kernel-doc:: drivers/pci/search.c
22 .. kernel-doc:: drivers/pci/msi/msi.c
25 .. kernel-doc:: drivers/pci/bus.c
28 .. kernel-doc:: drivers/pci/access.c
[all …]
/linux/drivers/pci/hotplug/
H A DKconfig3 # PCI Hotplug support
7 bool "Support for PCI Hotplug"
8 depends on PCI && SYSFS
11 Say Y here if you have a motherboard with a PCI Hotplug controller.
12 This allows you to add and remove PCI cards while the machine is
22 tristate "Compaq PCI Hotplug driver"
25 Say Y here if you have a motherboard with a Compaq PCI Hotplug
37 Say Y here if you have a Compaq server that has a PCI Hotplug
38 controller. This will allow the PCI Hotplug driver to store the PCI
44 tristate "IBM PCI Hotplug driver"
[all …]
/linux/sound/soc/amd/yc/
H A Dpci-acp6x.c3 * AMD Yellow Carp ACP PCI Driver
8 #include <linux/pci.h>
144 static int snd_acp6x_probe(struct pci_dev *pci, in snd_acp6x_probe() argument
158 flag = snd_amd_acp_find_config(pci); in snd_acp6x_probe()
163 switch (pci->revision) { in snd_acp6x_probe()
168 dev_dbg(&pci->dev, "acp6x pci device not found\n"); in snd_acp6x_probe()
171 if (pci_enable_device(pci)) { in snd_acp6x_probe()
172 dev_err(&pci->dev, "pci_enable_device failed\n"); in snd_acp6x_probe()
176 ret = pci_request_regions(pci, "AMD ACP3x audio"); in snd_acp6x_probe()
178 dev_err(&pci->dev, "pci_request_regions failed\n"); in snd_acp6x_probe()
[all …]
/linux/sound/soc/amd/rpl/
H A Drpl-pci-acp6x.c3 * AMD RPL ACP PCI Driver
8 #include <linux/pci.h>
103 static int snd_rpl_probe(struct pci_dev *pci, in snd_rpl_probe() argument
111 switch (pci->revision) { in snd_rpl_probe()
115 dev_dbg(&pci->dev, "acp6x pci device not found\n"); in snd_rpl_probe()
118 if (pci_enable_device(pci)) { in snd_rpl_probe()
119 dev_err(&pci->dev, "pci_enable_device failed\n"); in snd_rpl_probe()
123 ret = pci_request_regions(pci, "AMD ACP6x audio"); in snd_rpl_probe()
125 dev_err(&pci->dev, "pci_request_regions failed\n"); in snd_rpl_probe()
129 adata = devm_kzalloc(&pci->dev, sizeof(struct rpl_dev_data), in snd_rpl_probe()
[all …]
/linux/sound/soc/amd/acp/
H A Dacp-pci.c11 * Generic PCI interface for ACP device
16 #include <linux/pci.h>
47 static int acp_pci_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) in acp_pci_probe() argument
50 struct device *dev = &pci->dev; in acp_pci_probe()
57 flag = snd_amd_acp_find_config(pci); in acp_pci_probe()
61 chip = devm_kzalloc(&pci->dev, sizeof(*chip), GFP_KERNEL); in acp_pci_probe()
65 if (pci_enable_device(pci)) in acp_pci_probe()
66 return dev_err_probe(&pci->dev, -ENODEV, in acp_pci_probe()
69 ret = pci_request_regions(pci, "AMD ACP3x audio"); in acp_pci_probe()
71 dev_err(&pci in acp_pci_probe()
216 acp_pci_remove(struct pci_dev * pci) acp_pci_remove() argument
[all...]

12345678910>>...173