/external/u-boot/arch/arm/mach-imx/ |
mmc_env.c | 12 __weak int board_mmc_get_env_dev(int devno) 21 int devno = (*p)->boot_dev_instance; local 28 return board_mmc_get_env_dev(devno);
|
/external/e2fsprogs/lib/blkid/ |
devno.c | 2 * devno.c - find a particular device by its device number (major/minor) 97 void blkid__scan_dir(const char *dirname, dev_t devno, struct dir_list **list, 122 if (blkidP_is_disk_device(st.st_mode) && st.st_rdev == devno) { 125 printf("found 0x%llx at %s (%p)\n", (long long)devno, 145 char *blkid_devno_to_devname(dev_t devno) 163 blkid__scan_dir(current->name, devno, &new_list, &devname); 182 printf("blkid: couldn't find devno 0x%04lx\n", 183 (unsigned long) devno)); 186 printf("found devno 0x%04llx as %s\n", (long long)devno, devname)) 198 dev_t devno; local [all...] |
devname.c | 185 dev_t devno, int pri, int only_if_new) 196 if (tmp->bid_devno == devno) { 205 if (dev && dev->bid_devno == devno) 214 blkid__scan_dir("/dev/mapper", devno, 0, &devname); 231 dev->bid_devno == devno) 236 st.st_rdev == devno) { 245 blkid__scan_dir("/dev/mapper", devno, 0, &devname); 247 devname = blkid_devno_to_devname(devno); 351 DBG(DEBUG_DEVNAME, printf("LVM dev %s: devno 0x%04X\n", 459 printf("partition dev %s, devno 0x%04X\n" [all...] |
blkid.h | 64 /* devno.c */ 65 extern char *blkid_devno_to_devname(dev_t devno);
|
blkid.h.in | 64 /* devno.c */ 65 extern char *blkid_devno_to_devname(dev_t devno);
|
/external/u-boot/board/freescale/mx6ullevk/ |
mx6ullevk.c | 44 int board_mmc_get_env_dev(int devno) 46 return devno; 49 int mmc_map_to_kernel_blk(int devno) 51 return devno;
|
/external/u-boot/board/gdsys/a38x/ |
hydra.c | 60 pci_dev_t devno; local 63 for (i = 0; (devno = pci_find_devices(hydra_supported, i)) >= 0; i++) { 68 pci_write_config_dword(devno, PCI_COMMAND, val); 71 pci_read_config_dword(devno, PCI_COMMAND, &val); 82 fpga = pci_map_bar(devno, PCI_BASE_ADDRESS_0,
|
/external/u-boot/board/freescale/mx6sllevk/ |
mx6sllevk.c | 122 int board_mmc_get_env_dev(int devno) 124 return devno; 127 int mmc_map_to_kernel_blk(int devno) 129 return devno;
|
/external/blktrace/btt/ |
devmap.c | 26 char device[32], devno[32]; member in struct:devmap 39 if (sscanf(line, "%s %s", dmp->device, dmp->devno) != 2) { 57 if (!strcmp(this, dmp->devno))
|
/external/u-boot/drivers/ata/ |
sata_sil3114.c | 104 u8 cmd = 0, status = 0, devno = num; local 149 ata_id_c_string (iobuf, (unsigned char *)sata_dev_desc[devno].revision, 150 ATA_ID_FW_REV, sizeof (sata_dev_desc[devno].revision)); 151 ata_id_c_string (iobuf, (unsigned char *)sata_dev_desc[devno].vendor, 152 ATA_ID_PROD, sizeof (sata_dev_desc[devno].vendor)); 153 ata_id_c_string (iobuf, (unsigned char *)sata_dev_desc[devno].product, 154 ATA_ID_SERNO, sizeof (sata_dev_desc[devno].product)); 157 sata_dev_desc[devno].removable = 0; 159 sata_dev_desc[devno].lba = (u32) n_sectors; 160 debug("lba=0x%lx\n", sata_dev_desc[devno].lba) 637 pci_dev_t devno; local [all...] |
sata_sil.c | 21 #define virt_to_bus(devno, v) pci_virt_to_mem(devno, (void *) (v)) 135 u64 paddr = virt_to_bus(sata->devno, pcmd); 219 pcmd->sge.addr = cpu_to_le64(virt_to_bus(sata->devno, id)); 295 pcmd->sge.addr = cpu_to_le64(virt_to_bus(sata->devno, buffer)); 343 pcmd->sge.addr = cpu_to_le64(virt_to_bus(sata->devno, buffer)); 517 pci_dev_t devno; local 526 devno = pci_find_devices(supported, idx++); 527 if (devno == -1) 530 pci_read_config_word(devno, PCI_DEVICE_ID, &word) [all...] |
sata_sil.h | 23 pci_dev_t devno; member in struct:sil_sata 32 pci_dev_t devno; member in struct:sata_info
|
/external/u-boot/arch/arm/mach-imx/mx7ulp/ |
soc.c | 227 __weak int board_mmc_get_env_dev(int devno) 234 int devno = 0; local 242 devno = (bt1_cfg >> 9) & 0x7; 244 return board_mmc_get_env_dev(devno);
|
/external/u-boot/arch/arm/mach-imx/mx6/ |
soc.c | 449 __weak int board_mmc_get_env_dev(int devno) 459 int devno; local 474 devno = (soc_sbmr & 0x00001800) >> 11; 476 return devno; 481 int devno = mmc_get_boot_dev(); local 484 if (devno < 0) 487 return board_mmc_get_env_dev(devno); 491 __weak int board_mmc_get_env_part(int devno) 498 int devno = mmc_get_boot_dev(); local 501 if (devno < 0 [all...] |
/external/u-boot/board/engicam/imx6ul/ |
imx6ul.c | 91 int board_mmc_get_env_dev(int devno) 94 return (devno == 0) ? 0 : 1;
|
/external/libmtp/util/ |
mtp-probe.c | 289 int devno; local 300 devno = atoi(argv[3]); 302 syslog(LOG_INFO, "checking bus %d, device %d: \"%s\"\n", busno, devno, fname); 311 ret = LIBMTP_Check_Specific_Device(busno, devno); 313 syslog(LOG_INFO, "bus: %d, device: %d was an MTP device\n", busno, devno); 316 syslog(LOG_INFO, "bus: %d, device: %d was not an MTP device\n", busno, devno);
|
/external/u-boot/board/gdsys/p1022/ |
controlcenterd.c | 354 pci_dev_t devno; local 357 for (i = 0; (devno = pci_find_devices(hydra_supported, i)) >= 0; i++) { 370 pci_write_config_dword(devno, PCI_COMMAND, val); 373 pci_read_config_dword(devno, PCI_COMMAND, &val); 384 fpga = pci_map_bar(devno, PCI_BASE_ADDRESS_0,
|
/external/u-boot/board/engicam/imx6q/ |
imx6q.c | 191 int board_mmc_get_env_dev(int devno) 194 return (devno == 0) ? 0: (devno - 1);
|
/external/u-boot/drivers/net/ |
natsemi.c | 292 pci_dev_t devno; local 302 if ((devno = pci_find_devices(supported, idx++)) < 0) { 306 pci_read_config_dword(devno, PCI_BASE_ADDRESS_0, &iobase); 309 pci_write_config_dword(devno, PCI_COMMAND, 313 pci_read_config_dword(devno, PCI_COMMAND, &status); 334 dev->priv = (void *) devno; 345 pci_write_config_byte(devno, PCI_LATENCY_TIMER, 0x20); 352 pci_read_config_dword(devno, PCIPM, &tmp); 356 pci_write_config_dword(devno, PCIPM, newtmp);
|
ns8382x.c | 308 pci_dev_t devno; local 318 if ((devno = pci_find_devices(supported, idx++)) < 0) 321 pci_read_config_dword(devno, PCI_BASE_ADDRESS_1, &iobase); 326 pci_write_config_dword(devno, PCI_COMMAND, 330 pci_read_config_dword(devno, PCI_COMMAND, &status); 348 dev->priv = (void *) devno; 357 pci_read_config_dword(devno, PCIPM, &tmp); 360 pci_write_config_dword(devno, PCIPM, newtmp); 437 pci_write_config_byte(devno, PCI_LATENCY_TIMER, 0x60);
|
rtl8139.c | 205 pci_dev_t devno; local 213 if ((devno = pci_find_devices(supported, idx++)) < 0) 216 pci_read_config_dword(devno, PCI_BASE_ADDRESS_1, &iobase); 230 dev->priv = (void *) devno; 244 pci_write_config_byte (devno, PCI_LATENCY_TIMER, 0x20);
|
/external/u-boot/board/freescale/mx7dsabresd/ |
mx7dsabresd.c | 204 int board_mmc_get_env_dev(int devno) 206 if (devno == 2) 207 devno--; 209 return devno;
|
/external/u-boot/arch/arm/include/asm/mach-imx/ |
sys_proto.h | 112 int board_mmc_get_env_dev(int devno);
|
/external/u-boot/board/tbs/tbs2910/ |
tbs2910.c | 261 int board_mmc_get_env_dev(int devno) 263 return devno - 1; 266 int board_mmc_get_env_part(int devno) 268 return (devno == 3) ? 1 : 0; /* part 0 for SD2 / SD3, part 1 for eMMC */
|
/external/u-boot/board/freescale/mx6qarm2/ |
mx6qarm2.c | 112 int board_mmc_get_env_dev(int devno) 114 return devno - 2;
|