tag | line | file | source code |
sec | 112 | arch/alpha/kernel/time.c | unsigned int min, unsigned int sec) |
sec | 123 | arch/alpha/kernel/time.c | )*60 + sec; /* finally seconds */ |
sec | 128 | arch/alpha/kernel/time.c | unsigned int year, mon, day, hour, min, sec; |
sec | 144 | arch/alpha/kernel/time.c | sec = CMOS_READ(RTC_SECONDS); |
sec | 150 | arch/alpha/kernel/time.c | } while (sec != CMOS_READ(RTC_SECONDS)); |
sec | 153 | arch/alpha/kernel/time.c | BCD_TO_BIN(sec); |
sec | 170 | arch/alpha/kernel/time.c | xtime.tv_sec = mktime(year, mon, day, hour, min, sec); |
sec | 309 | arch/i386/kernel/time.c | unsigned int min, unsigned int sec) |
sec | 320 | arch/i386/kernel/time.c | )*60 + sec; /* finally seconds */ |
sec | 325 | arch/i386/kernel/time.c | unsigned int year, mon, day, hour, min, sec; |
sec | 341 | arch/i386/kernel/time.c | sec = CMOS_READ(RTC_SECONDS); |
sec | 347 | arch/i386/kernel/time.c | } while (sec != CMOS_READ(RTC_SECONDS)); |
sec | 350 | arch/i386/kernel/time.c | BCD_TO_BIN(sec); |
sec | 359 | arch/i386/kernel/time.c | return mktime(year, mon, day, hour, min, sec); |
sec | 476 | arch/m68k/amiga/config.c | t->sec = tod->second1 * 10 + tod->second2; |
sec | 484 | arch/m68k/amiga/config.c | tod->second1 = t->sec / 10; |
sec | 485 | arch/m68k/amiga/config.c | tod->second2 = t->sec % 10; |
sec | 510 | arch/m68k/amiga/config.c | t->sec = tod->second1 * 10 + tod->second2; |
sec | 524 | arch/m68k/amiga/config.c | tod->second1 = t->sec / 10; |
sec | 525 | arch/m68k/amiga/config.c | tod->second2 = t->sec % 10; |
sec | 595 | arch/m68k/atari/config.c | val.sec_ones = t->sec % 10; |
sec | 596 | arch/m68k/atari/config.c | val.sec_tens = t->sec / 10; |
sec | 622 | arch/m68k/atari/config.c | t->sec = val.sec_ones + val.sec_tens * 10; |
sec | 641 | arch/m68k/atari/config.c | int sec=0, min=0, hour=0, day=0, mon=0, year=0, wday=0; |
sec | 656 | arch/m68k/atari/config.c | sec = t->sec; |
sec | 670 | arch/m68k/atari/config.c | BIN_TO_BCD(sec); |
sec | 702 | arch/m68k/atari/config.c | sec = RTC_READ( RTC_SECONDS ); |
sec | 711 | arch/m68k/atari/config.c | RTC_WRITE( RTC_SECONDS, sec ); |
sec | 726 | arch/m68k/atari/config.c | BCD_TO_BIN(sec); |
sec | 742 | arch/m68k/atari/config.c | t->sec = sec; |
sec | 323 | arch/m68k/kernel/setup.c | int *min, int *sec) |
sec | 326 | arch/m68k/kernel/setup.c | mach_gettod(year, mon, day, hour, min, sec); |
sec | 328 | arch/m68k/kernel/setup.c | *year = *mon = *day = *hour = *min = *sec = 0; |
sec | 73 | arch/m68k/kernel/time.c | unsigned int min, unsigned int sec) |
sec | 84 | arch/m68k/kernel/time.c | )*60 + sec; /* finally seconds */ |
sec | 89 | arch/m68k/kernel/time.c | unsigned int year, mon, day, hour, min, sec; |
sec | 92 | arch/m68k/kernel/time.c | int *min, int *sec); |
sec | 94 | arch/m68k/kernel/time.c | arch_gettod (&year, &mon, &day, &hour, &min, &sec); |
sec | 98 | arch/m68k/kernel/time.c | xtime.tv_sec = mktime(year, mon, day, hour, min, sec); |
sec | 227 | arch/mips/kernel/time.c | unsigned int min, unsigned int sec) |
sec | 238 | arch/mips/kernel/time.c | )*60 + sec; /* finally seconds */ |
sec | 244 | arch/mips/kernel/time.c | unsigned int year, mon, day, hour, min, sec; |
sec | 260 | arch/mips/kernel/time.c | sec = CMOS_READ(RTC_SECONDS); |
sec | 266 | arch/mips/kernel/time.c | } while (sec != CMOS_READ(RTC_SECONDS)); |
sec | 269 | arch/mips/kernel/time.c | BCD_TO_BIN(sec); |
sec | 278 | arch/mips/kernel/time.c | xtime.tv_sec = mktime(year, mon, day, hour, min, sec); |
sec | 70 | arch/sparc/kernel/time.c | unsigned int min, unsigned int sec) |
sec | 81 | arch/sparc/kernel/time.c | )*60 + sec; /* finally seconds */ |
sec | 162 | arch/sparc/kernel/time.c | unsigned int year, mon, day, hour, min, sec; |
sec | 179 | arch/sparc/kernel/time.c | sec = BCD_TO_BIN(mregs->sec); |
sec | 185 | arch/sparc/kernel/time.c | xtime.tv_sec = mktime(year, mon, day, hour, min, sec); |
sec | 235 | arch/sparc/kernel/time.c | mregs->sec = real_seconds; |
sec | 674 | drivers/block/amiflop.c | sec, /* 0-...*/ |
sec | 869 | drivers/block/amiflop.c | hdr.sec, hdr.len_desc, hdr.crc); |
sec | 897 | drivers/block/amiflop.c | track, drive, scnt, hdr.sec); |
sec | 906 | drivers/block/amiflop.c | hdr.track,hdr.side,hdr.sec,hdr.len_desc,scnt); |
sec | 911 | drivers/block/amiflop.c | raw = dos_decode((unsigned char *)(track_data + (hdr.sec - 1) * 512), (ushort *) raw, 512); |
sec | 913 | drivers/block/amiflop.c | crc = dos_data_crc(track_data + (hdr.sec - 1) * 512); |
sec | 917 | drivers/block/amiflop.c | hdr.track, hdr.side, hdr.sec, hdr.len_desc, |
sec | 920 | drivers/block/amiflop.c | ((ulong *)(track_data+(hdr.sec-1)*512))[0], |
sec | 921 | drivers/block/amiflop.c | ((ulong *)(track_data+(hdr.sec-1)*512))[1], |
sec | 922 | drivers/block/amiflop.c | ((ulong *)(track_data+(hdr.sec-1)*512))[2], |
sec | 923 | drivers/block/amiflop.c | ((ulong *)(track_data+(hdr.sec-1)*512))[3]); |
sec | 974 | drivers/block/amiflop.c | hdr.sec=cnt+1; |
sec | 271 | drivers/block/ataflop.c | #define SECTOR_BUFFER(sec) (TrackBuffer + ((sec)-1)*512) |
sec | 696 | drivers/block/hd.c | unsigned int dev, block, nsect, sec, track, head, cyl; |
sec | 732 | drivers/block/hd.c | sec = block % hd_info[dev].sect + 1; |
sec | 739 | drivers/block/hd.c | cyl, head, sec, nsect, (unsigned long) CURRENT->buffer); |
sec | 745 | drivers/block/hd.c | hd_out(dev,nsect,sec,head,cyl,cmd,&read_intr); |
sec | 752 | drivers/block/hd.c | hd_out(dev,nsect,sec,head,cyl,WIN_MULTWRITE,&multwrite_intr); |
sec | 754 | drivers/block/hd.c | hd_out(dev,nsect,sec,head,cyl,WIN_WRITE,&write_intr); |
sec | 499 | drivers/cdrom/aztcd.c | params->start.min, params->start.sec, params->start.frame, \ |
sec | 500 | drivers/cdrom/aztcd.c | params->end.min, params->end.sec, params->end.frame); |
sec | 505 | drivers/cdrom/aztcd.c | outb(params -> start.sec,CMD_PORT); |
sec | 508 | drivers/cdrom/aztcd.c | outb(params -> end.sec,CMD_PORT); |
sec | 536 | drivers/cdrom/aztcd.c | params->start.min, params->start.sec, params->start.frame); |
sec | 541 | drivers/cdrom/aztcd.c | outb(params -> start.sec,CMD_PORT); |
sec | 718 | drivers/cdrom/aztcd.c | qp->trackTime.sec=0; |
sec | 721 | drivers/cdrom/aztcd.c | qp->diskTime.sec=0; |
sec | 730 | drivers/cdrom/aztcd.c | if (aztGetValue(&qp -> trackTime.sec) < 0) RETURNM("aztGetQChannelInfo 4",-1); |
sec | 734 | drivers/cdrom/aztcd.c | if (aztGetValue(&qp -> diskTime.sec) < 0) RETURNM("aztGetQChannelInfo 4",-1); |
sec | 773 | drivers/cdrom/aztcd.c | azt_Play.start.sec = 2; /*when we play a track*/ |
sec | 776 | drivers/cdrom/aztcd.c | azt_Play.end.sec = 0; |
sec | 799 | drivers/cdrom/aztcd.c | DiskInfo.lastSession.sec = Toc[DiskInfo.next].diskTime.sec; |
sec | 805 | drivers/cdrom/aztcd.c | DiskInfo.lastSession.sec = Toc[DiskInfo.first].diskTime.sec; |
sec | 845 | drivers/cdrom/aztcd.c | DiskInfo.diskLength.sec=qInfo.diskTime.sec; |
sec | 851 | drivers/cdrom/aztcd.c | DiskInfo.firstTrack.sec=qInfo.diskTime.sec; |
sec | 863 | drivers/cdrom/aztcd.c | DiskInfo.diskLength.sec, |
sec | 866 | drivers/cdrom/aztcd.c | DiskInfo.firstTrack.sec, |
sec | 887 | drivers/cdrom/aztcd.c | azt_Play.start.sec = Toc[DiskInfo.last+1].diskTime.sec; |
sec | 895 | drivers/cdrom/aztcd.c | if ((azt_Play.start.sec+=10) > 59) |
sec | 896 | drivers/cdrom/aztcd.c | { azt_Play.start.sec=0; |
sec | 908 | drivers/cdrom/aztcd.c | if (azt_Play.start.sec > 59) |
sec | 909 | drivers/cdrom/aztcd.c | { azt_Play.start.sec=0; |
sec | 927 | drivers/cdrom/aztcd.c | DiskInfo.diskLength.sec =qInfo.diskTime.sec; |
sec | 933 | drivers/cdrom/aztcd.c | DiskInfo.nextSession.sec=qInfo.diskTime.sec; |
sec | 945 | drivers/cdrom/aztcd.c | DiskInfo.diskLength.sec, |
sec | 948 | drivers/cdrom/aztcd.c | DiskInfo.firstTrack.sec, |
sec | 951 | drivers/cdrom/aztcd.c | DiskInfo.nextSession.sec, |
sec | 1002 | drivers/cdrom/aztcd.c | { if (++azt_Play.start.sec > 59) |
sec | 1003 | drivers/cdrom/aztcd.c | { azt_Play.start.sec=0; |
sec | 1031 | drivers/cdrom/aztcd.c | Toc[i].trackTime.min, Toc[i].trackTime.sec, Toc[i].trackTime.frame, |
sec | 1032 | drivers/cdrom/aztcd.c | Toc[i].diskTime.min, Toc[i].diskTime.sec, Toc[i].diskTime.frame); |
sec | 1036 | drivers/cdrom/aztcd.c | Toc[i].trackTime.min, Toc[i].trackTime.sec, Toc[i].trackTime.frame, |
sec | 1037 | drivers/cdrom/aztcd.c | Toc[i].diskTime.min, Toc[i].diskTime.sec, Toc[i].diskTime.frame); |
sec | 1135 | drivers/cdrom/aztcd.c | ms.addr.msf.second = azt_bcd2bin(DiskInfo.lastSession.sec); |
sec | 1151 | drivers/cdrom/aztcd.c | DiskInfo.lastSession.sec, DiskInfo.lastSession.frame); |
sec | 1155 | drivers/cdrom/aztcd.c | DiskInfo.lastSession.sec, DiskInfo.lastSession.frame); |
sec | 1174 | drivers/cdrom/aztcd.c | azt_Play.start.min, azt_Play.start.sec, azt_Play.start.frame, |
sec | 1175 | drivers/cdrom/aztcd.c | azt_Play.end.min, azt_Play.end.sec, azt_Play.end.frame); |
sec | 1202 | drivers/cdrom/aztcd.c | azt_Play.start.sec = msf.cdmsf_sec0; |
sec | 1205 | drivers/cdrom/aztcd.c | azt_Play.end.sec = msf.cdmsf_sec1; |
sec | 1209 | drivers/cdrom/aztcd.c | azt_Play.start.min, azt_Play.start.sec, azt_Play.start.frame, |
sec | 1210 | drivers/cdrom/aztcd.c | azt_Play.end.min, azt_Play.end.sec, azt_Play.end.frame); |
sec | 1248 | drivers/cdrom/aztcd.c | entry.cdte_addr.msf.second = azt_bcd2bin(tocPtr -> diskTime.sec); |
sec | 1291 | drivers/cdrom/aztcd.c | subchnl.cdsc_absaddr.msf.second = azt_bcd2bin(qInfo.diskTime.sec); |
sec | 1294 | drivers/cdrom/aztcd.c | subchnl.cdsc_reladdr.msf.second = azt_bcd2bin(qInfo.trackTime.sec); |
sec | 1307 | drivers/cdrom/aztcd.c | azt_Play.start.sec = 0x84; |
sec | 1310 | drivers/cdrom/aztcd.c | azt_Play.end.sec = volctrl.channel2; |
sec | 1356 | drivers/cdrom/aztcd.c | azt_Play.start.sec = msf.cdmsf_sec0; |
sec | 1359 | drivers/cdrom/aztcd.c | azt_Play.end.sec = msf.cdmsf_sec1; |
sec | 1389 | drivers/cdrom/aztcd.c | azt_Play.start.sec = msf.cdmsf_sec0; |
sec | 1930 | drivers/cdrom/aztcd.c | msf.end.sec = 0; |
sec | 1933 | drivers/cdrom/aztcd.c | printk("---reading msf-address %x:%x:%x %x:%x:%x\n",msf.start.min,msf.start.sec,msf.start.frame,msf.end.min,msf.end.sec,msf.end.frame); |
sec | 2175 | drivers/cdrom/aztcd.c | msf -> sec = hsg / 75; |
sec | 2179 | drivers/cdrom/aztcd.c | if (msf->sec >=60) printk("aztcd: Error hsg2msf address Seconds\n"); |
sec | 2183 | drivers/cdrom/aztcd.c | azt_bin2bcd(&msf -> sec); |
sec | 2188 | drivers/cdrom/aztcd.c | { return azt_bcd2bin(mp -> frame) + azt_bcd2bin(mp -> sec) * 75 |
sec | 341 | drivers/cdrom/gscd.c | cmd[3] = gscdcmd.start.sec; |
sec | 1074 | drivers/cdrom/gscd.c | msf -> sec = hsg / CD_FRAMES; |
sec | 1078 | drivers/cdrom/gscd.c | gscd_bin2bcd(&msf -> sec); |
sec | 1097 | drivers/cdrom/gscd.c | + gscd_bcd2bin(mp -> sec) * CD_FRAMES |
sec | 279 | drivers/cdrom/mcd.c | + bcd2bin(mp -> sec) * 75 |
sec | 391 | drivers/cdrom/mcd.c | mcd_Play.start.min, mcd_Play.start.sec, mcd_Play.start.frame, |
sec | 392 | drivers/cdrom/mcd.c | mcd_Play.end.min, mcd_Play.end.sec, mcd_Play.end.frame); |
sec | 429 | drivers/cdrom/mcd.c | mcd_Play.start.sec = msf.cdmsf_sec0; |
sec | 432 | drivers/cdrom/mcd.c | mcd_Play.end.sec = msf.cdmsf_sec1; |
sec | 437 | drivers/cdrom/mcd.c | mcd_Play.start.min, mcd_Play.start.sec, mcd_Play.start.frame, |
sec | 438 | drivers/cdrom/mcd.c | mcd_Play.end.min, mcd_Play.end.sec, mcd_Play.end.frame); |
sec | 488 | drivers/cdrom/mcd.c | entry.cdte_addr.msf.second = bcd2bin(tocPtr -> diskTime.sec); |
sec | 524 | drivers/cdrom/mcd.c | subchnl.cdsc_absaddr.msf.second = bcd2bin(qInfo.diskTime.sec); |
sec | 528 | drivers/cdrom/mcd.c | subchnl.cdsc_reladdr.msf.second = bcd2bin(qInfo.trackTime.sec); |
sec | 866 | drivers/cdrom/mcd.c | msf.end.sec = ~0; |
sec | 1275 | drivers/cdrom/mcd.c | msf -> sec = hsg / 75; |
sec | 1279 | drivers/cdrom/mcd.c | bin2bcd(&msf -> sec); |
sec | 1332 | drivers/cdrom/mcd.c | outb(params -> start.sec, MCDPORT(0)); |
sec | 1335 | drivers/cdrom/mcd.c | outb(params -> end.sec, MCDPORT(0)); |
sec | 1453 | drivers/cdrom/mcd.c | if (getValue(&qp -> trackTime.sec) < 0) return -1; |
sec | 1457 | drivers/cdrom/mcd.c | if (getValue(&qp -> diskTime.sec) < 0) return -1; |
sec | 1511 | drivers/cdrom/mcd.c | if (getValue(&DiskInfo.diskLength.sec) < 0) return -1; |
sec | 1514 | drivers/cdrom/mcd.c | if (getValue(&DiskInfo.firstTrack.sec) < 0) return -1; |
sec | 1522 | drivers/cdrom/mcd.c | DiskInfo.diskLength.sec, |
sec | 1525 | drivers/cdrom/mcd.c | DiskInfo.firstTrack.sec, |
sec | 1604 | drivers/cdrom/mcd.c | Toc[i].trackTime.min, Toc[i].trackTime.sec, Toc[i].trackTime.frame, |
sec | 1605 | drivers/cdrom/mcd.c | Toc[i].diskTime.min, Toc[i].diskTime.sec, Toc[i].diskTime.frame); |
sec | 1609 | drivers/cdrom/mcd.c | Toc[i].trackTime.min, Toc[i].trackTime.sec, Toc[i].trackTime.frame, |
sec | 1610 | drivers/cdrom/mcd.c | Toc[i].diskTime.min, Toc[i].diskTime.sec, Toc[i].diskTime.frame); |
sec | 179 | drivers/cdrom/sjcd.c | return( bcd2bin( mp->frame ) + bcd2bin( mp->sec ) * 75 |
sec | 185 | drivers/cdrom/sjcd.c | hsg %= 4500; msf->sec = hsg / 75; msf->frame = hsg % 75; |
sec | 187 | drivers/cdrom/sjcd.c | msf->sec = bin2bcd( msf->sec ); |
sec | 245 | drivers/cdrom/sjcd.c | outb( pms->start.sec, SJCDPORT( 0 ) ); |
sec | 248 | drivers/cdrom/sjcd.c | outb( pms->end.sec, SJCDPORT( 0 ) ); |
sec | 552 | drivers/cdrom/sjcd.c | sjcd_disk_length.sec = info.un.track_msf.sec; |
sec | 560 | drivers/cdrom/sjcd.c | sjcd_disk_length.sec, sjcd_disk_length.frame ); |
sec | 604 | drivers/cdrom/sjcd.c | msf.end.min = msf.end.sec = msf.end.frame = 0x00; |
sec | 760 | drivers/cdrom/sjcd.c | sjcd_playing.start.sec = bin2bcd( sjcd_msf.cdmsf_sec0 ); |
sec | 763 | drivers/cdrom/sjcd.c | sjcd_playing.end.sec = bin2bcd( sjcd_msf.cdmsf_sec1 ); |
sec | 812 | drivers/cdrom/sjcd.c | toc_entry.cdte_addr.msf.second = bcd2bin( tp->un.track_msf.sec ); |
sec | 846 | drivers/cdrom/sjcd.c | subchnl.cdsc_absaddr.msf.second = bcd2bin( q_info.abs.sec ); |
sec | 849 | drivers/cdrom/sjcd.c | subchnl.cdsc_reladdr.msf.second = bcd2bin( q_info.rel.sec ); |
sec | 1067 | drivers/cdrom/sjcd.c | msf.end.min = 0; msf.end.sec = 0; |
sec | 1071 | drivers/cdrom/sjcd.c | msf.start.min, msf.start.sec, msf.start.frame, |
sec | 1072 | drivers/cdrom/sjcd.c | msf.end.min, msf.end.sec, msf.end.frame ); |
sec | 270 | drivers/char/rtc.c | unsigned char hrs, min, sec; |
sec | 281 | drivers/char/rtc.c | sec = alm_tm.tm_sec; |
sec | 289 | drivers/char/rtc.c | if (sec >= 60) |
sec | 290 | drivers/char/rtc.c | sec = 0xff; |
sec | 297 | drivers/char/rtc.c | BIN_TO_BCD(sec); |
sec | 303 | drivers/char/rtc.c | CMOS_WRITE(sec, RTC_SECONDS_ALARM); |
sec | 325 | drivers/char/rtc.c | unsigned char mon, day, hrs, min, sec, leap_yr; |
sec | 344 | drivers/char/rtc.c | sec = rtc_tm.tm_sec; |
sec | 357 | drivers/char/rtc.c | if ((hrs >= 24) || (min >= 60) || (sec >= 60)) |
sec | 370 | drivers/char/rtc.c | BIN_TO_BCD(sec); |
sec | 388 | drivers/char/rtc.c | CMOS_WRITE(sec, RTC_SECONDS); |
sec | 758 | drivers/isdn/icn/icn.c | #define SLEEP(sec) { \ |
sec | 759 | drivers/isdn/icn/icn.c | int slsec = sec; \ |
sec | 769 | drivers/isdn/icn/icn.c | #define SLEEP(sec) |
sec | 97 | drivers/scsi/eata_dma_proc.h | sec:1, |
sec | 321 | drivers/scsi/sr.c | unsigned long sector,min,sec,frame; |
sec | 379 | drivers/scsi/sr.c | sec = (unsigned long) rec[16]/16*10 + (unsigned long) rec[16]%16; |
sec | 381 | drivers/scsi/sr.c | sector = min*CD_SECS*CD_FRAMES + sec*CD_FRAMES + frame; |
sec | 421 | drivers/scsi/sr.c | sec = (unsigned long) rec[2]/16*10 + (unsigned long) rec[2]%16; |
sec | 423 | drivers/scsi/sr.c | sector = min*CD_SECS*CD_FRAMES + sec*CD_FRAMES + frame; |
sec | 49 | fs/nfs/rpcsock.c | #define msleep(sec) { current->timeout = sec * HZ / 1000; \ |
sec | 30 | include/asm-m68k/machdep.h | int *min, int *sec); |
sec | 18 | include/asm-sparc/mostek.h | volatile unsigned char sec; /* Seconds (0-59) */ |
sec | 55 | include/asm-sparc/mostek.h | #define MSTK_REG_SEC(ptr) (MSTK_REGVAL_TO_DECIMAL((ptr->sec & MSTK_SEC_MASK))) |
sec | 126 | include/linux/aztcd.h | unsigned char sec; |
sec | 87 | include/linux/gscd.h | unsigned char sec; |
sec | 89 | include/linux/mcd.h | unsigned char sec; |
sec | 123 | include/linux/sjcd.h | unsigned char sec; |
sec | 30 | kernel/itimer.c | unsigned long sec = (unsigned) value->tv_sec; |
sec | 33 | kernel/itimer.c | if (sec > (ULONG_MAX / HZ)) |
sec | 37 | kernel/itimer.c | return HZ*sec+usec; |
sec | 1290 | kernel/sched.c | unsigned long sec = (unsigned) value->tv_sec; |
sec | 1293 | kernel/sched.c | if (sec > (LONG_MAX / HZ)) |
sec | 1297 | kernel/sched.c | return HZ * sec + nsec; |