Home
last modified time | relevance | path

Searched refs:_r (Results 1 – 25 of 51) sorted by relevance

123

/dragonfly/sys/dev/netif/ath/ath_rate/sample/
HDtx_schedules.h43 #define A(_r) \ argument
44 (((_r) == 6) ? 0 : (((_r) == 9) ? 1 : (((_r) == 12) ? 2 : \
45 (((_r) == 18) ? 3 : (((_r) == 24) ? 4 : (((_r) == 36) ? 5 : \
46 (((_r) == 48) ? 6 : (((_r) == 54) ? 7 : 0))))))))
58 #define NA1(_r) \ argument
59 (((_r) == 6.5) ? 8 : (((_r) == 13) ? 9 : (((_r) == 19.5)? 10 : \
60 (((_r) == 26) ? 11 : (((_r) == 39) ? 12 : (((_r) == 52) ? 13 : \
61 (((_r) == 58.5)? 14 : (((_r) == 65) ? 15 : 0))))))))
62 #define NA2(_r) \ argument
63 (((_r) == 13) ? 16 : (((_r) == 26) ? 17 : (((_r) == 39) ? 18 : \
[all …]
/dragonfly/sys/dev/netif/ath/ath_hal/
HDah_internal.h486 #define ath_hal_eepromDiag(_ah, _request, _a, _asize, _r, _rsize) \ argument
487 AH_PRIVATE(_ah)->ah_eepromDiag(_ah, _request, _a, _asize, _r, _rsize)
581 #define OS_REG_RMW(_a, _r, _set, _clr) \ argument
582 OS_REG_WRITE(_a, _r, (OS_REG_READ(_a, _r) & ~(_clr)) | (_set))
583 #define OS_REG_RMW_FIELD(_a, _r, _f, _v) \ argument
584 OS_REG_WRITE(_a, _r, \
585 (OS_REG_READ(_a, _r) &~ (_f)) | (((_v) << _f##_S) & (_f)))
586 #define OS_REG_SET_BIT(_a, _r, _f) \ argument
587 OS_REG_WRITE(_a, _r, OS_REG_READ(_a, _r) | (_f))
588 #define OS_REG_CLR_BIT(_a, _r, _f) \ argument
[all …]
/dragonfly/lib/libc/stdio/
HDfgetln.c86 if (fp->pub._r <= 0 && __srefill(fp)) { in fgetln()
93 if ((p = memchr((void *)fp->pub._p, '\n', (size_t)fp->pub._r)) != NULL) { in fgetln()
105 fp->pub._r -= len; in fgetln()
121 for (len = fp->pub._r, off = 0;; len += fp->pub._r) { in fgetln()
136 if ((p = memchr((void *)fp->pub._p, '\n', (size_t)fp->pub._r)) in fgetln()
147 fp->pub._r -= diff; in fgetln()
HDrefill.c74 fp->pub._r = 0; /* largely a convenience for callers */ in __srefill()
105 if ((fp->pub._r = fp->_ur) != 0) { in __srefill()
131 fp->pub._r = _sread(fp, (char *)fp->pub._p, fp->_bf._size); in __srefill()
133 if (fp->pub._r <= 0) { in __srefill()
134 if (fp->pub._r == 0) in __srefill()
137 fp->pub._r = 0; in __srefill()
HDfgetws.c73 if (fp->pub._r <= 0 && __srefill(fp)) in fgetws_l()
79 nl = memchr(fp->pub._p, '\n', fp->pub._r); in fgetws_l()
82 fp->pub._r, n - 1, st); in fgetws_l()
94 src = memchr(fp->pub._p, '\0', fp->pub._r); in fgetws_l()
97 fp->pub._r -= (unsigned char *)src - fp->pub._p; in fgetws_l()
101 } while (wsp[-1] != L'\n' && n > 1 && (fp->pub._r > 0 || in fgetws_l()
HDfgetwc.c82 if (fp->pub._r <= 0 && __srefill(fp)) { in __fgetwc_mbs()
89 fp->pub._r--; in __fgetwc_mbs()
95 nconv = l->__mbrtowc(&wc, fp->pub._p, fp->pub._r, mbs); in __fgetwc_mbs()
102 fp->pub._r--; in __fgetwc_mbs()
107 fp->pub._r -= nconv; in __fgetwc_mbs()
HDvfscanf.c136 if ((n = fp->pub._r) < width) { in convert_char()
147 fp->pub._r -= width; in convert_char()
191 n++, fp->pub._r--, fp->pub._p++; in convert_ccl()
194 if (fp->pub._r <= 0 && __srefill(fp)) { in convert_ccl()
203 fp->pub._r--; in convert_ccl()
207 if (fp->pub._r <= 0 && __srefill(fp)) { in convert_ccl()
261 n++, fp->pub._r--, fp->pub._p++; in convert_string()
264 if (fp->pub._r <= 0 && __srefill(fp)) in convert_string()
270 fp->pub._r--; in convert_string()
274 if (fp->pub._r <= 0 && __srefill(fp)) in convert_string()
[all …]
HDfseek.c222 curoff += fp->pub._r; /* kill off ungetc */ in _fseeko()
229 n += fp->pub._r; in _fseeko()
241 fp->pub._r = n - o; in _fseeko()
261 fp->pub._r = 0; in _fseeko()
267 if (__srefill(fp) || fp->pub._r < n) in _fseeko()
270 fp->pub._r -= n; in _fseeko()
293 fp->pub._r = 0; in _fseeko()
HDfgets.c66 if ((len = fp->pub._r) <= 0) { in fgets()
75 len = fp->pub._r; in fgets()
90 fp->pub._r -= len; in fgets()
97 fp->pub._r -= len; in fgets()
HDfread.c74 if (fp->pub._r < 0) in __fread()
75 fp->pub._r = 0; in __fread()
78 while (resid > (r = fp->pub._r)) { in __fread()
90 fp->pub._r -= resid; in __fread()
HDungetc.c132 if (fp->pub._r >= fp->_ub._size && __submore(fp)) in __ungetc()
135 fp->pub._r++; in __ungetc()
148 fp->pub._r++; in __ungetc()
156 fp->_ur = fp->pub._r; in __ungetc()
162 fp->pub._r = 1; in __ungetc()
HDgetdelim.c125 if (fp->pub._r <= 0 && __srefill(fp)) { in getdelim()
135 while ((endp = memchr(fp->pub._p, delim, fp->pub._r)) == NULL) { in getdelim()
136 if (sappend(linep, &linelen, linecapp, fp->pub._p, fp->pub._r)) in getdelim()
147 fp->pub._r -= endp - fp->pub._p; in getdelim()
HDftell.c110 if ((pos -= (HASUB(fp) ? fp->_ur : fp->pub._r)) < 0) { in _ftello()
116 pos -= fp->pub._r; /* Can be negative at this point. */ in _ftello()
HDrget.c48 fp->pub._r--; in __srget()
HDsreadahead.c55 count = fp->pub._r; in __sreadahead()
HDfpurge.c60 fp->pub._r = 0; in fpurge()
HDfclose.c65 fp->pub._r = fp->pub._w = 0; /* Mess up if reaccessed. */ in fclose()
HDvsscanf.c67 f._bf._size = f.pub._r = strlen(str); in vsscanf_l()
/dragonfly/sys/dev/disk/ahci/
HDahci.h46 #define AHCI_REG_CAP_NP(_r) (((_r) & 0x1f)+1) /* Number of Ports */ argument
50 #define AHCI_REG_CAP_NCS(_r) ((((_r) & 0x1f00)>>8)+1) /* NCmds*/ argument
96 #define AHCI_REG_CCC_CTL_INT(_r) (((_r) & 0xf8) >> 3) /* CCC INT slot */ argument
188 #define AHCI_PREG_CMD_CCS(_r) (((_r) >> 8) & 0x1f) /* Curr CmdSlot# */ argument
576 #define ahci_pwait_clr(_ap, _r, _b) \ argument
577 ahci_pwait_eq((_ap), AHCI_PWAIT_TIMEOUT, (_r), (_b), 0)
578 #define ahci_pwait_clr_to(_ap, _to, _r, _b) \ argument
579 ahci_pwait_eq((_ap), _to, (_r), (_b), 0)
582 #define ahci_pwait_set(_ap, _r, _b) \ argument
583 ahci_pwait_eq((_ap), AHCI_PWAIT_TIMEOUT, (_r), (_b), (_b))
[all …]
/dragonfly/contrib/gcc-4.7/libgcc/soft-fp/
HDop-1.h204 _FP_W_TYPE _q, _r; \
208 doit(_q, _r, X##_f, Y##_f); \
209 R##_f = _q | (_r != 0); \
219 _FP_W_TYPE _nh, _nl, _q, _r, _y; \
237 udiv_qrnnd(_q, _r, _nh, _nl, _y); \
238 R##_f = _q | (_r != 0); \
243 _FP_W_TYPE _nh, _nl, _q, _r; \
255 udiv_qrnnd(_q, _r, _nh, _nl, Y##_f); \
256 R##_f = _q | (_r != 0); \
HDop-2.h471 if (_FP_FRAC_GT_2(_m, _r)) \
474 _FP_FRAC_ADD_2(_r, Y, _r); \
475 if (_FP_FRAC_GE_2(_r, Y) && _FP_FRAC_GT_2(_m, _r)) \
478 _FP_FRAC_ADD_2(_r, Y, _r); \
481 _FP_FRAC_DEC_2(_r, _m); \
499 if (_FP_FRAC_GT_2(_m, _r)) \
502 _FP_FRAC_ADD_2(_r, Y, _r); \
503 if (_FP_FRAC_GE_2(_r, Y) && _FP_FRAC_GT_2(_m, _r)) \
506 _FP_FRAC_ADD_2(_r, Y, _r); \
509 if (!_FP_FRAC_EQ_2(_r, _m)) \
/dragonfly/sys/dev/disk/sili/
HDsili.h849 #define sili_pwait_clr(_ap, _r, _b) \ argument
850 sili_pwait_eq((_ap), SILI_PWAIT_TIMEOUT, (_r), (_b), 0)
851 #define sili_pwait_clr_to(_ap, _to, _r, _b) \ argument
852 sili_pwait_eq((_ap), _to, (_r), (_b), 0)
855 #define sili_pwait_set(_ap, _r, _b) \ argument
856 sili_pwait_eq((_ap), SILI_PWAIT_TIMEOUT, (_r), (_b), (_b))
857 #define sili_pwait_set_to(_ap, _to, _r, _b) \ argument
858 sili_pwait_eq((_ap), _to, (_r), (_b), (_b))
/dragonfly/contrib/bmake/mk/
HDsubdir.mk48 @set -e; _r=${.CURDIR}/; \
56 _r= _newdir_=${.TARGET}; \
59 cd $${_r}$${_newdir_}; \
/dragonfly/sys/dev/netif/ix/
HDixgbe_osdep.h107 #define UNREFERENCED_3PARAMETER(_p, _q, _r) argument
108 #define UNREFERENCED_4PARAMETER(_p, _q, _r, _s) argument
/dragonfly/contrib/gmp/
HDgmp-impl.h2651 mp_limb_t _q, _ql, _r; \
2657 sub_ddmmss (_xh, _r, (nh), (nl), _xh, _xl); \
2660 sub_ddmmss (_xh, _r, _xh, _r, 0, (d)); \
2664 _r -= (d); \
2668 if (_r >= (d)) \
2670 _r -= (d); \
2673 (r) = _r; \
2743 mp_limb_t _qh, _ql, _r; \
2749 _r = (nl) - _qh * (d); \
2750 if (_r > _ql) /* both > and >= should be OK */ \
[all …]

123