Home
last modified time | relevance | path

Searched refs:devno (Results 1 – 25 of 53) sorted by relevance

123

/u-boot/arch/arm/mach-imx/
A Dmmc_env.c12 __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 Dvisionsom-6ull.c85 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 Dhydra.c62 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 Dmx6ullevk.c48 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 Dsata_sil3114.c108 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 Dsata_sil.c31 #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 Dsata_sil.h25 struct udevice *devno; member
27 pci_dev_t devno; member
38 pci_dev_t devno; member
/u-boot/board/freescale/mx6sllevk/
A Dmx6sllevk.c124 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 Drtl8139.c101 #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 Deepro100.c210 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 Dimx8mn_evk.c18 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 Dphycore-imx8mp.c21 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 Dphycore-imx8mm.c35 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 Dtbs2910.c53 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 Dimx8mm_beacon.c54 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 Dsoc.c494 __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 Dimx8mm_evk.c56 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 Dimx8mq_phanbell.c87 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 Dimx8mq_evk.c92 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 Dcontrolcenterd.c359 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 Dimx8mm_venice.c130 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 Dimx8qm_rom7720_a1.c123 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 Dimx8qm_mek.c120 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 Dapalis-imx8.c132 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 Dsoc.c320 __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()

Completed in 34 milliseconds

123