/u-boot/arch/arm/mach-imx/ |
A D | mmc_env.c | 12 __weak int board_mmc_get_env_dev(int devno) in board_mmc_get_env_dev() argument 21 int devno = (*p)->boot_dev_instance; in mmc_get_env_dev() local 28 return board_mmc_get_env_dev(devno); in mmc_get_env_dev()
|
/u-boot/board/somlabs/visionsom-6ull/ |
A D | visionsom-6ull.c | 85 int board_mmc_get_env_dev(int devno) in board_mmc_get_env_dev() argument 87 return devno; in board_mmc_get_env_dev() 90 int mmc_map_to_kernel_blk(int devno) in mmc_map_to_kernel_blk() argument 92 return devno; in mmc_map_to_kernel_blk()
|
/u-boot/board/gdsys/a38x/ |
A D | hydra.c | 62 pci_dev_t devno; in hydra_initialize() local 65 for (i = 0; (devno = pci_find_devices(hydra_supported, i)) >= 0; i++) { in hydra_initialize() 70 pci_write_config_dword(devno, PCI_COMMAND, val); in hydra_initialize() 73 pci_read_config_dword(devno, PCI_COMMAND, &val); in hydra_initialize() 84 fpga = pci_map_bar(devno, PCI_BASE_ADDRESS_0, in hydra_initialize()
|
/u-boot/board/freescale/mx6ullevk/ |
A D | mx6ullevk.c | 48 int board_mmc_get_env_dev(int devno) in board_mmc_get_env_dev() argument 50 return devno; in board_mmc_get_env_dev() 53 int mmc_map_to_kernel_blk(int devno) in mmc_map_to_kernel_blk() argument 55 return devno; in mmc_map_to_kernel_blk()
|
/u-boot/drivers/ata/ |
A D | sata_sil3114.c | 108 u8 cmd = 0, status = 0, devno = num; in sata_identify() local 161 sata_dev_desc[devno].removable = 0; in sata_identify() 163 sata_dev_desc[devno].lba = (u32) n_sectors; in sata_identify() 164 debug("lba=0x%lx\n", sata_dev_desc[devno].lba); in sata_identify() 168 sata_dev_desc[devno].lba48 = 1; in sata_identify() 170 sata_dev_desc[devno].lba48 = 0; in sata_identify() 175 sata_dev_desc[devno].type = DEV_TYPE_HARDDISK; in sata_identify() 176 sata_dev_desc[devno].blksz = ATA_SECT_SIZE; in sata_identify() 641 pci_dev_t devno; in init_sata() local 682 cls = sil_get_device_cache_line (devno); in init_sata() [all …]
|
A D | sata_sil.c | 31 #define virt_to_bus(devno, v) dm_pci_virt_to_mem(devno, (void *) (v)) argument 33 #define virt_to_bus(devno, v) pci_virt_to_mem(devno, (void *) (v)) argument 615 sata->devno = sata_info.devno; 622 sata->devno = sata_info.devno; 643 pci_dev_t devno; local 653 if (devno == -1) 663 sata_info.devno = devno; 798 pci_dev_t devno; local 806 devno = dm_pci_get_bdf(dev); 807 if (devno == -1) [all …]
|
A D | sata_sil.h | 25 struct udevice *devno; member 27 pci_dev_t devno; member 38 pci_dev_t devno; member
|
/u-boot/board/freescale/mx6sllevk/ |
A D | mx6sllevk.c | 124 int board_mmc_get_env_dev(int devno) in board_mmc_get_env_dev() argument 126 return devno; in board_mmc_get_env_dev() 129 int mmc_map_to_kernel_blk(int devno) in mmc_map_to_kernel_blk() argument 131 return devno; in mmc_map_to_kernel_blk()
|
/u-boot/drivers/net/ |
A D | rtl8139.c | 101 #define bus_to_phys(devno, a) dm_pci_mem_to_phys((devno), (a)) argument 102 #define phys_to_bus(devno, a) dm_pci_phys_to_mem((devno), (a)) argument 104 #define bus_to_phys(devno, a) pci_mem_to_phys((pci_dev_t)(devno), (a)) argument 105 #define phys_to_bus(devno, a) pci_phys_to_mem((pci_dev_t)(devno), (a)) argument 203 pci_dev_t devno; member 205 struct udevice *devno; 609 pci_dev_t devno; in rtl8139_initialize() local 615 devno = pci_find_devices(supported, idx++); in rtl8139_initialize() 616 if (devno < 0) in rtl8139_initialize() 630 priv->devno = devno; in rtl8139_initialize() [all …]
|
A D | eepro100.c | 210 struct udevice *devno; member 213 pci_dev_t devno; member 370 cpu_to_le32(phys_to_bus(priv->devno, in init_rx_ring() 598 cfg_cmd->link = cpu_to_le32(phys_to_bus(priv->devno, in eepro100_init_common() 658 desc->link = cpu_to_le32(phys_to_bus(priv->devno, in eepro100_send_common() 828 pci_dev_t devno; in eepro100_initialize() local 834 devno = pci_find_devices(supported, idx++); in eepro100_initialize() 835 if (devno < 0) in eepro100_initialize() 844 pci_write_config_dword(devno, PCI_COMMAND, in eepro100_initialize() 869 priv->devno = devno; in eepro100_initialize() [all …]
|
/u-boot/board/freescale/imx8mn_evk/ |
A D | imx8mn_evk.c | 18 int board_mmc_get_env_dev(int devno) in board_mmc_get_env_dev() argument 20 return devno; in board_mmc_get_env_dev()
|
/u-boot/board/phytec/phycore_imx8mp/ |
A D | phycore-imx8mp.c | 21 int board_mmc_get_env_dev(int devno) in board_mmc_get_env_dev() argument 23 return devno; in board_mmc_get_env_dev()
|
/u-boot/board/phytec/phycore_imx8mm/ |
A D | phycore-imx8mm.c | 35 int board_mmc_get_env_dev(int devno) in board_mmc_get_env_dev() argument 37 return devno; in board_mmc_get_env_dev()
|
/u-boot/board/tbs/tbs2910/ |
A D | tbs2910.c | 53 int board_mmc_get_env_dev(int devno) in board_mmc_get_env_dev() argument 55 return devno - 1; in board_mmc_get_env_dev() 58 int board_mmc_get_env_part(int devno) in board_mmc_get_env_part() argument 60 return (devno == 3) ? 1 : 0; /* part 0 for SD2 / SD3, part 1 for eMMC */ in board_mmc_get_env_part()
|
/u-boot/board/beacon/imx8mm/ |
A D | imx8mm_beacon.c | 54 int board_mmc_get_env_dev(int devno) in board_mmc_get_env_dev() argument 56 return devno; in board_mmc_get_env_dev()
|
/u-boot/arch/arm/mach-imx/mx6/ |
A D | soc.c | 494 __weak int board_mmc_get_env_dev(int devno) in board_mmc_get_env_dev() argument 504 int devno; in mmc_get_boot_dev() local 519 devno = (soc_sbmr & 0x00001800) >> 11; in mmc_get_boot_dev() 521 return devno; in mmc_get_boot_dev() 526 int devno = mmc_get_boot_dev(); in mmc_get_env_dev() local 529 if (devno < 0) in mmc_get_env_dev() 532 return board_mmc_get_env_dev(devno); in mmc_get_env_dev() 536 __weak int board_mmc_get_env_part(int devno) in board_mmc_get_env_part() argument 543 int devno = mmc_get_boot_dev(); in mmc_get_env_part() local 546 if (devno < 0) in mmc_get_env_part() [all …]
|
/u-boot/board/freescale/imx8mm_evk/ |
A D | imx8mm_evk.c | 56 int board_mmc_get_env_dev(int devno) in board_mmc_get_env_dev() argument 58 return devno; in board_mmc_get_env_dev()
|
/u-boot/board/google/imx8mq_phanbell/ |
A D | imx8mq_phanbell.c | 87 int board_mmc_get_env_dev(int devno) in board_mmc_get_env_dev() argument 89 return devno; in board_mmc_get_env_dev()
|
/u-boot/board/freescale/imx8mq_evk/ |
A D | imx8mq_evk.c | 92 int board_mmc_get_env_dev(int devno) in board_mmc_get_env_dev() argument 94 return devno; in board_mmc_get_env_dev()
|
/u-boot/board/gdsys/p1022/ |
A D | controlcenterd.c | 359 pci_dev_t devno; in hydra_initialize() local 362 for (i = 0; (devno = pci_find_devices(hydra_supported, i)) >= 0; i++) { in hydra_initialize() 375 pci_write_config_dword(devno, PCI_COMMAND, val); in hydra_initialize() 378 pci_read_config_dword(devno, PCI_COMMAND, &val); in hydra_initialize() 389 fpga = pci_map_bar(devno, PCI_BASE_ADDRESS_0, in hydra_initialize()
|
/u-boot/board/gateworks/venice/ |
A D | imx8mm_venice.c | 130 int board_mmc_get_env_dev(int devno) in board_mmc_get_env_dev() argument 132 return devno; in board_mmc_get_env_dev()
|
/u-boot/board/advantech/imx8qm_rom7720_a1/ |
A D | imx8qm_rom7720_a1.c | 123 int board_mmc_get_env_dev(int devno) in board_mmc_get_env_dev() argument 125 return devno; in board_mmc_get_env_dev()
|
/u-boot/board/freescale/imx8qm_mek/ |
A D | imx8qm_mek.c | 120 int board_mmc_get_env_dev(int devno) in board_mmc_get_env_dev() argument 122 return devno; in board_mmc_get_env_dev()
|
/u-boot/board/toradex/apalis-imx8/ |
A D | apalis-imx8.c | 132 int board_mmc_get_env_dev(int devno) in board_mmc_get_env_dev() argument 134 return devno; in board_mmc_get_env_dev()
|
/u-boot/arch/arm/mach-imx/mx7ulp/ |
A D | soc.c | 320 __weak int board_mmc_get_env_dev(int devno) in board_mmc_get_env_dev() argument 327 int devno = 0; in mmc_get_env_dev() local 335 devno = (bt1_cfg >> 9) & 0x7; in mmc_get_env_dev() 337 return board_mmc_get_env_dev(devno); in mmc_get_env_dev()
|