/src/sys/dev/onewire/ |
onewire_bitbang.c | 66 * 1: Master pulls bus low for a minimum of 480us. 67 * 2: Bus pulled up by resistor. DS18B20 detects rising edge, waits 15-60us. 68 * 3: DS18B20 pulls bus low for 60-240us. 69 * 4: Bus pulled up by resistor. Master must wait at least 450us. 97 * After a bus reset, we must wait for at least 450us before any 123 * ZERO is signalled by the bus being held low for minimum 60us. 124 * ONE is signalled by the hold being much shorter (minimum 1us). 126 * In any eventuality, pad the entire transaction to the minimum 60us, plus 154 * Method: pull the bus low for at least 1us. Then let the pull up resistor 156 * the slave at some point between 15-45us of transaction start. ONE i 165 int s, rv, us; local in function:onewire_bb_read_bit [all...] |
/src/sys/external/bsd/drm2/include/linux/ |
sched.h | 76 unsigned us; local in function:schedule_timeout_uninterruptible 80 us = MIN(ms, INT_MAX/1000)*1000; 82 us = MIN(timeout, (INT_MAX/1000000)/hz)*hz*1000000; 84 us = timeout/(1000000/hz); 86 DELAY(us);
|
/src/share/examples/refuse/ian/libfetch/ |
file.c | 45 fetchXGetFile(struct url *u, struct url_stat *us, const char *flags) 49 if (us && fetchStatFile(u, us, flags) == -1) 93 _fetch_stat_file(const char *fn, struct url_stat *us) 97 us->size = -1; 98 us->atime = us->mtime = 0; 103 us->size = sb.st_size; 104 us->atime = sb.st_atime; 105 us->mtime = sb.st_mtime 121 struct url_stat us; local in function:fetchListFile [all...] |
/src/usr.sbin/bootp/bootptest/ |
print-bootp.c | 282 u_short us; 324 bcopy((char *) bp, (char *) &us, 2); 325 printf("%d", ntohs(us)); 281 u_short us; local in function:rfc1048_print
|
/src/lib/libusbhid/ |
usage.c | 174 int j, k, us; local in function:hid_usage_in_page 182 us = pages[k].page_contents[j].usage; 183 if (us == -1) { 189 if (us == i)
|
/src/regress/sys/kern/nameibench/ |
nameibench.c | 168 long us; local in function:run 186 us = (long)(ets.tv_sec * (uint64_t)1000000 + ets.tv_nsec / 1000); 187 us -= (long)(sts.tv_sec * (uint64_t)1000000 + sts.tv_nsec / 1000); 188 c = nlookups * 1000000.0 / us;
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/acr/ |
nouveau_nvkm_subdev_acr_base.c | 286 u32 us = nvkm_ro32(acr->wpr, i); local in function:nvkm_acr_oneinit 288 if (fw != us) { 290 i, us, fw);
|
/src/bin/ed/ |
buf.c | 312 unsigned char *us; local in function:translit_text 316 for (us = (unsigned char *) s; len-- > 0; us++) 317 *us = ctab[*us];
|
/src/sys/arch/atari/stand/tostools/aptck/ |
diskio.c | 218 char sn[16], us[16], ls[16], *bs; local in function:setnames 240 snprintf(us, sizeof(us), " target %d", u); 254 dd->fname = strbd(bs, us, ls, NULL);
|
/src/sys/arch/atari/stand/tostools/libtos/ |
diskio.c | 218 char sn[16], us[16], ls[16], *bs; local in function:setnames 240 snprintf(us, sizeof(us), " target %d", u); 254 dd->fname = strbd(bs, us, ls, NULL);
|
/src/sys/arch/emips/stand/common/ |
prom_iface.c | 159 struct _Usart *us = (struct _Usart *)0xfff90000; local in function:init_usart 161 us->Baud = 0x29; 162 us->Control = (USC_RXEN|USC_TXEN|USC_BPC_8|USC_NONE|USC_1STOP|USC_CLKDIV_4); 265 /* Leave us alone */ 278 /* Dont make it overlap with us */ 313 /* Leave us alone */
|
/src/sys/compat/common/ |
kern_info_43.c | 255 char *us = (char *) &usi[1]; local in function:compat_43_sys_getkerninfo 269 ksi.fld = us - (u_long) usi; \ 270 if ((error = copyoutstr(fld, us, 1024, &len)) != 0)\ 272 us += len 300 size = (us - (char *) &usi[1]) + sizeof(ksi);
|
/src/usr.bin/utoppya/ |
utoppya.c | 179 struct utoppy_stats us; local in function:cmd_df 181 if (ioctl(toppy_fd, UTOPPYIOSTATS, &us) < 0) 184 printf("Hard Disk Size: %" PRId64 " MB\n", us.us_hdd_size / (1024 * 1024)); 185 printf("Hard Disk Free: %" PRId64 " MB\n", us.us_hdd_free / (1024 * 1024));
|
/src/sys/dev/pci/ |
nfsmb.c | 300 int us; local in function:nfsmb_check_done 303 us = 10 * 1000; /* XXXX: wait maximum 10 msec */ 306 us -= 10; 307 if (us <= 0)
|
/src/sys/arch/emips/ebus/ |
dz_ebus.c | 631 struct _Usart *us; local in function:dz_ebus_match 638 us = (struct _Usart *)iba->ia_vaddr; 639 if ((us == NULL) || 640 (us->Tag != PMTTAG_USART)) 749 * Point the console at us
|
/src/usr.sbin/mrouted/ |
vif.c | 696 u_int32_t temp_addr, us, them = src; local in function:accept_neighbor_request 721 us = addr.sin_addr.s_addr; 722 } else /* query sent to us alone */ 723 us = dst; 744 send_igmp(us, them, IGMP_DVMRP, DVMRP_NEIGHBORS, 768 send_igmp(us, them, IGMP_DVMRP, DVMRP_NEIGHBORS, htonl(MROUTED_LEVEL), 783 u_int32_t us, them = src; local in function:accept_neighbor_request2 808 us = addr.sin_addr.s_addr; 809 } else /* query sent to us alone */ 810 us = dst; [all...] |
/src/sys/compat/ultrix/ |
ultrix_misc.c | 346 /* fd_getsock() will use the descriptor for us */ 464 struct ultrix_ustat us; local in function:ultrix_sys_ustat 467 memset(&us, 0, sizeof us); 474 if ((error = copyout(&us, SCARG(uap, buf), sizeof us)) != 0)
|
/src/sys/dev/usb/ |
usbdi.c | 1461 usb_string_descriptor_t us; local in function:usbd_get_string0 1477 err = usbd_get_string_desc(dev, USB_LANGUAGE_TABLE, 0, &us, 1485 dev->ud_langid = UGETW(us.bString[0]); 1488 err = usbd_get_string_desc(dev, si, dev->ud_langid, &us, &size); 1495 c = UGETW(us.bString[i]); 1505 c = UGETW(us.bString[i]);
|
/src/sys/compat/sunos/ |
sunos_misc.c | 545 /* fd_getsock() will use the descriptor for us */ 600 /* fd_getsock() will use the descriptor for us */ 731 struct sunos_ustat us; local in function:sunos_sys_ustat 734 memset(&us, 0, sizeof us); 741 if ((error = copyout(&us, SCARG(uap, buf), sizeof us)) != 0) 821 /* fd_getvnode() will use the descriptor for us */
|
/src/sys/external/bsd/drm2/dist/drm/ast/ |
ast_mode.c | 1364 u16 us; member in union:copy_cursor_image::__anon924d87e2020a 1402 writew(data16.us, dstxor); 1403 csum += (u32)data16.us;
|
/src/usr.bin/systat/ |
vmstat.c | 320 " . %% Sy . %% Us . %% Ni . %% In . %% Id"); 425 } us, us1; local in function:show_vmstat_top 427 us.uvmexp = uvm; 440 PUTRATE(us, us1, uvmexp->swtch, GENSTATROW + 1, GENSTATCOL - 1, 7); 441 PUTRATE(us, us1, uvmexp->traps, GENSTATROW + 1, GENSTATCOL + 7, 6); 442 PUTRATE(us, us1, uvmexp->syscalls, GENSTATROW + 1, GENSTATCOL + 14, 6); 443 PUTRATE(us, us1, uvmexp->intrs, GENSTATROW + 1, GENSTATCOL + 21, 5); 444 PUTRATE(us, us1, uvmexp->softs, GENSTATROW + 1, GENSTATCOL + 27, 6); 445 PUTRATE(us, us1, uvmexp->faults, GENSTATROW + 1, GENSTATCOL + 34, 6); 466 PUTRATE(us, us1, uvmexp->pageins, PAGEROW + 2, PAGECOL + 5, 5) [all...] |
/src/sys/compat/sunos32/ |
sunos32_misc.c | 566 /* fd_getvnode() will use the descriptor for us */ 763 /* fd_getsock() will use the descriptor for us */ 818 /* fd_getsock() will use the descriptor for us */ 966 struct sunos_ustat us; local in function:sunos32_sys_ustat 969 memset(&us, 0, sizeof us); 976 if ((error = copyout(&us, SCARG_P32(uap, buf), sizeof us)) != 0)
|
/src/common/dist/zlib/contrib/minizip/ |
unzip.c | 33 (Prior to January 2000, re-export from the US was a violation of US law.) 495 unz64_s us; local in function:unzOpenInternal 513 us.z_filefunc.zseek32_file = NULL; 514 us.z_filefunc.ztell32_file = NULL; 516 fill_fopen64_filefunc(&us.z_filefunc.zfile_func64); 518 us.z_filefunc = *pzlib_filefunc64_32_def; 519 us.is64bitOpenFunction = is64bitOpenFunction; 523 us.filestream = ZOPEN64(us.z_filefunc [all...] |
/src/bin/sh/ |
eval.c | 1841 char us[8], ss[8], cus[8], css[8]; local in function:timescmd 1847 u = conv_time(tms.tms_utime, us, sizeof(us)); 1853 u, us, s, ss, cu, cus, cs, css);
|
/src/tests/usr.bin/xlint/lint1/ |
init_c99.c | 519 short us; member in union:outer::inner 535 .us = 2
|