Home
last modified time | relevance | path

Searched refs:number (Results 1 – 25 of 392) sorted by relevance

12345678910>>...16

/arch/arm/mm/
Dpmsa-v8.c83 static __init bool is_region_fixed(int number) in is_region_fixed() argument
85 switch (number) { in is_region_fixed()
141 static int __init __pmsav8_setup_region(unsigned int number, u32 bar, u32 lar) in __pmsav8_setup_region() argument
143 if (number > mpu_max_regions in __pmsav8_setup_region()
144 || number >= MPU_MAX_REGIONS) in __pmsav8_setup_region()
148 prsel_write(number); in __pmsav8_setup_region()
153 mpu_rgn_info.rgns[number].prbar = bar; in __pmsav8_setup_region()
154 mpu_rgn_info.rgns[number].prlar = lar; in __pmsav8_setup_region()
161 static int __init pmsav8_setup_ram(unsigned int number, phys_addr_t start,phys_addr_t end) in pmsav8_setup_ram() argument
165 if (is_region_fixed(number)) in pmsav8_setup_ram()
[all …]
Dpmsa-v7.c366 static int __init mpu_setup_region(unsigned int number, phys_addr_t start, in mpu_setup_region() argument
373 if (number > mpu_max_regions in mpu_setup_region()
374 || number >= MPU_MAX_REGIONS) in mpu_setup_region()
391 rgnr_write(number); in mpu_setup_region()
408 mpu_rgn_info.rgns[number].dracr = properties; in mpu_setup_region()
409 mpu_rgn_info.rgns[number].drbar = start; in mpu_setup_region()
410 mpu_rgn_info.rgns[number].drsr = size_data; in mpu_setup_region()
/arch/microblaze/pci/
Dindirect_pci.c27 if (bus->number != hose->first_busno) in indirect_read_config()
34 if (bus->number != hose->first_busno) in indirect_read_config()
37 bus_no = (bus->number == hose->first_busno) ? in indirect_read_config()
38 hose->self_busno : bus->number; in indirect_read_config()
81 if (bus->number != hose->first_busno) in indirect_write_config()
88 if (bus->number != hose->first_busno) in indirect_write_config()
91 bus_no = (bus->number == hose->first_busno) ? in indirect_write_config()
92 hose->self_busno : bus->number; in indirect_write_config()
109 (bus->number == hose->first_busno)) in indirect_write_config()
/arch/mips/pci/
Dops-vr41xx.c22 static inline int set_pci_configuration_address(unsigned char number, in set_pci_configuration_address() argument
25 if (number == 0) { in set_pci_configuration_address()
41 writel(((uint32_t)number << 16) | ((devfn & 0xff) << 8) | in set_pci_configuration_address()
54 if (set_pci_configuration_address(bus->number, devfn, where) < 0) in pci_config_read()
82 if (set_pci_configuration_address(bus->number, devfn, where) < 0) in pci_config_write()
Dops-sni.c45 if ((res = set_config_address(bus->number, devfn, reg))) in pcimt_read()
68 if ((res = set_config_address(bus->number, devfn, reg))) in pcimt_write()
110 if (bus->number == 0) { in pcit_read()
120 if ((res = pcit_set_config_address(bus->number, devfn, reg))) in pcit_read()
142 if ((res = pcit_set_config_address(bus->number, devfn, reg))) in pcit_write()
Dfixup-rc32434.c43 if (dev->bus->number < 2 && PCI_SLOT(dev->devfn) < 12) in pcibios_map_irq()
44 irq = irq_map[dev->bus->number][PCI_SLOT(dev->devfn)]; in pcibios_map_irq()
51 if (PCI_SLOT(dev->devfn) == 6 && dev->bus->number == 0) { in rc32434_pci_early_fixup()
Dops-bcm63xx.c157 return bcm63xx_do_cfg_read(type, bus->number, devfn, in bcm63xx_pci_read()
171 return bcm63xx_do_cfg_write(type, bus->number, devfn, in bcm63xx_pci_write()
368 fake_cb_bridge_bus_number = bus->number; in bcm63xx_cb_read()
377 bus->number == fake_cb_bridge_regs.cardbus_busn && in bcm63xx_cb_read()
390 fake_cb_bridge_bus_number = bus->number; in bcm63xx_cb_write()
395 bus->number == fake_cb_bridge_regs.cardbus_busn && in bcm63xx_cb_write()
432 if (dev->bus->number == fake_cb_bridge_bus_number) in bcm63xx_fixup()
437 dev->bus->number == fake_cb_bridge_regs.cardbus_busn && in bcm63xx_fixup()
470 switch (bus->number) { in bcm63xx_pcie_can_access()
492 if (bus->number == PCIE_BUS_DEVICE) in bcm63xx_pcie_read()
[all …]
Dpci-xlp.c72 if (bus->number == 0) { in pci_cfg_read_32bit()
77 } else if (bus->parent->number == 0) { /* SoC bus */ in pci_cfg_read_32bit()
83 } else if (bus->number == 0 && PCI_SLOT(devfn) == 1 && where == 0x954) { in pci_cfg_read_32bit()
87 pci_cfg_addr(bus->number, devfn, where)); in pci_cfg_read_32bit()
98 pci_cfg_addr(bus->number, devfn, where & ~3)); in pci_cfg_write_32bit()
187 for (p = bus->parent; p && p->parent && p->parent->number != 0; in xlp_get_pcie_link()
193 for (p = bus->parent; p && p->number != 0; p = p->parent) in xlp_get_pcie_link()
Dfixup-sb1250.c43 exclude_this = exclude->set && (dev->bus->number >= exclude->start && in sb1250_bus_dma_limit()
44 dev->bus->number <= exclude->end); in sb1250_bus_dma_limit()
51 exclude->start = dev->subordinate->number; in sb1250_bus_dma_limit()
Dpci-mt7620.c147 num = bus->number; in pci_config_read()
179 num = bus->number; in pci_config_write()
368 if ((dev->bus->number == 0) && (slot == 0)) { in pcibios_map_irq()
373 } else if ((dev->bus->number == 1) && (slot == 0x0)) { in pcibios_map_irq()
377 dev->bus->number, slot); in pcibios_map_irq()
381 dev->bus->number, slot, irq); in pcibios_map_irq()
/arch/powerpc/platforms/pasemi/
Dpci.c65 if (!is_root_port(bus->number, devfn) || !is_5945_reg(offset)) in workaround_5945()
70 addr = pa_pxp_cfg_addr(hose, bus->number, devfn, offset & ~0x3); in workaround_5945()
77 dummy = pa_pxp_cfg_addr(hose, bus->number, devfn, 0x10); in workaround_5945()
165 if (!pa_pxp_offset_valid(bus->number, devfn, offset)) in pa_pxp_read_config()
171 addr = pa_pxp_cfg_addr(hose, bus->number, devfn, offset); in pa_pxp_read_config()
173 sb600_set_flag(bus->number); in pa_pxp_read_config()
204 if (!pa_pxp_offset_valid(bus->number, devfn, offset)) in pa_pxp_write_config()
207 addr = pa_pxp_cfg_addr(hose, bus->number, devfn, offset); in pa_pxp_write_config()
209 sb600_set_flag(bus->number); in pa_pxp_write_config()
296 return (void __iomem *)pa_pxp_cfg_addr(hose, dev->bus->number, dev->devfn, offset); in pasemi_pci_getcfgaddr()
/arch/powerpc/platforms/cell/spufs/
Dsputrace.h18 __field(int, number)
24 __entry->number = spu ? spu->number : -1;
28 __entry->name, __entry->owner_tid, __entry->number)
/arch/x86/pci/
Dpcbios.c189 u16 number = 0, mask = 0; in pci_bios_read() local
199 number = PCIBIOS_READ_CONFIG_BYTE; in pci_bios_read()
203 number = PCIBIOS_READ_CONFIG_WORD; in pci_bios_read()
207 number = PCIBIOS_READ_CONFIG_DWORD; in pci_bios_read()
217 : "1" (number), in pci_bios_read()
239 u16 number = 0; in pci_bios_write() local
249 number = PCIBIOS_WRITE_CONFIG_BYTE; in pci_bios_write()
252 number = PCIBIOS_WRITE_CONFIG_WORD; in pci_bios_write()
255 number = PCIBIOS_WRITE_CONFIG_DWORD; in pci_bios_write()
264 : "0" (number), in pci_bios_write()
[all …]
Dintel_mid_pci.c76 if (raw_pci_ext_ops->read(pci_domain_nr(bus), bus->number, in fixed_bar_cap()
85 raw_pci_ext_ops->read(pci_domain_nr(bus), bus->number, in fixed_bar_cap()
105 busnum = bus->number; in pci_device_update_fixed()
174 if (type1_access_ok(bus->number, devfn, where)) in pci_read()
175 return pci_direct_conf1.read(pci_domain_nr(bus), bus->number, in pci_read()
177 return raw_pci_ext_ops->read(pci_domain_nr(bus), bus->number, in pci_read()
211 if (type1_access_ok(bus->number, devfn, where)) in pci_write()
212 return pci_direct_conf1.write(pci_domain_nr(bus), bus->number, in pci_write()
214 return raw_pci_ext_ops->write(pci_domain_nr(bus), bus->number, devfn, in pci_write()
338 if (type1_access_ok(dev->bus->number, dev->devfn, PCI_DEVICE_ID)) in pci_d3delay_fixup()
/arch/powerpc/sysdev/
Dindirect_pci.c81 return __indirect_read_config(hose, bus->number, devfn, offset, len, in indirect_read_config()
94 if (bus->number != hose->first_busno) in indirect_write_config()
101 if (ppc_md.pci_exclude_device(hose, bus->number, devfn)) in indirect_write_config()
105 if (bus->number != hose->first_busno) in indirect_write_config()
108 bus_no = (bus->number == hose->first_busno) ? in indirect_write_config()
109 hose->self_busno : bus->number; in indirect_write_config()
126 (bus->number == hose->first_busno)) in indirect_write_config()
Dtsi108_pci.c55 if (ppc_md.pci_exclude_device(hose, bus->number, devfunc)) in tsi108_direct_write_config()
58 cfg_addr = (unsigned char *)(tsi_mk_config_addr(bus->number, in tsi108_direct_write_config()
64 printk("%d:0x%x:0x%x ", bus->number, devfunc, offset); in tsi108_direct_write_config()
140 if (ppc_md.pci_exclude_device(hose, bus->number, devfn)) in tsi108_direct_read_config()
143 cfg_addr = (unsigned char *)(tsi_mk_config_addr(bus->number, in tsi108_direct_read_config()
165 printk("%d:0x%x:0x%x ", bus->number, devfn, offset); in tsi108_direct_read_config()
/arch/arm/boot/dts/
Dqcom-msm8226.dtsi85 frame-number = <0>;
93 frame-number = <1>;
100 frame-number = <2>;
107 frame-number = <3>;
114 frame-number = <4>;
121 frame-number = <5>;
128 frame-number = <6>;
Dimx6dl-dhcom-picoitx.dts7 * DHCOM PCB number: 493-300 or newer
8 * PicoITX PCB number: 487-600 or newer
Dimx6q-dhcom-pdk2.dts8 * DHCOM PCB number: 493-300 or newer
9 * PDK2 PCB number: 516-400 or newer
/arch/sparc/kernel/
Dpcic.c218 if (bus->number != 0) return -EINVAL; in pcic_read_config()
221 pcic_read_config_dword(bus->number, devfn, where&~3, &v); in pcic_read_config()
226 pcic_read_config_dword(bus->number, devfn, where&~3, &v); in pcic_read_config()
231 pcic_read_config_dword(bus->number, devfn, where&~3, val); in pcic_read_config()
257 if (bus->number != 0) return -EINVAL; in pcic_write_config()
260 pcic_read_config_dword(bus->number, devfn, where&~3, &v); in pcic_write_config()
263 return pcic_write_config_dword(bus->number, devfn, where&~3, v); in pcic_write_config()
266 pcic_read_config_dword(bus->number, devfn, where&~3, &v); in pcic_write_config()
269 return pcic_write_config_dword(bus->number, devfn, where&~3, v); in pcic_write_config()
272 return pcic_write_config_dword(bus->number, devfn, where, val); in pcic_write_config()
[all …]
/arch/sh/drivers/pci/
Dops-sh7786.c30 if (bus->number > 255 || dev > 31 || func > 7) in sh7786_pcie_config_access()
64 pci_write_reg(chan, (bus->number << 24) | (dev << 19) | in sh7786_pcie_config_access()
117 "where=0x%04x size=%d val=0x%08lx\n", bus->number, in sh7786_pcie_read()
144 "where=0x%04x size=%d val=%08lx\n", bus->number, in sh7786_pcie_write()
Dops-dreamcast.c50 if (!gapspci_config_access(bus->number, devfn)) in gapspci_read()
64 if (!gapspci_config_access(bus->number, devfn)) in gapspci_write()
/arch/xtensa/boot/dts/
Dvirt.dts39 /* one cell: internal irq number,
40 * two cells: second cell == 0: internal irq number
41 * second cell == 1: external irq number
/arch/m68k/coldfire/
Dpci.c65 if (bus->number == 0) { in mcf_pci_readconfig()
70 addr = mcf_mk_pcicar(bus->number, devfn, where); in mcf_pci_readconfig()
97 if (bus->number == 0) { in mcf_pci_writeconfig()
102 addr = mcf_mk_pcicar(bus->number, devfn, where); in mcf_pci_writeconfig()
/arch/powerpc/platforms/chrp/
Dpci.c40 if (bus->number > 7) in gg2_read_config()
46 cfg_data = hose->cfg_data + ((bus->number<<16) | (devfn<<8) | off); in gg2_read_config()
67 if (bus->number > 7) in gg2_write_config()
73 cfg_data = hose->cfg_data + ((bus->number<<16) | (devfn<<8) | off); in gg2_write_config()
102 | (((bus->number - hose->first_busno) & 0xff) << 16) in rtas_read_config()
117 | (((bus->number - hose->first_busno) & 0xff) << 16) in rtas_write_config()

12345678910>>...16