Home
last modified time | relevance | path

Searched refs:bus_num (Results 1 – 25 of 73) sorted by relevance

123

/arch/mips/pci/
Dops-emma2rh.c26 static int check_args(struct pci_bus *bus, u32 devfn, u32 * bus_num) in check_args() argument
30 *bus_num = bus->number; in check_args()
32 *bus_num = 0; in check_args()
34 if (*bus_num == 0) { in check_args()
40 if ((*bus_num >= 64) || (PCI_SLOT(devfn) >= 16)) in check_args()
46 static inline int set_pci_configuration_address(unsigned char bus_num, in set_pci_configuration_address() argument
52 if (bus_num == 0) in set_pci_configuration_address()
61 config_win0 = (bus_num << 26) | (PCI_SLOT(devfn) << 22) | in set_pci_configuration_address()
72 u32 bus_num; in pci_config_read() local
79 if (check_args(bus, devfn, &bus_num) == PCIBIOS_DEVICE_NOT_FOUND) in pci_config_read()
[all …]
Dops-pmcmsp.c102 unsigned char bus_num = 0; /* Bus 0 */ in gen_pci_cfg_wr_show() local
127 (bus_num << BPCI_CFGADDR_BUSNUM_SHF) | in gen_pci_cfg_wr_show()
338 unsigned char bus_num = bus->number; in msp_pcibios_config_access() local
395 (bus_num << BPCI_CFGADDR_BUSNUM_SHF) | in msp_pcibios_config_access()
/arch/arm/mach-ixp4xx/
Dcommon-pci.c165 static u32 ixp4xx_config_addr(u8 bus_num, u16 devfn, int where) in ixp4xx_config_addr() argument
168 if (!bus_num) { in ixp4xx_config_addr()
174 addr = (bus_num << 16) | ((PCI_SLOT(devfn)) << 11) | in ixp4xx_config_addr()
241 u8 bus_num = bus->number; in ixp4xx_pci_read_config() local
244 bus_num, PCI_SLOT(devfn), PCI_FUNC(devfn)); in ixp4xx_pci_read_config()
252 addr = ixp4xx_config_addr(bus_num, devfn, where); in ixp4xx_pci_read_config()
264 u8 bus_num = bus->number; in ixp4xx_pci_write_config() local
267 size, bus_num, PCI_SLOT(devfn), PCI_FUNC(devfn)); in ixp4xx_pci_write_config()
274 addr = ixp4xx_config_addr(bus_num, devfn, where); in ixp4xx_pci_write_config()
/arch/arm/mach-pxa/
Dicontrol.c80 .bus_num = 3,
89 .bus_num = 3,
98 .bus_num = 4,
107 .bus_num = 4,
Dpcm027.c146 .bus_num = 1,
Dcm-x255.c106 .bus_num = 1,
/arch/powerpc/platforms/83xx/
Dmpc832x_rdb.c65 pdata.bus_num = *(u32 *)prop; in of_fsl_spi_probe()
76 if (board_infos[j].bus_num == pdata.bus_num) in of_fsl_spi_probe()
156 .bus_num = 0x4c0,
/arch/m68k/coldfire/
Dstmark2.c48 .bus_num = 0,
58 .bus_num = 0,
/arch/arm/mach-s3c64xx/
Dmach-crag6410-module.c48 .bus_num = 0,
61 .bus_num = 0,
240 .bus_num = 0,
273 .bus_num = 0,
296 .bus_num = 0,
/arch/mips/txx9/generic/
Dspi_eeprom.c28 .bus_num = busid, in spi_eeprom_register()
64 if (read_param->busid != spi->master->bus_num || in early_seeprom_probe()
/arch/arm/mach-ep93xx/
Dvision_ep9307.c224 .bus_num = 0,
231 .bus_num = 0,
238 .bus_num = 0,
Dsimone.c64 .bus_num = 0,
Dts72xx.c258 .bus_num = 0,
313 .bus_num = 0,
/arch/sh/include/asm/
Dspi.h8 int bus_num; member
/arch/m68k/include/asm/
Dmcfqspi.h37 s16 bus_num; member
/arch/arm/plat-samsung/
Ddevs.c334 pd->bus_num = 0; in s3c_i2c0_set_platdata()
362 pd->bus_num = 1; in s3c_i2c1_set_platdata()
391 pd->bus_num = 2; in s3c_i2c2_set_platdata()
420 pd->bus_num = 3; in s3c_i2c3_set_platdata()
449 pd->bus_num = 4; in s3c_i2c4_set_platdata()
478 pd->bus_num = 5; in s3c_i2c5_set_platdata()
507 pd->bus_num = 6; in s3c_i2c6_set_platdata()
536 pd->bus_num = 7; in s3c_i2c7_set_platdata()
/arch/arm/mach-dove/
Dcm-a510.c50 .bus_num = 0,
Ddove-db-setup.c52 .bus_num = 0,
/arch/arm/mach-omap1/
Dboard-nokia770.c129 .bus_num = 2,
136 .bus_num = 2,
/arch/arm/mach-orion5x/
Drd88f6183ap-ge-setup.c70 .bus_num = 0,
/arch/x86/include/asm/
Dintel-mid.h57 int bus_num; member
/arch/x86/platform/intel-mid/
Dsfi.c372 spi_info.bus_num = pentry->host_num; in sfi_handle_spi_dev()
376 spi_info.bus_num, in sfi_handle_spi_dev()
427 sd_info.bus_num = pentry->host_num; in sfi_handle_sd_dev()
431 sd_info.bus_num, in sfi_handle_sd_dev()
/arch/parisc/include/asm/
Dpci.h47 struct resource bus_num; /* PCI bus numbers */ member
/arch/arm/mach-s3c24xx/
Dmach-anubis.c319 .bus_num = 1,
324 .bus_num = 2,
/arch/arm/mach-imx/
Dmach-mx27_3ds.c363 .bus_num = 1,
371 .bus_num = 0,

123