Searched refs:sysdata (Results 1 - 91 of 91) sorted by relevance

/linux-4.4.14/arch/x86/include/asm/
H A Dpci_64.h9 struct pci_sysdata *sd = bus->sysdata; pci_iommu()
15 struct pci_sysdata *sd = bus->sysdata; set_pci_iommu()
H A Dpci.h34 struct pci_sysdata *sd = bus->sysdata; pci_domain_nr()
118 const struct pci_sysdata *sd = bus->sysdata; __pcibus_to_node()
/linux-4.4.14/tools/power/cpupower/bench/
H A Dparse.c69 struct utsname sysdata; prepare_output() local
85 if (uname(&sysdata) == 0) { prepare_output()
86 len += strlen(sysdata.nodename) + strlen(sysdata.release); prepare_output()
95 dirname, sysdata.nodename, sysdata.release, time(NULL)); prepare_output()
/linux-4.4.14/arch/alpha/include/asm/
H A Dagp_backend.h24 void *sysdata; member in struct:_alpha_agp_info::__anon9
H A Dpci.h49 void *sysdata; member in struct:pci_controller
82 #define pci_domain_nr(bus) ((struct pci_controller *)(bus)->sysdata)->index
86 struct pci_controller *hose = bus->sysdata; pci_proc_domain()
/linux-4.4.14/drivers/pci/host/
H A Dpcie-iproc.h34 * @sysdata: Per PCI controller data (ARM-specific)
46 struct pci_sys_data sysdata; member in struct:iproc_pcie
H A Dpcie-iproc.c85 struct pci_sys_data *sys = bus->sysdata; iproc_data()
89 pcie = bus->sysdata; iproc_data()
325 void *sysdata; iproc_pcie_setup() local
354 pcie->sysdata.private_data = pcie; iproc_pcie_setup()
355 sysdata = &pcie->sysdata; iproc_pcie_setup()
357 sysdata = pcie; iproc_pcie_setup()
360 bus = pci_create_root_bus(pcie->dev, 0, &iproc_pcie_ops, sysdata, res); iproc_pcie_setup()
H A Dpci-host-generic.c43 * sysdata. Add pci_sys_data as the first element in struct gen_pci so
44 * that when we use a gen_pci pointer as sysdata, it is also a pointer to
60 struct gen_pci *pci = bus->sysdata; gen_pci_map_cfg_bus_cam()
79 struct gen_pci *pci = bus->sysdata; gen_pci_map_cfg_bus_ecam()
H A Dpcie-iproc-bcma.c36 struct pci_sys_data *sys = dev->sysdata; iproc_pcie_bcma_map_irq()
H A Dpci-rcar-gen2.c111 struct pci_sys_data *sys = bus->sysdata; rcar_pci_cfg_base()
137 struct pci_sys_data *sys = dev->bus->sysdata; rcar_pci_map_irq()
H A Dpci-xgene.c90 struct xgene_pcie_port *port = bus->sysdata; xgene_pcie_get_cfg_base()
104 struct xgene_pcie_port *port = bus->sysdata; xgene_pcie_set_rtdid_reg()
151 struct xgene_pcie_port *port = bus->sysdata; xgene_pcie_config_read32()
H A Dpcie-designware.c327 struct pcie_port *pp = pdev->bus->sysdata; dw_msi_setup_irq()
347 struct pcie_port *pp = pdev->bus->sysdata; dw_msi_setup_irqs()
660 struct pcie_port *pp = bus->sysdata; dw_pcie_rd_conf()
684 struct pcie_port *pp = bus->sysdata; dw_pcie_wr_conf()
H A Dpcie-xilinx.c170 struct xilinx_pcie_port *port = sys_to_pcie(bus->sysdata); xilinx_pcie_valid_device()
203 struct xilinx_pcie_port *port = sys_to_pcie(bus->sysdata); xilinx_pcie_map_bus()
284 struct xilinx_pcie_port *port = sys_to_pcie(pdev->bus->sysdata); xilinx_pcie_msi_setup_irq()
H A Dpcie-altera.c292 struct altera_pcie *pcie = bus->sysdata; altera_pcie_cfg_read()
340 struct altera_pcie *pcie = bus->sysdata; altera_pcie_cfg_write()
H A Dpcie-rcar.c131 * sysdata. Add pci_sys_data as the first element in struct gen_pci so
132 * that when we use a gen_pci pointer as sysdata, it is also a pointer to
267 struct rcar_pcie *pcie = bus->sysdata; rcar_pcie_read_conf()
292 struct rcar_pcie *pcie = bus->sysdata; rcar_pcie_write_conf()
H A Dpci-mvebu.c782 struct mvebu_pcie *pcie = sys_to_pcie(bus->sysdata); mvebu_pcie_wr_conf()
808 struct mvebu_pcie *pcie = sys_to_pcie(bus->sysdata); mvebu_pcie_rd_conf()
H A Dpci-tegra.c455 struct tegra_pcie *pcie = sys_to_pcie(bus->sysdata); tegra_pcie_conf_address()
621 struct tegra_pcie *pcie = sys_to_pcie(pdev->bus->sysdata); tegra_pcie_map_irq()
/linux-4.4.14/arch/alpha/kernel/
H A Dconsole.c48 hose = dev->sysdata; locate_and_init_vga()
50 hose = sel_func(hose, dev->sysdata); locate_and_init_vga()
H A Dpci-sysfs.c90 return hose_mmap_page_range(pdev->sysdata, vma, mmap_type, sparse); pci_mmap_resource()
138 struct pci_controller *hose = pdev->sysdata; sparse_mem_mmap_fits()
176 struct pci_controller *hose = pdev->sysdata; pci_create_attr()
285 struct pci_controller *hose = bus->sysdata; pci_mmap_legacy_page_range()
306 struct pci_controller *hose = bus->sysdata; pci_adjust_legacy_attr()
324 struct pci_controller *hose = bus->sysdata; pci_legacy_read()
348 struct pci_controller *hose = bus->sysdata; pci_legacy_write()
H A Dcore_marvel.c228 hose->sysdata = io7_port; io7_init_hose()
512 struct pci_controller *hose = pbus->sysdata; mk_conf_addr()
521 io7_port = hose->sysdata; mk_conf_addr()
610 io7_ioport_csrs *csrs = ((struct io7_port *)hose->sysdata)->csrs;
935 agp->aperture.sysdata = aper; marvel_agp_cleanup()
943 struct marvel_agp_aperture *aper = agp->aperture.sysdata; marvel_agp_cleanup()
964 io7_ioport_csrs *csrs = ((struct io7_port *)agp->hose->sysdata)->csrs; marvel_agp_configure()
965 struct io7 *io7 = ((struct io7_port *)agp->hose->sysdata)->io7; marvel_agp_configure()
1028 struct marvel_agp_aperture *aper = agp->aperture.sysdata;
1036 struct marvel_agp_aperture *aper = agp->aperture.sysdata; marvel_agp_translate()
1044 struct marvel_agp_aperture *aper = agp->aperture.sysdata; marvel_agp_translate()
1111 csrs = ((struct io7_port *)hose->sysdata)->csrs; marvel_agp_info()
1132 agp->aperture.sysdata = NULL; marvel_agp_info()
H A Dcore_titan.c120 struct pci_controller *hose = pbus->sysdata; mk_conf_addr()
615 agp->aperture.sysdata = aper; titan_agp_cleanup()
623 struct titan_agp_aperture *aper = agp->aperture.sysdata; titan_agp_cleanup()
686 struct titan_agp_aperture *aper = agp->aperture.sysdata; titan_agp_unbind_memory()
694 struct titan_agp_aperture *aper = agp->aperture.sysdata; titan_agp_translate()
702 struct titan_agp_aperture *aper = agp->aperture.sysdata; titan_agp_translate()
782 agp->aperture.sysdata = NULL; titan_agp_info()
H A Dpci.c97 struct pci_controller *hose = dev->sysdata; quirk_cypress()
129 struct pci_controller *hose = dev->sysdata; pcibios_align_resource()
412 hose = dev->sysdata; sys_pciconfig_iobase()
H A Dsys_dp264.c388 struct pci_controller *hose = dev->sysdata; dp264_map_irq()
429 struct pci_controller *hose = dev->sysdata; monet_swizzle()
495 struct pci_controller *hose = dev->sysdata; clipper_map_irq()
H A Dsys_eiger.c164 struct pci_controller *hose = dev->sysdata; eiger_swizzle()
H A Dsys_rawhide.c237 struct pci_controller *hose = dev->sysdata; rawhide_map_irq()
H A Dsys_marvel.c323 struct pci_controller *hose = dev->sysdata; marvel_map_irq()
324 struct io7_port *io7_port = hose->sysdata; marvel_map_irq()
H A Dpci_iommu.c255 struct pci_controller *hose = pdev ? pdev->sysdata : pci_isa_hose; pci_map_single_1()
377 struct pci_controller *hose = pdev ? pdev->sysdata : pci_isa_hose; alpha_pci_unmap_page()
685 hose = pdev ? pdev->sysdata : pci_isa_hose; alpha_pci_map_sg()
748 hose = pdev ? pdev->sysdata : pci_isa_hose; alpha_pci_unmap_sg()
825 hose = pdev ? pdev->sysdata : pci_isa_hose; alpha_pci_supported()
H A Dcore_mcpcia.c198 struct pci_controller *hose = bus->sysdata; mcpcia_read_config()
225 struct pci_controller *hose = bus->sysdata; mcpcia_write_config()
H A Dsys_wildfire.c307 struct pci_controller *hose = dev->sysdata; wildfire_map_irq()
H A Dcore_tsunami.c94 struct pci_controller *hose = pbus->sysdata; mk_conf_addr()
H A Dcore_wildfire.c358 struct pci_controller *hose = pbus->sysdata; mk_conf_addr()
/linux-4.4.14/arch/mips/lib/
H A Diomap-pci.c16 struct pci_controller *ctrl = dev->bus->sysdata; __pci_ioport_map()
/linux-4.4.14/arch/sh/drivers/pci/
H A Dops-sh4.c28 struct pci_channel *chan = bus->sysdata; sh4_pci_read()
66 struct pci_channel *chan = bus->sysdata; sh4_pci_write()
H A Dcommon.c17 dev.sysdata = hose; fake_pci_dev()
20 bus.sysdata = hose; fake_pci_dev()
H A Dfixups-dreamcast.c33 struct pci_channel *p = dev->sysdata; gapspci_fixup_resources()
H A Dpci.c175 struct pci_channel *hose = dev->sysdata; pcibios_align_resource()
298 struct pci_channel *chan = dev->sysdata; __pci_ioport_map()
H A Dops-sh7786.c25 struct pci_channel *chan = bus->sysdata; sh7786_pcie_config_access()
/linux-4.4.14/arch/arm/mach-dove/
H A Dpcie.c98 struct pci_sys_data *sys = bus->sysdata; pcie_rd_conf()
118 struct pci_sys_data *sys = bus->sysdata; pcie_wr_conf()
169 struct pci_sys_data *sys = dev->sysdata; dove_pcie_map_irq()
/linux-4.4.14/arch/sh/include/asm/
H A Dpci.h94 #define pci_domain_nr(bus) ((struct pci_channel *)(bus)->sysdata)->index
98 struct pci_channel *hose = bus->sysdata; pci_proc_domain()
/linux-4.4.14/arch/sparc/include/asm/
H A Dpbm.h39 * sysdata member. This makes OBP aware PCI device drivers easier to
/linux-4.4.14/arch/mips/pci/
H A Dpci-tx4939.c53 if (get_tx4927_pcicptr(dev->bus->sysdata) == tx4939_pcic1ptr) { tx4939_pcic1_map_irq()
H A Dpci-tx4938.c117 if (get_tx4927_pcicptr(dev->bus->sysdata) == tx4938_pcic1ptr) { tx4938_pcic1_map_irq()
H A Dpci.c57 struct pci_controller *hose = dev->sysdata; pcibios_align_resource()
164 struct pci_controller *hose = bus->sysdata; pcibios_get_phb_of_node()
H A Dpci-alchemy.c101 struct alchemy_pci_context *ctx = bus->sysdata; config_access()
526 struct alchemy_pci_context *ctx = dev->sysdata; pcibios_map_irq()
H A Dpci-ar71xx.c106 hose = (struct pci_controller *) bus->sysdata; pci_bus_to_ar71xx_controller()
H A Dpci-ar724x.c68 hose = (struct pci_controller *) bus->sysdata; pci_bus_to_ar724x_controller()
H A Dpci-rt3883.c80 hose = (struct pci_controller *) bus->sysdata; pci_bus_to_rt3883_controller()
H A Dops-tx4927.c139 struct pci_controller *channel = bus->sysdata; pci_bus_to_pcicptr()
H A Dpci-ar2315.c172 struct pci_controller *hose = bus->sysdata; ar2315_pci_bus_to_apc()
/linux-4.4.14/arch/arm/mach-cns3xxx/
H A Dpcie.c37 static struct cns3xxx_pcie *sysdata_to_cnspci(void *sysdata) sysdata_to_cnspci() argument
39 struct pci_sys_data *root = sysdata; sysdata_to_cnspci()
46 return sysdata_to_cnspci(dev->sysdata); pdev_to_cnspci()
51 return sysdata_to_cnspci(bus->sysdata); pbus_to_cnspci()
/linux-4.4.14/arch/ia64/sn/kernel/
H A Dio_common.c40 /* sysdata list struct */
43 void *sysdata; member in struct:sysdata_el
235 pci_dev_get(dev); /* for the sysdata pointer */ sn_pci_fixup_slot()
360 element->sysdata = SN_PCIDEV_INFO(dev); sn_bus_store_sysdata()
373 (element->sysdata))->pdi_list)); sn_bus_free_sysdata()
374 kfree(element->sysdata); sn_bus_free_sysdata()
/linux-4.4.14/arch/mips/include/asm/
H A Dpci.h117 #define pci_domain_nr(bus) ((struct pci_controller *)(bus)->sysdata)->index
121 struct pci_controller *hose = bus->sysdata; pci_proc_domain()
/linux-4.4.14/arch/x86/pci/
H A Dacpi.c338 * its bus->sysdata. pci_acpi_scan_root()
346 memcpy(bus->sysdata, &sd, sizeof(sd)); pci_acpi_scan_root()
381 * sysdata is likely to be different from what we expect. Let it go in pcibios_root_bridge_prepare()
385 struct pci_sysdata *sd = bridge->bus->sysdata; pcibios_root_bridge_prepare()
/linux-4.4.14/arch/ia64/include/asm/
H A Dpci.h77 #define PCI_CONTROLLER(busdev) ((struct pci_controller *) busdev->sysdata)
/linux-4.4.14/arch/ia64/include/asm/sn/
H A Dpcidev.h14 * In ia64, pci_dev->sysdata must be a *pci_controller. To provide access to
/linux-4.4.14/drivers/iommu/
H A Ds390-iommu.c88 struct zpci_dev *zdev = to_pci_dev(dev)->sysdata; s390_iommu_attach_device()
141 struct zpci_dev *zdev = to_pci_dev(dev)->sysdata; s390_iommu_detach_device()
188 struct zpci_dev *zdev = to_pci_dev(dev)->sysdata; s390_iommu_remove_device()
/linux-4.4.14/arch/arm/mach-mv78xx0/
H A Dpcie.c140 struct pci_sys_data *sys = bus->sysdata; pcie_rd_conf()
160 struct pci_sys_data *sys = bus->sysdata; pcie_wr_conf()
212 struct pci_sys_data *sys = dev->bus->sysdata; mv78xx0_pcie_map_irq()
/linux-4.4.14/arch/sparc/kernel/
H A Dpci_common.c110 struct pci_pbm_info *pbm = bus_dev->sysdata; sun4u_read_pci_cfg()
214 struct pci_pbm_info *pbm = bus_dev->sysdata; sun4u_write_pci_cfg()
259 struct pci_pbm_info *pbm = bus_dev->sysdata; sun4v_read_pci_cfg()
292 struct pci_pbm_info *pbm = bus_dev->sysdata; sun4v_write_pci_cfg()
H A Dpci.c285 dev->sysdata = node; of_create_pci_dev()
882 struct pci_pbm_info *pbm = pbus->sysdata; pcibus_to_node()
893 struct pci_pbm_info *pbm = pbus->sysdata; pci_domain_nr()
1120 struct pci_pbm_info *pbm = pbus->sysdata; of_pci_slot_init()
H A Dleon_pci_grpci1.c106 struct grpci1_priv *priv = dev->bus->sysdata; grpci1_map_irq()
H A Dpcic.c667 dev->sysdata = pcp; pcibios_fixup_bus()
H A Dleon_pci_grpci2.c223 struct grpci2_priv *priv = dev->bus->sysdata; grpci2_map_irq()
/linux-4.4.14/drivers/pci/
H A Dprobe.c720 child->sysdata = parent->sysdata; pci_alloc_child_bus()
1189 dev->sysdata = dev->bus->sysdata; pci_setup_device()
2089 struct pci_ops *ops, void *sysdata, struct list_head *resources) pci_create_root_bus()
2104 b->sysdata = sysdata; pci_create_root_bus()
2259 struct pci_ops *ops, void *sysdata, pci_scan_root_bus_msi()
2273 b = pci_create_root_bus(parent, bus, ops, sysdata, resources);
2295 struct pci_ops *ops, void *sysdata, struct list_head *resources) pci_scan_root_bus()
2297 return pci_scan_root_bus_msi(parent, bus, ops, sysdata, resources, pci_scan_root_bus()
2303 void *sysdata) pci_scan_bus()
2311 b = pci_create_root_bus(NULL, bus, ops, sysdata, &resources); pci_scan_bus()
2088 pci_create_root_bus(struct device *parent, int bus, struct pci_ops *ops, void *sysdata, struct list_head *resources) pci_create_root_bus() argument
2258 pci_scan_root_bus_msi(struct device *parent, int bus, struct pci_ops *ops, void *sysdata, struct list_head *resources, struct msi_controller *msi) pci_scan_root_bus_msi() argument
2294 pci_scan_root_bus(struct device *parent, int bus, struct pci_ops *ops, void *sysdata, struct list_head *resources) pci_scan_root_bus() argument
2302 pci_scan_bus(int bus, struct pci_ops *ops, void *sysdata) pci_scan_bus() argument
H A Dxen-pcifront.c189 struct pcifront_sd *sd = bus->sysdata; pcifront_bus_read()
228 struct pcifront_sd *sd = bus->sysdata; pcifront_bus_write()
259 struct pcifront_sd *sd = dev->bus->sysdata; pci_frontend_enable_msix()
312 struct pcifront_sd *sd = dev->bus->sysdata; pci_frontend_disable_msix()
331 struct pcifront_sd *sd = dev->bus->sysdata; pci_frontend_enable_msi()
360 struct pcifront_sd *sd = dev->bus->sysdata; pci_frontend_disable_msi()
580 kfree(bus_entry->bus->sysdata); pcifront_free_roots()
H A Dmsi.c1134 return dev->bus->sysdata; msi_desc_to_pci_sysdata()
/linux-4.4.14/arch/tile/kernel/
H A Dpci.c239 (struct pci_controller *)dev->sysdata; tile_map_irq()
466 struct pci_controller *controller = bus->sysdata; tile_cfg_read()
509 struct pci_controller *controller = bus->sysdata; tile_cfg_write()
H A Dpci_gx.c552 (struct pci_controller *)dev->sysdata; tile_map_irq()
1212 struct pci_controller *controller = bus->sysdata; tile_cfg_read()
1335 struct pci_controller *controller = bus->sysdata; tile_cfg_write()
/linux-4.4.14/arch/x86/kernel/
H A Dtce_64.c141 printk(KERN_ERR "Calgary: dev %p has sysdata->iommu %p\n", build_tce_table()
/linux-4.4.14/drivers/char/agp/
H A Dalpha-agp.c182 pdev->sysdata = agp->hose; alpha_core_agp_setup()
/linux-4.4.14/arch/s390/include/asm/
H A Dpci.h180 return pdev->sysdata; to_zpci()
/linux-4.4.14/arch/microblaze/include/asm/
H A Dpci-bridge.h97 return bus->sysdata; pci_bus_to_host()
/linux-4.4.14/arch/xtensa/kernel/
H A Dpci.c262 struct pci_controller *pci_ctrl = (struct pci_controller*) dev->sysdata; pci_controller_num()
289 struct pci_controller *pci_ctrl = (struct pci_controller*) dev->sysdata; __pci_mmap_make_offset()
/linux-4.4.14/arch/mips/txx9/generic/
H A Dpci.c36 fake_dev.sysdata = hose; early_read_config_word()
39 fake_bus.sysdata = hose; early_read_config_word()
/linux-4.4.14/drivers/pci/hotplug/
H A Dsgi_hotplug.c222 * driver remove function. We release the sysdata sn_bus_free_data()
561 /* free the collected sysdata pointers */ disable_slot()
683 if (!pci_bus->sysdata) sn_pci_hotplug_init()
/linux-4.4.14/arch/s390/pci/
H A Dpci.c96 return (bus && bus->sysdata) ? (struct zpci_dev *) bus->sysdata : NULL; get_zdev_by_bus()
101 return ((struct zpci_dev *) bus->sysdata)->domain; pci_domain_nr()
/linux-4.4.14/drivers/gpu/drm/
H A Ddrm_fops.c267 dev->hose = pci_dev->sysdata; drm_open_helper()
274 dev->hose = b->sysdata; drm_open_helper()
H A Ddrm_pci.c292 dev->hose = pdev->sysdata; drm_get_pci_dev()
/linux-4.4.14/arch/tile/include/asm/
H A Dpci.h202 #define pci_domain_nr(bus) (((struct pci_controller *)(bus)->sysdata)->index)
/linux-4.4.14/arch/xtensa/lib/
H A Dpci-auto.c245 pciauto_dev.sysdata = pci_ctrl; pciauto_bus_scan()
/linux-4.4.14/arch/arm/plat-iop/
H A Dpci.c41 struct pci_sys_data *sys = bus->sysdata; iop3xx_cfg_address()
/linux-4.4.14/drivers/acpi/
H A Dpci_root.c824 void *sysdata) acpi_pci_root_create()
850 sysdata, &info->resources); acpi_pci_root_create()
821 acpi_pci_root_create(struct acpi_pci_root *root, struct acpi_pci_root_ops *ops, struct acpi_pci_root_info *info, void *sysdata) acpi_pci_root_create() argument
/linux-4.4.14/arch/ia64/pci/
H A Dpci.c316 * sysdata is likely to be different from what we expect. Let it go in pcibios_root_bridge_prepare()
320 struct pci_controller *controller = bridge->bus->sysdata; pcibios_root_bridge_prepare()
/linux-4.4.14/arch/arm/kernel/
H A Dbios32.c380 struct pci_sys_data *sys = dev->sysdata; pcibios_swizzle()
400 struct pci_sys_data *sys = dev->sysdata; pcibios_map_irq()
/linux-4.4.14/arch/powerpc/include/asm/
H A Dpci-bridge.h166 return bus->sysdata; pci_bus_to_host()
/linux-4.4.14/include/linux/
H A Dpci.h263 void *sysdata; /* hook for sys-specific extension */ member in struct:pci_dev
471 void *sysdata; /* hook for sys-specific extension */ member in struct:pci_bus
799 struct pci_bus *pci_scan_bus(int bus, struct pci_ops *ops, void *sysdata);
801 struct pci_ops *ops, void *sysdata,
807 struct pci_ops *ops, void *sysdata,
811 struct pci_ops *ops, void *sysdata,
/linux-4.4.14/arch/arm/mach-iop13xx/
H A Dpci.c183 struct pci_sys_data *sys = bus->sysdata; iop13xx_atux_cfg_address()
206 struct pci_sys_data *sys = bus->sysdata; iop13xx_atue_cfg_address()
/linux-4.4.14/arch/powerpc/platforms/powernv/
H A Dpci.c773 struct pci_controller *hose = bus->sysdata; pnv_pci_dma_bus_setup()
/linux-4.4.14/arch/mips/include/asm/pci/
H A Dbridge.h848 ((struct bridge_controller *)((bus)->sysdata))
/linux-4.4.14/arch/microblaze/pci/
H A Dpci-common.c1338 struct pci_controller *hose = bus->sysdata; pcibios_get_phb_of_node()
1479 bus.sysdata = hose; fake_pci_bus()
/linux-4.4.14/arch/powerpc/kernel/
H A Dpci-common.c1563 bus.sysdata = hose; fake_pci_bus()
1591 struct pci_controller *hose = bus->sysdata; pcibios_get_phb_of_node()
/linux-4.4.14/arch/ia64/hp/common/
H A Dsba_iommu.c1760 sac->sysdata = controller; ioc_sac_init()
1979 panic(PFX "no sysdata on bus %d!\n", bus->number); sba_connect_bus()

Completed in 2626 milliseconds