Home
last modified time | relevance | path

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

12345678910>>...17

/arch/microblaze/pci/
Dindirect_pci.c32 if (bus->number != hose->first_busno) in indirect_read_config()
39 if (bus->number != hose->first_busno) in indirect_read_config()
42 bus_no = (bus->number == hose->first_busno) ? in indirect_read_config()
43 hose->self_busno : bus->number; in indirect_read_config()
86 if (bus->number != hose->first_busno) in indirect_write_config()
93 if (bus->number != hose->first_busno) in indirect_write_config()
96 bus_no = (bus->number == hose->first_busno) ? in indirect_write_config()
97 hose->self_busno : bus->number; in indirect_write_config()
114 (bus->number == hose->first_busno)) in indirect_write_config()
/arch/mips/pci/
Dops-vr41xx.c35 static inline int set_pci_configuration_address(unsigned char number, in set_pci_configuration_address() argument
38 if (number == 0) { in set_pci_configuration_address()
54 writel(((uint32_t)number << 16) | ((devfn & 0xff) << 8) | in set_pci_configuration_address()
67 if (set_pci_configuration_address(bus->number, devfn, where) < 0) in pci_config_read()
95 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()
491 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()
Dpci-mt7620.c150 num = bus->number; in pci_config_read()
182 num = bus->number; in pci_config_write()
370 if ((dev->bus->number == 0) && (slot == 0)) { in pcibios_map_irq()
375 } else if ((dev->bus->number == 1) && (slot == 0x0)) { in pcibios_map_irq()
379 dev->bus->number, slot); in pcibios_map_irq()
383 dev->bus->number, slot, irq); in pcibios_map_irq()
/arch/powerpc/platforms/cell/spufs/
Dsputrace.h17 __field(int, number)
23 __entry->number = spu ? spu->number : -1;
27 __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.c73 if (raw_pci_ext_ops->read(pci_domain_nr(bus), bus->number, in fixed_bar_cap()
82 raw_pci_ext_ops->read(pci_domain_nr(bus), bus->number, in fixed_bar_cap()
102 busnum = bus->number; in pci_device_update_fixed()
170 if (type1_access_ok(bus->number, devfn, where)) in pci_read()
171 return pci_direct_conf1.read(pci_domain_nr(bus), bus->number, in pci_read()
173 return raw_pci_ext_ops->read(pci_domain_nr(bus), bus->number, in pci_read()
207 if (type1_access_ok(bus->number, devfn, where)) in pci_write()
208 return pci_direct_conf1.write(pci_domain_nr(bus), bus->number, in pci_write()
210 return raw_pci_ext_ops->write(pci_domain_nr(bus), bus->number, devfn, in pci_write()
322 if (type1_access_ok(dev->bus->number, dev->devfn, PCI_DEVICE_ID)) in pci_d3delay_fixup()
/arch/powerpc/platforms/pasemi/
Dpci.c76 if (!is_root_port(bus->number, devfn) || !is_5945_reg(offset)) in workaround_5945()
81 addr = pa_pxp_cfg_addr(hose, bus->number, devfn, offset & ~0x3); in workaround_5945()
88 dummy = pa_pxp_cfg_addr(hose, bus->number, devfn, 0x10); in workaround_5945()
121 if (!pa_pxp_offset_valid(bus->number, devfn, offset)) in pa_pxp_read_config()
127 addr = pa_pxp_cfg_addr(hose, bus->number, devfn, offset); in pa_pxp_read_config()
158 if (!pa_pxp_offset_valid(bus->number, devfn, offset)) in pa_pxp_write_config()
161 addr = pa_pxp_cfg_addr(hose, bus->number, devfn, offset); in pa_pxp_write_config()
240 return (void __iomem *)pa_pxp_cfg_addr(hose, dev->bus->number, dev->devfn, offset); in pasemi_pci_getcfgaddr()
/arch/powerpc/sysdev/
Dindirect_pci.c85 return __indirect_read_config(hose, bus->number, devfn, offset, len, in indirect_read_config()
98 if (bus->number != hose->first_busno) in indirect_write_config()
105 if (ppc_md.pci_exclude_device(hose, bus->number, devfn)) in indirect_write_config()
109 if (bus->number != hose->first_busno) in indirect_write_config()
112 bus_no = (bus->number == hose->first_busno) ? in indirect_write_config()
113 hose->self_busno : bus->number; in indirect_write_config()
130 (bus->number == hose->first_busno)) in indirect_write_config()
Dtsi108_pci.c68 if (ppc_md.pci_exclude_device(hose, bus->number, devfunc)) in tsi108_direct_write_config()
71 cfg_addr = (unsigned char *)(tsi_mk_config_addr(bus->number, in tsi108_direct_write_config()
77 printk("%d:0x%x:0x%x ", bus->number, devfunc, offset); in tsi108_direct_write_config()
153 if (ppc_md.pci_exclude_device(hose, bus->number, devfn)) in tsi108_direct_read_config()
156 cfg_addr = (unsigned char *)(tsi_mk_config_addr(bus->number, in tsi108_direct_read_config()
178 printk("%d:0x%x:0x%x ", bus->number, devfn, offset); in tsi108_direct_read_config()
/arch/powerpc/oprofile/cell/
Dspu_task_sync.c201 info = get_cached_info(spu, spu->number); in prepare_cached_spu_info()
233 spu_info[spu->number] = info; in prepare_cached_spu_info()
398 spu_buff_add(ESCAPE_CODE, spu->number); in process_context_switch()
399 spu_buff_add(SPU_CTX_SWITCH_CODE, spu->number); in process_context_switch()
400 spu_buff_add(spu->number, spu->number); in process_context_switch()
401 spu_buff_add(spu->pid, spu->number); in process_context_switch()
402 spu_buff_add(spu->tgid, spu->number); in process_context_switch()
403 spu_buff_add(app_dcookie, spu->number); in process_context_switch()
404 spu_buff_add(spu_cookie, spu->number); in process_context_switch()
405 spu_buff_add(offset, spu->number); in process_context_switch()
[all …]
/arch/mn10300/unit-asb2305/
Dpci.c56 (0x80000000 | (bus->number << 16) | (devfn << 8) | (where & ~3))
71 return bus->number == 0 && (devfn == PCI_DEVFN(0, 0)); in __query()
72 return bus->number == 1; in __query()
73 return bus->number == 0 && in __query()
87 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) { in pci_ampci_read_config_byte()
107 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) { in pci_ampci_read_config_word()
127 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) { in pci_ampci_read_config_dword()
147 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) { in pci_ampci_write_config_byte()
151 if (bus->number == 0 && in pci_ampci_write_config_byte()
167 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) { in pci_ampci_write_config_word()
[all …]
/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/frv/mb93090-mb00/
Dpci-vdk.c58 (0x80000000 | (bus->number << 16) | (devfn << 8) | (where & ~3))
101 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) { in pci_frv_read_config()
134 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) { in pci_frv_write_config()
144 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) { in pci_frv_write_config()
154 if (bus->number == 0 && devfn == PCI_DEVFN(0, 0)) { in pci_frv_write_config()
190 bus.number = 0; in pci_sanity_check()
294 printk("### PCIBIOS_FIXUP_BUS(%d)\n",bus->number); in pcibios_fixup_bus()
299 if (bus->number == 0) { in pcibios_fixup_bus()
/arch/arm/mm/
Dnommu.c216 static int mpu_setup_region(unsigned int number, phys_addr_t start, in mpu_setup_region() argument
222 if (number > mpu_max_regions() || number == MPU_PROBE_REGION) in mpu_setup_region()
235 rgnr_write(number); in mpu_setup_region()
252 mpu_rgn_info.rgns[number].dracr = properties; in mpu_setup_region()
253 mpu_rgn_info.rgns[number].drbar = start; in mpu_setup_region()
254 mpu_rgn_info.rgns[number].drsr = size_data; in mpu_setup_region()
/arch/arm64/boot/dts/qcom/
Dmsm8994.dtsi84 frame-number = <0>;
92 frame-number = <1>;
99 frame-number = <2>;
106 frame-number = <3>;
113 frame-number = <4>;
120 frame-number = <5>;
127 frame-number = <6>;
Dipq8074.dtsi61 frame-number = <0>;
69 frame-number = <1>;
76 frame-number = <2>;
83 frame-number = <3>;
90 frame-number = <4>;
97 frame-number = <5>;
104 frame-number = <6>;
Dmsm8992.dtsi122 frame-number = <0>;
130 frame-number = <1>;
137 frame-number = <2>;
144 frame-number = <3>;
151 frame-number = <4>;
158 frame-number = <5>;
165 frame-number = <6>;
/arch/sh/drivers/pci/
Dops-sh7786.c33 if (bus->number > 255 || dev > 31 || func > 7) in sh7786_pcie_config_access()
67 pci_write_reg(chan, (bus->number << 24) | (dev << 19) | in sh7786_pcie_config_access()
120 "where=0x%04x size=%d val=0x%08lx\n", bus->number, in sh7786_pcie_read()
147 "where=0x%04x size=%d val=%08lx\n", bus->number, in sh7786_pcie_write()
Dops-dreamcast.c53 if (!gapspci_config_access(bus->number, devfn)) in gapspci_read()
67 if (!gapspci_config_access(bus->number, devfn)) in gapspci_write()
/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()
/arch/arm/mach-orion5x/
Dpci.c82 if (pcie_valid_config(bus->number, PCI_SLOT(devfn)) == 0) { in pcie_rd_conf()
99 if (pcie_valid_config(bus->number, PCI_SLOT(devfn)) == 0) { in pcie_rd_conf_wa()
126 if (pcie_valid_config(bus->number, PCI_SLOT(devfn)) == 0) in pcie_wr_conf()
345 if (!orion5x_pci_valid_config(bus->number, devfn)) { in orion5x_pci_rd_conf()
350 return orion5x_pci_hw_rd_conf(bus->number, PCI_SLOT(devfn), in orion5x_pci_rd_conf()
357 if (!orion5x_pci_valid_config(bus->number, devfn)) in orion5x_pci_wr_conf()
360 return orion5x_pci_hw_wr_conf(bus->number, PCI_SLOT(devfn), in orion5x_pci_wr_conf()
583 int bus = dev->bus->number; in orion5x_pci_map_irq()

12345678910>>...17