Home
last modified time | relevance | path

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

123456789

/arch/arm/kernel/
Dbios32.c364 struct pci_sys_data *sys = dev->sysdata; in pcibios_swizzle() local
367 if (sys->swizzle) in pcibios_swizzle()
368 slot = sys->swizzle(dev, pin); in pcibios_swizzle()
384 struct pci_sys_data *sys = dev->sysdata; in pcibios_map_irq() local
387 if (sys->map_irq) in pcibios_map_irq()
388 irq = sys->map_irq(dev, slot, pin); in pcibios_map_irq()
397 static int pcibios_init_resource(int busnr, struct pci_sys_data *sys) in pcibios_init_resource() argument
402 if (list_empty(&sys->resources)) { in pcibios_init_resource()
403 pci_add_resource_offset(&sys->resources, in pcibios_init_resource()
404 &iomem_resource, sys->mem_offset); in pcibios_init_resource()
[all …]
/arch/arm/mach-sa1100/
Dpci-nanoengine.c129 static int __init pci_nanoengine_setup_resources(struct pci_sys_data *sys) in pci_nanoengine_setup_resources() argument
146 pci_add_resource_offset(&sys->resources, &pci_io_ports, sys->io_offset); in pci_nanoengine_setup_resources()
147 pci_add_resource_offset(&sys->resources, in pci_nanoengine_setup_resources()
148 &pci_non_prefetchable_memory, sys->mem_offset); in pci_nanoengine_setup_resources()
149 pci_add_resource_offset(&sys->resources, in pci_nanoengine_setup_resources()
150 &pci_prefetchable_memory, sys->mem_offset); in pci_nanoengine_setup_resources()
155 int __init pci_nanoengine_setup(int nr, struct pci_sys_data *sys) in pci_nanoengine_setup() argument
163 sys->mem_offset = NANO_PCI_MEM_RW_PHYS; in pci_nanoengine_setup()
164 sys->io_offset = 0x400; in pci_nanoengine_setup()
165 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.c80 struct op_system_config *sys, in pa6t_reg_setup() argument
94 sys->mmcr0 &= ~(0x1UL << pmc); in pa6t_reg_setup()
95 sys->mmcr0 &= ~(0x1UL << (pmc+12)); in pa6t_reg_setup()
99 if (sys->enable_kernel) in pa6t_reg_setup()
100 sys->mmcr0 |= PA6T_MMCR0_SUPEN | PA6T_MMCR0_HYPEN; in pa6t_reg_setup()
102 sys->mmcr0 &= ~(PA6T_MMCR0_SUPEN | PA6T_MMCR0_HYPEN); in pa6t_reg_setup()
104 if (sys->enable_user) in pa6t_reg_setup()
105 sys->mmcr0 |= PA6T_MMCR0_PREN; in pa6t_reg_setup()
107 sys->mmcr0 &= ~PA6T_MMCR0_PREN; in pa6t_reg_setup()
114 mmcr0_val = sys->mmcr0; in pa6t_reg_setup()
[all …]
Dcommon.c25 static struct op_system_config sys; variable
56 op_per_cpu_rc = model->reg_setup(ctr, &sys, model->num_counters); in op_powerpc_setup()
127 oprofilefs_create_ulong(root, "mmcr0", &sys.mmcr0); in op_powerpc_create_files()
128 oprofilefs_create_ulong(root, "mmcr1", &sys.mmcr1); in op_powerpc_create_files()
129 oprofilefs_create_ulong(root, "mmcra", &sys.mmcra); in op_powerpc_create_files()
141 oprofilefs_create_ulong(root, "cell_support", &sys.cell_support); in op_powerpc_create_files()
142 sys.cell_support = 0x1; /* Note, the user OProfile tool must check in op_powerpc_create_files()
178 oprofilefs_create_ulong(root, "enable_kernel", &sys.enable_kernel); in op_powerpc_create_files()
179 oprofilefs_create_ulong(root, "enable_user", &sys.enable_user); in op_powerpc_create_files()
182 sys.enable_kernel = 1; in op_powerpc_create_files()
[all …]
Dop_model_power4.c93 struct op_system_config *sys, in power4_reg_setup() argument
103 mmcr0_val = sys->mmcr0; in power4_reg_setup()
104 mmcr1_val = sys->mmcr1; in power4_reg_setup()
105 mmcra_val = sys->mmcra; in power4_reg_setup()
128 if (sys->enable_kernel) in power4_reg_setup()
133 if (sys->enable_user) in power4_reg_setup()
Dop_model_7450.c93 struct op_system_config *sys, in fsl7450_reg_setup() argument
112 if (sys->enable_kernel) in fsl7450_reg_setup()
115 if (sys->enable_user) in fsl7450_reg_setup()
/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()
199 struct pci_sys_data *sys = pci_host_bridge_priv(bridge); in mv78xx0_pcie_scan_bus() local
[all …]
/arch/ia64/scripts/
Dunwcheck.py16 import sys
18 if len(sys.argv) != 2:
19 print("Usage: %s FILE" % sys.argv[0])
20 sys.exit(2)
40 for line in os.popen("%s -u %s" % (readelf, sys.argv[1])):
65 sys.exit(1)
/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 …]
/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()
198 tmp = __kernel_extbl(alpha_mv.sys.sio.route_tab, irq); in noname_map_irq()
224 tmp = __kernel_extbl(alpha_mv.sys.sio.route_tab, irq); in p2k_map_irq()
353 .sys = { .sio = {
383 .sys = { .sio = {
412 .sys = { .sio = {
450 .sys = { .sio = {
479 .sys = { .sio = {
Dsys_alcor.c243 alpha_mv.sys.cia.gru_int_req_bits = XLT_GRU_INT_REQ_BITS; in alcor_init_pci()
276 .sys = { .cia = {
303 .sys = { .cia = {
/arch/arm/boot/dts/
Dkirkwood-nsa310a.dts43 pmx_led_sys_green: pmx-led-sys-green {
48 pmx_led_sys_red: pmx-led-sys-red {
78 green-sys {
79 label = "nsa310:green:sys";
82 red-sys {
83 label = "nsa310:red:sys";
Dkirkwood-nsa310.dts44 pmx_led_sys_green: pmx-led-sys-green {
49 pmx_led_sys_red: pmx-led-sys-red {
90 green-sys {
91 label = "nsa310:green:sys";
94 red-sys {
95 label = "nsa310:red:sys";
Dox820.dtsi109 /* Regmap for sys registers */
110 oxsemi,sys-ctrl = <&sys>;
124 /* Regmap for sys registers */
125 oxsemi,sys-ctrl = <&sys>;
256 sys: sys-ctrl@e00000 { label
257 compatible = "oxsemi,ox820-sys-ctrl", "syscon", "simple-mfd";
Dkirkwood-nsa320.dts72 pmx_led_sys_green: pmx-led-sys-green {
77 pmx_led_sys_orange: pmx-led-sys-orange {
145 green-sys {
146 label = "nsa320:green:sys";
149 orange-sys {
150 label = "nsa320:orange:sys";
Dkirkwood-nsa325.dts62 pmx_led_sys_green: pmx-led-sys-green {
67 pmx_led_sys_orange: pmx-led-sys-orange {
165 green-sys {
166 label = "nsa325:green:sys";
169 orange-sys {
170 label = "nsa325:orange:sys";
Dox810se.dtsi93 /* Regmap for sys registers */
94 oxsemi,sys-ctrl = <&sys>;
300 sys: sys-ctrl@0 { label
301 compatible = "oxsemi,ox810se-sys-ctrl", "syscon", "simple-mfd";
/arch/arm/mach-iop32x/
Dpci.c38 struct pci_sys_data *sys = bus->sysdata; in iop3xx_cfg_address() local
41 if (sys->busnr == bus->number) in iop3xx_cfg_address()
185 int iop3xx_pci_setup(int nr, struct pci_sys_data *sys) in iop3xx_pci_setup() argument
205 sys->mem_offset = IOP3XX_PCI_LOWER_MEM_PA - *IOP3XX_OMWTVR0; in iop3xx_pci_setup()
207 pci_add_resource_offset(&sys->resources, res, sys->mem_offset); in iop3xx_pci_setup()
/arch/arm/mach-footbridge/
Ddc21285.c244 int __init dc21285_setup(int nr, struct pci_sys_data *sys) in dc21285_setup() argument
267 sys->mem_offset = DC21285_PCI_MEM; in dc21285_setup()
269 pci_add_resource_offset(&sys->resources, &res[0], sys->mem_offset); in dc21285_setup()
270 pci_add_resource_offset(&sys->resources, &res[1], sys->mem_offset); in dc21285_setup()
/arch/arm/mach-cns3xxx/
Dpcie.c107 static int cns3xxx_pci_setup(int nr, struct pci_sys_data *sys) in cns3xxx_pci_setup() argument
109 struct cns3xxx_pcie *cnspci = sysdata_to_cnspci(sys); in cns3xxx_pci_setup()
116 pci_add_resource_offset(&sys->resources, res_io, sys->io_offset); in cns3xxx_pci_setup()
117 pci_add_resource_offset(&sys->resources, res_mem, sys->mem_offset); in cns3xxx_pci_setup()
/arch/mips/boot/dts/img/
Dpistachio.dtsi50 clock-names = "scb", "sys";
68 clock-names = "scb", "sys";
86 clock-names = "scb", "sys";
104 clock-names = "scb", "sys";
123 clock-names = "sys";
140 clock-names = "sys", "ref";
160 clock-names = "sys", "ref";
177 clock-names = "sys", "ref";
195 clock-names = "sys";
216 clock-names = "sys", "spfi";
[all …]
/arch/mips/lantiq/xway/
Dclk.c86 unsigned long sys = ltq_ar9_sys_hz(); in ltq_ar9_fpi_hz() local
89 return sys / 3; in ltq_ar9_fpi_hz()
91 return sys / 2; in ltq_ar9_fpi_hz()

123456789