Home
last modified time | relevance | path

Searched refs:busno (Results 1 – 8 of 8) sorted by relevance

/u-boot/drivers/pci/
A Dfsl_pci_init.c681 hose->first_busno = busno; in fsl_pci_init_port()
834 return busno; in fsl_pcie_init_ctrl()
843 return busno; in fsl_pcie_init_ctrl()
846 int fsl_pcie_init_board(int busno) in fsl_pcie_init_board() argument
862 busno = fsl_pcie_init_ctrl(busno, devdisr, PCIE1, &pci_info); in fsl_pcie_init_board()
869 busno = fsl_pcie_init_ctrl(busno, devdisr, PCIE2, &pci_info); in fsl_pcie_init_board()
876 busno = fsl_pcie_init_ctrl(busno, devdisr, PCIE3, &pci_info); in fsl_pcie_init_board()
883 busno = fsl_pcie_init_ctrl(busno, devdisr, PCIE4, &pci_info); in fsl_pcie_init_board()
888 return busno; in fsl_pcie_init_board()
894 return busno; in fsl_pcie_init_ctrl()
[all …]
A Dpcie_intel_fpga.c204 u8 busno = PCI_BUS(bdf); in tlp_cfg_dword_read() local
206 headers[0] = TLP_CFGRD_DW0(pcie, busno); in tlp_cfg_dword_read()
208 headers[2] = TLP_CFG_DW2(busno, PCI_DEV(bdf), PCI_FUNC(bdf), offset); in tlp_cfg_dword_read()
219 u8 busno = PCI_BUS(bdf); in tlp_cfg_dword_write() local
221 headers[0] = TLP_CFGWR_DW0(pcie, busno); in tlp_cfg_dword_write()
223 headers[2] = TLP_CFG_DW2(busno, PCI_DEV(bdf), PCI_FUNC(bdf), offset); in tlp_cfg_dword_write()
A Dpci_mvebu.c107 static void mvebu_pcie_set_local_bus_nr(struct mvebu_pcie *pcie, int busno) in mvebu_pcie_set_local_bus_nr() argument
113 stat |= busno << 8; in mvebu_pcie_set_local_bus_nr()
A Dpcie_iproc.c449 unsigned int busno = PCI_BUS(bdf); in iproc_pcie_map_ep_cfg_reg() local
457 if (busno == 0) { in iproc_pcie_map_ep_cfg_reg()
475 val = (busno << CFG_ADDR_BUS_NUM_SHIFT) | in iproc_pcie_map_ep_cfg_reg()
/u-boot/board/gateworks/venice/
A Dgsc.c126 static struct udevice *gsc_get_dev(int busno, int slave) in gsc_get_dev() argument
132 ret = i2c_get_chip_for_busnum(busno + 1, slave, 1, &dev); in gsc_get_dev()
138 busno--; in gsc_get_dev()
140 ret = uclass_get_device_by_seq(UCLASS_I2C, busno, &bus); in gsc_get_dev()
142 printf("i2c%d: no bus %d\n", busno + 1, ret); in gsc_get_dev()
147 printf("i2c%d@0x%02x: no chip %d\n", busno + 1, slave, ret); in gsc_get_dev()
/u-boot/arch/powerpc/include/asm/
A Dfsl_pci.h189 struct pci_controller *hose, int busno);
190 int fsl_pcie_init_ctrl(int busno, u32 devdisr, enum srds_prtcl dev,
192 int fsl_pcie_init_board(int busno);
/u-boot/drivers/ram/octeon/
A Ddimm_spd_eeprom.c162 u8 busno = OCTEON_TWSI_GET_BUS(dimm_config->spd_addrs[dimm_index]); in read_spd_init() local
174 ret = i2c_get_chip_for_busnum(busno, cmdno, 2, &dev_i2c); in read_spd_init()
/u-boot/board/gateworks/gw_ventana/
A Dgw_ventana.c543 unsigned short busno; /* subbordinate busno */ member
568 pdev->busno = ++pci_bridgeno; in board_pci_fixup_dev()
570 pdev->busno = 0; in board_pci_fixup_dev()
578 if (pci_devs[i].busno == PCI_BUS(pdev->devfn)) { in board_pci_fixup_dev()
1004 u32 addr = dev->busno << 16 | (12+i) << 11; in fdt_fixup_gw16082()

Completed in 15 milliseconds