Home
last modified time | relevance | path

Searched refs:sys (Results 1 – 25 of 145) sorted by relevance

123456

/arch/arm/kernel/
Dbios32.c380 struct pci_sys_data *sys = dev->sysdata; in pcibios_swizzle() local
383 if (sys->swizzle) in pcibios_swizzle()
384 slot = sys->swizzle(dev, pin); in pcibios_swizzle()
400 struct pci_sys_data *sys = dev->sysdata; in pcibios_map_irq() local
403 if (sys->map_irq) in pcibios_map_irq()
404 irq = sys->map_irq(dev, slot, pin); in pcibios_map_irq()
413 static int pcibios_init_resource(int busnr, struct pci_sys_data *sys, in pcibios_init_resource() argument
419 if (list_empty(&sys->resources)) { in pcibios_init_resource()
420 pci_add_resource_offset(&sys->resources, in pcibios_init_resource()
421 &iomem_resource, sys->mem_offset); in pcibios_init_resource()
[all …]
/arch/arm/mach-sa1100/
Dpci-nanoengine.c142 static int __init pci_nanoengine_setup_resources(struct pci_sys_data *sys) in pci_nanoengine_setup_resources() argument
159 pci_add_resource_offset(&sys->resources, &pci_io_ports, sys->io_offset); in pci_nanoengine_setup_resources()
160 pci_add_resource_offset(&sys->resources, in pci_nanoengine_setup_resources()
161 &pci_non_prefetchable_memory, sys->mem_offset); in pci_nanoengine_setup_resources()
162 pci_add_resource_offset(&sys->resources, in pci_nanoengine_setup_resources()
163 &pci_prefetchable_memory, sys->mem_offset); in pci_nanoengine_setup_resources()
168 int __init pci_nanoengine_setup(int nr, struct pci_sys_data *sys) in pci_nanoengine_setup() argument
176 sys->mem_offset = NANO_PCI_MEM_RW_PHYS; in pci_nanoengine_setup()
177 sys->io_offset = 0x400; in pci_nanoengine_setup()
178 ret = pci_nanoengine_setup_resources(sys); in pci_nanoengine_setup()
/arch/arm/mach-dove/
Dpcie.c38 static int __init dove_pcie_setup(int nr, struct pci_sys_data *sys) in dove_pcie_setup() argument
46 sys->private_data = pp; in dove_pcie_setup()
47 pp->root_bus_nr = sys->busnr; in dove_pcie_setup()
52 orion_pcie_set_local_bus_nr(pp->base, sys->busnr); in dove_pcie_setup()
57 pci_ioremap_io(sys->busnr * SZ_64K, DOVE_PCIE0_IO_PHYS_BASE); in dove_pcie_setup()
59 pci_ioremap_io(sys->busnr * SZ_64K, DOVE_PCIE1_IO_PHYS_BASE); in dove_pcie_setup()
78 pci_add_resource_offset(&sys->resources, &pp->res, sys->mem_offset); in dove_pcie_setup()
98 struct pci_sys_data *sys = bus->sysdata; in pcie_rd_conf() local
99 struct pcie_port *pp = sys->private_data; in pcie_rd_conf()
118 struct pci_sys_data *sys = bus->sysdata; in pcie_wr_conf() local
[all …]
/arch/powerpc/oprofile/
Dop_model_pa6t.c92 struct op_system_config *sys, in pa6t_reg_setup() argument
106 sys->mmcr0 &= ~(0x1UL << pmc); in pa6t_reg_setup()
107 sys->mmcr0 &= ~(0x1UL << (pmc+12)); in pa6t_reg_setup()
111 if (sys->enable_kernel) in pa6t_reg_setup()
112 sys->mmcr0 |= PA6T_MMCR0_SUPEN | PA6T_MMCR0_HYPEN; in pa6t_reg_setup()
114 sys->mmcr0 &= ~(PA6T_MMCR0_SUPEN | PA6T_MMCR0_HYPEN); in pa6t_reg_setup()
116 if (sys->enable_user) in pa6t_reg_setup()
117 sys->mmcr0 |= PA6T_MMCR0_PREN; in pa6t_reg_setup()
119 sys->mmcr0 &= ~PA6T_MMCR0_PREN; in pa6t_reg_setup()
126 mmcr0_val = sys->mmcr0; in pa6t_reg_setup()
[all …]
Dcommon.c29 static struct op_system_config sys; variable
60 op_per_cpu_rc = model->reg_setup(ctr, &sys, model->num_counters); in op_powerpc_setup()
131 oprofilefs_create_ulong(root, "mmcr0", &sys.mmcr0); in op_powerpc_create_files()
132 oprofilefs_create_ulong(root, "mmcr1", &sys.mmcr1); in op_powerpc_create_files()
133 oprofilefs_create_ulong(root, "mmcra", &sys.mmcra); in op_powerpc_create_files()
145 oprofilefs_create_ulong(root, "cell_support", &sys.cell_support); in op_powerpc_create_files()
146 sys.cell_support = 0x1; /* Note, the user OProfile tool must check in op_powerpc_create_files()
182 oprofilefs_create_ulong(root, "enable_kernel", &sys.enable_kernel); in op_powerpc_create_files()
183 oprofilefs_create_ulong(root, "enable_user", &sys.enable_user); in op_powerpc_create_files()
186 sys.enable_kernel = 1; in op_powerpc_create_files()
[all …]
Dop_model_power4.c97 struct op_system_config *sys, in power4_reg_setup() argument
107 mmcr0_val = sys->mmcr0; in power4_reg_setup()
108 mmcr1_val = sys->mmcr1; in power4_reg_setup()
109 mmcra_val = sys->mmcra; in power4_reg_setup()
132 if (sys->enable_kernel) in power4_reg_setup()
137 if (sys->enable_user) in power4_reg_setup()
/arch/ia64/scripts/
Dunwcheck.py15 import sys
17 if len(sys.argv) != 2:
18 print "Usage: %s FILE" % sys.argv[0]
19 sys.exit(2)
39 for line in os.popen("%s -u %s" % (readelf, sys.argv[1])):
64 sys.exit(1)
/arch/arm/mach-mv78xx0/
Dpcie.c101 static int __init mv78xx0_pcie_setup(int nr, struct pci_sys_data *sys) in mv78xx0_pcie_setup() argument
109 sys->private_data = pp; in mv78xx0_pcie_setup()
110 pp->root_bus_nr = sys->busnr; in mv78xx0_pcie_setup()
115 orion_pcie_set_local_bus_nr(pp->base, sys->busnr); in mv78xx0_pcie_setup()
120 pci_add_resource_offset(&sys->resources, &pp->res, sys->mem_offset); in mv78xx0_pcie_setup()
140 struct pci_sys_data *sys = bus->sysdata; in pcie_rd_conf() local
141 struct pcie_port *pp = sys->private_data; in pcie_rd_conf()
160 struct pci_sys_data *sys = bus->sysdata; in pcie_wr_conf() local
161 struct pcie_port *pp = sys->private_data; in pcie_wr_conf()
198 mv78xx0_pcie_scan_bus(int nr, struct pci_sys_data *sys) in mv78xx0_pcie_scan_bus() argument
[all …]
/arch/alpha/oprofile/
Dop_model_ev5.c27 struct op_system_config *sys, in common_reg_setup() argument
79 ctl |= !sys->enable_pal << 9; in common_reg_setup()
80 ctl |= !sys->enable_kernel << 8; in common_reg_setup()
81 ctl |= !sys->enable_user << 30; in common_reg_setup()
118 struct op_system_config *sys) in ev5_reg_setup() argument
120 common_reg_setup(reg, ctr, sys, 19, 22); in ev5_reg_setup()
126 struct op_system_config *sys) in pca56_reg_setup() argument
128 common_reg_setup(reg, ctr, sys, 8, 11); in pca56_reg_setup()
Dcommon.c31 static struct op_system_config sys; variable
65 model->reg_setup(&reg, ctr, &sys); in op_axp_setup()
131 &sys.enable_pal); in op_axp_create_files()
133 &sys.enable_kernel); in op_axp_create_files()
135 &sys.enable_user); in op_axp_create_files()
/arch/arm/mach-orion5x/
Dpci.c142 static int __init pcie_setup(struct pci_sys_data *sys) in pcie_setup() argument
167 pci_ioremap_io(sys->busnr * SZ_64K, ORION5X_PCIE_IO_PHYS_BASE); in pcie_setup()
185 pci_add_resource_offset(&sys->resources, res, sys->mem_offset); in pcie_setup()
466 static int __init pci_setup(struct pci_sys_data *sys) in pci_setup() argument
485 pci_ioremap_io(sys->busnr * SZ_64K, ORION5X_PCI_IO_PHYS_BASE); in pci_setup()
503 pci_add_resource_offset(&sys->resources, res, sys->mem_offset); in pci_setup()
541 int __init orion5x_pci_sys_setup(int nr, struct pci_sys_data *sys) in orion5x_pci_sys_setup() argument
546 orion_pcie_set_local_bus_nr(PCIE_BASE, sys->busnr); in orion5x_pci_sys_setup()
547 return pcie_setup(sys); in orion5x_pci_sys_setup()
551 orion5x_pci_set_bus_nr(sys->busnr); in orion5x_pci_sys_setup()
[all …]
Dcommon.h63 int orion5x_pci_sys_setup(int nr, struct pci_sys_data *sys);
64 struct pci_bus *orion5x_pci_sys_scan_bus(int nr, struct pci_sys_data *sys);
/arch/arm/boot/dts/
Dkirkwood-nsa310a.dts42 pmx_led_sys_green: pmx-led-sys-green {
47 pmx_led_sys_red: pmx-led-sys-red {
77 green-sys {
78 label = "nsa310:green:sys";
81 red-sys {
82 label = "nsa310:red:sys";
Dkirkwood-nsa310.dts43 pmx_led_sys_green: pmx-led-sys-green {
48 pmx_led_sys_red: pmx-led-sys-red {
89 green-sys {
90 label = "nsa310:green:sys";
93 red-sys {
94 label = "nsa310:red:sys";
Dkirkwood-nsa320.dts75 pmx_led_sys_green: pmx-led-sys-green {
80 pmx_led_sys_orange: pmx-led-sys-orange {
148 green-sys {
149 label = "nsa320:green:sys";
152 orange-sys {
153 label = "nsa320:orange:sys";
Dox810se.dtsi90 /* Regmap for sys registers */
91 oxsemi,sys-ctrl = <&sys>;
297 sys: sys-ctrl@000000 { label
298 compatible = "oxsemi,ox810se-sys-ctrl", "syscon", "simple-mfd";
Dkirkwood-nsa325.dts65 pmx_led_sys_green: pmx-led-sys-green {
70 pmx_led_sys_orange: pmx-led-sys-orange {
168 green-sys {
169 label = "nsa325:green:sys";
172 orange-sys {
173 label = "nsa325:orange:sys";
/arch/alpha/kernel/
Dsys_sio.c93 orig_route_tab, alpha_mv.sys.sio.route_tab); in sio_pci_route()
101 alpha_mv.sys.sio.route_tab); in sio_pci_route()
182 tmp = __kernel_extbl(alpha_mv.sys.sio.route_tab, irq); in noname_map_irq()
201 tmp = __kernel_extbl(alpha_mv.sys.sio.route_tab, irq); in p2k_map_irq()
330 .sys = { .sio = {
360 .sys = { .sio = {
389 .sys = { .sio = {
427 .sys = { .sio = {
456 .sys = { .sio = {
/arch/arm/mach-iop13xx/
Dpci.c183 struct pci_sys_data *sys = bus->sysdata; in iop13xx_atux_cfg_address() local
186 if (sys->busnr == bus->number) in iop13xx_atux_cfg_address()
206 struct pci_sys_data *sys = bus->sysdata; in iop13xx_atue_cfg_address() local
216 if (sys->busnr != bus->number) in iop13xx_atue_cfg_address()
507 struct pci_bus *iop13xx_scan_bus(int nr, struct pci_sys_data *sys) in iop13xx_scan_bus() argument
538 bus = pci_bus_atux = pci_scan_root_bus(NULL, sys->busnr, in iop13xx_scan_bus()
540 sys, &sys->resources); in iop13xx_scan_bus()
543 bus = pci_bus_atue = pci_scan_root_bus(NULL, sys->busnr, in iop13xx_scan_bus()
545 sys, &sys->resources); in iop13xx_scan_bus()
994 int iop13xx_pci_setup(int nr, struct pci_sys_data *sys) in iop13xx_pci_setup() argument
[all …]
/arch/arm/plat-iop/
Dpci.c41 struct pci_sys_data *sys = bus->sysdata; in iop3xx_cfg_address() local
44 if (sys->busnr == bus->number) in iop3xx_cfg_address()
188 int iop3xx_pci_setup(int nr, struct pci_sys_data *sys) in iop3xx_pci_setup() argument
208 sys->mem_offset = IOP3XX_PCI_LOWER_MEM_PA - *IOP3XX_OMWTVR0; in iop3xx_pci_setup()
210 pci_add_resource_offset(&sys->resources, res, sys->mem_offset); in iop3xx_pci_setup()
/arch/arm/common/
Dit8152.c285 int __init it8152_pci_setup(int nr, struct pci_sys_data *sys) in it8152_pci_setup() argument
296 sys->mem_offset = 0x10000000; in it8152_pci_setup()
297 sys->io_offset = (unsigned long)IT8152_IO_BASE; in it8152_pci_setup()
308 pci_add_resource_offset(&sys->resources, &it8152_io, sys->io_offset); in it8152_pci_setup()
309 pci_add_resource_offset(&sys->resources, &it8152_mem, sys->mem_offset); in it8152_pci_setup()
/arch/arm/mach-footbridge/
Ddc21285.c253 int __init dc21285_setup(int nr, struct pci_sys_data *sys) in dc21285_setup() argument
276 sys->mem_offset = DC21285_PCI_MEM; in dc21285_setup()
278 pci_add_resource_offset(&sys->resources, &res[0], sys->mem_offset); in dc21285_setup()
279 pci_add_resource_offset(&sys->resources, &res[1], sys->mem_offset); in dc21285_setup()
/arch/arm/mach-cns3xxx/
Dpcie.c110 static int cns3xxx_pci_setup(int nr, struct pci_sys_data *sys) in cns3xxx_pci_setup() argument
112 struct cns3xxx_pcie *cnspci = sysdata_to_cnspci(sys); in cns3xxx_pci_setup()
119 pci_add_resource_offset(&sys->resources, res_io, sys->io_offset); in cns3xxx_pci_setup()
120 pci_add_resource_offset(&sys->resources, res_mem, sys->mem_offset); in cns3xxx_pci_setup()
/arch/arm/mach-ks8695/
Dpci.c93 static int __init ks8695_pci_setup(int nr, struct pci_sys_data *sys) in ks8695_pci_setup() argument
101 pci_add_resource_offset(&sys->resources, &pci_io, sys->io_offset); in ks8695_pci_setup()
102 pci_add_resource_offset(&sys->resources, &pci_mem, sys->mem_offset); in ks8695_pci_setup()
/arch/mips/lantiq/xway/
Dclk.c88 unsigned long sys = ltq_ar9_sys_hz(); in ltq_ar9_fpi_hz() local
91 return sys / 3; in ltq_ar9_fpi_hz()
93 return sys / 2; in ltq_ar9_fpi_hz()

123456