Home
last modified time | relevance | path

Searched refs:devstat (Results 1 – 9 of 9) sorted by relevance

/external/u-boot/arch/arm/mach-k3/
Dam6_init.c137 u32 devstat = readl(CTRLMMR_MAIN_DEVSTAT); in spl_boot_mode() local
139 u32 bootmode = (devstat & CTRLMMR_MAIN_DEVSTAT_BOOTMODE_MASK) >> in spl_boot_mode()
156 static u32 __get_backup_bootmedia(u32 devstat) in __get_backup_bootmedia() argument
158 u32 bkup_boot = (devstat & CTRLMMR_MAIN_DEVSTAT_BKUP_BOOTMODE_MASK) >> in __get_backup_bootmedia()
170 u32 port = (devstat & CTRLMMR_MAIN_DEVSTAT_BKUP_MMC_PORT_MASK) >> in __get_backup_bootmedia()
187 static u32 __get_primary_bootmedia(u32 devstat) in __get_primary_bootmedia() argument
189 u32 bootmode = (devstat & CTRLMMR_MAIN_DEVSTAT_BOOTMODE_MASK) >> in __get_primary_bootmedia()
196 u32 port = (devstat & CTRLMMR_MAIN_DEVSTAT_MMC_PORT_MASK) >> in __get_primary_bootmedia()
201 u32 port = (devstat & CTRLMMR_MAIN_DEVSTAT_EMMC_PORT_MASK) >> in __get_primary_bootmedia()
212 u32 devstat = readl(CTRLMMR_MAIN_DEVSTAT); in spl_boot_device() local
[all …]
/external/fsck_msdos/
Dfsutil.c163 struct stat devstat, mntdevstat; in getmntpt() local
169 if (stat(name, &devstat) != 0) in getmntpt()
171 if (S_ISCHR(devstat.st_mode) || S_ISBLK(devstat.st_mode)) in getmntpt()
193 mntdevstat.st_rdev == devstat.st_rdev) in getmntpt()
/external/ppp/pppd/plugins/pppoatm/
Dpppoatm.c72 extern struct stat devstat; in setdevname_pppoatm()
87 devstat.st_mode = S_IFSOCK; in setdevname_pppoatm()
/external/ppp/pppd/
Dtty.c135 struct stat devstat; /* result of stat() on devnam */ variable
328 devstat = statbuf;
428 if (stat(devnam, &devstat) < 0) in tty_process_extra_options()
494 && statbuf.st_rdev == devstat.st_rdev) { in tty_check_options()
509 && S_ISCHR(statbuf.st_mode) && statbuf.st_rdev == devstat.st_rdev) in tty_check_options()
Doptions.c133 extern struct stat devstat;
/external/arm-trusted-firmware/lib/debugfs/
Ddevroot.c84 return devstat(channel, file, dir, NULL, 0, rootgen); in rootstat()
Ddev.h109 int devstat(chan_t *dirc, const char *file, dir_t *dir,
Ddevfip.c179 return devstat(c, file, dir, NULL, 0, fipgen); in fipstat()
Ddev.c511 int devstat(chan_t *dirc, const char *file, dir_t *dir, in devstat() function