bin/date/date.c
388
int i, len, prefixlen, width, zeroes;
bin/date/date.c
408
width = 0;
bin/date/date.c
429
for (width = 9, number = res;
bin/date/date.c
430
width > 0 && number > 0;
bin/date/date.c
431
width--, number /= 10)
bin/date/date.c
436
if (width == 0) {
bin/date/date.c
437
width = 9;
bin/date/date.c
438
} else if (width > 9) {
bin/date/date.c
439
zeroes = width - 9;
bin/date/date.c
440
width = 9;
bin/date/date.c
442
for (i = 0; i < 9 - width; i++)
bin/date/date.c
454
prefix, width, number, zeroes, 0, &len, suffix);
bin/date/date.c
477
width = width * 10 + *tok - '0';
bin/ls/ls.c
768
u_long width[9];
bin/ls/ls.c
779
width[i] = 0;
bin/ls/ls.c
786
width[i] = 0;
bin/ls/ls.c
788
width[i] = strtoul(initmax, &endp, 10);
bin/ls/ls.c
805
maxinode = width[0];
bin/ls/ls.c
806
maxblock = width[1];
bin/ls/ls.c
807
maxnlink = width[2];
bin/ls/ls.c
808
maxuser = width[3];
bin/ls/ls.c
809
maxgroup = width[4];
bin/ls/ls.c
810
maxflags = width[5];
bin/ls/ls.c
811
maxsize = width[6];
bin/ls/ls.c
812
maxlen = width[7];
bin/ls/ls.c
813
maxlabelstr = width[8];
bin/ls/print.c
163
size_t width, donelen, clen, w;
bin/ls/print.c
165
width = donelen = 0;
bin/ls/print.c
172
width += w;
bin/ls/print.c
175
return (width);
bin/ls/print.c
182
size_t width;
bin/ls/print.c
186
width = mbswidth(get_abmon(i));
bin/ls/print.c
187
if (width == (size_t)-1) {
bin/ls/print.c
191
months_width[i] = width;
bin/ls/print.c
192
if (width > month_max_size)
bin/ls/print.c
193
month_max_size = width;
bin/ls/print.c
430
printdev(size_t width, dev_t dev)
bin/ls/print.c
433
(void)printf("%#*jx ", (u_int)width, (uintmax_t)dev);
bin/ls/print.c
750
printsize(size_t width, off_t bytes)
bin/ls/print.c
762
(void)printf("%*s ", (u_int)width, buf);
bin/ls/print.c
765
(u_int)width, bytes);
bin/ps/keyword.c
464
vent->width = strlen(vent->header);
bin/ps/print.c
84
xo_emit("{T:/%-*hs}", vent->width, vent->header);
bin/ps/print.c
86
xo_emit("{T:/%*hs}", vent->width, vent->header);
bin/ps/ps.c
1337
if (vent->width < len)
bin/ps/ps.c
1338
vent->width = len;
bin/ps/ps.c
763
(vent->var->flag & LJUST))) ? 0 : vent->width;
bin/ps/ps.h
62
u_int width;
crypto/heimdal/appl/ftp/ftp/main.c
541
int columns, width = 0, lines;
crypto/heimdal/appl/ftp/ftp/main.c
547
if (len > width)
crypto/heimdal/appl/ftp/ftp/main.c
548
width = len;
crypto/heimdal/appl/ftp/ftp/main.c
550
width = (width + 8) &~ 7;
crypto/heimdal/appl/ftp/ftp/main.c
551
columns = 80 / width;
crypto/heimdal/appl/ftp/ftp/main.c
570
while (w < width) {
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3424
int width, NCMDS;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3432
width = 0, NCMDS = 0;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3436
if (len > width)
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3437
width = len;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3440
width = (width + 8) &~ 7;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3447
columns = 76 / width;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3463
while (w < width) {
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
3484
reply(214, "%s%-*s\t%s; unimplemented.", t, width,
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1371
int width, NCMDS;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1379
width = 0, NCMDS = 0;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1383
if (len > width)
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1384
width = len;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1387
width = (width + 8) &~ 7;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1394
columns = 76 / width;
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1410
while (w < width) {
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
1431
reply(214, "%s%-*s\t%s; unimplemented.", t, width,
crypto/heimdal/kadmin/get.c
351
int width = 0;
crypto/heimdal/kadmin/get.c
355
if(w > width)
crypto/heimdal/kadmin/get.c
356
width = w;
crypto/heimdal/kadmin/get.c
360
printf("%*s: %s\n", width, f->header ? f->header : f->ff->def_longheader, buf);
crypto/heimdal/lib/asn1/gen.c
600
int width = max_width;
crypto/heimdal/lib/asn1/gen.c
605
width -= fprintf(headerfile, "%s", m->name);
crypto/heimdal/lib/asn1/gen.c
606
fprintf(headerfile, "%*s", width, "");
crypto/heimdal/lib/roken/rtbl.c
141
col->width = 0;
crypto/heimdal/lib/roken/rtbl.c
189
column->width = 0;
crypto/heimdal/lib/roken/rtbl.c
191
column->width = strlen (column->header);
crypto/heimdal/lib/roken/rtbl.c
193
column->width = max (column->width, (int) strlen (column->rows[i].data));
crypto/heimdal/lib/roken/rtbl.c
380
fprintf (f, "%-*s", (int)c->width, c->header);
crypto/heimdal/lib/roken/rtbl.c
408
w = c->width;
crypto/heimdal/lib/roken/rtbl.c
46
int width;
crypto/heimdal/lib/roken/snprintf.c
123
pad(struct snprintf_state *state, int width, char c)
crypto/heimdal/lib/roken/snprintf.c
126
while(width-- > 0){
crypto/heimdal/lib/roken/snprintf.c
143
int width, int prec, int flags, int minusp)
crypto/heimdal/lib/roken/snprintf.c
208
width -= prec;
crypto/heimdal/lib/roken/snprintf.c
210
width -= nlen;
crypto/heimdal/lib/roken/snprintf.c
213
width -= 2;
crypto/heimdal/lib/roken/snprintf.c
216
width--;
crypto/heimdal/lib/roken/snprintf.c
219
len += pad(state, width, ' ');
crypto/heimdal/lib/roken/snprintf.c
232
if(prec - nlen > width - len - nlen)
crypto/heimdal/lib/roken/snprintf.c
235
len += pad(state, width - len - nlen, '0');
crypto/heimdal/lib/roken/snprintf.c
246
len += pad(state, width - len, ' ');
crypto/heimdal/lib/roken/snprintf.c
258
int width,
crypto/heimdal/lib/roken/snprintf.c
268
width -= prec;
crypto/heimdal/lib/roken/snprintf.c
270
width -= strlen((const char *)arg);
crypto/heimdal/lib/roken/snprintf.c
272
len += pad(state, width, ' ');
crypto/heimdal/lib/roken/snprintf.c
286
len += pad(state, width, ' ');
crypto/heimdal/lib/roken/snprintf.c
293
int width,
crypto/heimdal/lib/roken/snprintf.c
298
while(!(flags & minus_flag) && --width > 0) {
crypto/heimdal/lib/roken/snprintf.c
304
while((flags & minus_flag) && --width > 0) {
crypto/heimdal/lib/roken/snprintf.c
357
int width = 0;
crypto/heimdal/lib/roken/snprintf.c
391
width = width * 10 + c - '0';
crypto/heimdal/lib/roken/snprintf.c
395
width = va_arg(ap, int);
crypto/heimdal/lib/roken/snprintf.c
436
append_char(state, va_arg(ap, int), width, flags);
crypto/heimdal/lib/roken/snprintf.c
442
width,
crypto/heimdal/lib/roken/snprintf.c
461
width, prec, flags, minusp);
crypto/heimdal/lib/roken/snprintf.c
470
width, prec, flags, 0);
crypto/heimdal/lib/roken/snprintf.c
479
width, prec, flags, 0);
crypto/heimdal/lib/roken/snprintf.c
488
width, prec, flags, 0);
crypto/heimdal/lib/roken/snprintf.c
497
width, prec, flags, 0);
crypto/heimdal/lib/roken/snprintf.c
504
width, prec, flags, 0);
crypto/krb5/src/lib/gssapi/generic/t_seqstate.c
170
enum width w;
crypto/krb5/src/lib/gssapi/generic/t_seqstate.c
51
enum width wide_seqnums;
crypto/krb5/src/lib/gssapi/spnego/negoex_util.c
166
vector_base(size_t offset, size_t count, size_t width,
crypto/krb5/src/lib/gssapi/spnego/negoex_util.c
169
if (offset > msg_len || count > (msg_len - offset) / width)
crypto/krb5/src/windows/leash/MainFrm.cpp
340
int width = MIN_RIGHT - MIN_LEFT;
crypto/krb5/src/windows/leash/MainFrm.cpp
363
if ((m_winRectRight - m_winRectLeft) < width)
crypto/krb5/src/windows/leash/MainFrm.cpp
366
wndpl.rcNormalPosition.left = wndpl.rcNormalPosition.right - width;
crypto/krb5/src/windows/leash/MainFrm.cpp
369
wndpl.rcNormalPosition.right = wndpl.rcNormalPosition.left + width;
crypto/krb5/src/windows/leashdll/krb5routines.c
561
char * ptext[], int numlines, int width,
crypto/krb5/src/windows/leashdll/krb5routines.c
591
lpdt->cx = 20 + width * 4;
crypto/krb5/src/windows/leashdll/krb5routines.c
672
-1, lpwsz, 2*width);
crypto/krb5/src/windows/leashdll/krb5routines.c
716
lpdit->cx = (width - (pwid + 1)) * 4;
crypto/openssh/regress/unittests/utf8/tests.c
24
int len, width;
crypto/openssh/regress/unittests/utf8/tests.c
26
width = 1;
crypto/openssh/regress/unittests/utf8/tests.c
28
len = snmprintf(buf, sizeof(buf), &width, "\377");
crypto/openssh/regress/unittests/utf8/tests.c
31
ASSERT_INT_EQ(width, 0);
crypto/openssh/regress/unittests/utf8/tests.c
36
one(int utf8, const char *name, const char *mbs, int width,
crypto/openssh/regress/unittests/utf8/tests.c
48
wp = wantwidth == -2 ? NULL : &width;
crypto/openssh/regress/unittests/utf8/tests.c
52
ASSERT_INT_EQ(width, wantwidth);
crypto/openssh/sftp.c
1011
width = ws.ws_col;
crypto/openssh/sftp.c
1018
columns = width / (m + 2);
crypto/openssh/sftp.c
1020
colspace = width / columns;
crypto/openssh/sftp.c
1834
u_int y, m = 0, width = 80, columns = 1, colspace = 0, llen;
crypto/openssh/sftp.c
1843
width = ws.ws_col;
crypto/openssh/sftp.c
1846
columns = width / (m + 2);
crypto/openssh/sftp.c
1848
colspace = width / columns;
crypto/openssh/sftp.c
1849
colspace = MINIMUM(colspace, width);
crypto/openssh/sftp.c
860
u_int m = 0, width = 80;
crypto/openssh/sftp.c
876
width = ws.ws_col;
crypto/openssh/sftp.c
878
columns = width / (m + 2);
crypto/openssh/sftp.c
880
colspace = width / columns;
crypto/openssh/sftp.c
881
colspace = MINIMUM(colspace, width);
crypto/openssh/sftp.c
978
u_int colspace = 0, columns = 1, m = 0, width = 80;
crypto/openssh/utf8.c
115
int width; /* Display width of the character wc. */
crypto/openssh/utf8.c
146
width = -1;
crypto/openssh/utf8.c
154
width = 0;
crypto/openssh/utf8.c
155
} else if ((width = wcwidth(wc)) == -1 &&
crypto/openssh/utf8.c
163
if (width >= 0) {
crypto/openssh/utf8.c
165
total_width > max_width - width))
crypto/openssh/utf8.c
173
total_width += width;
crypto/openssh/utf8.c
196
width = tp - dp;
crypto/openssh/utf8.c
197
total_width += width;
crypto/openssh/utf8.c
200
width = 4;
crypto/openssh/utf8.c
204
ret += width;
crypto/openssl/apps/include/function.h
44
int width;
crypto/openssl/apps/lib/apps.c
3230
int width = 0;
crypto/openssl/apps/lib/apps.c
3248
if (width <= (int)fds[i])
crypto/openssl/apps/lib/apps.c
3249
width = (int)fds[i] + 1;
crypto/openssl/apps/lib/apps.c
3252
select(width, (void *)&asyncfds, NULL, NULL, NULL);
crypto/openssl/apps/lib/columns.c
24
dc->width = maxlen + 2;
crypto/openssl/apps/lib/columns.c
25
dc->columns = (80 - 1) / dc->width;
crypto/openssl/apps/lib/opt.c
1143
static void opt_print(const OPTIONS *o, int doingparams, int width)
crypto/openssl/apps/lib/opt.c
1150
if (width >= (int)sizeof(start))
crypto/openssl/apps/lib/opt.c
1151
width = (int)sizeof(start) - 1;
crypto/openssl/apps/lib/opt.c
1172
start[width] = '\0';
crypto/openssl/apps/lib/opt.c
1191
if (linelen >= MAX_OPT_HELP_WIDTH || linelen > width) {
crypto/openssl/apps/lib/opt.c
1197
width -= linelen;
crypto/openssl/apps/lib/opt.c
1199
start[width] = '\0';
crypto/openssl/apps/lib/opt.c
1206
int i, sawparams = 0, width = 5;
crypto/openssl/apps/lib/opt.c
1221
if (i > width)
crypto/openssl/apps/lib/opt.c
1222
width = i;
crypto/openssl/apps/lib/opt.c
1225
if (width > MAX_OPT_HELP_WIDTH)
crypto/openssl/apps/lib/opt.c
1226
width = MAX_OPT_HELP_WIDTH;
crypto/openssl/apps/lib/opt.c
1238
opt_print(o, sawparams, width);
crypto/openssl/apps/list.c
1232
BIO_printf(bio_out, "%-*s", dc.width, fp->name);
crypto/openssl/apps/openssl.c
403
BIO_printf(bio_err, "%-*s", dc.width, fp->name);
crypto/openssl/apps/s_client.c
2412
width = fileno_stdin() + 1;
crypto/openssl/apps/s_client.c
2414
width = SSL_get_fd(con) + 1;
crypto/openssl/apps/s_client.c
2619
width = SSL_get_fd(con) + 1;
crypto/openssl/apps/s_client.c
2638
&& select(width, (void *)&readfds, NULL, NULL,
crypto/openssl/apps/s_client.c
3107
i = select(width, (void *)&readfds, (void *)&writefds,
crypto/openssl/apps/s_client.c
3112
i = select(width, (void *)&readfds, (void *)&writefds,
crypto/openssl/apps/s_client.c
3116
i = select(width, (void *)&readfds, (void *)&writefds,
crypto/openssl/apps/s_client.c
971
int ret = 1, in_init = 1, i, nbio_test = 0, sock = -1, k, width, state = 0;
crypto/openssl/apps/s_server.c
2543
int ret = 1, width;
crypto/openssl/apps/s_server.c
2727
width = fileno_stdin() + 1;
crypto/openssl/apps/s_server.c
2729
width = s + 1;
crypto/openssl/apps/s_server.c
2761
i = select(width, (void *)&readfds, NULL, NULL, &timeout);
crypto/openssl/apps/s_server.c
2772
i = select(width, (void *)&readfds, NULL, NULL, timeoutp);
crypto/openssl/apps/s_server.c
3266
int width;
crypto/openssl/apps/s_server.c
3277
width = s + 1;
crypto/openssl/apps/s_server.c
3446
i = select(width, (void *)&readfds, NULL, NULL, NULL);
crypto/openssl/crypto/bio/bio_dump.c
131
int BIO_hex_string(BIO *out, int indent, int width, const void *data,
crypto/openssl/crypto/bio/bio_dump.c
146
if (++j >= width) {
crypto/openssl/crypto/bn/bn_exp.c
518
int width = 1 << window;
crypto/openssl/crypto/bn/bn_exp.c
524
for (i = 0, j = idx; i < top; i++, j += width) {
crypto/openssl/crypto/bn/bn_exp.c
536
int width = 1 << window;
crypto/openssl/crypto/bn/bn_exp.c
551
for (i = 0; i < top; i++, table += width) {
crypto/openssl/crypto/bn/bn_exp.c
554
for (j = 0; j < width; j++) {
crypto/openssl/crypto/bn/bn_exp.c
572
for (i = 0; i < top; i++, table += width) {
crypto/openssl/demos/guide/quic-client-non-block.c
115
int width, sock, isinfinite;
crypto/openssl/demos/guide/quic-client-non-block.c
133
width = sock + 1;
crypto/openssl/demos/guide/quic-client-non-block.c
162
select(width, &rfds, &wfds, NULL, tvp);
crypto/openssl/demos/guide/tls-client-non-block.c
106
int width, sock;
crypto/openssl/demos/guide/tls-client-non-block.c
113
width = sock + 1;
crypto/openssl/demos/guide/tls-client-non-block.c
133
select(width, NULL, &fds, NULL, NULL);
crypto/openssl/demos/guide/tls-client-non-block.c
135
select(width, &fds, NULL, NULL, NULL);
crypto/openssl/include/openssl/bio.h
838
int BIO_hex_string(BIO *out, int indent, int width, const void *data,
crypto/openssl/test/bioprinttest.c
190
static int dofptest(int test, int sub, double val, const char *width, int prec)
crypto/openssl/test/bioprinttest.c
202
BIO_snprintf(format, sizeof(format), "%%%s.%d%s", width, prec,
crypto/openssl/test/bioprinttest.c
205
BIO_snprintf(format, sizeof(format), "%%%s%s", width, fspec);
crypto/openssl/test/helpers/ssltestlib.c
1032
int width;
crypto/openssl/test/helpers/ssltestlib.c
1034
width = sock + 1;
crypto/openssl/test/helpers/ssltestlib.c
1040
select(width, &readfds, NULL, NULL, &timeout);
crypto/openssl/test/params_api_test.c
119
size_t width)
crypto/openssl/test/params_api_test.c
151
sz = sizeof(i32) < width ? sizeof(i32) : width;
crypto/openssl/test/params_api_test.c
156
sz = sizeof(i64) < width ? sizeof(i64) : width;
crypto/openssl/test/params_api_test.c
161
sz = sizeof(s) < width ? sizeof(s) : width;
crypto/openssl/test/params_api_test.c
167
if (sizeof(size_t) > width) {
crypto/openssl/test/quic-openssl-docker/hq-interop/quic-hq-interop.c
212
int width, sock, isinfinite;
crypto/openssl/test/quic-openssl-docker/hq-interop/quic-hq-interop.c
230
width = sock + 1;
crypto/openssl/test/quic-openssl-docker/hq-interop/quic-hq-interop.c
259
select(width, &rfds, &wfds, NULL, tvp);
crypto/openssl/test/testutil/format_output.c
115
cnt += width;
crypto/openssl/test/testutil/format_output.c
150
size_t width)
crypto/openssl/test/testutil/format_output.c
159
if (i % width == width - 1 && i != n - 1)
crypto/openssl/test/testutil/format_output.c
44
const size_t width = (MAX_STRING_WIDTH - BIO_get_indent(bio_err) - 12) / 16 * 16;
crypto/openssl/test/testutil/format_output.c
72
b1[n1 = l1 > width ? width : l1] = 0;
crypto/openssl/test/testutil/format_output.c
77
b2[n2 = l2 > width ? width : l2] = 0;
include/printf.h
49
int width;
include/stdlib.h
368
#define qsort_r(base, nel, width, arg4, arg5) \
include/stdlib.h
370
__qsort_r_compat, qsort_r)(base, nel, width, arg4, arg5)
lib/libbsdstat/bsdstat.c
102
fprintf(fd, "%*s", f->width, f->label);
lib/libbsdstat/bsdstat.c
123
fprintf(fd, "%*s", f->width, buf);
lib/libbsdstat/bsdstat.c
144
fprintf(fd, "%*s", f->width, buf);
lib/libbsdstat/bsdstat.c
156
int i, width;
lib/libbsdstat/bsdstat.c
158
width = 0;
lib/libbsdstat/bsdstat.c
161
if (f->width > width)
lib/libbsdstat/bsdstat.c
162
width = f->width;
lib/libbsdstat/bsdstat.c
167
fprintf(fd, "%-*s %s\n", width, s, f->desc);
lib/libbsdstat/bsdstat.c
174
int i, w, width;
lib/libbsdstat/bsdstat.c
176
width = 0;
lib/libbsdstat/bsdstat.c
179
if (w > width)
lib/libbsdstat/bsdstat.c
180
width = w;
lib/libbsdstat/bsdstat.c
184
if (f->width != 0)
lib/libbsdstat/bsdstat.c
185
fprintf(fd, "%-*s %s\n", width, f->name, f->desc);
lib/libbsdstat/bsdstat.h
44
int width; /* printed field width */
lib/libc/stdio/vfprintf.c
1002
PAD(width - realsz, blanks);
lib/libc/stdio/vfprintf.c
1015
PAD(width - realsz, zeroes);
lib/libc/stdio/vfprintf.c
1065
PAD(width - realsz, blanks);
lib/libc/stdio/vfprintf.c
310
int width; /* width from format (%8d), or 0 */
lib/libc/stdio/vfprintf.c
492
width = 0;
lib/libc/stdio/vfprintf.c
519
GETASTER (width);
lib/libc/stdio/vfprintf.c
520
if (width >= 0)
lib/libc/stdio/vfprintf.c
522
width = -width;
lib/libc/stdio/vfprintf.c
571
width = n;
lib/libc/stdio/vfprintf.c
993
prsize = width > realsz ? width : realsz;
lib/libc/stdio/vfscanf.c
113
convert_char(FILE *fp, char * p, int width)
lib/libc/stdio/vfscanf.c
120
if ((n = fp->_r) < width) {
lib/libc/stdio/vfscanf.c
122
width -= n;
lib/libc/stdio/vfscanf.c
130
sum += width;
lib/libc/stdio/vfscanf.c
131
fp->_r -= width;
lib/libc/stdio/vfscanf.c
132
fp->_p += width;
lib/libc/stdio/vfscanf.c
138
size_t r = __fread(p, 1, width, fp);
lib/libc/stdio/vfscanf.c
147
convert_wchar(FILE *fp, wchar_t *wcp, int width, locale_t locale)
lib/libc/stdio/vfscanf.c
155
while (width-- != 0 &&
lib/libc/stdio/vfscanf.c
167
convert_ccl(FILE *fp, char * p, int width, const char *ccltab)
lib/libc/stdio/vfscanf.c
176
if (--width == 0)
lib/libc/stdio/vfscanf.c
189
if (--width == 0)
lib/libc/stdio/vfscanf.c
206
convert_wccl(FILE *fp, wchar_t *wcp, int width, const char *ccltab,
lib/libc/stdio/vfscanf.c
217
width-- != 0 && ccltab[wctob(wi)])
lib/libc/stdio/vfscanf.c
223
width-- != 0 && ccltab[wctob(wi)]) {
lib/libc/stdio/vfscanf.c
237
convert_string(FILE *fp, char * p, int width)
lib/libc/stdio/vfscanf.c
246
if (--width == 0)
lib/libc/stdio/vfscanf.c
256
if (--width == 0)
lib/libc/stdio/vfscanf.c
268
convert_wstring(FILE *fp, wchar_t *wcp, int width, locale_t locale)
lib/libc/stdio/vfscanf.c
278
width-- != 0 && !iswspace(wi))
lib/libc/stdio/vfscanf.c
284
width-- != 0 && !iswspace(wi)) {
lib/libc/stdio/vfscanf.c
421
parseint(FILE *fp, char * __restrict buf, int width, int base)
lib/libc/stdio/vfscanf.c
427
for (p = buf; width; width--) {
lib/libc/stdio/vfscanf.c
447
} else if (width && c != EOF) {
lib/libc/stdio/vfscanf.c
487
size_t width; /* field width, or 0 */
lib/libc/stdio/vfscanf.c
513
width = 0;
lib/libc/stdio/vfscanf.c
605
width = width * 10 + c - '0';
lib/libc/stdio/vfscanf.c
743
if (width == 0)
lib/libc/stdio/vfscanf.c
744
width = 1;
lib/libc/stdio/vfscanf.c
747
width, locale);
lib/libc/stdio/vfscanf.c
749
nr = convert_char(fp, GETARG(char *), width);
lib/libc/stdio/vfscanf.c
757
if (width == 0)
lib/libc/stdio/vfscanf.c
758
width = (size_t)~0; /* `infinity' */
lib/libc/stdio/vfscanf.c
760
nr = convert_wccl(fp, GETARG(wchar_t *), width,
lib/libc/stdio/vfscanf.c
763
nr = convert_ccl(fp, GETARG(char *), width,
lib/libc/stdio/vfscanf.c
776
if (width == 0)
lib/libc/stdio/vfscanf.c
777
width = (size_t)~0;
lib/libc/stdio/vfscanf.c
780
width, locale);
lib/libc/stdio/vfscanf.c
782
nr = convert_string(fp, GETARG(char *), width);
lib/libc/stdio/vfscanf.c
791
if (width == 0 || width > sizeof(buf) - 1)
lib/libc/stdio/vfscanf.c
792
width = sizeof(buf) - 1;
lib/libc/stdio/vfscanf.c
795
if (--width > sizeof(buf) - 2)
lib/libc/stdio/vfscanf.c
796
width = sizeof(buf) - 2;
lib/libc/stdio/vfscanf.c
797
width++;
lib/libc/stdio/vfscanf.c
799
nr = parseint(fp, buf, width, base);
lib/libc/stdio/vfscanf.c
834
if (width == 0 || width > sizeof(buf) - 1)
lib/libc/stdio/vfscanf.c
835
width = sizeof(buf) - 1;
lib/libc/stdio/vfscanf.c
836
nr = parsefloat(fp, buf, buf + width, locale);
lib/libc/stdio/vfwprintf.c
1050
prsize = width > realsz ? width : realsz;
lib/libc/stdio/vfwprintf.c
1059
PAD(width - realsz, blanks);
lib/libc/stdio/vfwprintf.c
1072
PAD(width - realsz, zeroes);
lib/libc/stdio/vfwprintf.c
1123
PAD(width - realsz, blanks);
lib/libc/stdio/vfwprintf.c
388
int width; /* width from format (%8d), or 0 */
lib/libc/stdio/vfwprintf.c
561
width = 0;
lib/libc/stdio/vfwprintf.c
588
GETASTER (width);
lib/libc/stdio/vfwprintf.c
589
if (width >= 0)
lib/libc/stdio/vfwprintf.c
591
width = -width;
lib/libc/stdio/vfwprintf.c
640
width = n;
lib/libc/stdio/vfwscanf.c
126
convert_char(FILE *fp, char * mbp, int width, locale_t locale)
lib/libc/stdio/vfwscanf.c
135
while (width-- != 0 && (wi = __fgetwc(fp, locale)) != WEOF) {
lib/libc/stdio/vfwscanf.c
150
convert_wchar(FILE *fp, wchar_t *wcp, int width, locale_t locale)
lib/libc/stdio/vfwscanf.c
156
while (width-- != 0 && (wi = __fgetwc(fp, locale)) != WEOF) {
lib/libc/stdio/vfwscanf.c
167
convert_ccl(FILE *fp, char * mbp, int width, const struct ccl *ccl,
lib/libc/stdio/vfwscanf.c
178
width-- != 0 && inccl(ccl, wi)) {
lib/libc/stdio/vfwscanf.c
195
convert_wccl(FILE *fp, wchar_t *wcp, int width, const struct ccl *ccl,
lib/libc/stdio/vfwscanf.c
205
width-- != 0 && inccl(ccl, wi))
lib/libc/stdio/vfwscanf.c
212
width-- != 0 && inccl(ccl, wi))
lib/libc/stdio/vfwscanf.c
225
convert_string(FILE *fp, char * mbp, int width, locale_t locale)
lib/libc/stdio/vfwscanf.c
234
while ((wi = __fgetwc(fp, locale)) != WEOF && width-- != 0 &&
lib/libc/stdio/vfwscanf.c
252
convert_wstring(FILE *fp, wchar_t *wcp, int width, locale_t locale)
lib/libc/stdio/vfwscanf.c
260
width-- != 0 && !iswspace(wi))
lib/libc/stdio/vfwscanf.c
266
width-- != 0 && !iswspace(wi)) {
lib/libc/stdio/vfwscanf.c
403
parseint(FILE *fp, wchar_t * __restrict buf, int width, int base,
lib/libc/stdio/vfwscanf.c
410
for (wcp = buf; width; width--) {
lib/libc/stdio/vfwscanf.c
430
} else if (width && c != WEOF) {
lib/libc/stdio/vfwscanf.c
467
size_t width; /* field width, or 0 */
lib/libc/stdio/vfwscanf.c
496
width = 0;
lib/libc/stdio/vfwscanf.c
589
width = width * 10 + c - '0';
lib/libc/stdio/vfwscanf.c
725
if (width == 0)
lib/libc/stdio/vfwscanf.c
726
width = 1;
lib/libc/stdio/vfwscanf.c
728
nr = convert_wchar(fp, GETARG(wchar_t *), width,
lib/libc/stdio/vfwscanf.c
731
nr = convert_char(fp, GETARG(char *), width,
lib/libc/stdio/vfwscanf.c
740
if (width == 0)
lib/libc/stdio/vfwscanf.c
741
width = (size_t)~0; /* `infinity' */
lib/libc/stdio/vfwscanf.c
744
nr = convert_wccl(fp, GETARG(wchar_t *), width,
lib/libc/stdio/vfwscanf.c
747
nr = convert_ccl(fp, GETARG(char *), width,
lib/libc/stdio/vfwscanf.c
760
if (width == 0)
lib/libc/stdio/vfwscanf.c
761
width = (size_t)~0;
lib/libc/stdio/vfwscanf.c
764
width, locale);
lib/libc/stdio/vfwscanf.c
766
nr = convert_string(fp, GETARG(char *), width,
lib/libc/stdio/vfwscanf.c
775
if (width == 0 || width > sizeof(buf) /
lib/libc/stdio/vfwscanf.c
777
width = sizeof(buf) / sizeof(*buf) - 1;
lib/libc/stdio/vfwscanf.c
779
nr = parseint(fp, buf, width, base, locale);
lib/libc/stdio/vfwscanf.c
814
if (width == 0 || width > sizeof(buf) /
lib/libc/stdio/vfwscanf.c
816
width = sizeof(buf) / sizeof(*buf) - 1;
lib/libc/stdio/vfwscanf.c
817
nr = parsefloat(fp, buf, buf + width, locale);
lib/libc/stdio/xprintf.c
162
if ((!pi->left) && pi->width > len)
lib/libc/stdio/xprintf.c
163
ret += __printf_pad(io, pi->width - len, pi->pad == '0');
lib/libc/stdio/xprintf.c
165
if (pi->left && pi->width > len)
lib/libc/stdio/xprintf.c
166
ret += __printf_pad(io, pi->width - len, pi->pad == '0');
lib/libc/stdio/xprintf.c
374
pi->width = n;
lib/libc/stdio/xprintf.c
514
if (pi->width) fprintf(stderr, " width %d", pi->width);
lib/libc/stdio/xprintf.c
527
pi->width = args[pi->get_width].intarg;
lib/libc/stdio/xprintf.c
534
if (pi->width < 0) {
lib/libc/stdio/xprintf.c
536
pi->width = -pi->width;
lib/libc/stdio/xprintf_float.c
348
ret += __printf_pad(io, pi->width - realsz, 0);
lib/libc/stdio/xprintf_float.c
361
ret += __printf_pad(io, pi->width - realsz, 1);
lib/libc/stdio/xprintf_float.c
415
ret += __printf_pad(io, pi->width - realsz, 0);
lib/libc/stdio/xprintf_hexdump.c
56
if (pi->width > 0 && pi->width < 16)
lib/libc/stdio/xprintf_hexdump.c
57
l = pi->width;
lib/libc/stdio/xprintf_int.c
392
else if (pi->pad == '0' && pi->width > l && !pi->left)
lib/libc/stdio/xprintf_int.c
393
zext = pi->width - l;
lib/libc/stdio/xprintf_int.c
411
if (pi->width > (pe - p) && !pi->left) {
lib/libc/stdio/xprintf_int.c
412
l = pi->width - (pe - p);
lib/libc/stdio/xprintf_int.c
421
if (!pi->left && pi->width > l)
lib/libc/stdio/xprintf_int.c
422
ret += __printf_pad(io, pi->width - l, 0);
lib/libc/stdio/xprintf_int.c
432
if (pi->width > ret && pi->left)
lib/libc/stdio/xprintf_int.c
433
ret += __printf_pad(io, pi->width - ret, 0);
lib/libc/stdlib/lsearch.c
19
void *lsearch(const void *key, void *base, size_t *nelp, size_t width,
lib/libc/stdlib/lsearch.c
23
return (lwork(key, base, nelp, width, compar, 1));
lib/libc/stdlib/lsearch.c
26
void *lfind(const void *key, const void *base, size_t *nelp, size_t width,
lib/libc/stdlib/lsearch.c
30
return (lwork(key, base, nelp, width, compar, 0));
lib/libc/stdlib/lsearch.c
34
lwork(const void *key, const void *base, size_t *nelp, size_t width,
lib/libc/stdlib/lsearch.c
40
for (endp = (uint8_t *)(ep + width * *nelp); ep < endp; ep += width) {
lib/libc/stdlib/lsearch.c
53
memcpy(endp, key, width);
lib/libc/stdlib/qsort_r_compat.c
12
qsort_b(void *base, size_t nel, size_t width, qsort_block compar)
lib/libc/stdlib/qsort_r_compat.c
14
__qsort_r_compat(base, nel, width, compar,
lib/libc/stdlib/strfmon.c
116
int width; /* field width */
lib/libc/stdlib/strfmon.c
160
width = -1; /* no width specified */
lib/libc/stdlib/strfmon.c
199
GET_NUMBER(width, loc);
lib/libc/stdlib/strfmon.c
204
if ((unsigned int)width >= maxsize - (dst - s))
lib/libc/stdlib/strfmon.c
390
if (dst - tmpptr < width) {
lib/libc/stdlib/strfmon.c
392
while (dst - tmpptr < width)
lib/libc/stdlib/strfmon.c
396
memmove(tmpptr + width - pad_size, tmpptr,
lib/libc/stdlib/strfmon.c
398
memset(tmpptr, ' ', width - pad_size);
lib/libc/stdlib/strfmon.c
399
dst += width - pad_size;
lib/libc/tests/stdbit/stdc_bit_width_test.c
12
unsigned width = 0; \
lib/libc/tests/stdbit/stdc_bit_width_test.c
16
width++; \
lib/libc/tests/stdbit/stdc_bit_width_test.c
19
return (width); \
lib/libcam/scsi_cmdparse.c
109
int width;
lib/libcam/scsi_cmdparse.c
125
letter), (void *)((long)(ARG)), width, \
lib/libcam/scsi_cmdparse.c
181
width = strtol(fmt, &intendp, 10);
lib/libcam/scsi_cmdparse.c
183
if (width > 8)
lib/libcam/scsi_cmdparse.c
194
value = (bits >> (shift - width)) &
lib/libcam/scsi_cmdparse.c
195
mask[width];
lib/libcam/scsi_cmdparse.c
199
shift, bits, value, width, mask[width]);
lib/libcam/scsi_cmdparse.c
204
shift -= width;
lib/libcam/scsi_cmdparse.c
211
width = strtol(fmt, &intendp, 10);
lib/libcam/scsi_cmdparse.c
213
if (ind + width > len) {
lib/libcam/scsi_cmdparse.c
217
switch(width) {
lib/libcam/scsi_cmdparse.c
251
width = strtol(fmt, &intendp, 10);
lib/libcam/scsi_cmdparse.c
253
if (ind + width > len) {
lib/libcam/scsi_cmdparse.c
261
&buff[ind], width, field_name);
lib/libcam/scsi_cmdparse.c
265
bcopy(&buff[ind], dest, width);
lib/libcam/scsi_cmdparse.c
268
for (p = dest + width - 1;
lib/libcam/scsi_cmdparse.c
276
ind += width;
lib/libcam/scsi_cmdparse.c
296
width = (arg_put) ? 0 : va_arg(*ap, int);
lib/libcam/scsi_cmdparse.c
299
width = strtol(fmt, &intendp, 10);
lib/libcam/scsi_cmdparse.c
304
ind += width; /* Relative seek */
lib/libcam/scsi_cmdparse.c
306
ind = width; /* Absolute seek */
lib/libcam/scsi_cmdparse.c
554
int width, value, error, suppress;
lib/libcam/scsi_cmdparse.c
563
while ((ret = next_field(&fmt, &c, &width, &value, field_name,
lib/libcam/scsi_cmdparse.c
579
ret, c, width, value, field_name, error, suppress);
lib/libcam/scsi_cmdparse.c
588
if (width < 8) {
lib/libcam/scsi_cmdparse.c
594
shift += width;
lib/libcam/scsi_cmdparse.c
613
switch(width) {
lib/libdpv/dialog_util.c
229
int width;
lib/libdpv/dialog_util.c
251
width = dialog_maxcols();
lib/libdpv/dialog_util.c
252
if (dwidth < width)
lib/libdpv/dialog_util.c
253
width = dwidth;
lib/libdpv/dialog_util.c
304
snprintf(dargv[n++], 40, "%u", width);
lib/libiconv_modules/HZ/citrus_hz.c
71
int width;
lib/libiconv_modules/mapper_std/citrus_mapper_std.c
106
idx = idx * lz->width + n - lz->begin;
lib/libiconv_modules/mapper_std/citrus_mapper_std.c
144
lz->width= end - begin + 1;
lib/libiconv_modules/mapper_std/citrus_mapper_std.c
313
table_size = lz->width;
lib/libiconv_modules/mapper_std/citrus_mapper_std.c
316
table_size *= lz->width;
lib/libiconv_modules/mapper_std/citrus_mapper_std_local.h
39
_citrus_index_t width;
lib/libpmc/libpmc.c
2013
pmc_width(pmc_id_t pmcid, uint32_t *width)
lib/libpmc/libpmc.c
2021
*width = cpu_info.pm_classes[i].pm_width;
lib/libvgl/bitmap.c
126
for (planepos=0, pos=i; pos<width; planepos++, pos+=4)
lib/libvgl/bitmap.c
136
width = width * dst->PixelBytes;
lib/libvgl/bitmap.c
138
while (width > 0) {
lib/libvgl/bitmap.c
140
i = min(VGLAdpInfo.va_window_size - offset, width);
lib/libvgl/bitmap.c
144
width -= i;
lib/libvgl/bitmap.c
153
bcopy(line, address, width * dst->PixelBytes);
lib/libvgl/bitmap.c
162
VGLBitmap *dst, int dstx, int dsty, int width, int hight)
lib/libvgl/bitmap.c
171
VGLMouseOverlap(dstx, dsty, width, hight));
lib/libvgl/bitmap.c
173
buffer = alloca(width*src->PixelBytes);
lib/libvgl/bitmap.c
179
width=width+srcx; dstx-=srcx; srcx=0;
lib/libvgl/bitmap.c
185
width=width+dstx; srcx-=dstx; dstx=0;
lib/libvgl/bitmap.c
190
if (srcx+width > src->VXsize)
lib/libvgl/bitmap.c
191
width=src->VXsize-srcx;
lib/libvgl/bitmap.c
194
if (dstx+width > dst->VXsize)
lib/libvgl/bitmap.c
195
width=dst->VXsize-dstx;
lib/libvgl/bitmap.c
198
if (width < 0 || hight < 0)
lib/libvgl/bitmap.c
211
if (mousemerge && VGLMouseOverlap(dstx, dstline, width, 1)) {
lib/libvgl/bitmap.c
212
bcopy(p, buffer, width*src->PixelBytes);
lib/libvgl/bitmap.c
214
VGLMouseMerge(dstx, dstline, width, p);
lib/libvgl/bitmap.c
216
WriteVerticalLine(dst, dstx, dstline, width, p);
lib/libvgl/bitmap.c
223
VGLBitmap *dst, int dstx, int dsty, int width, int hight)
lib/libvgl/bitmap.c
235
__VGLBitmapCopy(src, srcx, srcy, &VGLVDisplay, dstx, dsty, width, hight);
lib/libvgl/bitmap.c
237
width, hight);
lib/libvgl/bitmap.c
245
error = __VGLBitmapCopy(src, srcx, srcy, dst, dstx, dsty, width, -hight);
lib/libvgl/bitmap.c
45
WriteVerticalLine(VGLBitmap *dst, int x, int y, int width, byte *line)
lib/libvgl/bitmap.c
57
end_offset = (x + width) & 0x07;
lib/libvgl/bitmap.c
58
bwidth = (width + start_offset) / 8;
lib/libvgl/bitmap.c
68
while (pos < width) {
lib/libvgl/bitmap.c
70
while (pos < last && pos < width)
lib/libvgl/mouse.c
379
VGLMouseOverlap(int x, int y, int width, int hight)
lib/libvgl/mouse.c
388
overlap = (x + width) - VGLMouseXpos;
lib/libvgl/mouse.c
399
VGLMouseMerge(int x, int y, int width, byte *line)
lib/libvgl/mouse.c
406
xend = x + width;
lib/libvgl/vgl.h
108
int __VGLBitmapCopy(VGLBitmap *src, int srcx, int srcy, VGLBitmap *dst, int dstx, int dsty, int width, int hight);
lib/libvgl/vgl.h
109
int VGLBitmapCopy(VGLBitmap *src, int srcx, int srcy, VGLBitmap *dst, int dstx, int dsty, int width, int hight);
lib/libvgl/vgl.h
135
void VGLMouseMerge(int x, int y, int width, byte *line);
lib/libvgl/vgl.h
136
int VGLMouseOverlap(int x, int y, int width, int hight);
libexec/rtld-elf/rtld_printf.c
130
int base, lflag, qflag, tmp, width, ladjust, sharpflag, dot;
libexec/rtld-elf/rtld_printf.c
146
width = 0;
libexec/rtld-elf/rtld_printf.c
174
width = va_arg(ap, int);
libexec/rtld-elf/rtld_printf.c
175
if (width < 0) {
libexec/rtld-elf/rtld_printf.c
177
width = -width;
libexec/rtld-elf/rtld_printf.c
200
width = n;
libexec/rtld-elf/rtld_printf.c
231
if (!width)
libexec/rtld-elf/rtld_printf.c
232
width = 16;
libexec/rtld-elf/rtld_printf.c
233
while(width--) {
libexec/rtld-elf/rtld_printf.c
237
if (width)
libexec/rtld-elf/rtld_printf.c
284
sharpflag = (width == 0);
libexec/rtld-elf/rtld_printf.c
308
width -= n;
libexec/rtld-elf/rtld_printf.c
310
if (!ladjust && width > 0)
libexec/rtld-elf/rtld_printf.c
311
while (width--)
libexec/rtld-elf/rtld_printf.c
315
if (ladjust && width > 0)
libexec/rtld-elf/rtld_printf.c
316
while (width--)
libexec/rtld-elf/rtld_printf.c
389
dwidth = width - tmp;
libexec/rtld-elf/rtld_printf.c
390
width -= tmp + imax(dwidth, n);
libexec/rtld-elf/rtld_printf.c
393
while (width-- > 0)
libexec/rtld-elf/rtld_printf.c
412
while (width-- > 0)
sbin/dhclient/dhclient.c
2656
unsigned char width;
sbin/dhclient/dhclient.c
2664
width = data[i++];
sbin/dhclient/dhclient.c
2665
if (width == 0) {
sbin/dhclient/dhclient.c
2668
} else if (width < 9) {
sbin/dhclient/dhclient.c
2671
} else if (width < 17) {
sbin/dhclient/dhclient.c
2675
} else if (width < 25) {
sbin/dhclient/dhclient.c
2680
} else if (width < 33) {
sbin/dhclient/dhclient.c
2687
warning("Incorrect subnet width: %d", width);
sbin/dhclient/dhclient.c
2690
mask = (in_addr_t)(~0) << (32 - width);
sbin/dhclient/dhclient.c
2704
(addr >> (((32 - width)/8)*8)) & 0xFF);
sbin/geom/core/geom.c
699
int max_width, width;
sbin/geom/core/geom.c
701
max_width = width = indent + strlen(gp->lg_name);
sbin/geom/core/geom.c
710
width = compute_tree_width_geom(mesh,
sbin/geom/core/geom.c
712
if (width > max_width)
sbin/geom/core/geom.c
713
max_width = width;
sbin/geom/core/geom.c
727
int max_width, width;
sbin/geom/core/geom.c
729
max_width = width = 0;
sbin/geom/core/geom.c
735
width = compute_tree_width_geom(mesh, gp, 0);
sbin/geom/core/geom.c
736
if (width > max_width)
sbin/geom/core/geom.c
737
max_width = width;
sbin/geom/core/geom.c
745
show_tree_geom(struct gmesh *mesh, struct ggeom *gp, int indent, int width)
sbin/geom/core/geom.c
754
width - indent, width - indent, gp->lg_name,
sbin/geom/core/geom.c
761
width - indent, width - indent, gp->lg_name,
sbin/geom/core/geom.c
772
indent + 2, width);
sbin/geom/core/geom.c
785
int error, width;
sbin/geom/core/geom.c
791
width = compute_tree_width(&mesh);
sbin/geom/core/geom.c
794
width, width, "Geom",
sbin/geom/core/geom.c
802
show_tree_geom(&mesh, gp, 0, width);
sbin/growfs/growfs.c
130
int i, j, width;
sbin/growfs/growfs.c
193
width = charsperline();
sbin/growfs/growfs.c
203
if (i + j >= width) {
sbin/ipfw/ipfw2.c
2842
int width;
sbin/ipfw/ipfw2.c
2855
width = pr_u64(NULL, &d->pcnt, 0);
sbin/ipfw/ipfw2.c
2856
if (width > fo->pcwidth)
sbin/ipfw/ipfw2.c
2857
fo->pcwidth = width;
sbin/ipfw/ipfw2.c
2859
width = pr_u64(NULL, &d->bcnt, 0);
sbin/ipfw/ipfw2.c
2860
if (width > fo->bcwidth)
sbin/ipfw/ipfw2.c
2861
fo->bcwidth = width;
sbin/ipfw/ipfw2.c
2909
int bcwidth, pcwidth, width;
sbin/ipfw/ipfw2.c
2926
width = pr_u64(NULL, &cntr->pcnt, 0);
sbin/ipfw/ipfw2.c
2927
if (width > pcwidth)
sbin/ipfw/ipfw2.c
2928
pcwidth = width;
sbin/ipfw/ipfw2.c
2931
width = pr_u64(NULL, &cntr->bcnt, 0);
sbin/ipfw/ipfw2.c
2932
if (width > bcwidth)
sbin/ipfw/ipfw2.c
2933
bcwidth = width;
sbin/ipfw/ipfw2.c
563
pr_u64(struct buf_pr *b, void *pd, int width)
sbin/ipfw/ipfw2.c
575
return (width > 0) ?
sbin/ipfw/ipfw2.c
576
bprintf(b, "%*" U64_FMT " ", width, d) :
sbin/ipfw/ipfw2.h
348
int pr_u64(struct buf_pr *bp, void *pd, int width);
sbin/newfs/mkfs.c
119
int width;
sbin/newfs/mkfs.c
585
width = charsperline();
sbin/newfs/mkfs.c
605
if (i + j >= width) {
sbin/restore/interactive.c
634
int width, bigino, haveprefix, havepostfix;
sbin/restore/interactive.c
637
width = 0;
sbin/restore/interactive.c
645
if (width < fp->len)
sbin/restore/interactive.c
646
width = fp->len;
sbin/restore/interactive.c
653
width++;
sbin/restore/interactive.c
655
width++;
sbin/restore/interactive.c
659
width += precision + 1;
sbin/restore/interactive.c
661
width++;
sbin/restore/interactive.c
662
columns = 81 / width;
sbin/restore/interactive.c
687
for (w = fp->len; w < width; w++)
stand/common/gfx_fb.c
1002
o = y * width * bpp + x * bpp;
stand/common/gfx_fb.c
1017
unsigned x, y, width, height;
stand/common/gfx_fb.c
1019
width = state->tg_font.vf_width;
stand/common/gfx_fb.c
1021
x = state->tg_origin.tp_col + p->tp_col * width;
stand/common/gfx_fb.c
1024
gfx_fb_cons_display(x, y, width, height, state->tg_glyph);
stand/common/gfx_fb.c
1193
uint32_t sx, sy, dx, dy, width, height;
stand/common/gfx_fb.c
1197
width = state->tg_font.vf_width;
stand/common/gfx_fb.c
1200
sx = s->tr_begin.tp_col * width;
stand/common/gfx_fb.c
1202
dx = d->tp_col * width;
stand/common/gfx_fb.c
1205
width *= (s->tr_end.tp_col - s->tr_begin.tp_col + 1);
stand/common/gfx_fb.c
1216
width, height, 0);
stand/common/gfx_fb.c
1227
bytes = width * sizeof (*state->tg_shadow_fb);
stand/common/gfx_fb.c
1245
dy + state->tg_origin.tp_row, width, 1, 0);
stand/common/gfx_fb.c
1410
allocate_glyphbuffer(uint32_t width, uint32_t height)
stand/common/gfx_fb.c
1414
size = sizeof (*GlyphBuffer) * width * height;
stand/common/gfx_fb.c
1426
gfx_fb_cons_display(uint32_t x, uint32_t y, uint32_t width, uint32_t height,
stand/common/gfx_fb.c
1449
bitmap_cpy(buf, &p[sy * width], width);
stand/common/gfx_fb.c
1451
0, 0, x, y, width, 1, 0);
stand/common/gfx_fb.c
1462
(void) allocate_glyphbuffer(width, height);
stand/common/gfx_fb.c
1464
size = width * height * sizeof(*buf);
stand/common/gfx_fb.c
1473
width, height, 0) == 0) {
stand/common/gfx_fb.c
1474
bitmap_cpy(buf, data, width * height);
stand/common/gfx_fb.c
1476
width, height, 0);
stand/common/gfx_fb.c
1575
int err, e2, x2, y2, ed, width;
stand/common/gfx_fb.c
1580
width = wd;
stand/common/gfx_fb.c
1595
while (e2 < ed * width &&
stand/common/gfx_fb.c
1609
while (e2 < ed * width &&
stand/common/gfx_fb.c
1630
int sx, sy, xx, yy, xy, width;
stand/common/gfx_fb.c
1637
width = wd;
stand/common/gfx_fb.c
1673
for (i = 0; i <= width; i++)
stand/common/gfx_fb.c
1692
gfx_fb_line(x0, y0, x2, y2, width);
stand/common/gfx_fb.c
1703
int width, i;
stand/common/gfx_fb.c
1712
width = vf_width / 4; /* line width */
stand/common/gfx_fb.c
1713
xshift = (vf_width - width) / 2;
stand/common/gfx_fb.c
1714
yshift = (vf_height - width) / 2;
stand/common/gfx_fb.c
1738
gfx_fb_drawrect(x1, y1, x2, y1 + width, 1);
stand/common/gfx_fb.c
1740
y2 += vf_height - yshift - width;
stand/common/gfx_fb.c
1741
gfx_fb_drawrect(x1, y2, x2, y2 + width, 1);
stand/common/gfx_fb.c
1750
gfx_fb_drawrect(x1, y1, x1 + width, y2, 1);
stand/common/gfx_fb.c
1752
x1 += vf_width - xshift - width;
stand/common/gfx_fb.c
1753
gfx_fb_drawrect(x1, y1, x1 + width, y2, 1);
stand/common/gfx_fb.c
1763
for (i = 0; i <= width; i++)
stand/common/gfx_fb.c
1764
gfx_fb_bezier(x1 + i, y1, x1 + i, y2 + i, x2, y2 + i, width-i);
stand/common/gfx_fb.c
1773
for (i = 0; i <= width; i++)
stand/common/gfx_fb.c
1774
gfx_fb_bezier(x1, y1 - i, x2 + i, y1 - i, x2 + i, y2, width-i);
stand/common/gfx_fb.c
1780
x2 += vf_width - xshift - width;
stand/common/gfx_fb.c
1783
for (i = 0; i <= width; i++)
stand/common/gfx_fb.c
1784
gfx_fb_bezier(x1, y1 + i, x2 + i, y1 + i, x2 + i, y2, width-i);
stand/common/gfx_fb.c
1791
x2 += vf_width - xshift - width;
stand/common/gfx_fb.c
1793
for (i = 0; i <= width; i++)
stand/common/gfx_fb.c
1794
gfx_fb_bezier(x1, y1 - i, x2 + i, y1 - i, x2 + i, y2, width-i);
stand/common/gfx_fb.c
1835
if (png->width > UINT16_MAX || png->height > UINT16_MAX) {
stand/common/gfx_fb.c
1841
if (png->width < 1 || png->height < 1) {
stand/common/gfx_fb.c
1854
ux2 = ux1 + png->width;
stand/common/gfx_fb.c
1859
ux2 = ux1 + (png->width * (uy2 - uy1)) / png->height;
stand/common/gfx_fb.c
1862
uy2 = uy1 + (png->height * (ux2 - ux1)) / png->width;
stand/common/gfx_fb.c
1879
if (fwidth == png->width && fheight == png->height)
stand/common/gfx_fb.c
1914
png->width, png->height, fwidth, fheight, ux1, uy1);
stand/common/gfx_fb.c
1943
#define GETPIXEL(xx, yy) (((yy) * png->width + (xx)) * png->bpp)
stand/common/gfx_fb.c
1951
const uint32_t wcstep = ((png->width - 1) << 16) / (fwidth - 1);
stand/common/gfx_fb.c
2125
teken_unit_t width)
stand/common/gfx_fb.c
2153
width / font->vfbd_width < cols)
stand/common/gfx_fb.c
2183
unsigned width = w;
stand/common/gfx_fb.c
2206
*cols = width / font->vfbd_width;
stand/common/gfx_fb.c
2218
*cols * font->vfbd_width <= width) ||
stand/common/gfx_fb.c
2220
width >= VT_FB_MAX_WIDTH &&
stand/common/gfx_fb.c
2233
*cols = width / font->vfbd_width;
stand/common/gfx_fb.c
2253
*cols = width / font->vfbd_width;
stand/common/gfx_fb.c
2270
setup_font(teken_gfx_t *state, teken_unit_t height, teken_unit_t width)
stand/common/gfx_fb.c
2284
font_data = set_font(&tp->tp_row, &tp->tp_col, height, width);
stand/common/gfx_fb.c
2952
rp->width = GET_EDID_INFO_WIDTH(edid, i);
stand/common/gfx_fb.c
2954
if (rp->width > 0 && rp->width <= EDID_MAX_PIXELS &&
stand/common/gfx_fb.c
2973
rp->width = HSIZE(edid->standard_timings[i]);
stand/common/gfx_fb.c
2998
if (p->width * p->height < rp->width * rp->height) {
stand/common/gfx_fb.c
3134
si.si_width = png.width;
stand/common/gfx_fb.c
962
uint32_t width, height;
stand/common/gfx_fb.c
968
width = state->tg_font.vf_width;
stand/common/gfx_fb.c
970
bpl = (width + 7) / 8; /* Bytes per source line. */
stand/common/gfx_fb.c
999
for (uint32_t x = 0; x < width; x++) {
stand/common/gfx_fb.h
141
uint32_t width;
stand/efi/loader/arch/amd64/multiboot2.h
158
multiboot_uint32_t width;
stand/efi/loader/framebuffer.c
66
unsigned int width;
stand/efi/loader/framebuffer.c
71
.width = 640,
stand/efi/loader/framebuffer.c
736
efi_get_max_resolution(int *width, int *height)
stand/efi/loader/framebuffer.c
743
*width = *height = 0;
stand/efi/loader/framebuffer.c
752
*width = res->width;
stand/efi/loader/framebuffer.c
76
.width = 1280,
stand/efi/loader/framebuffer.c
769
*width = (int)strtol(width_start, NULL, 0);
stand/efi/loader/framebuffer.c
782
int height, max_height, max_width, width;
stand/efi/loader/framebuffer.c
791
width = info->HorizontalResolution;
stand/efi/loader/framebuffer.c
793
currdim = width * height;
stand/efi/loader/framebuffer.c
795
if ((max_width != 0 && width > max_width) ||
stand/efi/loader/framebuffer.c
81
.width = 1920,
stand/efi/loader/framebuffer.c
86
.width = 2560,
stand/efi/loader/framebuffer.c
92
.width = 3840,
stand/efi/loader/framebuffer.c
948
printf(" %dx%d", rp->width, rp->height);
stand/efi/loader/framebuffer.c
97
.width = 5120,
stand/ficl/gfx_loader.c
184
FICL_UNS x0, y0, x1, y1, x2, y2, width;
stand/ficl/gfx_loader.c
190
width = stackPopUNS(pVM->pStack);
stand/ficl/gfx_loader.c
197
gfx_fb_bezier(x0, y0, x1, y1, x2, y2, width);
stand/i386/libi386/biospci.c
363
biospci_write_config(uint32_t locator, int offset, int width, uint32_t val)
stand/i386/libi386/biospci.c
367
v86.eax = WRITE_CONFIG_BYTE + width;
stand/i386/libi386/biospci.c
381
biospci_read_config(uint32_t locator, int offset, int width, uint32_t *val)
stand/i386/libi386/biospci.c
385
v86.eax = READ_CONFIG_BYTE + width;
stand/i386/libi386/libi386.h
135
int biospci_read_config(uint32_t locator, int offset, int width, uint32_t *val);
stand/i386/libi386/libi386.h
137
int biospci_write_config(uint32_t locator, int offset, int width, uint32_t val);
stand/i386/libi386/multiboot.h
120
multiboot_uint32_t width;
stand/i386/libi386/vbe.c
1126
uint32_t width, height;
stand/i386/libi386/vbe.c
1129
vbe_get_max_resolution(&width, &height);
stand/i386/libi386/vbe.c
1130
if (width != 0 && height != 0)
stand/i386/libi386/vbe.c
1131
modenum = vbe_find_mode_xydm(width, height, -1, -1);
stand/i386/libi386/vbe.c
1138
rp->width, rp->height, -1, -1);
stand/i386/libi386/vbe.c
1146
vbe_get_flatpanel(&width, &height)) {
stand/i386/libi386/vbe.c
1147
modenum = vbe_find_mode_xydm(width, height, -1, -1);
stand/i386/libi386/vbe.c
116
vbe_get_max_resolution(int *width, int *height)
stand/i386/libi386/vbe.c
123
*width = *height = 0;
stand/i386/libi386/vbe.c
132
*width = res->width;
stand/i386/libi386/vbe.c
149
*width = (int)strtol(width_start, NULL, 0);
stand/i386/libi386/vbe.c
68
unsigned int width;
stand/i386/libi386/vbe.c
73
.width = 640,
stand/i386/libi386/vbe.c
78
.width = 1280,
stand/i386/libi386/vbe.c
83
.width = 1920,
stand/i386/libi386/vbe.c
88
.width = 2560,
stand/i386/libi386/vbe.c
94
.width = 3840,
stand/i386/libi386/vbe.c
960
uint32_t width, height;
stand/i386/libi386/vbe.c
981
printf(" %dx%d", rp->width, rp->height);
stand/i386/libi386/vbe.c
99
.width = 5120,
stand/i386/libi386/vbe.c
991
if (vbe_get_flatpanel(&width, &height))
stand/i386/libi386/vbe.c
992
printf(": Panel %dx%d\n", width, height);
stand/liblua/gfx_utils.c
164
uint32_t x0, y0, x1, y1, x2, y2, width;
stand/liblua/gfx_utils.c
179
width = luaL_checknumber(L, 7);
stand/liblua/gfx_utils.c
180
gfx_fb_bezier(x0, y0, x1, y1, x2, y2, width);
stand/libsa/printf.c
258
int base, lflag, qflag, tmp, width, ladjust, sharpflag, neg, sign, dot;
stand/libsa/printf.c
279
width = 0;
stand/libsa/printf.c
309
width = va_arg(ap, int);
stand/libsa/printf.c
310
if (width < 0) {
stand/libsa/printf.c
312
width = -width;
stand/libsa/printf.c
334
width = n;
stand/libsa/printf.c
365
if (!width)
stand/libsa/printf.c
366
width = 16;
stand/libsa/printf.c
367
while(width--) {
stand/libsa/printf.c
371
if (width)
stand/libsa/printf.c
419
sharpflag = (width == 0);
stand/libsa/printf.c
441
width -= n;
stand/libsa/printf.c
443
if (!ladjust && width > 0)
stand/libsa/printf.c
444
while (width--)
stand/libsa/printf.c
448
if (ladjust && width > 0)
stand/libsa/printf.c
449
while (width--)
stand/libsa/printf.c
527
dwidth = width - tmp;
stand/libsa/printf.c
528
width -= tmp + imax(dwidth, n);
stand/libsa/printf.c
531
while (width-- > 0)
stand/libsa/printf.c
550
while (width-- > 0)
sys/amd64/vmm/x86.c
155
width = MIN(0xF, log2(threads * cores));
sys/amd64/vmm/x86.c
157
regs[2] = (width << AMDID_COREID_SIZE_SHIFT) | logical_cpus;
sys/amd64/vmm/x86.c
504
width = log2(logical_cpus);
sys/amd64/vmm/x86.c
511
width = log2(logical_cpus);
sys/amd64/vmm/x86.c
517
width = 0;
sys/amd64/vmm/x86.c
523
regs[0] = width & 0x1f;
sys/amd64/vmm/x86.c
85
width, x2apic_id;
sys/arm/broadcom/bcm2835/bcm2835_dma.c
427
bcm_dma_setup_src(int ch, int dreq, int inc_addr, int width)
sys/arm/broadcom/bcm2835/bcm2835_dma.c
447
if (width == BCM_DMA_128BIT)
sys/arm/broadcom/bcm2835/bcm2835_dma.c
477
bcm_dma_setup_dst(int ch, int dreq, int inc_addr, int width)
sys/arm/broadcom/bcm2835/bcm2835_dma.c
497
if (width == BCM_DMA_128BIT)
sys/arm/broadcom/bcm2835/bcm2835_dma.h
59
int bcm_dma_setup_src(int ch, int dreq, int inc_addr, int width);
sys/arm/broadcom/bcm2835/bcm2835_dma.h
60
int bcm_dma_setup_dst(int ch, int dreq, int inc_addr, int width);
sys/arm/broadcom/bcm2835/bcm2835_fb.c
169
sc->width = fb.xres;
sys/arm/broadcom/bcm2835/bcm2835_fb.c
424
sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2;
sys/arm/broadcom/bcm2835/bcm2835_fb.c
440
sc->width = 0;
sys/arm/broadcom/bcm2835/bcm2835_fb.c
458
sc->width = (unsigned int)strtol(v, NULL, 0);
sys/arm/broadcom/bcm2835/bcm2835_fb.c
472
if (sc->width == 0) {
sys/arm/broadcom/bcm2835/bcm2835_fb.c
475
sc->width = cell;
sys/arm/broadcom/bcm2835/bcm2835_fb.c
485
if (sc->width == 0)
sys/arm/broadcom/bcm2835/bcm2835_fb.c
486
sc->width = FB_WIDTH;
sys/arm/broadcom/bcm2835/bcm2835_fb.c
517
vi->vi_width = sc->width / vi->vi_cwidth;
sys/arm/broadcom/bcm2835/bcm2835_fb.c
528
sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2;
sys/arm/broadcom/bcm2835/bcm2835_fb.c
559
bcmfb_save_font(video_adapter_t *adp, int page, int size, int width,
sys/arm/broadcom/bcm2835/bcm2835_fb.c
566
bcmfb_load_font(video_adapter_t *adp, int page, int size, int width,
sys/arm/broadcom/bcm2835/bcm2835_fb.c
686
fb->fb_width = sc->width;
sys/arm/broadcom/bcm2835/bcm2835_fb.c
843
uint32_t pixel_mask, int size, int width)
sys/arm/broadcom/bcm2835/bcm2835_fb.c
99
unsigned int width;
sys/arm/broadcom/bcm2835/bcm2835_mbox.c
521
fb->xres = msg.physical_w_h.body.resp.width;
sys/arm/broadcom/bcm2835/bcm2835_mbox.c
558
msg.physical_w_h.body.req.width = fb->xres;
sys/arm/broadcom/bcm2835/bcm2835_mbox.c
561
msg.virtual_w_h.body.req.width = fb->vxres;
sys/arm/broadcom/bcm2835/bcm2835_mbox.c
577
fb->xres = msg.physical_w_h.body.resp.width;
sys/arm/broadcom/bcm2835/bcm2835_mbox.c
579
fb->vxres = msg.virtual_w_h.body.resp.width;
sys/arm/broadcom/bcm2835/bcm2835_mbox_prop.h
300
uint32_t width;
sys/arm/broadcom/bcm2835/bcm2835_mbox_prop.h
304
uint32_t width;
sys/arm/broadcom/bcm2835/bcm2835_sdhci.c
578
int err __diagused, idx, len, sync_op, width;
sys/arm/broadcom/bcm2835/bcm2835_sdhci.c
585
width = (len & 0xf ? BCM_DMA_32BIT : BCM_DMA_128BIT);
sys/arm/broadcom/bcm2835/bcm2835_sdhci.c
595
BCM_DMA_INC_ADDR, width);
sys/arm/broadcom/bcm2835/bcm2835_sdhci.c
605
BCM_DMA_INC_ADDR, width);
sys/arm/freescale/imx/imx_iomux.c
121
u_int select, mask, shift, width;
sys/arm/freescale/imx/imx_iomux.c
136
width = (val & 0x0000ff00) >> 8;
sys/arm/freescale/imx/imx_iomux.c
138
mask = ((1u << width) - 1) << shift;
sys/arm/freescale/vybrid/vf_dcu4.c
176
uint32_t width;
sys/arm/freescale/vybrid/vf_dcu4.c
248
panel->width = dts_value[0];
sys/arm/freescale/vybrid/vf_dcu4.c
410
sc->sc_info.fb_width = panel.width;
sys/arm/include/bus.h
744
#define BUS_PEEK_FUNC(width, type) \
sys/arm/include/bus.h
746
bus_space_peek_##width(bus_space_tag_t tag, \
sys/arm/include/bus.h
750
tmp = bus_space_read_##width(tag, hnd, offset); \
sys/arm/include/bus.h
759
#define BUS_POKE_FUNC(width, type) \
sys/arm/include/bus.h
761
bus_space_poke_##width(bus_space_tag_t tag, \
sys/arm/include/bus.h
764
bus_space_write_##width(tag, hnd, offset, value); \
sys/arm/mv/clk/periph.h
111
.clk_def.full_d.tbg_mux.width = 0x2, \
sys/arm/mv/clk/periph.h
124
.clk_def.full_d.clk_mux.width = 0x1, \
sys/arm/mv/clk/periph.h
144
.clk_def.cpu.tbg_mux.width = 0x2, \
sys/arm/mv/clk/periph.h
157
.clk_def.cpu.clk_mux.width = 0x1, \
sys/arm/mv/clk/periph.h
187
.clk_def.mdd.tbg_mux.width = 0x2, \
sys/arm/mv/clk/periph.h
208
.clk_def.mdd.clk_mux.width = 0x1, \
sys/arm/mv/clk/periph.h
222
.clk_def.mux_gate.mux.width = 0x1, \
sys/arm/mv/clk/periph.h
243
.clk_def.mux_gate_fixed.mux.width = 0x1, \
sys/arm/mv/clk/periph.h
265
.clk_def.fixed.mux.width = 0x1, \
sys/arm/mv/clk/periph.h
69
.clk_def.full_dd.tbg_mux.width = 0x2, \
sys/arm/mv/clk/periph.h
90
.clk_def.full_dd.clk_mux.width = 0x1, \
sys/arm/mv/mv_pci.c
737
int reg, width;
sys/arm/mv/mv_pci.c
751
width = ((bar & 7) == 4) ? 2 : 1;
sys/arm/mv/mv_pci.c
762
if (width == 2)
sys/arm/mv/mv_pci.c
766
return (width);
sys/arm/nvidia/drm2/tegra_bo.c
270
args->pitch= (args->width * args->bpp + 7) / 8;
sys/arm/nvidia/drm2/tegra_dc.c
1025
for (i = 0; i < width * height; i++)
sys/arm/nvidia/drm2/tegra_dc.c
618
win.src_w = fb->drm_fb.width;
sys/arm/nvidia/drm2/tegra_dc.c
622
win.dst_w = fb->drm_fb.width;
sys/arm/nvidia/drm2/tegra_dc.c
969
uint32_t handle, uint32_t width, uint32_t height)
sys/arm/nvidia/drm2/tegra_dc.c
982
if (width != height)
sys/arm/nvidia/drm2/tegra_dc.c
985
switch (width) {
sys/arm/nvidia/drm2/tegra_fb.c
140
mode_cmd.width = sizes->surface_width;
sys/arm/nvidia/drm2/tegra_fb.c
177
drm_fb_helper_fill_var(info, helper, fb->drm_fb.width,
sys/arm/nvidia/drm2/tegra_fb.c
181
fb->drm_fb.width, fb->drm_fb.height, fb->drm_fb.depth,
sys/arm/nvidia/drm2/tegra_fb.c
271
int width, height, size, bpp;
sys/arm/nvidia/drm2/tegra_fb.c
282
width = cmd->width;
sys/arm/nvidia/drm2/tegra_fb.c
285
width /= hsub;
sys/arm/nvidia/drm2/tegra_fb.c
296
width * bpp + cmd->offsets[i];
sys/arm/nvidia/tegra124/tegra124_car.c
73
.width = w, \
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
473
get_masked(uint32_t val, uint32_t shift, uint32_t width)
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
476
return ((val >> shift) & ((1 << width) - 1));
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
480
set_masked(uint32_t val, uint32_t v, uint32_t shift, uint32_t width)
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
483
val &= ~(((1 << width) - 1) << shift);
sys/arm/nvidia/tegra124/tegra124_clk_pll.c
484
val |= (v & ((1 << width) - 1)) << shift;
sys/arm/ti/am335x/am335x_lcd.c
620
uint32_t width, height;
sys/arm/ti/am335x/am335x_lcd.c
701
width = sc->sc_panel.panel_width - 1;
sys/arm/ti/am335x/am335x_lcd.c
719
timing0 |= ((width >> 10) & 1)
sys/arm/ti/am335x/am335x_lcd.c
721
timing0 |= ((width >> 4) & 0x3f)
sys/arm/ti/am335x/am335x_lcd_syscons.c
342
sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2;
sys/arm/ti/am335x/am335x_lcd_syscons.c
374
va_sc->width = 0;
sys/arm/ti/am335x/am335x_lcd_syscons.c
387
va_sc->width = cell;
sys/arm/ti/am335x/am335x_lcd_syscons.c
394
if (va_sc->width == 0)
sys/arm/ti/am335x/am335x_lcd_syscons.c
395
va_sc->width = FB_WIDTH;
sys/arm/ti/am335x/am335x_lcd_syscons.c
428
vi->vi_width = sc->width/8;
sys/arm/ti/am335x/am335x_lcd_syscons.c
439
sc->xmargin = (sc->width - (vi->vi_width * vi->vi_cwidth)) / 2;
sys/arm/ti/am335x/am335x_lcd_syscons.c
470
am335x_syscons_save_font(video_adapter_t *adp, int page, int size, int width,
sys/arm/ti/am335x/am335x_lcd_syscons.c
477
am335x_syscons_load_font(video_adapter_t *adp, int page, int size, int width,
sys/arm/ti/am335x/am335x_lcd_syscons.c
596
fb->fb_width = sc->width;
sys/arm/ti/am335x/am335x_lcd_syscons.c
68
unsigned int width;
sys/arm/ti/am335x/am335x_lcd_syscons.c
745
uint32_t pixel_mask, int size, int width)
sys/arm/ti/am335x/am335x_lcd_syscons.c
762
va_sc->width = panel->panel_width;
sys/arm/ti/am335x/am335x_lcd_syscons.c
764
va_sc->fb_size = va_sc->width * va_sc->height
sys/arm/ti/clk/ti_clk_dpll.c
312
sc->n.width = clkdef->ti_clksel_mult.width;
sys/arm/ti/clk/ti_clk_dpll.c
320
sc->p.width = clkdef->ti_clksel_div.width;
sys/arm/ti/clk/ti_clk_dpll.c
87
max = (1 << factor->width);
sys/arm/ti/clk/ti_clk_dpll.h
68
uint32_t width; /* Number of bits for the factor */
sys/arm/ti/clk/ti_dpll_clock.c
213
sc->dpll_def.ti_clksel_mult.width = 12;
sys/arm/ti/clk/ti_dpll_clock.c
223
sc->dpll_def.ti_clksel_div.width = 8;
sys/arm/ti/clk/ti_dpll_clock.c
232
sc->dpll_def.ti_clksel_mult.width = 11;
sys/arm/ti/clk/ti_dpll_clock.c
242
sc->dpll_def.ti_clksel_div.width = 7;
sys/arm/ti/clk/ti_mux_clock.c
158
sc->mux_def.width = fls(sc->clock_cell.num_real_clocks-1);
sys/arm/ti/clk/ti_mux_clock.c
160
sc->mux_def.width = fls(sc->clock_cell.num_real_clocks);
sys/arm/ti/clk/ti_mux_clock.c
163
sc->clock_cell.num_real_clocks, sc->mux_def.width);
sys/arm64/arm64/identcpu.c
2491
mrs_field_cmp(uint64_t a, uint64_t b, u_int shift, int width, bool sign)
sys/arm64/arm64/identcpu.c
2495
KASSERT(width > 0 && width < 64, ("%s: Invalid width %d", __func__,
sys/arm64/arm64/identcpu.c
2496
width));
sys/arm64/arm64/identcpu.c
2498
mask = (1ul << width) - 1;
sys/arm64/arm64/identcpu.c
2510
a ^= 1ul << (width - 1);
sys/arm64/arm64/identcpu.c
2511
b ^= 1ul << (width - 1);
sys/arm64/arm64/identcpu.c
2548
fields[j].type, val, fields[j].width,
sys/arm64/arm64/identcpu.c
2579
u_int width, u_int shift, bool sign)
sys/arm64/arm64/identcpu.c
2583
mask = ((1ul << width) - 1) << shift;
sys/arm64/arm64/identcpu.c
2589
if (mrs_field_cmp(new_val, cur, shift, width, sign) == 0)
sys/arm64/arm64/identcpu.c
2596
if (mrs_field_cmp(new_val, cur, shift, width, sign) < 0)
sys/arm64/arm64/identcpu.c
2606
if (mrs_field_cmp(new_val, cur, shift, width, sign) > 0)
sys/arm64/arm64/identcpu.c
2647
type, f_old, fields[j].width, fields[j].shift,
sys/arm64/arm64/identcpu.c
2655
type, l_old, fields[j].width, fields[j].shift,
sys/arm64/arm64/identcpu.c
2660
fields[j].type, k_old, fields[j].width,
sys/arm64/arm64/identcpu.c
3008
reg &= ~(((1ul << fields[i].width) - 1) << fields[i].shift);
sys/arm64/arm64/identcpu.c
422
u_int width;
sys/arm64/arm64/identcpu.c
431
.width = (_width), \
sys/arm64/arm64/identcpu.c
441
.width = _register ## _ ## _name ## _WIDTH, \
sys/arm64/arm64/identcpu.c
88
uint64_t value, u_int width, u_int shift, bool sign);
sys/arm64/freescale/imx/clk/imx_clk_mux.c
128
sc->mask = (1 << clkdef->width) - 1;
sys/arm64/freescale/imx/clk/imx_clk_mux.h
37
uint32_t width;
sys/arm64/freescale/imx/imx_ccm.h
102
.width = _mw, \
sys/arm64/nvidia/tegra210/tegra210_car.c
74
.width = w, \
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
161
.width = w, \
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
666
get_masked(uint32_t val, uint32_t shift, uint32_t width)
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
669
return ((val >> shift) & ((1 << width) - 1));
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
673
set_masked(uint32_t val, uint32_t v, uint32_t shift, uint32_t width)
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
676
val &= ~(((1 << width) - 1) << shift);
sys/arm64/nvidia/tegra210/tegra210_clk_pll.c
677
val |= (v & ((1 << width) - 1)) << shift;
sys/arm64/qoriq/clk/ls1028a_clkgen.c
118
.width = 4,
sys/arm64/qoriq/clk/ls1028a_clkgen.c
132
.width = 4,
sys/arm64/qoriq/clk/ls1028a_clkgen.c
146
.width = 4,
sys/arm64/qoriq/clk/ls1028a_clkgen.c
160
.width = 4,
sys/arm64/qoriq/clk/ls1028a_clkgen.c
196
.width = 4,
sys/arm64/qoriq/clk/ls1028a_clkgen.c
210
.width = 4,
sys/arm64/qoriq/clk/ls1028a_clkgen.c
224
.width = 4,
sys/arm64/qoriq/clk/ls1028a_clkgen.c
238
.width = 4,
sys/arm64/qoriq/clk/ls1046a_clkgen.c
118
.width = 4,
sys/arm64/qoriq/clk/ls1046a_clkgen.c
153
.width = 4,
sys/arm64/qoriq/clk/ls1046a_clkgen.c
167
.width = 4,
sys/arm64/qoriq/clk/ls1088a_clkgen.c
125
.width = 4,
sys/arm64/qoriq/clk/ls1088a_clkgen.c
139
.width = 4,
sys/arm64/qoriq/clk/ls1088a_clkgen.c
187
.width = 4,
sys/arm64/qoriq/clk/ls1088a_clkgen.c
201
.width = 4,
sys/arm64/qoriq/clk/ls1088a_clkgen.c
215
.width = 4,
sys/arm64/qoriq/clk/lx2160a_clkgen.c
125
.width = 4, \
sys/cam/mmc/mmc_da.c
1095
sdda_set_bus_width(struct cam_periph *periph, union ccb *ccb, int width)
sys/cam/mmc/mmc_da.c
1106
switch (width) {
sys/cam/mmc/mmc_da.c
1117
panic("Invalid bus width %d", width);
sys/cam/mmc/mmc_da.c
1126
cmd.arg = width;
sys/cam/mmc/mmc_da.c
1143
cts->ios.bus_width = width;
sys/cddl/dev/dtrace/dtrace_debug.c
235
int base, lflag, qflag, tmp, width, ladjust, sharpflag, neg, sign, dot;
sys/cddl/dev/dtrace/dtrace_debug.c
249
width = 0;
sys/cddl/dev/dtrace/dtrace_debug.c
279
width = va_arg(ap, int);
sys/cddl/dev/dtrace/dtrace_debug.c
280
if (width < 0) {
sys/cddl/dev/dtrace/dtrace_debug.c
282
width = -width;
sys/cddl/dev/dtrace/dtrace_debug.c
304
width = n;
sys/cddl/dev/dtrace/dtrace_debug.c
335
if (!width)
sys/cddl/dev/dtrace/dtrace_debug.c
336
width = 16;
sys/cddl/dev/dtrace/dtrace_debug.c
337
while(width--) {
sys/cddl/dev/dtrace/dtrace_debug.c
341
if (width)
sys/cddl/dev/dtrace/dtrace_debug.c
389
sharpflag = (width == 0);
sys/cddl/dev/dtrace/dtrace_debug.c
411
width -= n;
sys/cddl/dev/dtrace/dtrace_debug.c
413
if (!ladjust && width > 0)
sys/cddl/dev/dtrace/dtrace_debug.c
414
while (width--)
sys/cddl/dev/dtrace/dtrace_debug.c
418
if (ladjust && width > 0)
sys/cddl/dev/dtrace/dtrace_debug.c
419
while (width--)
sys/cddl/dev/dtrace/dtrace_debug.c
491
if (!ladjust && padc != '0' && width
sys/cddl/dev/dtrace/dtrace_debug.c
492
&& (width -= tmp) > 0)
sys/cddl/dev/dtrace/dtrace_debug.c
493
while (width--)
sys/cddl/dev/dtrace/dtrace_debug.c
505
if (!ladjust && width && (width -= tmp) > 0)
sys/cddl/dev/dtrace/dtrace_debug.c
506
while (width--)
sys/cddl/dev/dtrace/dtrace_debug.c
512
if (ladjust && width && (width -= tmp) > 0)
sys/cddl/dev/dtrace/dtrace_debug.c
513
while (width--)
sys/compat/linux/linux_ioctl.c
2712
vc->width = lvc->width;
sys/compat/linux/linux_ioctl.c
2724
vw->width = lvw->width;
sys/compat/linux/linux_ioctl.c
2740
lvw->width = vw->width;
sys/compat/linux/linux_ioctl.c
2754
vb->width = lvb->width;
sys/compat/linux/linux_ioctl.c
2765
lvb->width = vb->width;
sys/compat/linux/linux_videodev_compat.h
25
int32_t width, height;
sys/compat/linux/linux_videodev_compat.h
32
uint32_t width, height;
sys/compat/linux/linux_videodev_compat.h
42
l_int height, width;
sys/compat/linuxkpi/common/include/linux/font.h
20
unsigned int width;
sys/compat/linuxkpi/common/include/linux/linux_logo.h
12
unsigned int width;
sys/compat/linuxkpi/common/include/linux/pci.h
1116
enum pci_bus_speed *speed, enum pcie_link_width *width)
sys/compat/linuxkpi/common/include/linux/pci.h
1119
*width = PCIE_LNK_WIDTH_UNKNOWN;
sys/compat/linuxkpi/common/include/linux/pci.h
1239
enum pcie_link_width *width)
sys/compat/linuxkpi/common/include/linux/pci.h
1246
if (width)
sys/compat/linuxkpi/common/include/linux/pci.h
1247
*width = nwidth;
sys/compat/linuxkpi/common/include/net/cfg80211.h
1435
nl80211_chan_width_to_mhz(enum nl80211_chan_width width)
sys/compat/linuxkpi/common/include/net/cfg80211.h
1437
switch (width) {
sys/compat/linuxkpi/common/include/net/cfg80211.h
1479
chandef->width = NL80211_CHAN_WIDTH_20_NOHT;
sys/compat/linuxkpi/common/include/net/cfg80211.h
1482
chandef->width = NL80211_CHAN_WIDTH_20;
sys/compat/linuxkpi/common/include/net/cfg80211.h
1485
chandef->width = NL80211_CHAN_WIDTH_40;
sys/compat/linuxkpi/common/include/net/cfg80211.h
1489
chandef->width = NL80211_CHAN_WIDTH_40;
sys/compat/linuxkpi/common/include/net/cfg80211.h
1505
return (nl80211_chan_width_to_mhz(chandef->width));
sys/compat/linuxkpi/common/include/net/cfg80211.h
325
enum nl80211_chan_width width;
sys/compat/linuxkpi/common/src/linux_80211.c
2399
chanctx_conf->def.width = NL80211_CHAN_WIDTH_20_NOHT;
sys/compat/linuxkpi/common/src/linux_80211.c
2409
chanctx_conf->def.width = NL80211_CHAN_WIDTH_40;
sys/compat/linuxkpi/common/src/linux_80211.c
2411
chanctx_conf->def.width = NL80211_CHAN_WIDTH_20;
sys/compat/linuxkpi/common/src/linux_80211.c
2417
chanctx_conf->def.width = NL80211_CHAN_WIDTH_80P80;
sys/compat/linuxkpi/common/src/linux_80211.c
2419
chanctx_conf->def.width = NL80211_CHAN_WIDTH_160;
sys/compat/linuxkpi/common/src/linux_80211.c
2421
chanctx_conf->def.width = NL80211_CHAN_WIDTH_80;
sys/compat/linuxkpi/common/src/linux_80211.c
2428
chanctx_conf->min_def.width = NL80211_CHAN_WIDTH_20_NOHT;
sys/compat/linuxkpi/common/src/linux_80211.c
2431
chanctx_conf->min_def.width = NL80211_CHAN_WIDTH_20;
sys/compat/linuxkpi/common/src/linux_80211.c
2472
vif->bss_conf.chanreq.oper.width = chanctx_conf->def.width;
sys/compat/linuxkpi/common/src/linux_80211.c
3927
vif->bss_conf.chanreq.oper.width = NL80211_CHAN_WIDTH_20_NOHT;
sys/compat/linuxkpi/common/src/linux_80211.c
512
old_bw = lkpi_cw_to_rx_bw(chanctx_conf->def.width);
sys/compat/linuxkpi/common/src/linux_80211.c
516
chanctx_conf->def.width = lkpi_rx_bw_to_cw(sta->deflink.bandwidth);
sys/compat/linuxkpi/common/src/linux_80211.c
517
if (chanctx_conf->def.width == NL80211_CHAN_WIDTH_20 &&
sys/compat/linuxkpi/common/src/linux_80211.c
519
chanctx_conf->def.width = NL80211_CHAN_WIDTH_20_NOHT;
sys/compat/linuxkpi/common/src/linux_80211.c
523
vif->bss_conf.chanreq.oper.width = chanctx_conf->def.width;
sys/compat/linuxkpi/common/src/linux_80211.c
624
uint32_t width;
sys/compat/linuxkpi/common/src/linux_80211.c
647
width = (sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK);
sys/compat/linuxkpi/common/src/linux_80211.c
648
switch (width) {
sys/ddb/db_examine.c
108
width = size * 4;
sys/ddb/db_examine.c
113
db_printf("%+-*lr", width, (long)value);
sys/ddb/db_examine.c
118
db_printf("%-*lx", width, (long)value);
sys/ddb/db_examine.c
123
db_printf("%-*ly", width, (long)value);
sys/ddb/db_examine.c
128
db_printf("%-*ld", width, (long)value);
sys/ddb/db_examine.c
133
db_printf("%-*lu", width, (long)value);
sys/ddb/db_examine.c
138
db_printf("%-*lo", width, (long)value);
sys/ddb/db_examine.c
71
int width;
sys/dev/acpi_support/acpi_wmi.c
141
ACPI_PHYSICAL_ADDRESS address, UINT32 width,
sys/dev/acpi_support/acpi_wmi.c
695
UINT32 width, UINT64 *value, void *context,
sys/dev/acpi_support/acpi_wmi.c
707
if (width % 8 != 0 || value == NULL || context == NULL)
sys/dev/acpi_support/acpi_wmi.c
709
if (address + (width / 8) - 1 > 0xFF)
sys/dev/acpi_support/acpi_wmi.c
718
for (i = 0; i < width; i += 8, ++ec_addr) {
sys/dev/acpica/acpi_cpu.c
109
#define CPU_GET_REG(reg, width) \
sys/dev/acpica/acpi_cpu.c
110
(bus_space_read_ ## width(rman_get_bustag((reg)), \
sys/dev/acpica/acpi_cpu.c
112
#define CPU_SET_REG(reg, width, val) \
sys/dev/acpica/acpi_cpu.c
113
(bus_space_write_ ## width(rman_get_bustag((reg)), \
sys/dev/acpica/acpi_ec.c
238
UINT64 *val, int width);
sys/dev/acpica/acpi_ec.c
240
UINT64 val, int width);
sys/dev/acpica/acpi_ec.c
582
acpi_ec_read_method(device_t dev, u_int addr, UINT64 *val, int width)
sys/dev/acpica/acpi_ec.c
588
status = EcSpaceHandler(ACPI_READ, addr, width * 8, val, sc, NULL);
sys/dev/acpica/acpi_ec.c
595
acpi_ec_write_method(device_t dev, u_int addr, UINT64 val, int width)
sys/dev/acpica/acpi_ec.c
601
status = EcSpaceHandler(ACPI_WRITE, addr, width * 8, &val, sc, NULL);
sys/dev/aic7xxx/aic79xx.c
2887
if (transinfo->width == MSG_EXT_WDTR_BUS_8_BIT) {
sys/dev/aic7xxx/aic79xx.c
2993
*bus_width = MIN(tinfo->user.width, *bus_width);
sys/dev/aic7xxx/aic79xx.c
2995
*bus_width = MIN(tinfo->goal.width, *bus_width);
sys/dev/aic7xxx/aic79xx.c
3021
tinfo->curr.width = AHD_WIDTH_UNKNOWN;
sys/dev/aic7xxx/aic79xx.c
3026
|| tinfo->curr.width != tinfo->goal.width
sys/dev/aic7xxx/aic79xx.c
3031
|| tinfo->goal.width != MSG_EXT_WDTR_BUS_8_BIT
sys/dev/aic7xxx/aic79xx.c
3195
u_int width, u_int type, int paused)
sys/dev/aic7xxx/aic79xx.c
3209
tinfo->user.width = width;
sys/dev/aic7xxx/aic79xx.c
3212
tinfo->goal.width = width;
sys/dev/aic7xxx/aic79xx.c
3214
oldwidth = tinfo->curr.width;
sys/dev/aic7xxx/aic79xx.c
3215
if ((type & AHD_TRANS_CUR) != 0 && oldwidth != width) {
sys/dev/aic7xxx/aic79xx.c
3218
tinfo->curr.width = width;
sys/dev/aic7xxx/aic79xx.c
3224
8 * (0x01 << width));
sys/dev/aic7xxx/aic79xx.c
3344
if (tinfo->width == MSG_EXT_WDTR_BUS_16_BIT)
sys/dev/aic7xxx/aic79xx.c
3701
dowide = tinfo->curr.width != tinfo->goal.width;
sys/dev/aic7xxx/aic79xx.c
3711
dowide = tinfo->goal.width != MSG_EXT_WDTR_BUS_8_BIT;
sys/dev/aic7xxx/aic79xx.c
3745
doppr ? tinfo->goal.width
sys/dev/aic7xxx/aic79xx.c
3746
: tinfo->curr.width,
sys/dev/aic7xxx/aic79xx.c
3750
tinfo->goal.width, ppr_options);
sys/dev/aic7xxx/aic79xx.c
3755
ahd_construct_wdtr(ahd, devinfo, tinfo->goal.width);
sys/dev/aic7xxx/aic79xx.c
4332
tinfo->curr.width, devinfo->role);
sys/dev/aic7xxx/aic79xx.c
6851
tinfo->user.width = MSG_EXT_WDTR_BUS_16_BIT;
sys/dev/aic7xxx/aic79xx.c
6958
user_tinfo->width = MSG_EXT_WDTR_BUS_16_BIT;
sys/dev/aic7xxx/aic79xx.c
6960
user_tinfo->width = MSG_EXT_WDTR_BUS_8_BIT;
sys/dev/aic7xxx/aic79xx.c
6963
printf("(%d): %x:%x:%x:%x\n", targ, user_tinfo->width,
sys/dev/aic7xxx/aic79xx.h
1520
u_int width, u_int type, int paused);
sys/dev/aic7xxx/aic79xx.h
769
uint8_t width; /* Bus width */
sys/dev/aic7xxx/aic79xx_osm.c
1031
&& (tinfo->goal.width != 0
sys/dev/aic7xxx/aic79xx_osm.c
892
spi->bus_width = tinfo->width;
sys/dev/aic7xxx/aic7xxx.c
1675
if (transinfo->width == MSG_EXT_WDTR_BUS_8_BIT) {
sys/dev/aic7xxx/aic7xxx.c
1838
*bus_width = MIN(tinfo->user.width, *bus_width);
sys/dev/aic7xxx/aic7xxx.c
1840
*bus_width = MIN(tinfo->goal.width, *bus_width);
sys/dev/aic7xxx/aic7xxx.c
1866
tinfo->curr.width = AHC_WIDTH_UNKNOWN;
sys/dev/aic7xxx/aic7xxx.c
1871
|| tinfo->curr.width != tinfo->goal.width
sys/dev/aic7xxx/aic7xxx.c
1876
|| tinfo->goal.width != MSG_EXT_WDTR_BUS_8_BIT
sys/dev/aic7xxx/aic7xxx.c
2020
u_int width, u_int type, int paused)
sys/dev/aic7xxx/aic7xxx.c
2034
tinfo->user.width = width;
sys/dev/aic7xxx/aic7xxx.c
2037
tinfo->goal.width = width;
sys/dev/aic7xxx/aic7xxx.c
2039
oldwidth = tinfo->curr.width;
sys/dev/aic7xxx/aic7xxx.c
2040
if ((type & AHC_TRANS_CUR) != 0 && oldwidth != width) {
sys/dev/aic7xxx/aic7xxx.c
2046
if (width == MSG_EXT_WDTR_BUS_16_BIT)
sys/dev/aic7xxx/aic7xxx.c
2054
tinfo->curr.width = width;
sys/dev/aic7xxx/aic7xxx.c
2061
8 * (0x01 << width));
sys/dev/aic7xxx/aic7xxx.c
2391
dowide = tinfo->curr.width != tinfo->goal.width;
sys/dev/aic7xxx/aic7xxx.c
2401
dowide = tinfo->goal.width != MSG_EXT_WDTR_BUS_8_BIT;
sys/dev/aic7xxx/aic7xxx.c
2436
doppr ? tinfo->goal.width
sys/dev/aic7xxx/aic7xxx.c
2437
: tinfo->curr.width,
sys/dev/aic7xxx/aic7xxx.c
2441
tinfo->goal.width, ppr_options);
sys/dev/aic7xxx/aic7xxx.c
2446
ahc_construct_wdtr(ahc, devinfo, tinfo->goal.width);
sys/dev/aic7xxx/aic7xxx.c
5031
tinfo->user.width = MSG_EXT_WDTR_BUS_16_BIT;
sys/dev/aic7xxx/aic7xxx.c
5097
tinfo->user.width = MSG_EXT_WDTR_BUS_16_BIT;
sys/dev/aic7xxx/aic7xxx.h
1310
u_int width, u_int type, int paused);
sys/dev/aic7xxx/aic7xxx.h
716
uint8_t width; /* Bus width */
sys/dev/aic7xxx/aic7xxx_osm.c
1067
&& (tinfo->goal.width != 0
sys/dev/aic7xxx/aic7xxx_osm.c
873
spi->bus_width = tinfo->width;
sys/dev/aic7xxx/aic_osm_lib.h
348
int reg, int width);
sys/dev/aic7xxx/aic_osm_lib.h
351
int width);
sys/dev/aic7xxx/aic_osm_lib.h
357
aic_pci_read_config(aic_dev_softc_t pci, int reg, int width)
sys/dev/aic7xxx/aic_osm_lib.h
359
return (pci_read_config(pci, reg, width));
sys/dev/aic7xxx/aic_osm_lib.h
363
aic_pci_write_config(aic_dev_softc_t pci, int reg, uint32_t value, int width)
sys/dev/aic7xxx/aic_osm_lib.h
365
pci_write_config(pci, reg, value, width);
sys/dev/ata/ata-pci.c
204
ata_pci_read_config(device_t dev, device_t child, int reg, int width)
sys/dev/ata/ata-pci.c
207
return (pci_read_config(dev, reg, width));
sys/dev/ata/ata-pci.c
212
uint32_t val, int width)
sys/dev/ata/ata-pci.c
215
pci_write_config(dev, reg, val, width);
sys/dev/ata/ata-pci.h
535
uint32_t ata_pci_read_config(device_t dev, device_t child, int reg, int width);
sys/dev/ata/ata-pci.h
537
uint32_t val, int width);
sys/dev/ath/if_ath_tx_ht.c
408
int width, half_gi;
sys/dev/ath/if_ath_tx_ht.c
481
width = !! (flags & ATH_RC_CW40_FLAG);
sys/dev/ath/if_ath_tx_ht.c
496
nsymbits = bits_per_symbol[HT_RC_2_MCS(rc)][width];
sys/dev/ath/if_ath_tx_ht.c
510
__func__, pktlen, minlen, rix, rc, width, half_gi, ndelim);
sys/dev/bhnd/bcma/bcma.c
381
u_int width)
sys/dev/bhnd/bcma/bcma.c
399
if (rman_get_size(r->res) - offset < width)
sys/dev/bhnd/bcma/bcma.c
402
switch (width) {
sys/dev/bhnd/bcma/bcma.c
419
const void *value, u_int width)
sys/dev/bhnd/bcma/bcma.c
437
if (rman_get_size(r->res) - offset < width)
sys/dev/bhnd/bcma/bcma.c
440
switch (width) {
sys/dev/bhnd/bhnd.h
1202
bhnd_read_config(device_t dev, bus_size_t offset, void *value, u_int width)
sys/dev/bhnd/bhnd.h
1205
value, width));
sys/dev/bhnd/bhnd.h
1232
u_int width)
sys/dev/bhnd/bhnd.h
1235
value, width));
sys/dev/bhnd/bhnd.h
535
const char *name, void *value, int width);
sys/dev/bhnd/bhnd.h
544
const char *name, void *value, int width);
sys/dev/bhnd/bhnd.h
613
device_t dev, device_t child, u_int width,
sys/dev/bhnd/bhnd.h
910
bhnd_get_dma_translation(device_t dev, u_int width, uint32_t flags,
sys/dev/bhnd/bhnd.h
913
return (BHND_BUS_GET_DMA_TRANSLATION(device_get_parent(dev), dev, width,
sys/dev/bhnd/bhnd_erom.c
355
bhnd_erom_io_read(struct bhnd_erom_io *eio, bhnd_size_t offset, u_int width)
sys/dev/bhnd/bhnd_erom.c
357
return (eio->read(eio, offset, width));
sys/dev/bhnd/bhnd_erom.c
452
bhnd_erom_iores_read(struct bhnd_erom_io *eio, bhnd_size_t offset, u_int width)
sys/dev/bhnd/bhnd_erom.c
459
switch (width) {
sys/dev/bhnd/bhnd_erom.c
467
panic("invalid width %u", width);
sys/dev/bhnd/bhnd_erom.c
568
bhnd_erom_iobus_read(struct bhnd_erom_io *eio, bhnd_size_t offset, u_int width)
sys/dev/bhnd/bhnd_erom.c
57
bhnd_size_t offset, u_int width);
sys/dev/bhnd/bhnd_erom.c
575
if (iobus->limit < width || iobus->limit - width < offset)
sys/dev/bhnd/bhnd_erom.c
578
switch (width) {
sys/dev/bhnd/bhnd_erom.c
589
panic("invalid width %u", width);
sys/dev/bhnd/bhnd_erom.c
65
bhnd_size_t offset, u_int width);
sys/dev/bhnd/bhnd_erom.h
81
bhnd_size_t offset, u_int width);
sys/dev/bhnd/bhnd_eromvar.h
55
bhnd_size_t offset, u_int width);
sys/dev/bhnd/bhnd_subr.c
1227
bhnd_nvram_getvar_uint(device_t dev, const char *name, void *value, int width)
sys/dev/bhnd/bhnd_subr.c
1232
switch (width) {
sys/dev/bhnd/bhnd_subr.c
1244
width);
sys/dev/bhnd/bhnd_subr.c
1248
len = width;
sys/dev/bhnd/bhnd_subr.c
1344
bhnd_nvram_getvar_int(device_t dev, const char *name, void *value, int width)
sys/dev/bhnd/bhnd_subr.c
1349
switch (width) {
sys/dev/bhnd/bhnd_subr.c
1361
width);
sys/dev/bhnd/bhnd_subr.c
1365
len = width;
sys/dev/bhnd/bhnd_subr.c
2083
bhnd_bus_generic_get_dma_translation(device_t dev, device_t child, u_int width,
sys/dev/bhnd/bhnd_subr.c
2089
child, width, flags, dmat, translation));
sys/dev/bhnd/bhndb/bhndb.c
2087
bhndb_get_dma_translation(device_t dev, device_t child, u_int width,
sys/dev/bhnd/bhndb/bhndb.c
2105
if (width > BHND_DMA_ADDR_32BIT) {
sys/dev/bhnd/bhndb/bhndb.c
2108
width = BHND_DMA_ADDR_32BIT;
sys/dev/bhnd/bhndb/bhndb.c
2112
addr_mask = BHND_DMA_ADDR_BITMASK(width);
sys/dev/bhnd/bhndb/bhndb_pci.c
118
uint32_t value, u_int width);
sys/dev/bhnd/bhndb/bhndb_pci.c
120
bhnd_addr_t addr, bhnd_size_t offset, u_int width);
sys/dev/bhnd/bhndb/bhndb_pci.c
129
bhnd_size_t offset, u_int width);
sys/dev/bhnd/bhndb/bhndb_pci.c
1584
bhnd_size_t offset, uint32_t value, u_int width)
sys/dev/bhnd/bhndb/bhndb_pci.c
1591
error = bhndb_pci_probe_map(probe, addr, offset, width, &r,
sys/dev/bhnd/bhndb/bhndb_pci.c
1600
switch (width) {
sys/dev/bhnd/bhndb/bhndb_pci.c
1608
panic("unsupported width: %u", width);
sys/dev/bhnd/bhndb/bhndb_pci.c
1627
bhnd_size_t offset, u_int width)
sys/dev/bhnd/bhndb/bhndb_pci.c
1634
error = bhndb_pci_probe_map(probe, addr, offset, width, &r,
sys/dev/bhnd/bhndb/bhndb_pci.c
1643
switch (width) {
sys/dev/bhnd/bhndb/bhndb_pci.c
1651
panic("unsupported width: %u", width);
sys/dev/bhnd/bhndb/bhndb_pci.c
1714
bhndb_pci_eio_read(struct bhnd_erom_io *eio, bhnd_size_t offset, u_int width)
sys/dev/bhnd/bhndb/bhndb_pci.c
1724
width > pio->size ||
sys/dev/bhnd/bhndb/bhndb_pci.c
1725
pio->size - offset < width)
sys/dev/bhnd/bhndb/bhndb_pci.c
1730
return (bhndb_pci_probe_read(pio->probe, pio->addr, offset, width));
sys/dev/bhnd/bhndb/bhndb_pci.c
707
uint32_t value, u_int width)
sys/dev/bhnd/bhndb/bhndb_pci.c
713
error = bhndb_pci_get_core_regs(sc, offset, width, &r, &r_offset);
sys/dev/bhnd/bhndb/bhndb_pci.c
716
(uintmax_t)offset, width, error);
sys/dev/bhnd/bhndb/bhndb_pci.c
719
switch (width) {
sys/dev/bhnd/bhndb/bhndb_pci.c
730
panic("invalid width: %u", width);
sys/dev/bhnd/bhndb/bhndb_pci.c
743
bhndb_pci_read_core(struct bhndb_pci_softc *sc, bus_size_t offset, u_int width)
sys/dev/bhnd/bhndb/bhndb_pci.c
749
error = bhndb_pci_get_core_regs(sc, offset, width, &r, &r_offset);
sys/dev/bhnd/bhndb/bhndb_pci.c
752
(uintmax_t)offset, width, error);
sys/dev/bhnd/bhndb/bhndb_pci.c
755
switch (width) {
sys/dev/bhnd/bhndb/bhndb_pci.c
763
panic("invalid width: %u", width);
sys/dev/bhnd/bhndb/bhndb_pci.c
96
bus_size_t offset, uint32_t value, u_int width);
sys/dev/bhnd/bhndb/bhndb_pci.c
98
bus_size_t offset, u_int width);
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom_subr.c
595
size_t width;
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom_subr.c
605
width = bhnd_nvram_type_width(type);
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom_subr.c
606
if (width == 0) {
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom_subr.c
610
} else if (width > UINT32_MAX) {
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom_subr.c
612
width, type);
sys/dev/bhnd/nvram/bhnd_nvram_data_sprom_subr.c
642
state->var.scale = (uint32_t)width;
sys/dev/bhnd/nvram/bhnd_nvram_value_fmts.c
282
ssize_t width;
sys/dev/bhnd/nvram/bhnd_nvram_value_fmts.c
322
width = bhnd_nvram_type_width(itype) * 2;
sys/dev/bhnd/nvram/bhnd_nvram_value_fmts.c
324
outp, olen, width));
sys/dev/bhnd/nvram/bhnd_nvram_value_prf.c
238
size_t precision, width, delim_len;
sys/dev/bhnd/nvram/bhnd_nvram_value_prf.c
255
width = 0;
sys/dev/bhnd/nvram/bhnd_nvram_value_prf.c
363
width = arg;
sys/dev/bhnd/nvram/bhnd_nvram_value_prf.c
380
width = v;
sys/dev/bhnd/nvram/bhnd_nvram_value_prf.c
637
width = precision;
sys/dev/bhnd/nvram/bhnd_nvram_value_prf.c
724
for (i = arg_size; i < width; i++)
sys/dev/bhnd/nvram/bhnd_nvram_value_prf.c
745
for (i = slen; i < width; i++)
sys/dev/bhnd/nvram/bhnd_nvram_value_prf.c
760
for (i = arg_size; ladjust && i < width; i++)
sys/dev/bhnd/nvram/bhnd_nvram_value_prf.c
789
for (i = arg_size; !ladjust && i < width; i++)
sys/dev/bhnd/nvram/bhnd_nvram_value_prf.c
820
for (i = arg_size; ladjust && i < width; i++)
sys/dev/bhnd/nvram/bhnd_nvram_value_prf.c
847
for (i = arg_size; !ladjust && i < width; i++)
sys/dev/bhnd/nvram/bhnd_nvram_value_prf.c
853
for (i = arg_size; ladjust && i < width; i++)
sys/dev/bhnd/nvram/bhnd_nvram_value_subr.c
190
size_t width = bhnd_nvram_type_width(itype);
sys/dev/bhnd/nvram/bhnd_nvram_value_subr.c
191
BHND_NV_ASSERT(width != 0, ("invalid width"));
sys/dev/bhnd/nvram/bhnd_nvram_value_subr.c
193
*nelem = ilen / width;
sys/dev/bhnd/nvram/bhnd_nvram_value_subr.c
263
size_t width;
sys/dev/bhnd/nvram/bhnd_nvram_value_subr.c
265
width = bhnd_nvram_type_width(itype);
sys/dev/bhnd/nvram/bhnd_nvram_value_subr.c
268
if (SIZE_MAX / nelem < width) {
sys/dev/bhnd/nvram/bhnd_nvram_value_subr.c
275
return (nelem * width);
sys/dev/bhnd/nvram/bhnd_nvram_value_subr.c
64
size_t align, width;
sys/dev/bhnd/nvram/bhnd_nvram_value_subr.c
82
width = bhnd_nvram_type_width(itype);
sys/dev/bhnd/nvram/bhnd_nvram_value_subr.c
83
if (width == 0)
sys/dev/bhnd/nvram/bhnd_nvram_value_subr.c
87
if (ilen % width != 0)
sys/dev/bhnd/nvram/bhnd_nvram_value_subr.c
92
if (!bhnd_nvram_is_array_type(itype) && ilen != width)
sys/dev/bhnd/siba/siba.c
911
u_int width)
sys/dev/bhnd/siba/siba.c
927
if (r_size < offset || r_size - offset < width)
sys/dev/bhnd/siba/siba.c
930
switch (width) {
sys/dev/bhnd/siba/siba.c
950
const void *value, u_int width)
sys/dev/bhnd/siba/siba.c
967
if (r_size < offset || r_size - offset < width)
sys/dev/bhnd/siba/siba.c
970
switch (width) {
sys/dev/bnxt/bnxt_re/ib_verbs.c
244
static void __to_ib_speed_width(u32 espeed, u8 lanes, u8 *speed, u8 *width)
sys/dev/bnxt/bnxt_re/ib_verbs.c
250
*width = IB_WIDTH_1X;
sys/dev/bnxt/bnxt_re/ib_verbs.c
254
*width = IB_WIDTH_1X;
sys/dev/bnxt/bnxt_re/ib_verbs.c
258
*width = IB_WIDTH_4X;
sys/dev/bnxt/bnxt_re/ib_verbs.c
262
*width = IB_WIDTH_1X;
sys/dev/bnxt/bnxt_re/ib_verbs.c
266
*width = IB_WIDTH_4X;
sys/dev/bnxt/bnxt_re/ib_verbs.c
270
*width = IB_WIDTH_2X;
sys/dev/bnxt/bnxt_re/ib_verbs.c
274
*width = IB_WIDTH_4X;
sys/dev/bnxt/bnxt_re/ib_verbs.c
278
*width = IB_WIDTH_4X;
sys/dev/bnxt/bnxt_re/ib_verbs.c
282
*width = IB_WIDTH_4X;
sys/dev/bnxt/bnxt_re/ib_verbs.c
286
*width = IB_WIDTH_1X;
sys/dev/bnxt/bnxt_re/ib_verbs.c
294
*width = IB_WIDTH_1X;
sys/dev/bnxt/bnxt_re/ib_verbs.c
297
*width = IB_WIDTH_2X;
sys/dev/bnxt/bnxt_re/ib_verbs.c
300
*width = IB_WIDTH_4X;
sys/dev/bnxt/bnxt_re/ib_verbs.c
303
*width = IB_WIDTH_8X;
sys/dev/bnxt/bnxt_re/ib_verbs.c
306
*width = IB_WIDTH_12X;
sys/dev/bnxt/bnxt_re/ib_verbs.c
309
*width = IB_WIDTH_1X;
sys/dev/bxe/bxe.c
13157
int width)
sys/dev/bxe/bxe.c
13165
return (pci_read_config(sc->dev, (pcie_reg + reg), width));
sys/dev/clk/allwinner/aw_clk.h
135
max = 1 << ((1 << factor->width) - 1);
sys/dev/clk/allwinner/aw_clk.h
137
max = (1 << factor->width);
sys/dev/clk/allwinner/aw_clk.h
213
.n.width = _n_width, \
sys/dev/clk/allwinner/aw_clk.h
217
.k.width = _k_width, \
sys/dev/clk/allwinner/aw_clk.h
221
.m.width = _m_width, \
sys/dev/clk/allwinner/aw_clk.h
225
.p.width = _p_width, \
sys/dev/clk/allwinner/aw_clk.h
253
.n.width = _n_width, \
sys/dev/clk/allwinner/aw_clk.h
257
.k.width = _k_width, \
sys/dev/clk/allwinner/aw_clk.h
261
.m.width = _m_width, \
sys/dev/clk/allwinner/aw_clk.h
265
.p.width = _p_width, \
sys/dev/clk/allwinner/aw_clk.h
296
.n.width = _n_width, \
sys/dev/clk/allwinner/aw_clk.h
300
.k.width = _k_width, \
sys/dev/clk/allwinner/aw_clk.h
304
.m.width = _m_width, \
sys/dev/clk/allwinner/aw_clk.h
308
.p.width = _p_width, \
sys/dev/clk/allwinner/aw_clk.h
335
.n.width = _nwidth, \
sys/dev/clk/allwinner/aw_clk.h
339
.m.width = _mwidth, \
sys/dev/clk/allwinner/aw_clk.h
370
.m.width = _mwidth, \
sys/dev/clk/allwinner/aw_clk.h
394
.n.width = _nwidth, \
sys/dev/clk/allwinner/aw_clk.h
399
.m.width = _mwidth, \
sys/dev/clk/allwinner/aw_clk.h
424
.n.width = _nwidth, \
sys/dev/clk/allwinner/aw_clk.h
428
.m0.width = _m0width, \
sys/dev/clk/allwinner/aw_clk.h
432
.m1.width = _m1width, \
sys/dev/clk/allwinner/aw_clk.h
457
.n.width = _nwidth, \
sys/dev/clk/allwinner/aw_clk.h
461
.p.width = _pwidth, \
sys/dev/clk/allwinner/aw_clk.h
487
.div.width = _div_width, \
sys/dev/clk/allwinner/aw_clk.h
491
.prediv.width = _prediv_width, \
sys/dev/clk/allwinner/aw_clk.h
516
.div.width = _div_width, \
sys/dev/clk/allwinner/aw_clk.h
520
.prediv.width = _prediv_width, \
sys/dev/clk/allwinner/aw_clk.h
544
.k.width = _kwidth, \
sys/dev/clk/allwinner/aw_clk.h
548
.m.width = _mwidth, \
sys/dev/clk/allwinner/aw_clk.h
550
.n.width = _nwidth, \
sys/dev/clk/allwinner/aw_clk.h
566
.width = _width, \
sys/dev/clk/allwinner/aw_clk.h
79
uint32_t width; /* Number of bits for the factor */
sys/dev/clk/allwinner/aw_clk_frac.c
362
sc->m.width = clkdef->m.width;
sys/dev/clk/allwinner/aw_clk_frac.c
363
sc->m.mask = ((1 << sc->m.width) - 1) << sc->m.shift;
sys/dev/clk/allwinner/aw_clk_frac.c
368
sc->n.width = clkdef->n.width;
sys/dev/clk/allwinner/aw_clk_frac.c
369
sc->n.mask = ((1 << sc->n.width) - 1) << sc->n.shift;
sys/dev/clk/allwinner/aw_clk_m.c
269
sc->m.width = clkdef->m.width;
sys/dev/clk/allwinner/aw_clk_m.c
270
sc->m.mask = ((1 << sc->m.width) - 1) << sc->m.shift;
sys/dev/clk/allwinner/aw_clk_mipi.c
256
sc->k.width = clkdef->k.width;
sys/dev/clk/allwinner/aw_clk_mipi.c
257
sc->k.mask = ((1 << sc->k.width) - 1) << sc->k.shift;
sys/dev/clk/allwinner/aw_clk_mipi.c
263
sc->m.width = clkdef->m.width;
sys/dev/clk/allwinner/aw_clk_mipi.c
264
sc->m.mask = ((1 << sc->m.width) - 1) << sc->m.shift;
sys/dev/clk/allwinner/aw_clk_mipi.c
270
sc->n.width = clkdef->n.width;
sys/dev/clk/allwinner/aw_clk_mipi.c
271
sc->n.mask = ((1 << sc->n.width) - 1) << sc->n.shift;
sys/dev/clk/allwinner/aw_clk_nkmp.c
372
sc->n.width = clkdef->n.width;
sys/dev/clk/allwinner/aw_clk_nkmp.c
373
sc->n.mask = ((1 << clkdef->n.width) - 1) << sc->n.shift;
sys/dev/clk/allwinner/aw_clk_nkmp.c
378
sc->k.width = clkdef->k.width;
sys/dev/clk/allwinner/aw_clk_nkmp.c
379
sc->k.mask = ((1 << clkdef->k.width) - 1) << sc->k.shift;
sys/dev/clk/allwinner/aw_clk_nkmp.c
384
sc->m.width = clkdef->m.width;
sys/dev/clk/allwinner/aw_clk_nkmp.c
385
sc->m.mask = ((1 << clkdef->m.width) - 1) << sc->m.shift;
sys/dev/clk/allwinner/aw_clk_nkmp.c
390
sc->p.width = clkdef->p.width;
sys/dev/clk/allwinner/aw_clk_nkmp.c
391
sc->p.mask = ((1 << clkdef->p.width) - 1) << sc->p.shift;
sys/dev/clk/allwinner/aw_clk_nm.c
316
sc->m.width = clkdef->m.width;
sys/dev/clk/allwinner/aw_clk_nm.c
317
sc->m.mask = ((1 << sc->m.width) - 1) << sc->m.shift;
sys/dev/clk/allwinner/aw_clk_nm.c
322
sc->n.width = clkdef->n.width;
sys/dev/clk/allwinner/aw_clk_nm.c
323
sc->n.mask = ((1 << sc->n.width) - 1) << sc->n.shift;
sys/dev/clk/allwinner/aw_clk_nm.c
328
sc->prediv.width = clkdef->prediv.width;
sys/dev/clk/allwinner/aw_clk_nm.c
329
sc->prediv.mask = ((1 << sc->prediv.width) - 1) << sc->prediv.shift;
sys/dev/clk/allwinner/aw_clk_nmm.c
250
sc->n.width = clkdef->n.width;
sys/dev/clk/allwinner/aw_clk_nmm.c
251
sc->n.mask = ((1 << sc->n.width) - 1) << sc->n.shift;
sys/dev/clk/allwinner/aw_clk_nmm.c
256
sc->m0.width = clkdef->m0.width;
sys/dev/clk/allwinner/aw_clk_nmm.c
257
sc->m0.mask = ((1 << sc->m0.width) - 1) << sc->m0.shift;
sys/dev/clk/allwinner/aw_clk_nmm.c
262
sc->m1.width = clkdef->m1.width;
sys/dev/clk/allwinner/aw_clk_nmm.c
263
sc->m1.mask = ((1 << sc->m1.width) - 1) << sc->m1.shift;
sys/dev/clk/allwinner/aw_clk_np.c
238
sc->n.width = clkdef->n.width;
sys/dev/clk/allwinner/aw_clk_np.c
239
sc->n.mask = ((1 << sc->n.width) - 1) << sc->n.shift;
sys/dev/clk/allwinner/aw_clk_np.c
244
sc->p.width = clkdef->p.width;
sys/dev/clk/allwinner/aw_clk_np.c
245
sc->p.mask = ((1 << sc->p.width) - 1) << sc->p.shift;
sys/dev/clk/allwinner/aw_clk_prediv_mux.c
155
sc->div.mask = ((1 << clkdef->div.width) - 1) << sc->div.shift;
sys/dev/clk/allwinner/aw_clk_prediv_mux.c
163
sc->prediv.mask = ((1 << clkdef->prediv.width) - 1) << sc->prediv.shift;
sys/dev/clk/allwinner/ccu_a13.c
159
.n = {.shift = 8, .width = 5},
sys/dev/clk/allwinner/ccu_a13.c
160
.k = {.shift = 4, .width = 2},
sys/dev/clk/allwinner/ccu_a13.c
161
.m = {.shift = 0, .width = 2},
sys/dev/clk/allwinner/ccu_a13.c
162
.p = {.shift = 16, .width = 2},
sys/dev/clk/allwinner/ccu_a13.c
180
.n = {.shift = 8, .width = 7},
sys/dev/clk/allwinner/ccu_a13.c
182
.m = {.shift = 0, .width = 5},
sys/dev/clk/allwinner/ccu_a13.c
183
.p = {.shift = 26, .width = 4},
sys/dev/clk/allwinner/ccu_a13.c
199
.n = {.shift = 8, .width = 5},
sys/dev/clk/allwinner/ccu_a13.c
200
.k = {.shift = 4, .width = 2},
sys/dev/clk/allwinner/ccu_a13.c
241
.n = {.shift = 8, .width = 5},
sys/dev/clk/allwinner/ccu_a13.c
242
.k = {.shift = 4, .width = 2},
sys/dev/clk/allwinner/ccu_a13.c
243
.m = {.shift = 0, .width = 2},
sys/dev/clk/allwinner/ccu_a13.c
295
.width = 2,
sys/dev/clk/allwinner/ccu_a13.c
337
.n = {.shift = 16, .width = 2, .flags = AW_CLK_FACTOR_POWER_OF_TWO, },
sys/dev/clk/allwinner/ccu_a13.c
338
.m = {.shift = 0, .width = 5},
sys/dev/clk/allwinner/ccu_a13.c
354
.n = {.shift = 16, .width = 2, .flags = AW_CLK_FACTOR_POWER_OF_TWO, },
sys/dev/clk/allwinner/ccu_a13.c
355
.m = {.shift = 0, .width = 4},
sys/dev/clk/allwinner/ccu_a13.c
370
.n = {.shift = 16, .width = 2, .flags = AW_CLK_FACTOR_POWER_OF_TWO, },
sys/dev/clk/allwinner/ccu_a13.c
371
.m = {.shift = 0, .width = 4},
sys/dev/clk/allwinner/ccu_a13.c
386
.n = {.shift = 16, .width = 2, .flags = AW_CLK_FACTOR_POWER_OF_TWO, },
sys/dev/clk/allwinner/ccu_a13.c
387
.m = {.shift = 0, .width = 4},
sys/dev/clk/allwinner/ccu_a13.c
402
.n = {.shift = 16, .width = 2, .flags = AW_CLK_FACTOR_POWER_OF_TWO, },
sys/dev/clk/allwinner/ccu_a13.c
403
.m = {.shift = 0, .width = 4},
sys/dev/clk/allwinner/ccu_a13.c
418
.n = {.shift = 16, .width = 2, .flags = AW_CLK_FACTOR_POWER_OF_TWO, },
sys/dev/clk/allwinner/ccu_a13.c
419
.m = {.shift = 0, .width = 4},
sys/dev/clk/allwinner/ccu_a13.c
434
.n = {.shift = 16, .width = 2, .flags = AW_CLK_FACTOR_POWER_OF_TWO, },
sys/dev/clk/allwinner/ccu_a13.c
435
.m = {.shift = 0, .width = 4},
sys/dev/clk/allwinner/ccu_a13.c
450
.n = {.shift = 16, .width = 2, .flags = AW_CLK_FACTOR_POWER_OF_TWO, },
sys/dev/clk/allwinner/ccu_a13.c
451
.m = {.shift = 0, .width = 4},
sys/dev/clk/allwinner/ccu_a13.c
466
.n = {.shift = 16, .width = 2, .flags = AW_CLK_FACTOR_POWER_OF_TWO, },
sys/dev/clk/allwinner/ccu_a13.c
467
.m = {.shift = 0, .width = 4},
sys/dev/clk/allwinner/ccu_a13.c
482
.n = {.shift = 16, .width = 2, .flags = AW_CLK_FACTOR_POWER_OF_TWO, },
sys/dev/clk/allwinner/ccu_a13.c
483
.m = {.shift = 0, .width = 4},
sys/dev/clk/allwinner/ccu_sun8i_r.c
131
.n = {.shift = 0, .width = 4, .flags = AW_CLK_FACTOR_POWER_OF_TWO, },
sys/dev/clk/allwinner/ccu_sun8i_r.c
132
.m = {.shift = 16, .width = 2},
sys/dev/clk/clk_mux.c
125
sc->mask = (1 << clkdef->width) - 1;
sys/dev/clk/clk_mux.h
36
uint32_t width;
sys/dev/clk/rockchip/rk_clk_mux.c
234
sc->mask = (1 << clkdef->width) - 1;
sys/dev/clk/rockchip/rk_clk_mux.h
37
uint32_t width;
sys/dev/clk/rockchip/rk_cru.h
186
.width = _mw, \
sys/dev/clk/rockchip/rk_cru.h
206
.width = _mw, \
sys/dev/cxgb/common/cxgb_common.h
373
unsigned char width;
sys/dev/cxgb/common/cxgb_common.h
462
unsigned int width; /* MC7 interface width */
sys/dev/cxgb/common/cxgb_t3_hw.c
153
start *= (8 << mc7->width);
sys/dev/cxgb/common/cxgb_t3_hw.c
158
for (i = (1 << mc7->width) - 1; i >= 0; --i) {
sys/dev/cxgb/common/cxgb_t3_hw.c
173
if (mc7->width == 0) {
sys/dev/cxgb/common/cxgb_t3_hw.c
178
if (mc7->width > 1)
sys/dev/cxgb/common/cxgb_t3_hw.c
179
val >>= shift[mc7->width];
sys/dev/cxgb/common/cxgb_t3_hw.c
180
val64 |= (u64)val << (step[mc7->width] * i);
sys/dev/cxgb/common/cxgb_t3_hw.c
3964
unsigned int width, density, slow, attempts;
sys/dev/cxgb/common/cxgb_t3_hw.c
3973
width = G_WIDTH(val);
sys/dev/cxgb/common/cxgb_t3_hw.c
4043
(mc7->size << width) - 1);
sys/dev/cxgb/common/cxgb_t3_hw.c
4108
log2_width = fls(adap->params.pci.width) - 1;
sys/dev/cxgb/common/cxgb_t3_hw.c
4241
p->width = (val >> 4) & 0x3f;
sys/dev/cxgb/common/cxgb_t3_hw.c
4247
p->width = (pci_mode & F_64BIT) ? 64 : 32;
sys/dev/cxgb/common/cxgb_t3_hw.c
4294
unsigned int width = G_WIDTH(cfg);
sys/dev/cxgb/common/cxgb_t3_hw.c
4298
unsigned int MBs = ((256 << density) * banks) / (org << width);
sys/dev/cxgb/common/cxgb_t3_hw.c
4313
mc7->width = G_WIDTH(cfg);
sys/dev/cxgbe/common/common.h
343
unsigned short width;
sys/dev/cxgbe/common/t4_hw.c
10905
p->width = (val & PCI_EXP_LNKSTA_NLW) >> 4;
sys/dev/cxgbe/common/t4_hw.c
11728
const uint8_t *width = chip_id(adap) >= CHELSIO_T7 ? width_t7 : width_t4;
sys/dev/cxgbe/common/t4_hw.c
11732
return (width[filter_field]);
sys/dev/cxgbe/common/t4_hw.c
12969
int width;
sys/dev/cxgbe/common/t4_hw.c
12995
width = t4_filter_field_width(adap, i);
sys/dev/cxgbe/common/t4_hw.c
12996
if (nbits + width <= maxbits) {
sys/dev/cxgbe/common/t4_hw.c
12998
nbits += width;
sys/dev/cxgbe/cudbg/cudbg_entity.h
407
u32 width;
sys/dev/cxgbe/t4_main.c
11797
u_int width;
sys/dev/cxgbe/t4_main.c
11807
uint64_t mask = (1ULL << f->width) - 1;
sys/dev/cxgbe/t4_main.c
1765
sc->params.pci.speed, sc->params.pci.width, sc->params.nports,
sys/dev/drm2/drm_crtc.c
1803
fb_width = fb->width << 16;
sys/dev/drm2/drm_crtc.c
1950
if (hdisplay > fb->width ||
sys/dev/drm2/drm_crtc.c
1952
crtc_req->x > fb->width - hdisplay ||
sys/dev/drm2/drm_crtc.c
1955
fb->width, fb->height,
sys/dev/drm2/drm_crtc.c
2059
req->width, req->height);
sys/dev/drm2/drm_crtc.c
2139
r.width = or->width;
sys/dev/drm2/drm_crtc.c
2148
if ((config->min_width > r.width) || (r.width > config->max_width))
sys/dev/drm2/drm_crtc.c
2259
if (r->width == 0 || r->width % hsub) {
sys/dev/drm2/drm_crtc.c
2270
unsigned int width = r->width / (i != 0 ? hsub : 1);
sys/dev/drm2/drm_crtc.c
2279
if ((uint64_t) width * cpp > UINT_MAX)
sys/dev/drm2/drm_crtc.c
2285
if (r->pitches[i] < width * cpp) {
sys/dev/drm2/drm_crtc.c
2327
if ((config->min_width > r->width) || (r->width > config->max_width)) {
sys/dev/drm2/drm_crtc.c
2329
r->width, config->min_width, config->max_width);
sys/dev/drm2/drm_crtc.c
2451
r->width = fb->width;
sys/dev/drm2/drm_crtc.c
3576
if (hdisplay > fb->width ||
sys/dev/drm2/drm_crtc.c
3578
crtc->x > fb->width - hdisplay ||
sys/dev/drm2/drm_crtc.c
3581
fb->width, fb->height, hdisplay, vdisplay, crtc->x, crtc->y,
sys/dev/drm2/drm_crtc.h
257
unsigned int width;
sys/dev/drm2/drm_crtc.h
331
uint32_t handle, uint32_t width, uint32_t height);
sys/dev/drm2/drm_crtc_helper.c
906
fb->width = mode_cmd->width;
sys/dev/drm2/drm_edid.c
1386
int width = 0, height;
sys/dev/drm2/drm_edid.c
1395
width = height * 4 / 3;
sys/dev/drm2/drm_edid.c
1398
width = height * 16 / 9;
sys/dev/drm2/drm_edid.c
1401
width = height * 16 / 10;
sys/dev/drm2/drm_edid.c
1404
width = height * 15 / 9;
sys/dev/drm2/drm_edid.c
1410
newmode = drm_cvt_mode(dev, width, height,
sys/dev/drm2/drm_fb_helper.c
1013
info->fb_width = fb->width;
sys/dev/drm2/drm_fb_helper.c
1038
static struct drm_display_mode *drm_has_preferred_mode(struct drm_fb_helper_connector *fb_connector, int width, int height)
sys/dev/drm2/drm_fb_helper.c
1043
if (drm_mode_width(mode) > width ||
sys/dev/drm2/drm_fb_helper.c
1060
int width, int height)
sys/dev/drm2/drm_fb_helper.c
1138
bool *enabled, int width, int height)
sys/dev/drm2/drm_fb_helper.c
1165
modes[i] = drm_pick_cmdline_mode(fb_helper_conn, width, height);
sys/dev/drm2/drm_fb_helper.c
1211
bool *enabled, int width, int height)
sys/dev/drm2/drm_fb_helper.c
1226
modes[i] = drm_pick_cmdline_mode(fb_helper_conn, width, height);
sys/dev/drm2/drm_fb_helper.c
1230
modes[i] = drm_has_preferred_mode(fb_helper_conn, width, height);
sys/dev/drm2/drm_fb_helper.c
1246
int n, int width, int height)
sys/dev/drm2/drm_fb_helper.c
1264
best_score = drm_pick_crtcs(fb_helper, best_crtcs, modes, n+1, width, height);
sys/dev/drm2/drm_fb_helper.c
1278
if (drm_has_preferred_mode(fb_helper_conn, width, height))
sys/dev/drm2/drm_fb_helper.c
1310
width, height);
sys/dev/drm2/drm_fb_helper.c
1330
int width, height;
sys/dev/drm2/drm_fb_helper.c
1335
width = dev->mode_config.max_width;
sys/dev/drm2/drm_fb_helper.c
1352
ret = drm_target_cloned(fb_helper, modes, enabled, width, height);
sys/dev/drm2/drm_fb_helper.c
1354
ret = drm_target_preferred(fb_helper, modes, enabled, width, height);
sys/dev/drm2/drm_fb_helper.c
1359
DRM_DEBUG_KMS("picking CRTCs for %dx%d config\n", width, height);
sys/dev/drm2/drm_fb_helper.c
1361
drm_pick_crtcs(fb_helper, crtcs, modes, 0, width, height);
sys/dev/drm2/drm_fb_helper.c
1473
max_width = fb_helper->fb->width;
sys/dev/drm2/drm_fb_helper.c
686
var->xres > fb->width || var->yres > fb->height ||
sys/dev/drm2/drm_fb_helper.c
687
var->xres_virtual > fb->width || var->yres_virtual > fb->height) {
sys/dev/drm2/drm_fb_helper.c
692
fb->width, fb->height, fb->bits_per_pixel);
sys/dev/drm2/drm_mode.h
281
__u32 width, height;
sys/dev/drm2/drm_mode.h
293
__u32 width, height;
sys/dev/drm2/drm_mode.h
385
__u32 width;
sys/dev/drm2/drm_mode.h
437
uint32_t width;
sys/dev/drm2/drm_sarea.h
56
unsigned int width;
sys/dev/e1000/e1000_82542.c
181
hw->bus.width = e1000_bus_width_unknown;
sys/dev/e1000/e1000_hw.h
922
enum e1000_bus_width width;
sys/dev/e1000/e1000_ich8lan.c
4962
if (bus->width == e1000_bus_width_unknown)
sys/dev/e1000/e1000_ich8lan.c
4963
bus->width = e1000_bus_width_pcie_x1;
sys/dev/e1000/e1000_mac.c
221
bus->width = (status & E1000_STATUS_BUS64)
sys/dev/e1000/e1000_mac.c
253
bus->width = e1000_bus_width_unknown;
sys/dev/e1000/e1000_mac.c
268
bus->width = (enum e1000_bus_width)((pcie_link_status &
sys/dev/exca/exca.c
468
exca_setb(sc, EXCA_IOCTL, map->ioctlbits[io->width]);
sys/dev/exca/exca.c
486
exca_io_map(struct exca_softc *sc, int width, struct resource *r)
sys/dev/exca/exca.c
506
sc->io[win].width = width;
sys/dev/exca/exca.c
508
win, width_names[width], sc->io[win].addr,
sys/dev/exca/exca.c
530
sc->io[window].width = 0;
sys/dev/exca/excavar.h
109
int exca_io_map(struct exca_softc *sc, int width, struct resource *r);
sys/dev/fb/fbreg.h
102
typedef int vi_save_font_t(video_adapter_t *adp, int page, int size, int width,
sys/dev/fb/fbreg.h
104
typedef int vi_load_font_t(video_adapter_t *adp, int page, int size, int width,
sys/dev/fb/fbreg.h
144
u_int32_t pixel_mask, int size, int width);
sys/dev/fb/fbreg.h
192
#define vidd_save_font(adp, page, size, width, data, c, count) \
sys/dev/fb/fbreg.h
194
(width), (data), (c), (count))
sys/dev/fb/fbreg.h
195
#define vidd_load_font(adp, page, size, width, data, c, count) \
sys/dev/fb/fbreg.h
197
(width), (data), (c), (count))
sys/dev/fb/fbreg.h
248
#define vidd_putm(adp, x, y, pixel_image, pixel_mask, size, width) \
sys/dev/fb/fbreg.h
250
(pixel_mask), (size), (width))
sys/dev/fb/splash_bmp.c
218
int width,height; /* image dimensions */
sys/dev/fb/splash_bmp.c
258
x += (info->swidth - info->width) / 2;
sys/dev/fb/splash_bmp.c
424
for (x = 0; x < info->width; x++, info->index++)
sys/dev/fb/splash_bmp.c
430
for (x = 0; x < info->width; x++) {
sys/dev/fb/splash_bmp.c
445
for (x = 0; x < info->width; x++) {
sys/dev/fb/splash_bmp.c
507
bmp_info.width = bmf->bmfi.bmiHeader.biWidth;
sys/dev/fb/splash_bmp.c
529
(bmp_info.width > bmp_info.swidth) ||
sys/dev/fb/splash_bmp.c
533
bmp_info.width, bmp_info.height, bmp_info.ncols);
sys/dev/fb/splash_pcx.c
112
if (info.vi_width >= pcx_info.width
sys/dev/fb/splash_pcx.c
188
pcx_info.width = hdr->xmax - hdr->xmin + 1;
sys/dev/fb/splash_pcx.c
224
x = (swidth - pcx_info.width) / 2;
sys/dev/fb/splash_pcx.c
255
if (pos + pcx_info.width > banksize) {
sys/dev/fb/splash_pcx.c
262
bcopy(line + j, vidmem, pcx_info.width - j);
sys/dev/fb/splash_pcx.c
264
bcopy(line, vidmem + pos, pcx_info.width);
sys/dev/fb/splash_pcx.c
63
int width;
sys/dev/fb/splash_pcx.c
97
pcx_info.width, pcx_info.height,
sys/dev/fb/vga.c
1102
width = height = -1;
sys/dev/fb/vga.c
1105
width = bios_vmode[i].vi_width;
sys/dev/fb/vga.c
1114
(bios_vmode[i].vi_width != width ||
sys/dev/fb/vga.c
458
#define ISMAPPED(pa, width) \
sys/dev/fb/vga.c
459
(((pa) <= (u_long)0x1000 - (width)) \
sys/dev/fb/vga.c
460
|| ((pa) >= ISA_HOLE_START && (pa) <= 0x100000 - (width)))
sys/dev/fb/vga.c
896
int height, i, width;
sys/dev/hid/hmt.c
481
uint32_t width;
sys/dev/hid/hmt.c
605
width = slot_data->val[HMT_WIDTH] >> 1;
sys/dev/hid/hmt.c
607
slot_data->ori = width > height;
sys/dev/hid/hmt.c
608
slot_data->maj = MAX(width, height);
sys/dev/hid/hmt.c
609
slot_data->min = MIN(width, height);
sys/dev/hwpmc/hwpmc_cmn600.c
108
u_int width, uint64_t val)
sys/dev/hwpmc/hwpmc_cmn600.c
117
if (width == 4) {
sys/dev/hwpmc/hwpmc_cmn600.c
83
u_int width)
sys/dev/hwpmc/hwpmc_cmn600.c
94
if (width == 4) {
sys/dev/iavf/iavf_type.h
321
enum iavf_bus_width width;
sys/dev/ice/ice_common.c
4870
mask = (u8)(BIT(ce_info->width) - 1);
sys/dev/ice/ice_common.c
4910
mask = BIT(ce_info->width) - 1;
sys/dev/ice/ice_common.c
4958
if (ce_info->width < 32)
sys/dev/ice/ice_common.c
4959
mask = BIT(ce_info->width) - 1;
sys/dev/ice/ice_common.c
5009
if (ce_info->width < 64)
sys/dev/ice/ice_common.c
5010
mask = BIT_ULL(ce_info->width) - 1;
sys/dev/ice/ice_common.c
5049
for (f = 0; ce_info[f].width; f++) {
sys/dev/ice/ice_common.c
5054
if (ce_info[f].width > (ce_info[f].size_of * BITS_PER_BYTE)) {
sys/dev/ice/ice_common.c
5056
f, ce_info[f].width, ce_info[f].size_of);
sys/dev/ice/ice_common.c
5148
mask = (u8)(BIT(ce_info->width) - 1);
sys/dev/ice/ice_common.c
5185
mask = BIT(ce_info->width) - 1;
sys/dev/ice/ice_common.c
5233
if (ce_info->width < 32)
sys/dev/ice/ice_common.c
5234
mask = BIT(ce_info->width) - 1;
sys/dev/ice/ice_common.c
5284
if (ce_info->width < 64)
sys/dev/ice/ice_common.c
5285
mask = BIT_ULL(ce_info->width) - 1;
sys/dev/ice/ice_common.c
5325
for (f = 0; ce_info[f].width; f++) {
sys/dev/ice/ice_lan_tx_rx.h
847
u16 width;
sys/dev/ice/ice_lan_tx_rx.h
854
.width = _width, \
sys/dev/ice/ice_lib.c
106
static int ice_pcie_lnk_width_to_int(enum ice_pcie_link_width width);
sys/dev/ice/ice_lib.c
8150
ice_pcie_lnk_width_to_int(enum ice_pcie_link_width width)
sys/dev/ice/ice_lib.c
8152
switch (width) {
sys/dev/ice/ice_lib.c
8193
pcie_width = ice_pcie_lnk_width_to_int(hw->bus.width);
sys/dev/ice/ice_lib.c
8221
(hw->bus.width == ice_pcie_lnk_x32) ? "x32" :
sys/dev/ice/ice_lib.c
8222
(hw->bus.width == ice_pcie_lnk_x16) ? "x16" :
sys/dev/ice/ice_lib.c
8223
(hw->bus.width == ice_pcie_lnk_x12) ? "x12" :
sys/dev/ice/ice_lib.c
8224
(hw->bus.width == ice_pcie_lnk_x8) ? "x8" :
sys/dev/ice/ice_lib.c
8225
(hw->bus.width == ice_pcie_lnk_x4) ? "x4" :
sys/dev/ice/ice_lib.c
8226
(hw->bus.width == ice_pcie_lnk_x2) ? "x2" :
sys/dev/ice/ice_lib.c
8227
(hw->bus.width == ice_pcie_lnk_x1) ? "x1" : "Unknown");
sys/dev/ice/ice_lib.c
8254
hw->bus.width = (enum ice_pcie_link_width)reg;
sys/dev/ice/ice_lib.c
8257
hw->bus.width = ice_pcie_lnk_width_unknown;
sys/dev/ice/ice_type.h
610
enum ice_pcie_link_width width;
sys/dev/igc/igc_hw.h
489
enum igc_bus_width width;
sys/dev/io/iodev.c
124
switch (req->width) {
sys/dev/io/iodev.c
157
switch (req->width) {
sys/dev/io/iodev.h
38
u_int width;
sys/dev/irdma/fbsd_kcompat.h
150
int ib_get_eth_speed(struct ib_device *dev, u32 port_num, u16 *speed, u8 *width);
sys/dev/irdma/irdma_kcompat.c
1834
u16 *speed, u8 *width)
sys/dev/irdma/irdma_kcompat.c
1838
*width = IB_WIDTH_1X;
sys/dev/irdma/irdma_kcompat.c
1841
*width = IB_WIDTH_1X;
sys/dev/irdma/irdma_kcompat.c
1844
*width = IB_WIDTH_4X;
sys/dev/irdma/irdma_kcompat.c
1847
*width = IB_WIDTH_1X;
sys/dev/irdma/irdma_kcompat.c
1850
*width = IB_WIDTH_4X;
sys/dev/irdma/irdma_kcompat.c
1853
*width = IB_WIDTH_2X;
sys/dev/irdma/irdma_kcompat.c
1856
*width = IB_WIDTH_4X;
sys/dev/irdma/irdma_kcompat.c
1859
*width = IB_WIDTH_4X;
sys/dev/irdma/irdma_kcompat.c
1862
*width = IB_WIDTH_4X;
sys/dev/irdma/irdma_kcompat.c
1871
*width = IB_WIDTH_1X;
sys/dev/irdma/irdma_kcompat.c
1874
*width = IB_WIDTH_2X;
sys/dev/irdma/irdma_kcompat.c
1877
*width = IB_WIDTH_4X;
sys/dev/irdma/irdma_kcompat.c
1880
*width = IB_WIDTH_8X;
sys/dev/irdma/irdma_kcompat.c
1883
*width = IB_WIDTH_12X;
sys/dev/irdma/irdma_kcompat.c
1886
*width = IB_WIDTH_1X;
sys/dev/irdma/irdma_kcompat.c
1917
ib_get_eth_speed(struct ib_device *ibdev, u32 port_num, u16 *speed, u8 *width)
sys/dev/irdma/irdma_kcompat.c
1929
ib_get_width_and_speed(netdev_speed, lanes, speed, width);
sys/dev/iwm/if_iwm_phy_ctxt.c
212
cmd->ci.width = IWM_PHY_VHT_CHANNEL_MODE20;
sys/dev/iwm/if_iwmreg.h
3090
uint8_t width;
sys/dev/iwm/if_iwmreg.h
3106
uint8_t width;
sys/dev/iwx/if_iwx.c
5051
cmd.ci.width = IWX_PHY_VHT_CHANNEL_MODE80;
sys/dev/iwx/if_iwx.c
5053
cmd.ci.width = IWX_PHY_VHT_CHANNEL_MODE40;
sys/dev/iwx/if_iwx.c
5059
cmd.ci.width = IWX_PHY_VHT_CHANNEL_MODE20;
sys/dev/iwx/if_iwx.c
5105
cmd.ci.width = IWX_PHY_VHT_CHANNEL_MODE80;
sys/dev/iwx/if_iwx.c
5110
cmd.ci.width = IWX_PHY_VHT_CHANNEL_MODE40;
sys/dev/iwx/if_iwx.c
5114
cmd.ci.width = IWX_PHY_VHT_CHANNEL_MODE40;
sys/dev/iwx/if_iwx.c
5116
cmd.ci.width = IWX_PHY_VHT_CHANNEL_MODE20;
sys/dev/iwx/if_iwx.c
5120
cmd.ci.width = IWX_PHY_VHT_CHANNEL_MODE20;
sys/dev/iwx/if_iwxreg.h
3333
uint8_t width;
sys/dev/iwx/if_iwxreg.h
3349
uint8_t width;
sys/dev/ixgbe/if_ix.c
2497
((hw->bus.width == ixgbe_bus_width_pcie_x8) ? "x8" :
sys/dev/ixgbe/if_ix.c
2498
(hw->bus.width == ixgbe_bus_width_pcie_x4) ? "x4" :
sys/dev/ixgbe/if_ix.c
2499
(hw->bus.width == ixgbe_bus_width_pcie_x1) ? "x1" :
sys/dev/ixgbe/if_ix.c
2504
((hw->bus.width <= ixgbe_bus_width_pcie_x4) &&
sys/dev/ixgbe/if_ix.c
2514
((hw->bus.width <= ixgbe_bus_width_pcie_x8) &&
sys/dev/ixgbe/ixgbe_common.c
1018
hw->bus.width = ixgbe_bus_width_pcie_x1;
sys/dev/ixgbe/ixgbe_common.c
1021
hw->bus.width = ixgbe_bus_width_pcie_x2;
sys/dev/ixgbe/ixgbe_common.c
1024
hw->bus.width = ixgbe_bus_width_pcie_x4;
sys/dev/ixgbe/ixgbe_common.c
1027
hw->bus.width = ixgbe_bus_width_pcie_x8;
sys/dev/ixgbe/ixgbe_common.c
1030
hw->bus.width = ixgbe_bus_width_unknown;
sys/dev/ixgbe/ixgbe_type.h
3913
enum ixgbe_bus_width width;
sys/dev/ixgbe/ixgbe_x550.c
3653
hw->bus.width = ixgbe_bus_width_unknown;
sys/dev/ixl/i40e_common.c
6196
hw->bus.width = i40e_bus_width_pcie_x1;
sys/dev/ixl/i40e_common.c
6199
hw->bus.width = i40e_bus_width_pcie_x2;
sys/dev/ixl/i40e_common.c
6202
hw->bus.width = i40e_bus_width_pcie_x4;
sys/dev/ixl/i40e_common.c
6205
hw->bus.width = i40e_bus_width_pcie_x8;
sys/dev/ixl/i40e_common.c
6208
hw->bus.width = i40e_bus_width_unknown;
sys/dev/ixl/i40e_lan_hmc.c
1000
mask = BIT(ce_info->width) - 1;
sys/dev/ixl/i40e_lan_hmc.c
1049
if (ce_info->width < 32)
sys/dev/ixl/i40e_lan_hmc.c
1050
mask = BIT(ce_info->width) - 1;
sys/dev/ixl/i40e_lan_hmc.c
1102
if (ce_info->width < 64)
sys/dev/ixl/i40e_lan_hmc.c
1103
mask = BIT_ULL(ce_info->width) - 1;
sys/dev/ixl/i40e_lan_hmc.c
1145
for (f = 0; ce_info[f].width != 0; f++) {
sys/dev/ixl/i40e_lan_hmc.c
1197
for (f = 0; ce_info[f].width != 0; f++) {
sys/dev/ixl/i40e_lan_hmc.c
701
u16 width;
sys/dev/ixl/i40e_lan_hmc.c
777
mask = (u8)(BIT(ce_info->width) - 1);
sys/dev/ixl/i40e_lan_hmc.c
818
mask = BIT(ce_info->width) - 1;
sys/dev/ixl/i40e_lan_hmc.c
867
if (ce_info->width < 32)
sys/dev/ixl/i40e_lan_hmc.c
868
mask = BIT(ce_info->width) - 1;
sys/dev/ixl/i40e_lan_hmc.c
919
if (ce_info->width < 64)
sys/dev/ixl/i40e_lan_hmc.c
920
mask = BIT_ULL(ce_info->width) - 1;
sys/dev/ixl/i40e_lan_hmc.c
962
mask = (u8)(BIT(ce_info->width) - 1);
sys/dev/ixl/i40e_type.h
614
enum i40e_bus_width width;
sys/dev/ixl/ixl_pf_main.c
3086
(hw->bus.width == i40e_bus_width_pcie_x8) ? "Width x8" :
sys/dev/ixl/ixl_pf_main.c
3087
(hw->bus.width == i40e_bus_width_pcie_x4) ? "Width x4" :
sys/dev/ixl/ixl_pf_main.c
3088
(hw->bus.width == i40e_bus_width_pcie_x2) ? "Width x2" :
sys/dev/ixl/ixl_pf_main.c
3089
(hw->bus.width == i40e_bus_width_pcie_x1) ? "Width x1" :
sys/dev/ixl/ixl_pf_main.c
3097
&& hw->bus.width >= i40e_bus_width_pcie_x8)
sys/dev/ixl/ixl_pf_main.c
3103
if ((num_ports * max_speed) > hw->bus.speed * hw->bus.width) {
sys/dev/ixl/ixl_pf_main.c
4103
int i, j, k, width;
sys/dev/ixl/ixl_pf_main.c
4115
width = (rem > 0 && i == lines - 1)
sys/dev/ixl/ixl_pf_main.c
4120
for (j = 0; j < width; j++)
sys/dev/ixl/ixl_pf_main.c
4123
if (width < byte_stride) {
sys/dev/ixl/ixl_pf_main.c
4124
for (k = 0; k < (byte_stride - width); k++)
sys/dev/ixl/ixl_pf_main.c
4133
for (j = 0; j < width; j++) {
sys/dev/ixl/ixl_pf_main.c
4140
if (j == width - 1)
sys/dev/mlx4/mlx4_core/mlx4_main.c
629
enum pcie_link_width *width)
sys/dev/mlx4/mlx4_core/mlx4_main.c
637
*width = PCIE_LNK_WIDTH_UNKNOWN;
sys/dev/mlx4/mlx4_core/mlx4_main.c
652
*width = (lnkcap1 & PCI_EXP_LNKCAP_MLW) >> PCIE_MLW_CAP_SHIFT;
sys/dev/mlx4/mlx4_core/mlx4_main.c
661
if (*speed == PCI_SPEED_UNKNOWN || *width == PCIE_LNK_WIDTH_UNKNOWN) {
sys/dev/mlx4/mlx4_core/mlx4_main.c
670
enum pcie_link_width width, width_cap;
sys/dev/mlx4/mlx4_core/mlx4_main.c
687
err = pcie_get_minimum_link(dev->persist->pdev, &speed, &width);
sys/dev/mlx4/mlx4_core/mlx4_main.c
689
width == PCIE_LNK_WIDTH_UNKNOWN) {
sys/dev/mlx4/mlx4_core/mlx4_main.c
695
if (width != width_cap || speed != speed_cap)
sys/dev/mlx4/mlx4_core/mlx4_main.c
702
width, width_cap);
sys/dev/mlx5/mlx5_ifc.h
9203
u8 width[0x8];
sys/dev/nfe/if_nfe.c
385
uint16_t v, width;
sys/dev/nfe/if_nfe.c
396
width = pci_read_config(dev, reg + 0x12, 2);
sys/dev/nfe/if_nfe.c
398
width = (width >> 4) & 0x3f;
sys/dev/nfe/if_nfe.c
399
if (v != width)
sys/dev/nfe/if_nfe.c
402
"max. width of link(x%d)\n", width, v);
sys/dev/ntb/ntb.c
219
enum ntb_width width;
sys/dev/ntb/ntb.c
221
if (NTB_LINK_IS_UP(dev, &speed, &width)) {
sys/dev/ntb/ntb.c
223
(int)speed, (int)width);
sys/dev/ntb/ntb.c
275
ntb_link_is_up(device_t ntb, enum ntb_speed *speed, enum ntb_width *width)
sys/dev/ntb/ntb.c
278
return (NTB_LINK_IS_UP(device_get_parent(ntb), speed, width));
sys/dev/ntb/ntb.c
282
ntb_link_enable(device_t ntb, enum ntb_speed speed, enum ntb_width width)
sys/dev/ntb/ntb.c
295
return (NTB_LINK_ENABLE(device_get_parent(ntb), speed, width));
sys/dev/ntb/ntb.h
117
bool ntb_link_is_up(device_t ntb, enum ntb_speed *speed, enum ntb_width *width);
sys/dev/ntb/ntb.h
135
int ntb_link_enable(device_t ntb, enum ntb_speed speed, enum ntb_width width);
sys/dev/ntb/ntb_hw/ntb_hw_amd.c
261
amd_ntb_link_is_up(device_t dev, enum ntb_speed *speed, enum ntb_width *width)
sys/dev/ntb/ntb_hw/ntb_hw_amd.c
267
if (width != NULL)
sys/dev/ntb/ntb_hw/ntb_hw_amd.c
268
*width = amd_ntb_link_sta_width(ntb);
sys/dev/ntb/ntb_hw/ntb_hw_intel.c
2601
enum ntb_width width __unused)
sys/dev/ntb/ntb_hw/ntb_hw_intel.c
2647
enum ntb_width width __unused)
sys/dev/ntb/ntb_hw/ntb_hw_intel.c
2655
return (intel_ntb4_link_enable(dev, speed, width));
sys/dev/ntb/ntb_hw/ntb_hw_intel.c
2755
unsigned speed, width, oldspeed, oldwidth;
sys/dev/ntb/ntb_hw/ntb_hw_intel.c
2777
width = NTB_LNK_STA_WIDTH(status32);
sys/dev/ntb/ntb_hw/ntb_hw_intel.c
2782
if (oldwidth != width || oldspeed != speed)
sys/dev/ntb/ntb_hw/ntb_hw_intel.c
319
enum ntb_width *width);
sys/dev/ntb/ntb_hw/ntb_hw_intel.c
321
enum ntb_width width);
sys/dev/ntb/ntb_hw/ntb_hw_intel.c
3250
enum ntb_width width;
sys/dev/ntb/ntb_hw/ntb_hw_intel.c
3255
if (intel_ntb_link_is_up(ntb->device, &speed, &width))
sys/dev/ntb/ntb_hw/ntb_hw_intel.c
3257
(unsigned)speed, (unsigned)width);
sys/dev/ntb/ntb_hw/ntb_hw_intel.c
3841
intel_ntb_link_is_up(device_t dev, enum ntb_speed *speed, enum ntb_width *width)
sys/dev/ntb/ntb_hw/ntb_hw_intel.c
3847
if (width != NULL)
sys/dev/ntb/ntb_hw/ntb_hw_intel.c
3848
*width = intel_ntb_link_sta_width(ntb);
sys/dev/ntb/ntb_hw/ntb_hw_plx.c
540
ntb_plx_link_is_up(device_t dev, enum ntb_speed *speed, enum ntb_width *width)
sys/dev/ntb/ntb_hw/ntb_hw_plx.c
547
if (width != NULL)
sys/dev/ntb/ntb_hw/ntb_hw_plx.c
548
*width = (link & PCIEM_LINK_STA_WIDTH) >> 4;
sys/dev/ntb/ntb_hw/ntb_hw_plx.c
554
enum ntb_width width __unused)
sys/dev/ntb/test/ntb_tool.c
295
enum ntb_width width = 0;
sys/dev/ntb/test/ntb_tool.c
298
up = ntb_link_is_up(tc->dev, &speed, &width);
sys/dev/ntb/test/ntb_tool.c
305
up ? "up" : "down", speed, width);
sys/dev/pccard/pccardvar.h
43
int width;
sys/dev/pccbb/pccbb_pci.c
811
cbb_read_config(device_t brdev, u_int b, u_int s, u_int f, u_int reg, int width)
sys/dev/pccbb/pccbb_pci.c
817
b, s, f, reg, width));
sys/dev/pccbb/pccbb_pci.c
822
int width)
sys/dev/pccbb/pccbb_pci.c
828
b, s, f, reg, val, width);
sys/dev/pci/hostb_pci.c
118
pci_hostb_read_config(device_t dev, device_t child, int reg, int width)
sys/dev/pci/hostb_pci.c
121
return (pci_read_config(dev, reg, width));
sys/dev/pci/hostb_pci.c
126
uint32_t val, int width)
sys/dev/pci/hostb_pci.c
129
pci_write_config(dev, reg, val, width);
sys/dev/pci/pci.c
2323
pcie_read_config(device_t dev, int reg, int width)
sys/dev/pci/pci.c
2330
if (width == 2)
sys/dev/pci/pci.c
2335
return (pci_read_config(dev, cap + reg, width));
sys/dev/pci/pci.c
2339
pcie_write_config(device_t dev, int reg, uint32_t value, int width)
sys/dev/pci/pci.c
2347
pci_write_config(dev, cap + reg, value, width);
sys/dev/pci/pci.c
2359
int width)
sys/dev/pci/pci.c
2367
if (width == 2)
sys/dev/pci/pci.c
2372
old = pci_read_config(dev, cap + reg, width);
sys/dev/pci/pci.c
2375
pci_write_config(dev, cap + reg, new, width);
sys/dev/pci/pci.c
6055
pci_read_config_method(device_t dev, device_t child, int reg, int width)
sys/dev/pci/pci.c
6067
switch (width) {
sys/dev/pci/pci.c
6078
switch (width) {
sys/dev/pci/pci.c
6092
cfg->bus, cfg->slot, cfg->func, reg, width));
sys/dev/pci/pci.c
6097
uint32_t val, int width)
sys/dev/pci/pci.c
6103
cfg->bus, cfg->slot, cfg->func, reg, val, width);
sys/dev/pci/pci_dw.c
104
device_printf(sc->dev, "Unsupported width: %d\n", width);
sys/dev/pci/pci_dw.c
110
pci_dw_dbi_write(device_t dev, u_int reg, uint32_t val, int width)
sys/dev/pci/pci_dw.c
117
reg, val, width);
sys/dev/pci/pci_dw.c
119
switch (width) {
sys/dev/pci/pci_dw.c
130
device_printf(sc->dev, "Unsupported width: %d\n", width);
sys/dev/pci/pci_dw.c
89
pci_dw_dbi_read(device_t dev, u_int reg, int width)
sys/dev/pci/pci_dw.c
95
dprintf("%s: reg: 0x%04X, width: %d\n", __func__, reg, width);
sys/dev/pci/pci_dw.c
96
switch (width) {
sys/dev/pci/pci_pci.c
2442
pcib_read_config(device_t dev, u_int b, u_int s, u_int f, u_int reg, int width)
sys/dev/pci/pci_pci.c
2449
switch (width) {
sys/dev/pci/pci_pci.c
2461
f, reg, width));
sys/dev/pci/pci_pci.c
2465
pcib_write_config(device_t dev, u_int b, u_int s, u_int f, u_int reg, uint32_t val, int width)
sys/dev/pci/pci_pci.c
2476
reg, val, width);
sys/dev/pci/pci_pci.c
78
u_int f, u_int reg, int width);
sys/dev/pci/pci_pci.c
80
u_int f, u_int reg, uint32_t val, int width);
sys/dev/pci/pci_user.c
1030
uint32_t offset, width;
sys/dev/pci/pci_user.c
1043
width = pbi->pbi_width;
sys/dev/pci/pci_user.c
1045
if (offset + width < offset ||
sys/dev/pci/pci_user.c
1046
((pci_addr_t)1 << pm->pm_size) < offset + width)
sys/dev/pci/pcib_private.h
137
int width);
sys/dev/pci/pcivar.h
400
pci_read_config(device_t dev, int reg, int width)
sys/dev/pci/pcivar.h
402
return PCI_READ_CONFIG(device_get_parent(dev), dev, reg, width);
sys/dev/pci/pcivar.h
406
pci_write_config(device_t dev, int reg, uint32_t val, int width)
sys/dev/pci/pcivar.h
408
PCI_WRITE_CONFIG(device_get_parent(dev), dev, reg, val, width);
sys/dev/pci/pcivar.h
705
uint32_t pcie_read_config(device_t dev, int reg, int width);
sys/dev/pci/pcivar.h
706
void pcie_write_config(device_t dev, int reg, uint32_t value, int width);
sys/dev/pci/pcivar.h
708
uint32_t value, int width);
sys/dev/pci/vga_pci.c
491
vga_pci_read_config(device_t dev, device_t child, int reg, int width)
sys/dev/pci/vga_pci.c
494
return (pci_read_config(dev, reg, width));
sys/dev/pci/vga_pci.c
499
uint32_t val, int width)
sys/dev/pci/vga_pci.c
502
pci_write_config(dev, reg, val, width);
sys/dev/proto/proto_core.c
340
u_long width;
sys/dev/proto/proto_core.c
347
width = uio->uio_resid;
sys/dev/proto/proto_core.c
348
if (width < 1 || width > 8 || bitcount16(width) > 1)
sys/dev/proto/proto_core.c
351
if (ofs + width > r->r_size)
sys/dev/proto/proto_core.c
354
switch (width) {
sys/dev/proto/proto_core.c
378
error = uiomove(&buf, width, uio);
sys/dev/proto/proto_core.c
395
u_long width;
sys/dev/proto/proto_core.c
402
width = uio->uio_resid;
sys/dev/proto/proto_core.c
403
if (width < 1 || width > 8 || bitcount16(width) > 1)
sys/dev/proto/proto_core.c
406
if (ofs + width > r->r_size)
sys/dev/proto/proto_core.c
409
error = uiomove(&buf, width, uio);
sys/dev/proto/proto_core.c
413
switch (width) {
sys/dev/qat_c2xxx/qatreg.h
899
#define CRC_WIDTHMASK(width) ((((1L<<(width-1))-1L)<<1)|1L)
sys/dev/qcom_clk/qcom_clk_ro_div.c
144
sc->width = clkdef->width;
sys/dev/qcom_clk/qcom_clk_ro_div.c
61
uint32_t width;
sys/dev/qcom_clk/qcom_clk_ro_div.c
83
idx = (reg >> sc->shift) & ((1U << sc->width) - 1);
sys/dev/qcom_clk/qcom_clk_ro_div.h
40
uint32_t width; /* field width */
sys/dev/qcom_gcc/qcom_gcc_ipq4018_clock.c
139
.width = _width, \
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5489
u8 lsb, width;
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5496
for (width = 0; width < 32 - lsb && (data_mask & 1); width++, data_mask >>= 1);
sys/dev/qlnx/qlnxe/ecore_dbg_fw_funcs.c
5499
range = (lsb << 5) | (width - 1);
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
466
pci_cfg_rd_wr->width);
sys/dev/qlnx/qlnxe/qlnx_ioctl.c
471
pci_cfg_rd_wr->val, pci_cfg_rd_wr->width);
sys/dev/qlnx/qlnxe/qlnx_ioctl.h
169
uint32_t width;
sys/dev/rtsx/rtsx.c
1752
rtsx_set_bus_width(struct rtsx_softc *sc, enum mmc_bus_width width)
sys/dev/rtsx/rtsx.c
1756
switch (width) {
sys/dev/rtsx/rtsx.c
220
static int rtsx_set_bus_width(struct rtsx_softc *sc, enum mmc_bus_width width);
sys/dev/sfxge/common/ef10_tlv_layout.h
829
uint16_t width; /* Number of lanes */
sys/dev/sfxge/common/efx_mac.c
658
unsigned int width;
sys/dev/sfxge/common/efx_mac.c
679
width = high - low + 1;
sys/dev/sfxge/common/efx_mac.c
681
(width == EFX_MAC_STATS_MASK_BITS_PER_PAGE) ?
sys/dev/sfxge/common/efx_mac.c
682
(~0ULL) : (((1ULL << width) - 1) << (low - el_min));
sys/dev/sound/pci/hdsp-pcm.c
460
unsigned int pos_end, unsigned int width, unsigned int channels)
sys/dev/sound/pci/hdsp-pcm.c
465
for (slot = 0; slot < width; slot++) {
sys/dev/sound/pci/hdsp-pcm.c
476
unsigned int slot_offset, width;
sys/dev/sound/pci/hdsp-pcm.c
488
width = hdsp_slot_count(subset);
sys/dev/sound/pci/hdsp-pcm.c
491
if (width == 1)
sys/dev/sound/pci/hdsp-pcm.c
493
else if (width == 2)
sys/dev/sound/pci/hdsp-pcm.c
495
else if (width == 4)
sys/dev/sound/pci/hdsp-pcm.c
497
else if (width == 8)
sys/dev/sound/pci/hdsp-pcm.c
500
buffer_mux_write(dma, pcm, pos, pos + samples, width, channels);
sys/dev/sound/pci/hdsp-pcm.c
505
unsigned int pos_end, unsigned int width, unsigned int channels)
sys/dev/sound/pci/hdsp-pcm.c
510
for (slot = 0; slot < width; slot++) {
sys/dev/sound/pci/hdsp-pcm.c
521
unsigned int slot_offset, width;
sys/dev/sound/pci/hdsp-pcm.c
533
width = hdsp_slot_count(subset);
sys/dev/sound/pci/hdsp-pcm.c
536
if (width == 1)
sys/dev/sound/pci/hdsp-pcm.c
538
else if (width == 2)
sys/dev/sound/pci/hdsp-pcm.c
540
else if (width == 4)
sys/dev/sound/pci/hdsp-pcm.c
542
else if (width == 8)
sys/dev/sound/pci/hdsp-pcm.c
545
buffer_demux_read(dma, pcm, pos, pos + samples, width, channels);
sys/dev/sym/sym_hipd.c
1036
u8 width;
sys/dev/sym/sym_hipd.c
2722
tp->tinfo.user.width = np->maxwide ? BUS_16_BIT : BUS_8_BIT;
sys/dev/sym/sym_hipd.c
2734
tp->tinfo.user.width == BUS_16_BIT) {
sys/dev/sym/sym_hipd.c
2823
else if (tp->tinfo.current.width != tp->tinfo.goal.width)
sys/dev/sym/sym_hipd.c
2844
msgptr[msglen++] = tp->tinfo.goal.width;
sys/dev/sym/sym_hipd.c
2853
msgptr[msglen++] = tp->tinfo.goal.width;
sys/dev/sym/sym_hipd.c
3274
tp->tinfo.current.width = BUS_8_BIT;
sys/dev/sym/sym_hipd.c
3439
cts__spi.bus_width = tp->tinfo.current.width;
sys/dev/sym/sym_hipd.c
3475
tp->tinfo.goal.width = tp->tinfo.current.width = wide;
sys/dev/sym/sym_hipd.c
3519
tp->tinfo.goal.width = tp->tinfo.current.width = wide;
sys/dev/sym/sym_hipd.c
4729
else if (tp->tinfo.current.width != BUS_8_BIT)
sys/dev/sym/sym_hipd.c
5168
tp->tinfo.current.width = BUS_8_BIT;
sys/dev/sym/sym_hipd.c
5725
if (wide > tp->tinfo.user.width)
sys/dev/sym/sym_hipd.c
5726
{chg = 1; wide = tp->tinfo.user.width;}
sys/dev/sym/sym_hipd.c
5816
tp->tinfo.goal.width = wide;
sys/dev/sym/sym_hipd.c
5859
if (wide > tp->tinfo.user.width)
sys/dev/sym/sym_hipd.c
5860
{chg = 1; wide = tp->tinfo.user.width;}
sys/dev/sym/sym_hipd.c
7538
if (tp->tinfo.current.width != tp->tinfo.goal.width ||
sys/dev/sym/sym_hipd.c
7989
cts__spi->bus_width = tip->width;
sys/dev/sym/sym_hipd.c
8116
tp->tinfo.current.width = tp->tinfo.goal.width = BUS_8_BIT;
sys/dev/sym/sym_hipd.c
8139
tip->width = cts__spi->bus_width;
sys/dev/sym/sym_hipd.c
8156
if (tip->width > SYM_SETUP_MAX_WIDE) tip->width = SYM_SETUP_MAX_WIDE;
sys/dev/sym/sym_hipd.c
8168
if (tip->width > np->maxwide)
sys/dev/sym/sym_hipd.c
8169
tip->width = np->maxwide;
sys/dev/sym/sym_hipd.c
8175
!(tip->width == BUS_16_BIT && tip->offset)) {
sys/dev/sym/sym_hipd.c
9010
tp->tinfo.user.width = tn->bus_width == 0x10 ? BUS_16_BIT : BUS_8_BIT;
sys/dev/sym/sym_hipd.c
9037
tp->tinfo.user.width =
sys/dev/syscons/scterm-teken.c
567
unsigned int width;
sys/dev/syscons/scterm-teken.c
585
width = r->tr_end.tp_col - r->tr_begin.tp_col;
sys/dev/syscons/scterm-teken.c
590
width, map[ch], attr);
sys/dev/syscons/scterm-teken.c
606
unsigned int width;
sys/dev/syscons/scterm-teken.c
629
width = r->tr_end.tp_col - r->tr_begin.tp_col;
sys/dev/syscons/scterm-teken.c
640
sc_vtb_move(&scp->vtb, src, dst, width);
sys/dev/syscons/scterm-teken.c
655
sc_vtb_move(&scp->vtb, src, dst, width);
sys/dev/syscons/syscons.c
283
int attr, column, mysize, width, xsize, yborder, ysize;
sys/dev/syscons/syscons.c
316
width = (c == '\b' ?
sys/dev/syscons/syscons.c
321
if (width == 0 || (width < 0 && ind < -width))
sys/dev/syscons/syscons.c
323
} while (atomic_cmpset_rel_int(&ec_scroffset, ind, ind + width) == 0);
sys/dev/syscons/syscons.c
334
while (--width != 0);
sys/dev/syscons/syscons.c
4203
sc_load_font(scr_stat *scp, int page, int size, int width, u_char *buf,
sys/dev/syscons/syscons.c
4210
vidd_load_font(sc->adp, page, size, width, buf, base, count);
sys/dev/syscons/syscons.c
4215
sc_save_font(scr_stat *scp, int page, int size, int width, u_char *buf,
sys/dev/syscons/syscons.c
4222
vidd_save_font(sc->adp, page, size, width, buf, base, count);
sys/dev/syscons/syscons.h
555
void sc_load_font(scr_stat *scp, int page, int size, int width,
sys/dev/syscons/syscons.h
557
void sc_save_font(scr_stat *scp, int page, int size, int width,
sys/dev/usb/input/atp.c
1234
spans[num_spans].width++;
sys/dev/usb/input/atp.c
1246
(spans[i].width > FG_PSPAN_MAX_WIDTH)) {
sys/dev/usb/input/atp.c
300
u_int width; /* in units of sensors */
sys/dev/usb/input/wmt.c
496
uint32_t width;
sys/dev/usb/input/wmt.c
581
width = slot_data->val[WMT_WIDTH] >> 1;
sys/dev/usb/input/wmt.c
583
slot_data->ori = width > height;
sys/dev/usb/input/wmt.c
584
slot_data->maj = MAX(width, height);
sys/dev/usb/input/wmt.c
585
slot_data->min = MIN(width, height);
sys/dev/usb/wlan/if_zyd.c
1665
rf->width = 24; /* 24-bit RF values */
sys/dev/usb/wlan/if_zyd.c
1678
rf->width = 24; /* 24-bit RF values */
sys/dev/usb/wlan/if_zyd.c
1684
rf->width = 24; /* 24-bit RF values */
sys/dev/usb/wlan/if_zyd.c
1690
rf->width = 24; /* 24-bit RF values */
sys/dev/usb/wlan/if_zyd.c
1697
rf->width = 24; /* 24-bit RF values */
sys/dev/usb/wlan/if_zyd.c
1704
rf->width = 18; /* 18-bit RF values */
sys/dev/usb/wlan/if_zyd.c
902
req.width = htole16(rf->width);
sys/dev/usb/wlan/if_zyd.c
903
for (i = 0; i < rf->width; i++) {
sys/dev/usb/wlan/if_zyd.c
905
if (val & (1 << (rf->width - 1 - i)))
sys/dev/usb/wlan/if_zyd.c
908
error = zyd_cmd(sc, ZYD_CMD_RFCFG, &req, 4 + 2 * rf->width, NULL, 0, 0);
sys/dev/usb/wlan/if_zydreg.h
1093
uint16_t width;
sys/dev/usb/wlan/if_zydreg.h
1220
int width;
sys/dev/videomode/pickmode.c
43
pick_mode_by_dotclock(int width, int height, int dotclock)
sys/dev/videomode/pickmode.c
48
DPRINTF("%s: looking for %d x %d at up to %d kHz\n", __func__, width,
sys/dev/videomode/pickmode.c
52
if ((this->hdisplay != width) || (this->vdisplay != height) ||
sys/dev/videomode/pickmode.c
68
pick_mode_by_ref(int width, int height, int refresh)
sys/dev/videomode/pickmode.c
73
DPRINTF("%s: looking for %d x %d at up to %d Hz\n", __func__, width,
sys/dev/videomode/pickmode.c
79
if ((this->hdisplay != width) || (this->vdisplay != height))
sys/dev/virtio/gpu/virtio_gpu.c
151
int x, y, width, height;
sys/dev/virtio/gpu/virtio_gpu.c
160
width = area->tr_end.tp_col * vw->vw_font->vf_width + vw->vw_draw_area.tr_begin.tp_col - x;
sys/dev/virtio/gpu/virtio_gpu.c
163
vtgpu_transfer_to_host_2d(sc, x, y, width, height);
sys/dev/virtio/gpu/virtio_gpu.c
164
vtgpu_resource_flush(sc, x, y, width, height);
sys/dev/virtio/gpu/virtio_gpu.c
170
unsigned int width, unsigned int height,
sys/dev/virtio/gpu/virtio_gpu.c
179
vt_fb_bitblt_bitmap(vd, vw, pattern, mask, width, height, x, y, fg, bg);
sys/dev/virtio/gpu/virtio_gpu.c
181
vtgpu_transfer_to_host_2d(sc, x, y, width, height);
sys/dev/virtio/gpu/virtio_gpu.c
182
vtgpu_resource_flush(sc, x, y, width, height);
sys/dev/virtio/gpu/virtio_gpu.c
188
unsigned int width, unsigned int height,
sys/dev/virtio/gpu/virtio_gpu.c
201
int width, height;
sys/dev/virtio/gpu/virtio_gpu.c
208
width = x2 - x1 + 1;
sys/dev/virtio/gpu/virtio_gpu.c
210
vtgpu_transfer_to_host_2d(sc, x1, y1, width, height);
sys/dev/virtio/gpu/virtio_gpu.c
211
vtgpu_resource_flush(sc, x1, y1, width, height);
sys/dev/virtio/gpu/virtio_gpu.c
527
le32toh(s.resp.pmodes[i].r.width);
sys/dev/virtio/gpu/virtio_gpu.c
560
s.req.width = htole32(sc->vtgpu_fb_info.fb_width);
sys/dev/virtio/gpu/virtio_gpu.c
624
uint32_t width, uint32_t height)
sys/dev/virtio/gpu/virtio_gpu.c
640
s.req.r.width = htole32(width);
sys/dev/virtio/gpu/virtio_gpu.c
662
uint32_t width, uint32_t height)
sys/dev/virtio/gpu/virtio_gpu.c
678
s.req.r.width = htole32(width);
sys/dev/virtio/gpu/virtio_gpu.c
701
uint32_t width, uint32_t height)
sys/dev/virtio/gpu/virtio_gpu.c
717
s.req.r.width = htole32(width);
sys/dev/virtio/gpu/virtio_gpu.h
168
uint32_t width;
sys/dev/virtio/gpu/virtio_gpu.h
184
uint32_t width;
sys/dev/virtio/gpu/virtio_gpu.h
270
uint32_t width;
sys/dev/virtio/gpu/virtio_gpu.h
419
uint32_t width;
sys/dev/vmd/vmd.c
174
vmd_read_config(device_t dev, u_int b, u_int s, u_int f, u_int reg, int width)
sys/dev/vmd/vmd.c
185
switch (width) {
sys/dev/vmd/vmd.c
200
uint32_t val, int width)
sys/dev/vmd/vmd.c
211
switch (width) {
sys/dev/vt/font/vt_mouse_cursor.c
72
.width = 10,
sys/dev/vt/hw/fb/vt_early_fb.c
197
GET("width", width)
sys/dev/vt/hw/fb/vt_fb.c
281
unsigned int width, unsigned int height,
sys/dev/vt/hw/fb/vt_fb.c
293
bpl = (width + 7) / 8; /* Bytes per source line. */
sys/dev/vt/hw/fb/vt_fb.c
306
if (x + width > vw->vw_draw_area.tr_end.tp_col) {
sys/dev/vt/hw/fb/vt_fb.c
309
width = vw->vw_draw_area.tr_end.tp_col - x;
sys/dev/vt/hw/fb/vt_fb.c
312
for (xi = 0; xi < width; xi++) {
sys/dev/vt/hw/fb/vt_fb.c
346
unsigned int width, unsigned int height,
sys/dev/vt/hw/fb/vt_fb.c
369
if (x + width > vw->vw_draw_area.tr_end.tp_col) {
sys/dev/vt/hw/fb/vt_fb.c
372
width = vw->vw_draw_area.tr_end.tp_col - x;
sys/dev/vt/hw/fb/vt_fb.c
375
for (xi = 0; xi < (width * 4); xi += 4) {
sys/dev/vt/hw/fb/vt_fb.c
378
cc = (argb[yi * width * 4 + xi] << 16) |
sys/dev/vt/hw/fb/vt_fb.c
379
(argb[yi * width * 4 + xi + 1] << 8) |
sys/dev/vt/hw/fb/vt_fb.c
380
(argb[yi * width * 4 + xi + 2]) |
sys/dev/vt/hw/fb/vt_fb.c
381
(argb[yi * width * 4 + xi + 3] << 24);
sys/dev/vt/hw/fb/vt_fb.c
451
vd->vd_mcursor->width, vd->vd_mcursor->height,
sys/dev/vt/hw/ofwfb/ofwfb.c
135
unsigned int width, unsigned int height,
sys/dev/vt/hw/ofwfb/ofwfb.c
171
if (mask == NULL && sc->fb_bpp == 8 && (width % 8 == 0)) {
sys/dev/vt/hw/ofwfb/ofwfb.c
173
if (((x + width) > vd->vd_width) || ((y + height) >
sys/dev/vt/hw/ofwfb/ofwfb.c
178
for (c = 0; c < width; c += 8) {
sys/dev/vt/hw/ofwfb/ofwfb.c
213
c < width && x + c < vw->vw_draw_area.tr_end.tp_col;
sys/dev/vt/hw/ofwfb/ofwfb.c
250
unsigned int width, unsigned int height,
sys/dev/vt/hw/ofwfb/ofwfb.c
302
vd->vd_mcursor->width, vd->vd_mcursor->height,
sys/dev/vt/hw/ofwfb/ofwfb.c
495
pcell_t depth, height, width, stride;
sys/dev/vt/hw/ofwfb/ofwfb.c
551
OF_getproplen(node, "width") != sizeof(width) ||
sys/dev/vt/hw/ofwfb/ofwfb.c
562
OF_getencprop(node, "width", &width, sizeof(width));
sys/dev/vt/hw/ofwfb/ofwfb.c
565
stride = width*depth/8;
sys/dev/vt/hw/ofwfb/ofwfb.c
569
sc->fb.fb_width = width;
sys/dev/vt/hw/simplefb/simplefb.c
164
pcell_t height, width, stride;
sys/dev/vt/hw/simplefb/simplefb.c
177
OF_getencprop(node, "width", &width, sizeof(width)) == -1 ||
sys/dev/vt/hw/simplefb/simplefb.c
184
sc->fb_width = width;
sys/dev/vt/hw/simplefb/simplefb.c
230
unsigned int width, unsigned int height,
sys/dev/vt/hw/vga/vt_vga.c
1006
unsigned int width, unsigned int height,
sys/dev/vt/hw/vga/vt_vga.c
740
cursor->width - src_x,
sys/dev/vt/hw/vga/vt_vga.c
758
cursor->map, cursor->mask, cursor->width,
sys/dev/vt/hw/vga/vt_vga.c
963
unsigned int width, unsigned int height,
sys/dev/vt/hw/vga/vt_vga.c
973
x2 = roundup(x + width, VT_VGA_PIXELS_BLOCK);
sys/dev/vt/hw/vga/vt_vga.c
988
pattern, mask, width,
sys/dev/vt/hw/vga/vt_vga.c
998
x_count = min(width - src_x, VT_VGA_PIXELS_BLOCK);
sys/dev/vt/vt.h
345
unsigned int width, unsigned int height,
sys/dev/vt/vt.h
349
unsigned int width, unsigned int height,
sys/dev/vt/vt.h
430
uint8_t width;
sys/dev/vt/vt_core.c
1284
mx + vd->vd_mcursor->width <= area->tr_begin.tp_col ||
sys/dev/vt/vt_core.c
1309
((x + vd->vd_mcursor->width) / vf->vf_width) + 1;
sys/dev/vt/vt_core.c
1458
vd->vd_mcursor->width, vd->vd_mcursor->height,
sys/dev/vt/vt_font.c
166
if (f->width < 1 || f->height < 1)
sys/dev/vt/vt_font.c
168
if (f->width > VTFONT_MAXDIMENSION || f->height > VTFONT_MAXDIMENSION ||
sys/dev/vt/vt_font.c
181
glyphsize = howmany(f->width, 8) * f->height * f->glyph_count;
sys/dev/vt/vt_font.c
189
vf->vf_width = f->width;
sys/geom/raid/md_promise.c
299
int disk_pos, width;
sys/geom/raid/md_promise.c
302
width = vol->v_disks_count / 2;
sys/geom/raid/md_promise.c
303
disk_pos = (md_disk_pos / width) +
sys/geom/raid/md_promise.c
304
(md_disk_pos % width) * width;
sys/kern/subr_asan.c
1026
#define ASAN_BUS_SET_FUNC(func, width, type) \
sys/kern/subr_asan.c
1027
void kasan_bus_space_set_##func##_##width(bus_space_tag_t tag, \
sys/kern/subr_asan.c
1031
bus_space_set_##func##_##width(tag, hnd, offset, value, \
sys/kern/subr_asan.c
1050
#define ASAN_BUS_PEEK_FUNC(width, type) \
sys/kern/subr_asan.c
1051
int kasan_bus_space_peek_##width(bus_space_tag_t tag, \
sys/kern/subr_asan.c
1054
return (bus_space_peek_##width(tag, hnd, offset, \
sys/kern/subr_asan.c
1063
#define ASAN_BUS_POKE_FUNC(width, type) \
sys/kern/subr_asan.c
1064
int kasan_bus_space_poke_##width(bus_space_tag_t tag, \
sys/kern/subr_asan.c
1067
return (bus_space_poke_##width(tag, hnd, offset, \
sys/kern/subr_asan.c
936
#define ASAN_BUS_READ_FUNC(func, width, type) \
sys/kern/subr_asan.c
937
type kasan_bus_space_read##func##_##width(bus_space_tag_t tag, \
sys/kern/subr_asan.c
940
return (bus_space_read##func##_##width(tag, hnd, \
sys/kern/subr_asan.c
944
#define ASAN_BUS_READ_PTR_FUNC(func, width, type) \
sys/kern/subr_asan.c
945
void kasan_bus_space_read_##func##_##width(bus_space_tag_t tag, \
sys/kern/subr_asan.c
951
bus_space_read_##func##_##width(tag, hnd, size, buf, \
sys/kern/subr_asan.c
985
#define ASAN_BUS_WRITE_FUNC(func, width, type) \
sys/kern/subr_asan.c
986
void kasan_bus_space_write##func##_##width(bus_space_tag_t tag, \
sys/kern/subr_asan.c
989
bus_space_write##func##_##width(tag, hnd, offset, value);\
sys/kern/subr_asan.c
992
#define ASAN_BUS_WRITE_PTR_FUNC(func, width, type) \
sys/kern/subr_asan.c
993
void kasan_bus_space_write_##func##_##width(bus_space_tag_t tag,\
sys/kern/subr_asan.c
999
bus_space_write_##func##_##width(tag, hnd, size, buf, \
sys/kern/subr_csan.c
740
#define CSAN_BUS_READ_FUNC(func, width, type) \
sys/kern/subr_csan.c
741
type kcsan_bus_space_read##func##_##width(bus_space_tag_t tag, \
sys/kern/subr_csan.c
744
return (bus_space_read##func##_##width(tag, hnd, \
sys/kern/subr_csan.c
748
#define CSAN_BUS_READ_PTR_FUNC(func, width, type) \
sys/kern/subr_csan.c
749
void kcsan_bus_space_read_##func##_##width(bus_space_tag_t tag, \
sys/kern/subr_csan.c
755
bus_space_read_##func##_##width(tag, hnd, size, buf, \
sys/kern/subr_csan.c
789
#define CSAN_BUS_WRITE_FUNC(func, width, type) \
sys/kern/subr_csan.c
790
void kcsan_bus_space_write##func##_##width(bus_space_tag_t tag, \
sys/kern/subr_csan.c
793
bus_space_write##func##_##width(tag, hnd, offset, value); \
sys/kern/subr_csan.c
796
#define CSAN_BUS_WRITE_PTR_FUNC(func, width, type) \
sys/kern/subr_csan.c
797
void kcsan_bus_space_write_##func##_##width(bus_space_tag_t tag, \
sys/kern/subr_csan.c
803
bus_space_write_##func##_##width(tag, hnd, size, buf, \
sys/kern/subr_csan.c
837
#define CSAN_BUS_SET_FUNC(func, width, type) \
sys/kern/subr_csan.c
838
void kcsan_bus_space_set_##func##_##width(bus_space_tag_t tag, \
sys/kern/subr_csan.c
842
bus_space_set_##func##_##width(tag, hnd, offset, value, \
sys/kern/subr_csan.c
876
#define CSAN_BUS_PEEK_FUNC(width, type) \
sys/kern/subr_csan.c
877
int kcsan_bus_space_peek_##width(bus_space_tag_t tag, \
sys/kern/subr_csan.c
882
return (bus_space_peek_##width(tag, hnd, offset, value)); \
sys/kern/subr_csan.c
892
#define CSAN_BUS_POKE_FUNC(width, type) \
sys/kern/subr_csan.c
893
int kcsan_bus_space_poke_##width(bus_space_tag_t tag, \
sys/kern/subr_csan.c
896
return (bus_space_poke_##width(tag, hnd, offset, value)); \
sys/kern/subr_msan.c
1427
#define MSAN_BUS_READ_FUNC(func, width, type) \
sys/kern/subr_msan.c
1428
type kmsan_bus_space_read##func##_##width(bus_space_tag_t tag, \
sys/kern/subr_msan.c
1434
KMSAN_STATE_INITED, (width)); \
sys/kern/subr_msan.c
1435
ret = bus_space_read##func##_##width(tag, hnd, offset); \
sys/kern/subr_msan.c
1440
#define MSAN_BUS_READ_PTR_FUNC(func, width, type) \
sys/kern/subr_msan.c
1441
void kmsan_bus_space_read_##func##_##width(bus_space_tag_t tag, \
sys/kern/subr_msan.c
1446
(width) * count); \
sys/kern/subr_msan.c
1447
bus_space_read_##func##_##width(tag, hnd, size, buf, \
sys/kern/subr_msan.c
1481
#define MSAN_BUS_WRITE_FUNC(func, width, type) \
sys/kern/subr_msan.c
1482
void kmsan_bus_space_write##func##_##width(bus_space_tag_t tag, \
sys/kern/subr_msan.c
1485
bus_space_write##func##_##width(tag, hnd, offset, value);\
sys/kern/subr_msan.c
1488
#define MSAN_BUS_WRITE_PTR_FUNC(func, width, type) \
sys/kern/subr_msan.c
1489
void kmsan_bus_space_write_##func##_##width(bus_space_tag_t tag,\
sys/kern/subr_msan.c
1495
bus_space_write_##func##_##width(tag, hnd, size, buf, \
sys/kern/subr_msan.c
1522
#define MSAN_BUS_SET_FUNC(func, width, type) \
sys/kern/subr_msan.c
1523
void kmsan_bus_space_set_##func##_##width(bus_space_tag_t tag, \
sys/kern/subr_msan.c
1527
bus_space_set_##func##_##width(tag, hnd, offset, value, \
sys/kern/subr_msan.c
1546
#define MSAN_BUS_PEEK_FUNC(width, type) \
sys/kern/subr_msan.c
1547
int kmsan_bus_space_peek_##width(bus_space_tag_t tag, \
sys/kern/subr_msan.c
1550
return (bus_space_peek_##width(tag, hnd, offset, value)); \
sys/kern/subr_msan.c
1557
#define MSAN_BUS_POKE_FUNC(width, type) \
sys/kern/subr_msan.c
1558
int kmsan_bus_space_poke_##width(bus_space_tag_t tag, \
sys/kern/subr_msan.c
1561
return (bus_space_poke_##width(tag, hnd, offset, value)); \
sys/kern/subr_prf.c
686
int base, lflag, qflag, tmp, width, ladjust, sharpflag, dot;
sys/kern/subr_prf.c
707
width = 0;
sys/kern/subr_prf.c
735
width = va_arg(ap, int);
sys/kern/subr_prf.c
736
if (width < 0) {
sys/kern/subr_prf.c
738
width = -width;
sys/kern/subr_prf.c
761
width = n;
sys/kern/subr_prf.c
768
width -= 1;
sys/kern/subr_prf.c
770
if (!ladjust && width > 0)
sys/kern/subr_prf.c
771
while (width--)
sys/kern/subr_prf.c
774
if (ladjust && width > 0)
sys/kern/subr_prf.c
775
while (width--)
sys/kern/subr_prf.c
781
if (!width)
sys/kern/subr_prf.c
782
width = 16;
sys/kern/subr_prf.c
783
while(width--) {
sys/kern/subr_prf.c
787
if (width)
sys/kern/subr_prf.c
838
sharpflag = (width == 0);
sys/kern/subr_prf.c
862
width -= n;
sys/kern/subr_prf.c
864
if (!ladjust && width > 0)
sys/kern/subr_prf.c
865
while (width--)
sys/kern/subr_prf.c
869
if (ladjust && width > 0)
sys/kern/subr_prf.c
870
while (width--)
sys/kern/subr_prf.c
947
dwidth = width - tmp;
sys/kern/subr_prf.c
948
width -= tmp + imax(dwidth, n);
sys/kern/subr_prf.c
951
while (width-- > 0)
sys/kern/subr_prf.c
988
width -= retval - tmp;
sys/kern/subr_prf.c
993
while (width-- > 0)
sys/kern/subr_scanf.c
103
size_t width; /* field width, or 0 */
sys/kern/subr_scanf.c
138
width = 0;
sys/kern/subr_scanf.c
190
width = width * 10 + c - '0';
sys/kern/subr_scanf.c
304
if (width == 0)
sys/kern/subr_scanf.c
305
width = 1;
sys/kern/subr_scanf.c
309
if ((n = inr) < width) {
sys/kern/subr_scanf.c
311
width -= n;
sys/kern/subr_scanf.c
317
sum += width;
sys/kern/subr_scanf.c
318
inr -= width;
sys/kern/subr_scanf.c
319
inp += width;
sys/kern/subr_scanf.c
325
bcopy(inp, va_arg(ap, char *), width);
sys/kern/subr_scanf.c
326
inr -= width;
sys/kern/subr_scanf.c
327
inp += width;
sys/kern/subr_scanf.c
328
nread += width;
sys/kern/subr_scanf.c
336
if (width == 0)
sys/kern/subr_scanf.c
337
width = (size_t)~0; /* `infinity' */
sys/kern/subr_scanf.c
343
if (--width == 0)
sys/kern/subr_scanf.c
358
if (--width == 0)
sys/kern/subr_scanf.c
378
if (width == 0)
sys/kern/subr_scanf.c
379
width = (size_t)~0;
sys/kern/subr_scanf.c
384
if (--width == 0)
sys/kern/subr_scanf.c
395
if (--width == 0)
sys/kern/subr_scanf.c
410
if (width == 0 || width > sizeof(buf) - 1)
sys/kern/subr_scanf.c
411
width = sizeof(buf) - 1;
sys/kern/subr_scanf.c
414
if (--width > sizeof(buf) - 2)
sys/kern/subr_scanf.c
415
width = sizeof(buf) - 2;
sys/kern/subr_scanf.c
416
width++;
sys/kern/subr_scanf.c
419
for (p = buf; width; width--) {
sys/net/if_vxlan.c
865
int i, len, af, width;
sys/net/if_vxlan.c
880
width = INET_ADDRSTRLEN - 1;
sys/net/if_vxlan.c
883
width = INET6_ADDRSTRLEN - 1;
sys/net/if_vxlan.c
886
sbuf_printf(sb, "%*s ", width, buf);
sys/net/iflib.c
1424
#define DMA_WIDTH_TO_BUS_LOWADDR(width) \
sys/net/iflib.c
1425
(((width) == 0) || (width) == flsll(BUS_SPACE_MAXADDR) ? \
sys/net/iflib.c
1426
BUS_SPACE_MAXADDR : (1ULL << (width)) - 1ULL)
sys/net80211/ieee80211_radiotap.c
261
size_t align, width;
sys/net80211/ieee80211_radiotap.c
265
.width = sizeof(uint64_t),
sys/net80211/ieee80211_radiotap.c
269
.width = sizeof(uint8_t),
sys/net80211/ieee80211_radiotap.c
273
.width = sizeof(uint8_t),
sys/net80211/ieee80211_radiotap.c
277
.width = 2*sizeof(uint16_t),
sys/net80211/ieee80211_radiotap.c
281
.width = sizeof(uint16_t),
sys/net80211/ieee80211_radiotap.c
285
.width = sizeof(uint8_t),
sys/net80211/ieee80211_radiotap.c
289
.width = sizeof(uint8_t),
sys/net80211/ieee80211_radiotap.c
293
.width = sizeof(uint16_t),
sys/net80211/ieee80211_radiotap.c
297
.width = sizeof(uint16_t),
sys/net80211/ieee80211_radiotap.c
301
.width = sizeof(uint16_t),
sys/net80211/ieee80211_radiotap.c
305
.width = sizeof(uint8_t),
sys/net80211/ieee80211_radiotap.c
309
.width = sizeof(uint8_t),
sys/net80211/ieee80211_radiotap.c
313
.width = sizeof(uint8_t),
sys/net80211/ieee80211_radiotap.c
317
.width = sizeof(uint8_t),
sys/net80211/ieee80211_radiotap.c
321
.width = 2*sizeof(uint32_t),
sys/net80211/ieee80211_radiotap.c
325
.width = 3*sizeof(uint8_t),
sys/net80211/ieee80211_radiotap.c
344
if (off + items[i].width > le16toh(rh->it_len)) {
sys/net80211/ieee80211_radiotap.c
348
off, items[i].width, le16toh(rh->it_len));
sys/net80211/ieee80211_radiotap.c
353
off += items[i].width;
sys/netgraph/ng_frame_relay.c
104
u_char width;
sys/netgraph/ng_frame_relay.c
114
(dlci) <<= (segment)->width; \
sys/netgraph/ng_frame_relay.c
122
(dlci) >>= (segment)->width; \
sys/netgraph/ng_source.c
475
!(embed->width == 1 || embed->width == 2 ||
sys/netgraph/ng_source.c
476
embed->width == 4)) {
sys/netgraph/ng_source.c
855
cp = (caddr_t)&val + sizeof(val) - cnt->width;
sys/netgraph/ng_source.c
856
ng_source_packet_mod(sc, m, cnt->offset, cnt->width, cp, cnt->flags);
sys/netgraph/ng_source.h
100
uint8_t width; /* in bytes (1, 2, 4) */
sys/ofed/drivers/infiniband/core/ib_sysfs.c
518
int width = (tab_attr->index >> 16) & 0xff;
sys/ofed/drivers/infiniband/core/ib_sysfs.c
527
switch (width) {
sys/ofed/include/rdma/ib_verbs.h
471
static inline int ib_width_enum_to_int(enum ib_port_width width)
sys/ofed/include/rdma/ib_verbs.h
473
switch (width) {
sys/powerpc/include/bus.h
463
#define BUS_PEEK_FUNC(width, type) \
sys/powerpc/include/bus.h
465
bus_space_peek_##width(bus_space_tag_t tag, \
sys/powerpc/include/bus.h
469
tmp = bus_space_read_##width(tag, hnd, offset); \
sys/powerpc/include/bus.h
478
#define BUS_POKE_FUNC(width, type) \
sys/powerpc/include/bus.h
480
bus_space_poke_##width(bus_space_tag_t tag, \
sys/powerpc/include/bus.h
483
bus_space_write_##width(tag, hnd, offset, value); \
sys/powerpc/mpc85xx/lbc.c
296
switch (sc->sc_banks[i].width) {
sys/powerpc/mpc85xx/lbc.c
352
pcell_t width;
sys/powerpc/mpc85xx/lbc.c
355
if (OF_getprop(node, "bank-width", (void *)&width, sizeof(width)) <= 0)
sys/powerpc/mpc85xx/lbc.c
363
sc->sc_banks[bank].width = width * 8;
sys/powerpc/mpc85xx/lbc.c
609
sc->sc_banks[bank].width = 16;
sys/powerpc/mpc85xx/lbc.h
99
int width; /* data bus width */
sys/powerpc/ofw/ofw_syscons.c
484
ofwfb_save_font(video_adapter_t *adp, int page, int size, int width,
sys/powerpc/ofw/ofw_syscons.c
492
ofwfb_load_font(video_adapter_t *adp, int page, int size, int width,
sys/powerpc/ofw/ofw_syscons.c
916
uint32_t pixel_mask, int size, int width)
sys/powerpc/ofw/ofw_syscons.c
923
width));
sys/powerpc/ofw/ofw_syscons.c
928
uint32_t pixel_mask, int size, int width)
sys/powerpc/ofw/ofw_syscons.c
948
for (j = 0, k = width; j < 8; j++, k--) {
sys/powerpc/ofw/ofw_syscons.c
964
uint32_t pixel_mask, int size, int width)
sys/powerpc/ofw/ofw_syscons.c
980
for (j = 0, k = width; j < 8; j++, k--) {
sys/powerpc/powermac/cpcht.c
315
int width)
sys/powerpc/powermac/cpcht.c
330
switch (width) {
sys/powerpc/powermac/cpcht.c
347
u_int reg, u_int32_t val, int width)
sys/powerpc/powermac/cpcht.c
362
switch (width) {
sys/powerpc/powermac/grackle.c
141
int width)
sys/powerpc/powermac/grackle.c
162
switch (width) {
sys/powerpc/powermac/grackle.c
181
u_int reg, u_int32_t val, int width)
sys/powerpc/powermac/grackle.c
190
switch (width) {
sys/powerpc/powermac/uninorthpci.c
178
int width)
sys/powerpc/powermac/uninorthpci.c
190
switch (width) {
sys/powerpc/powermac/uninorthpci.c
209
u_int reg, u_int32_t val, int width)
sys/powerpc/powermac/uninorthpci.c
219
switch (width) {
sys/powerpc/powernv/opal_pci.c
500
int width)
sys/powerpc/powernv/opal_pci.c
514
switch (width) {
sys/powerpc/powernv/opal_pci.c
533
width = 4;
sys/powerpc/powernv/opal_pci.c
542
(word == ((1UL << (8 * width)) - 1))) {
sys/powerpc/powernv/opal_pci.c
562
u_int reg, uint32_t val, int width)
sys/powerpc/powernv/opal_pci.c
572
switch (width) {
sys/powerpc/powerpc/db_disasm.c
592
extract_field(u_int32_t value, u_int32_t base, u_int32_t width)
sys/powerpc/powerpc/db_disasm.c
594
u_int32_t mask = (1 << width) - 1;
sys/powerpc/powerpc/db_disasm.c
79
u_int32_t extract_field(u_int32_t value, u_int32_t base, u_int32_t width);
sys/powerpc/pseries/rtas_pci.c
148
int width)
sys/powerpc/pseries/rtas_pci.c
165
sc->sc_pcir.phys_mid, width, &pcierror, &retval);
sys/powerpc/pseries/rtas_pci.c
168
config_addr, width, &pcierror, &retval);
sys/powerpc/pseries/rtas_pci.c
171
switch (width) {
sys/powerpc/pseries/rtas_pci.c
188
u_int reg, uint32_t val, int width)
sys/powerpc/pseries/rtas_pci.c
204
width, val, &pcierror);
sys/powerpc/pseries/rtas_pci.c
207
width, val, &pcierror);
sys/riscv/include/bus.h
452
#define BUS_PEEK_FUNC(width, type) \
sys/riscv/include/bus.h
454
bus_space_peek_##width(bus_space_tag_t tag, \
sys/riscv/include/bus.h
458
tmp = bus_space_read_##width(tag, hnd, offset); \
sys/riscv/include/bus.h
467
#define BUS_POKE_FUNC(width, type) \
sys/riscv/include/bus.h
469
bus_space_poke_##width(bus_space_tag_t tag, \
sys/riscv/include/bus.h
472
bus_space_write_##width(tag, hnd, offset, value); \
sys/sys/bus_san.h
112
#define _BUS_SAN_FUNCS(sp, width, type) \
sys/sys/bus_san.h
113
BUS_SAN_READ(sp, width, type); \
sys/sys/bus_san.h
114
BUS_SAN_WRITE(sp, width, type); \
sys/sys/bus_san.h
115
BUS_SAN_SET(sp, width, type); \
sys/sys/bus_san.h
116
BUS_SAN_COPY(sp, width, type) \
sys/sys/bus_san.h
117
BUS_SAN_PEEK(sp, width, type); \
sys/sys/bus_san.h
118
BUS_SAN_POKE(sp, width, type)
sys/sys/bus_san.h
120
#define BUS_SAN_FUNCS(width, type) \
sys/sys/bus_san.h
121
_BUS_SAN_FUNCS(SAN_INTERCEPTOR_PREFIX, width, type)
sys/sys/bus_san.h
44
#define BUS_SAN_MULTI(sp, rw, width, type) \
sys/sys/bus_san.h
45
void sp##_bus_space_##rw##_multi_##width(bus_space_tag_t, \
sys/sys/bus_san.h
47
void sp##_bus_space_##rw##_multi_stream_##width(bus_space_tag_t, \
sys/sys/bus_san.h
49
void sp##_bus_space_##rw##_region_##width(bus_space_tag_t, \
sys/sys/bus_san.h
51
void sp##_bus_space_##rw##_region_stream_##width(bus_space_tag_t, \
sys/sys/bus_san.h
54
#define BUS_SAN_READ(sp, width, type) \
sys/sys/bus_san.h
55
type sp##_bus_space_read_##width(bus_space_tag_t, \
sys/sys/bus_san.h
57
type sp##_bus_space_read_stream_##width(bus_space_tag_t, \
sys/sys/bus_san.h
59
BUS_SAN_MULTI(sp, read, width, type)
sys/sys/bus_san.h
61
#define BUS_SAN_WRITE(sp, width, type) \
sys/sys/bus_san.h
62
void sp##_bus_space_write_##width(bus_space_tag_t, \
sys/sys/bus_san.h
64
void sp##_bus_space_write_stream_##width(bus_space_tag_t, \
sys/sys/bus_san.h
66
BUS_SAN_MULTI(sp, write, width, const type)
sys/sys/bus_san.h
68
#define BUS_SAN_SET(sp, width, type) \
sys/sys/bus_san.h
69
void sp##_bus_space_set_multi_##width(bus_space_tag_t, \
sys/sys/bus_san.h
71
void sp##_bus_space_set_multi_stream_##width(bus_space_tag_t, \
sys/sys/bus_san.h
73
void sp##_bus_space_set_region_##width(bus_space_tag_t, \
sys/sys/bus_san.h
75
void sp##_bus_space_set_region_stream_##width(bus_space_tag_t, \
sys/sys/bus_san.h
78
#define BUS_SAN_COPY(sp, width, type) \
sys/sys/bus_san.h
79
void sp##_bus_space_copy_region_##width(bus_space_tag_t, \
sys/sys/bus_san.h
82
void sp##_bus_space_copy_region_stream_##width(bus_space_tag_t, \
sys/sys/bus_san.h
86
#define BUS_SAN_PEEK(sp, width, type) \
sys/sys/bus_san.h
87
int sp##_bus_space_peek_##width(bus_space_tag_t, \
sys/sys/bus_san.h
90
#define BUS_SAN_POKE(sp, width, type) \
sys/sys/bus_san.h
91
int sp##_bus_space_poke_##width(bus_space_tag_t, \
sys/sys/consio.h
225
unsigned int width;
sys/sys/libkern.h
310
signed_extend64(uint64_t bitmap, int lsb, int width)
sys/sys/libkern.h
313
return ((int64_t)(bitmap << (63 - lsb - (width - 1)))) >>
sys/sys/libkern.h
314
(63 - (width - 1));
sys/sys/libkern.h
318
signed_extend32(uint32_t bitmap, int lsb, int width)
sys/sys/libkern.h
321
return ((int32_t)(bitmap << (31 - lsb - (width - 1)))) >>
sys/sys/libkern.h
322
(31 - (width - 1));
sys/teken/teken_subr.h
798
int width)
sys/teken/teken_subr.h
803
tp->tp_col < t->t_winsize.tp_col - width) {
sys/teken/teken_subr.h
810
ctr.tr_end.tp_col = t->t_winsize.tp_col - width;
sys/teken/teken_subr.h
812
ctp.tp_col = tp->tp_col + width;
sys/teken/teken_subr.h
818
if (width == 2 && tp->tp_col + 1 < t->t_winsize.tp_col) {
sys/teken/teken_subr.h
834
int width;
sys/teken/teken_subr.h
840
width = 1;
sys/teken/teken_subr.h
843
width = teken_wcwidth(c);
sys/teken/teken_subr.h
845
if (width <= 0)
sys/teken/teken_subr.h
850
teken_subr_do_putchar(t, &t->t_cursor, c, width);
sys/teken/teken_subr.h
851
t->t_cursor.tp_col += width;
sys/teken/teken_subr.h
868
t->t_cursor.tp_col + width > t->t_winsize.tp_col)) {
sys/teken/teken_subr.h
891
c, width);
sys/teken/teken_subr.h
897
teken_subr_do_putchar(t, &tp, c, width);
sys/teken/teken_subr.h
900
t->t_cursor.tp_col = width;
sys/teken/teken_subr.h
904
teken_subr_do_putchar(t, &t->t_cursor, c, width);
sys/teken/teken_subr.h
905
t->t_cursor.tp_col += width;
sys/x86/include/bus.h
1048
#define BUS_PEEK_FUNC(width, type) \
sys/x86/include/bus.h
1050
bus_space_peek_##width(bus_space_tag_t tag, \
sys/x86/include/bus.h
1054
tmp = bus_space_read_##width(tag, hnd, offset); \
sys/x86/include/bus.h
1065
#define BUS_POKE_FUNC(width, type) \
sys/x86/include/bus.h
1067
bus_space_poke_##width(bus_space_tag_t tag, \
sys/x86/include/bus.h
1070
bus_space_write_##width(tag, hnd, offset, value); \
sys/x86/xen/hvm.c
256
fb->efi.fb_width = console->u.vesa_lfb.width;
tools/tools/ath/athaggrstats/athaggrstats.c
340
int i, width;
tools/tools/ath/athaggrstats/athaggrstats.c
342
width = 0;
tools/tools/ath/athaggrstats/athaggrstats.c
345
if (f->width > width)
tools/tools/ath/athaggrstats/athaggrstats.c
346
width = f->width;
tools/tools/ath/athaggrstats/athaggrstats.c
351
fprintf(fd, "%s%-*s %s\n", indent, width, s,
tools/tools/ath/athstats/athstats.c
1064
int i, width;
tools/tools/ath/athstats/athstats.c
1066
width = 0;
tools/tools/ath/athstats/athstats.c
1069
if (!isphyerr(i) && f->width > width)
tools/tools/ath/athstats/athstats.c
1070
width = f->width;
tools/tools/ath/athstats/athstats.c
1078
fprintf(fd, "%s%-*s %s\n", indent, width, s, athstats[i].desc);
tools/tools/mwl/mwlstats/mwlstats.c
519
int i, width;
tools/tools/mwl/mwlstats/mwlstats.c
521
width = 0;
tools/tools/mwl/mwlstats/mwlstats.c
524
if (f->width > width)
tools/tools/mwl/mwlstats/mwlstats.c
525
width = f->width;
tools/tools/mwl/mwlstats/mwlstats.c
531
fprintf(fd, "%s%-*s %s\n", indent, width, s, f->desc);
usr.bin/banner/banner.c
1012
static int width = DWIDTH; /* -w option: scrunch letters to 80 columns */
usr.bin/banner/banner.c
1030
width = atoi(optarg);
usr.bin/banner/banner.c
1031
if (width <= 0 || width > DWIDTH)
usr.bin/banner/banner.c
1041
for (i = 0; i < width; i++) {
usr.bin/banner/banner.c
1042
j = i * DWIDTH / width;
usr.bin/banner/banner.c
1147
x = (x*width + (DWIDTH/2)) / DWIDTH;
usr.bin/banner/banner.c
1148
y = (y*width + (DWIDTH/2)) / DWIDTH;
usr.bin/chat/chat.c
1341
int width, prec, fillch;
usr.bin/chat/chat.c
1367
width = prec = 0;
usr.bin/chat/chat.c
1374
width = va_arg(args, int);
usr.bin/chat/chat.c
1378
width = width * 10 + c - '0';
usr.bin/chat/chat.c
1509
if (width > 0) {
usr.bin/chat/chat.c
1510
if (width > buflen)
usr.bin/chat/chat.c
1511
width = buflen;
usr.bin/chat/chat.c
1512
if ((n = width - len) > 0) {
usr.bin/col/col.c
124
int adjust, opt, warned, width;
usr.bin/col/col.c
234
if ((width = wcwidth(ch)) > 0)
usr.bin/col/col.c
235
cur_col += width;
usr.bin/colrm/colrm.c
109
if ((width = wcwidth(ch)) > 0)
usr.bin/colrm/colrm.c
110
column += width;
usr.bin/colrm/colrm.c
54
int ch, width;
usr.bin/column/column.c
162
chcnt += width(*lp);
usr.bin/column/column.c
195
chcnt += width(list[base]);
usr.bin/column/column.c
273
t->len[coloff] = width(cols[coloff]);
usr.bin/column/column.c
315
len = width(buf);
usr.bin/column/column.c
54
static int width(const wchar_t *);
usr.bin/diff/diff.c
312
width = (int) strtonum(optarg, 1, INT_MAX, &errstr);
usr.bin/diff/diff.c
44
int tabsize = 8, width = 130;
usr.bin/diff/diff.h
118
extern int tabsize, width;
usr.bin/diff/diffreg.c
300
if (width > 3) {
usr.bin/diff/diffreg.c
301
hw = (width - 3) / 2;
usr.bin/diff/diffreg.c
306
} else if (width <= 3 || width <= tabsize) {
usr.bin/diff/diffreg.c
310
hw = (width - 3) / 2;
usr.bin/diff/diffreg.c
311
while (hw > 0 && roundup(hw + 3, tabsize) + hw > width)
usr.bin/diff/diffreg.c
313
if (width - (roundup(hw + 3, tabsize) + hw) < tabsize)
usr.bin/diff/diffreg.c
314
width = roundup(hw + 3, tabsize) + hw;
usr.bin/diff/diffreg.c
316
lpad = (width - hw * 2 - 1) / 2;
usr.bin/diff/diffreg.c
317
rpad = (width - hw * 2 - 1) - lpad;
usr.bin/expand/expand.c
136
if ((width = wcwidth(wc)) > 0)
usr.bin/expand/expand.c
137
column += width;
usr.bin/expand/expand.c
58
int width;
usr.bin/fmt/fmt.c
604
size_t width;
usr.bin/fmt/fmt.c
608
for (p = word, width = 0; p < &word[length]; p++)
usr.bin/fmt/fmt.c
609
width += (cwidth = wcwidth(*p)) > 0 ? cwidth : 1;
usr.bin/fmt/fmt.c
611
new_x = x + pending_spaces + width;
usr.bin/fmt/fmt.c
634
x0 += width;
usr.bin/fmt/fmt.c
635
x += width;
usr.bin/fmt/fmt.c
659
if (indent + width > max_length) {
usr.bin/fmt/fmt.c
671
x0 = width;
usr.bin/fmt/fmt.c
672
x = width + indent1;
usr.bin/fmt/fmt.c
690
size_t width;
usr.bin/fmt/fmt.c
701
for (p = line, width = 0; p < &line[length]; p++)
usr.bin/fmt/fmt.c
702
width += (cwidth = wcwidth(*p)) > 0 ? cwidth : 1;
usr.bin/fmt/fmt.c
703
l = width;
usr.bin/fold/fold.c
109
if (width == -1)
usr.bin/fold/fold.c
110
width = DEFLINEWIDTH;
usr.bin/fold/fold.c
113
fold(width);
usr.bin/fold/fold.c
119
fold(width);
usr.bin/fold/fold.c
142
fold(int width)
usr.bin/fold/fold.c
156
if ((col = newpos(col, ch)) > width) {
usr.bin/fold/fold.c
58
int rval, width;
usr.bin/fold/fold.c
62
width = -1;
usr.bin/fold/fold.c
73
if ((width = atoi(optarg)) <= 0) {
usr.bin/fold/fold.c
87
width = width * 10 + (ch - '0');
usr.bin/fold/fold.c
96
if (width == -1)
usr.bin/fold/fold.c
97
width = ch - '0';
usr.bin/hexdump/conv.c
141
width = wcwidth(wc);
usr.bin/hexdump/conv.c
142
assert(width >= 0);
usr.bin/hexdump/conv.c
143
pad = 3 - width;
usr.bin/hexdump/conv.c
51
int converr, pad, width;
usr.bin/kdump/kdump.c
1668
int width;
usr.bin/kdump/kdump.c
1670
width = 0;
usr.bin/kdump/kdump.c
1672
width += 2;
usr.bin/kdump/kdump.c
1674
i += (width / 2) + 1; /* spaces every second byte */
usr.bin/kdump/kdump.c
1675
i += (width * 2); /* width of bytes */
usr.bin/kdump/kdump.c
1677
i += width; /* each byte */
usr.bin/kdump/kdump.c
1680
width -= 2;
usr.bin/kdump/kdump.c
1682
for (n = 0; n < len; n += width) {
usr.bin/kdump/kdump.c
1683
for (i = n; i < n + width; i++) {
usr.bin/kdump/kdump.c
1684
if ((i % width) == 0) { /* beginning of line */
usr.bin/kdump/kdump.c
1696
for (i = n; i < n + width; i++) {
usr.bin/kdump/kdump.c
1706
if ((i % width) != 0)
usr.bin/kdump/kdump.c
1715
int width;
usr.bin/kdump/kdump.c
1737
width = 8 - (col&07);
usr.bin/kdump/kdump.c
1740
width = strlen(cp);
usr.bin/kdump/kdump.c
1742
if (col + width > (screenwidth-2)) {
usr.bin/kdump/kdump.c
1746
col += width;
usr.bin/last/last.c
170
width = 8;
usr.bin/last/last.c
193
if (sflag && width == 8) usage();
usr.bin/last/last.c
401
(void) strftime(ct, sizeof(ct), width >= 8 ? "%T" : "%R", tm);
usr.bin/last/last.c
83
static int width = 5; /* show seconds in delta */
usr.bin/localedef/ctype.c
238
add_width(int wc, int width)
usr.bin/localedef/ctype.c
247
switch (width) {
usr.bin/localedef/ctype.c
264
add_width_range(int start, int end, int width)
usr.bin/localedef/ctype.c
267
add_width(start, width);
usr.bin/localedef/wide.c
482
int width = 2;
usr.bin/localedef/wide.c
504
width = 2;
usr.bin/localedef/wide.c
506
width = cs2width;
usr.bin/localedef/wide.c
508
width = cs3width;
usr.bin/localedef/wide.c
511
if ((int)n < width) {
usr.bin/localedef/wide.c
516
for (i = 1; i < width; i++) {
usr.bin/localedef/wide.c
523
return (width);
usr.bin/m4/gnum4.c
548
long width;
usr.bin/m4/gnum4.c
575
width = strtol(argv[pos++], NULL, 10);
usr.bin/m4/gnum4.c
577
width = strtol(format, __DECONST(char **,&format), 10);
usr.bin/m4/gnum4.c
579
if (width < 0) {
usr.bin/m4/gnum4.c
581
width = -width;
usr.bin/m4/gnum4.c
619
while ((long)l < width--)
usr.bin/m4/gnum4.c
624
while ((long)l < width--)
usr.bin/ministat/ministat.c
286
int width;
usr.bin/ministat/ministat.c
299
SetupPlot(int width, int separate, int num_datasets)
usr.bin/ministat/ministat.c
304
pl->width = width;
usr.bin/ministat/ministat.c
325
pl->dx = pl->span / (pl->width - 1.0);
usr.bin/ministat/ministat.c
363
pl->bar[bar] = malloc(pl->width);
usr.bin/ministat/ministat.c
365
memset(pl->bar[bar], 0, pl->width);
usr.bin/ministat/ministat.c
385
pl->data = realloc(pl->data, pl->width * m);
usr.bin/ministat/ministat.c
387
memset(pl->data + pl->height * pl->width, 0,
usr.bin/ministat/ministat.c
388
(m - pl->height) * pl->width);
usr.bin/ministat/ministat.c
400
pl->data[j * pl->width + x] |= val;
usr.bin/ministat/ministat.c
433
for (i = 0; i < pl->width; i++)
usr.bin/ministat/ministat.c
439
for (j = 0; j < pl->width; j++) {
usr.bin/ministat/ministat.c
440
k = pl->data[(pl->height - z) * pl->width + j];
usr.bin/ministat/ministat.c
453
for (j = 0; j < pl->width; j++) {
usr.bin/ministat/ministat.c
463
for (i = 0; i < pl->width; i++)
usr.bin/mkcsmapper/ldef.h
36
u_int32_t width;
usr.bin/mkcsmapper/yacc.y
249
table_size = p->width;
usr.bin/mkcsmapper/yacc.y
252
table_size *= p->width;
usr.bin/mkcsmapper/yacc.y
589
ofs = (ofs * p->width) + n;
usr.bin/mkcsmapper/yacc.y
591
n = lz->width;
usr.bin/mkcsmapper/yacc.y
611
p->width = end - begin + 1;
usr.bin/mkcsmapper/yacc.y
627
lz->width = end - begin + 1;
usr.bin/mkimg/mkimg.c
133
u_int width;
usr.bin/mkimg/mkimg.c
136
width = 64;
usr.bin/mkimg/mkimg.c
138
width = 32;
usr.bin/mkimg/mkimg.c
140
printf("mkimg %u (%u-bit)\n", MKIMG_VERSION, width);
usr.bin/ncal/ncal.c
965
int i, len, width = 0;
usr.bin/ncal/ncal.c
975
if ((width = wcswidth(buf, len)) <= 2)
usr.bin/ncal/ncal.c
979
if (width == 1)
usr.bin/netstat/common.h
46
int flags, int width);
usr.bin/netstat/if.c
219
show_stat(const char *fmt, int width, const char *name,
usr.bin/netstat/if.c
237
xo_emit("{P:/%s}{D:/%*s}{P:/%s}", lsep, width, "-", rsep);
usr.bin/netstat/if.c
260
snprintf(newfmt, sizeof(newfmt), "{:%s/%%%ds}", name, width);
usr.bin/netstat/if.c
267
name, width, fmt);
usr.bin/netstat/inet.c
1493
int width;
usr.bin/netstat/inet.c
1514
width = (Aflag && !Wflag) ? 18 :
usr.bin/netstat/inet.c
1517
xo_emit("{d:target/%-*s} ", width, line);
usr.bin/netstat/inet.c
1519
xo_emit("{d:target/%-*.*s} ", width, width, line);
usr.bin/netstat/inet6.c
1277
int width;
usr.bin/netstat/inet6.c
1296
width = Wflag ? 45 : Aflag ? 18 : 22;
usr.bin/netstat/inet6.c
1298
xo_emit("{d:target/%-*.*s} ", width, width, line);
usr.bin/netstat/netstat.h
154
struct sockaddr *mask, int flags, int width);
usr.bin/netstat/nhops.c
142
print_addr(const char *name, const char *addr, int width)
usr.bin/netstat/nhops.c
147
if (width < 0) {
usr.bin/netstat/nhops.c
154
-width, name);
usr.bin/netstat/nhops.c
156
protrusion = strlen(addr) - width;
usr.bin/netstat/nhops.c
161
-width, name);
usr.bin/netstat/nhops.c
162
xo_emit(buf, width, addr);
usr.bin/netstat/route.c
369
int flags, int width)
usr.bin/netstat/route.c
377
if (width < 0) {
usr.bin/netstat/route.c
384
-width, name);
usr.bin/netstat/route.c
386
protrusion = strlen(cp) - width;
usr.bin/netstat/route.c
391
-width, name);
usr.bin/netstat/route.c
392
xo_emit(buf, width, cp);
usr.bin/netstat/sctp.c
105
int width;
usr.bin/netstat/sctp.c
139
width = Wflag ? 45 : 22;
usr.bin/netstat/sctp.c
140
xo_emit("{d:target/%-*.*s} ", width, width, line);
usr.bin/nl/nl.c
122
static int width = 6;
usr.bin/nl/nl.c
221
width = (int)val;
usr.bin/nl/nl.c
222
if (!(width > 0))
usr.bin/nl/nl.c
225
width);
usr.bin/nl/nl.c
260
intbuffersize = max((int)INT_STRLEN_MAXIMUM, width) + 1; /* NUL */
usr.bin/nl/nl.c
334
consumed = sprintf(intbuffer, format, width, line);
usr.bin/nl/nl.c
336
intbuffer + max(0, consumed - width));
usr.bin/nl/nl.c
339
(void)printf("%*s", width, "");
usr.bin/procstat/procstat_files.c
256
u_int count, i, width;
usr.bin/procstat/procstat_files.c
259
width = 0;
usr.bin/procstat/procstat_files.c
262
width += strlen(cap_desc[i].cd_desc);
usr.bin/procstat/procstat_files.c
264
width++;
usr.bin/procstat/procstat_files.c
268
return (width);
usr.bin/procstat/procstat_files.c
302
u_int capwidth, width;
usr.bin/procstat/procstat_files.c
318
width = width_capability(&fst->fs_cap_rights);
usr.bin/procstat/procstat_files.c
319
if (width > capwidth)
usr.bin/procstat/procstat_files.c
320
capwidth = width;
usr.bin/rwho/rwho.c
166
width = 0;
usr.bin/rwho/rwho.c
172
if (j > width)
usr.bin/rwho/rwho.c
173
width = j;
usr.bin/rwho/rwho.c
189
mp->myutmp.out_name, width, buf, cbuf);
usr.bin/rwho/rwho.c
79
int width;
usr.bin/sdiff/sdiff.c
373
width = (wval - 3) / 2;
usr.bin/sdiff/sdiff.c
375
if (width > (SIZE_MAX - 3) / 2)
usr.bin/sdiff/sdiff.c
376
errx(2, "width is too large: %zu", width);
usr.bin/sdiff/sdiff.c
377
line_width = width * 2 + 3;
usr.bin/sdiff/sdiff.c
648
printcol(s1, &col, width);
usr.bin/sdiff/sdiff.c
653
for (; col < width; ++col)
usr.bin/sdiff/sdiff.c
69
static size_t width; /* width of each column */
usr.bin/sdiotool/sdiotool.c
178
static int brcmf_sdiod_addrprep(struct brcmf_sdio_dev *sdiodev, uint width, u32 *addr);
usr.bin/sdiotool/sdiotool.c
291
brcmf_sdiod_addrprep(struct brcmf_sdio_dev *sdiodev, uint width, u32 *addr)
usr.bin/sdiotool/sdiotool.c
306
if (width == 4)
usr.bin/sed/process.c
584
int c, col, width;
usr.bin/sed/process.c
624
width = wcwidth(wc);
usr.bin/sed/process.c
625
if (col + width >= termwidth) {
usr.bin/sed/process.c
630
col += width;
usr.bin/systat/sysput.c
100
sysputwuint64(WINDOW *wd, int row, int lcol, int width, uint64_t val, int flags)
usr.bin/systat/sysput.c
103
sysputspaces(wd, row, lcol, width);
usr.bin/systat/sysput.c
105
sysputuint64(wd, row, lcol, width, val, flags);
usr.bin/systat/sysput.c
109
sysputpage(WINDOW *wd, int row, int lcol, int width, uint64_t pages, int flags)
usr.bin/systat/sysput.c
112
sysputuint64(wd, row, lcol, width, ptoa(pages), flags);
usr.bin/systat/sysput.c
40
sysputspaces(WINDOW *wd, int row, int lcol, int width)
usr.bin/systat/sysput.c
45
mvwaddstr(wd, row, lcol, str60 + sizeof(str60) - width - 1);
usr.bin/systat/sysput.c
49
sysputstrs(WINDOW *wd __unused, int row, int lcol, int width)
usr.bin/systat/sysput.c
57
mvwaddstr(wnd, row, lcol, str60 + sizeof(str60) - width - 1);
usr.bin/systat/sysput.c
61
sysputXs(WINDOW *wd __unused, int row, int lcol, int width)
usr.bin/systat/sysput.c
69
mvwaddstr(wnd, row, lcol, str60 + sizeof(str60) - width - 1);
usr.bin/systat/sysput.c
73
sysputuint64(WINDOW *wd, int row, int lcol, int width, uint64_t val, int flags)
usr.bin/systat/sysput.c
75
char *start, wrtbuf[width + width + 1];
usr.bin/systat/sysput.c
84
len = humanize_number(&wrtbuf[width], width + 1, val, "",
usr.bin/systat/sysput.c
88
else if (len < width)
usr.bin/systat/sysput.c
89
memset(wrtbuf + len, ' ', width - len);
usr.bin/systat/sysput.c
96
sysputstrs(wd, row, lcol, width);
usr.bin/systat/zarc.c
145
#define DO(stat, col, width) \
usr.bin/systat/zarc.c
146
sysputuint64(wnd, row, col, width, stat, HN_DIVISOR_1000)
usr.bin/tabs/tabs.c
226
int width;
usr.bin/tabs/tabs.c
229
width = ws.ws_col;
usr.bin/tabs/tabs.c
230
else if ((width = tgetnum("co")) == 0) {
usr.bin/tabs/tabs.c
231
width = 80;
usr.bin/tabs/tabs.c
232
warnx("cannot find terminal width; defaulted to %d", width);
usr.bin/tabs/tabs.c
235
return (width);
usr.bin/top/display.c
762
int width;
usr.bin/top/display.c
765
width = screen_width;
usr.bin/top/display.c
767
if (header_length >= width) {
usr.bin/top/display.c
768
s = strndup(text, width);
usr.bin/ul/ul.c
511
outc(wint_t c, int width)
usr.bin/ul/ul.c
517
for (i = 0; i < width; i++)
usr.bin/ul/ul.c
519
for (i = 0; i < width; i++)
usr.bin/unexpand/unexpand.c
106
int dcol, doneline, limit, n, ocol, width;
usr.bin/unexpand/unexpand.c
169
if ((width = wcwidth(ch)) > 0)
usr.bin/unexpand/unexpand.c
170
ocol += width, dcol += width;
usr.bin/vgrind/vfontedpr.c
586
return (width(s, os) / 8);
usr.bin/vgrind/vfontedpr.c
64
static int width(char *, char *);
usr.bin/vtfontcvt/vtfontcvt.c
1018
width, height,
usr.bin/vtfontcvt/vtfontcvt.c
1067
width = atoi(optarg);
usr.bin/vtfontcvt/vtfontcvt.c
1085
set_width(width);
usr.bin/vtfontcvt/vtfontcvt.c
363
s = wbytes * 8 - width;
usr.bin/vtfontcvt/vtfontcvt.c
368
if (w > width) { /* Double-width character. */
usr.bin/vtfontcvt/vtfontcvt.c
395
width = w;
usr.bin/vtfontcvt/vtfontcvt.c
396
wbytes = howmany(width, 8);
usr.bin/vtfontcvt/vtfontcvt.c
51
static unsigned int width = 8, wbytes, height = 16;
usr.bin/vtfontcvt/vtfontcvt.c
531
dwidth > (int)width ? bytes_r : NULL);
usr.bin/vtfontcvt/vtfontcvt.c
580
gwidth = width * 2;
usr.bin/vtfontcvt/vtfontcvt.c
583
gwidth = width; /* Single-width character. */
usr.bin/vtfontcvt/vtfontcvt.c
603
gwidth != width ? bytes_r : NULL);
usr.bin/vtfontcvt/vtfontcvt.c
774
fh.fh_width = width;
usr.bin/vtfontcvt/vtfontcvt.c
821
width, height) < 0)
usr.bin/vtfontcvt/vtfontcvt.c
832
width, height) < 0)
usr.bin/vtfontcvt/vtfontcvt.c
853
"FONTMAP_NORMAL_%ux%u[] = {\n", width, height) < 0)
usr.bin/vtfontcvt/vtfontcvt.c
862
"FONTMAP_NORMAL_RH_%ux%u[] = {\n", width, height) < 0)
usr.bin/vtfontcvt/vtfontcvt.c
871
"FONTMAP_BOLD_%ux%u[] = {\n", width, height) < 0)
usr.bin/vtfontcvt/vtfontcvt.c
880
"FONTMAP_BOLD_RH_%ux%u[] = {\n", width, height) < 0)
usr.bin/vtfontcvt/vtfontcvt.c
890
width, height) < 0)
usr.bin/vtfontcvt/vtfontcvt.c
899
width, height) < 0)
usr.bin/vtfontcvt/vtfontcvt.c
907
width, height) < 0)
usr.bin/vtfontcvt/vtfontcvt.c
915
width, height) < 0)
usr.bin/vtfontcvt/vtfontcvt.c
923
width, height) < 0)
usr.bin/vtfontcvt/vtfontcvt.c
933
width, height) < 0) {
usr.bin/vtfontcvt/vtfontcvt.c
937
if (fprintf(fp, "\t.vf_width\t= %u,\n", width) < 0)
usr.bin/vtfontcvt/vtfontcvt.c
951
width, height) < 0)
usr.bin/vtfontcvt/vtfontcvt.c
953
if (fprintf(fp, "\t.vfbd_width\t= %u,\n", width) < 0)
usr.bin/vtfontcvt/vtfontcvt.c
967
width, height) < 0) {
usr.bin/vtfontcvt/vtfontcvt.c
980
if (fprintf(fp, "\t.vfbd_font = &font_%ux%u\n", width, height) < 0)
usr.bin/w/pr_time.c
55
int len, width, offset = 0;
usr.bin/w/pr_time.c
81
width = wcswidth(buf, len);
usr.bin/w/pr_time.c
89
if (len == width)
usr.bin/w/pr_time.c
91
else if (width < 7)
usr.bin/w/pr_time.c
92
xo_emit("{:login-time/%ls}%.*s", buf, 7 - width, " ");
usr.bin/w/pr_time.c
95
offset = width - 7;
usr.bin/w/w.c
130
size_t width;
usr.bin/w/w.c
303
if ((width = strlen(p)) > fromwidth)
usr.bin/w/w.c
304
fromwidth = width;
usr.bin/who/who.c
299
long width;
usr.bin/who/who.c
304
width = strtol(cols, &ep, 10);
usr.bin/who/who.c
305
if (errno || width <= 0 || width > INT_MAX || ep == cols ||
usr.bin/who/who.c
309
return (width);
usr.sbin/bhyve/amd64/vga.c
191
old_width = sc->gc_image->width;
usr.sbin/bhyve/amd64/vga.c
327
sc->gc_image->width * sc->gc_image->height *
usr.sbin/bhyve/bhyvegc.c
43
bhyvegc_init(int width, int height, void *fbaddr)
usr.sbin/bhyve/bhyvegc.c
51
gc_image->width = width;
usr.sbin/bhyve/bhyvegc.c
57
gc_image->data = calloc(width * height, sizeof (uint32_t));
usr.sbin/bhyve/bhyvegc.c
76
bhyvegc_resize(struct bhyvegc *gc, int width, int height)
usr.sbin/bhyve/bhyvegc.c
82
gc_image->width = width;
usr.sbin/bhyve/bhyvegc.c
85
gc_image->data = reallocarray(gc_image->data, width * height,
usr.sbin/bhyve/bhyvegc.c
88
memset(gc_image->data, 0, width * height *
usr.sbin/bhyve/bhyvegc.h
36
int width;
usr.sbin/bhyve/bhyvegc.h
41
struct bhyvegc *bhyvegc_init(int width, int height, void *fbaddr);
usr.sbin/bhyve/bhyvegc.h
43
void bhyvegc_resize(struct bhyvegc *gc, int width, int height);
usr.sbin/bhyve/pci_fbuf.c
160
if (!sc->gc_image->vgamode && sc->memregs.width == 0 &&
usr.sbin/bhyve/pci_fbuf.c
166
} else if (sc->gc_image->vgamode && sc->memregs.width != 0 &&
usr.sbin/bhyve/pci_fbuf.c
337
sc->memregs.width = strtol(value, NULL, 10);
usr.sbin/bhyve/pci_fbuf.c
343
if (sc->memregs.width > COLS_MAX ||
usr.sbin/bhyve/pci_fbuf.c
348
if (sc->memregs.width < COLS_MIN ||
usr.sbin/bhyve/pci_fbuf.c
376
if (sc->gc_width != sc->memregs.width ||
usr.sbin/bhyve/pci_fbuf.c
378
bhyvegc_resize(gc, sc->memregs.width, sc->memregs.height);
usr.sbin/bhyve/pci_fbuf.c
379
sc->gc_width = sc->memregs.width;
usr.sbin/bhyve/pci_fbuf.c
422
sc->memregs.width = COLS_DEFAULT;
usr.sbin/bhyve/pci_fbuf.c
444
console_init(sc->memregs.width, sc->memregs.height, sc->fb_base);
usr.sbin/bhyve/pci_fbuf.c
91
uint16_t width;
usr.sbin/bhyve/pci_passthru.c
170
host_read_config(int fd, const struct pcisel *sel, long reg, int width)
usr.sbin/bhyve/pci_passthru.c
177
pi.pi_width = width;
usr.sbin/bhyve/pci_passthru.c
186
passthru_read_config(const struct pcisel *sel, long reg, int width)
usr.sbin/bhyve/pci_passthru.c
188
return (host_read_config(pcifd, sel, reg, width));
usr.sbin/bhyve/pci_passthru.c
192
pci_host_read_config(const struct pcisel *sel, long reg, int width)
usr.sbin/bhyve/pci_passthru.c
200
ret = host_read_config(fd, sel, reg, width);
usr.sbin/bhyve/pci_passthru.c
206
host_write_config(int fd, const struct pcisel *sel, long reg, int width,
usr.sbin/bhyve/pci_passthru.c
214
pi.pi_width = width;
usr.sbin/bhyve/pci_passthru.c
221
passthru_write_config(const struct pcisel *sel, long reg, int width,
usr.sbin/bhyve/pci_passthru.c
224
host_write_config(pcifd, sel, reg, width, data);
usr.sbin/bhyve/pci_passthru.c
228
pci_host_write_config(const struct pcisel *sel, long reg, int width,
usr.sbin/bhyve/pci_passthru.c
236
host_write_config(fd, sel, reg, width, data);
usr.sbin/bhyve/pci_passthru.h
43
uint32_t pci_host_read_config(const struct pcisel *sel, long reg, int width);
usr.sbin/bhyve/pci_passthru.h
44
void pci_host_write_config(const struct pcisel *sel, long reg, int width,
usr.sbin/bhyve/rfb.c
121
int width, height;
usr.sbin/bhyve/rfb.c
176
uint16_t width;
usr.sbin/bhyve/rfb.c
217
uint16_t width;
usr.sbin/bhyve/rfb.c
257
uint16_t width;
usr.sbin/bhyve/rfb.c
276
sinfo.width = htons(gc_image->width);
usr.sbin/bhyve/rfb.c
315
srect_hdr.width = htons(rc->width);
usr.sbin/bhyve/rfb.c
339
srect_hdr.width = htons(rc->width);
usr.sbin/bhyve/rfb.c
493
rfb_adjust_pixels(struct rfb_softc *rc, uint32_t *gcptr, int width)
usr.sbin/bhyve/rfb.c
504
for (i = 0, pixelp = rc->pixrow; i < width; i++, pixelp++, gcptr++) {
usr.sbin/bhyve/rfb.c
523
int err, width;
usr.sbin/bhyve/rfb.c
534
srect_hdr.width = htons(w);
usr.sbin/bhyve/rfb.c
537
width = w;
usr.sbin/bhyve/rfb.c
544
for (p = &gc->data[y * gc->width + x]; y < h; y++) {
usr.sbin/bhyve/rfb.c
545
pixelp = rfb_adjust_pixels(rc, p, width);
usr.sbin/bhyve/rfb.c
562
p += gc->width;
usr.sbin/bhyve/rfb.c
581
for (p = &gc->data[y * gc->width + x]; y < h; y++) {
usr.sbin/bhyve/rfb.c
582
pixelp = rfb_adjust_pixels(rc, p, width);
usr.sbin/bhyve/rfb.c
586
p += gc->width;
usr.sbin/bhyve/rfb.c
624
gc->width, gc->height));
usr.sbin/bhyve/rfb.c
630
srect_hdr.width = htons(gc->width);
usr.sbin/bhyve/rfb.c
634
rc->zstream.avail_in = gc->width * gc->height *
usr.sbin/bhyve/rfb.c
673
gc->width * gc->height * sizeof(uint32_t));
usr.sbin/bhyve/rfb.c
725
if (rc->crc_width != gc_image->width ||
usr.sbin/bhyve/rfb.c
730
rc->crc_width = gc_image->width;
usr.sbin/bhyve/rfb.c
735
if (rc->width != gc_image->width ||
usr.sbin/bhyve/rfb.c
737
rc->width = gc_image->width;
usr.sbin/bhyve/smbiostbl.c
316
uint8_t width; /* num of dev in row */
usr.sbin/bhyve/usb_mouse.c
287
sc->um_report.x = MOUSE_MAX_X * x / gc->width;
usr.sbin/cxgbetool/cxgbetool.c
1536
int width = fd->end - fd->start + 1;
usr.sbin/cxgbetool/cxgbetool.c
1537
unsigned long long mask = (1ULL << width) - 1;
usr.sbin/i2c/i2c.c
285
encode_offset(const char *width, unsigned offset, uint8_t *dst, size_t *len)
usr.sbin/i2c/i2c.c
288
if (!strcmp(width, "0")) {
usr.sbin/i2c/i2c.c
292
if (!strcmp(width, "8")) {
usr.sbin/i2c/i2c.c
301
if (!strcmp(width, "16LE") || !strcmp(width, "16")) {
usr.sbin/i2c/i2c.c
306
if (!strcmp(width, "16BE")) {
usr.sbin/i2c/i2c.c
53
const char *width;
usr.sbin/i2c/i2c.c
551
const char *width = NULL;
usr.sbin/i2c/i2c.c
612
width = widths[u];
usr.sbin/i2c/i2c.c
616
if (width == NULL) {
usr.sbin/i2c/i2c.c
627
err_msg = encode_offset(width, offset,
usr.sbin/i2c/i2c.c
757
i2c_opt.width = "8";
usr.sbin/i2c/i2c.c
850
i2c_opt.width = optarg; // checked later.
usr.sbin/i2c/i2c.c
872
err_msg = encode_offset(i2c_opt.width, i2c_opt.off,
usr.sbin/i2c/i2c.c
892
i2c_opt.width, i2c_opt.count);
usr.sbin/lpr/filters/lpf.c
158
if (col >= width || (!literal && ch < ' ')) {
usr.sbin/lpr/filters/lpf.c
54
static int width = 132; /* default line length */
usr.sbin/lpr/filters/lpf.c
88
width = i;
usr.sbin/lpr/lpc/lpc.c
289
int columns, width = 0, lines;
usr.sbin/lpr/lpc/lpc.c
295
if (len > width)
usr.sbin/lpr/lpc/lpc.c
296
width = len;
usr.sbin/lpr/lpc/lpc.c
298
width = (width + 8) &~ 7;
usr.sbin/lpr/lpc/lpc.c
299
columns = 80 / width;
usr.sbin/lpr/lpc/lpc.c
313
while (w < width) {
usr.sbin/lpr/lpd/printjob.c
1060
av[++narg] = width;
usr.sbin/lpr/lpd/printjob.c
1073
av[++narg] = width;
usr.sbin/lpr/lpd/printjob.c
114
static char width[10] = "-w"; /* page width in static characters */
usr.sbin/lpr/lpd/printjob.c
1724
sprintf(&width[2], "%ld", pp->page_width);
usr.sbin/lpr/lpd/printjob.c
1809
execl(pp->filters[LPF_OUTPUT], cp, width, length,
usr.sbin/lpr/lpd/printjob.c
395
sprintf(&width[2], "%ld", pp->page_width);
usr.sbin/lpr/lpd/printjob.c
514
strlcpy(width+2, line + 1, sizeof(width) - 2);
usr.sbin/lpr/lpd/printjob.c
657
av[i++] = width;
usr.sbin/lpr/lpd/printjob.c
674
execl(_PATH_PR, "pr", width, length,
usr.sbin/lpr/lpd/printjob.c
691
av[1] = width;
usr.sbin/lpr/lpd/printjob.c
710
av[2] = width;
usr.sbin/lpr/lpd/printjob.c
717
av[1] = width;
usr.sbin/lpr/lpr/lpr.c
243
width = optarg;
usr.sbin/lpr/lpr/lpr.c
344
if (width != NULL)
usr.sbin/lpr/lpr/lpr.c
345
card('W', width);
usr.sbin/lpr/lpr/lpr.c
96
static char *width; /* width for versatec printing */
usr.sbin/pciconf/pciconf.c
115
int c, width;
usr.sbin/pciconf/pciconf.c
1174
read_config(int fd, struct pcisel *sel, long reg, int width)
usr.sbin/pciconf/pciconf.c
1180
pi.pi_width = width;
usr.sbin/pciconf/pciconf.c
121
width = 4;
usr.sbin/pciconf/pciconf.c
1293
readone(int fd, struct pcisel *sel, long reg, int width)
usr.sbin/pciconf/pciconf.c
1296
printf("%0*x", width*2, read_config(fd, sel, reg, width));
usr.sbin/pciconf/pciconf.c
1300
readit(const char *name, const char *reg, int width)
usr.sbin/pciconf/pciconf.c
1320
for (i = 1, r = rstart; r <= rend; i++, r += width) {
usr.sbin/pciconf/pciconf.c
1321
readone(fd, &sel, r, width);
usr.sbin/pciconf/pciconf.c
1324
putchar(i % (16/width) ? ' ' : '\n');
usr.sbin/pciconf/pciconf.c
1326
if (i % (16/width) != 1)
usr.sbin/pciconf/pciconf.c
1332
writeit(const char *name, const char *reg, const char *data, int width)
usr.sbin/pciconf/pciconf.c
1339
pi.pi_width = width;
usr.sbin/pciconf/pciconf.c
135
width = 1;
usr.sbin/pciconf/pciconf.c
1373
const char *bar_count, int width, int verbose)
usr.sbin/pciconf/pciconf.c
1414
count = pbm.pbm_bar_length / width;
usr.sbin/pciconf/pciconf.c
1415
if (start + count < start || (start + count) * width < (uint64_t)width)
usr.sbin/pciconf/pciconf.c
1417
if ((start + count) * width > pbm.pbm_bar_length) {
usr.sbin/pciconf/pciconf.c
1418
if (start * width > pbm.pbm_bar_length)
usr.sbin/pciconf/pciconf.c
1421
count = (pbm.pbm_bar_length - start * width) / width;
usr.sbin/pciconf/pciconf.c
1430
pbm.pbm_bar_length, start, count, width);
usr.sbin/pciconf/pciconf.c
1432
switch (width) {
usr.sbin/pciconf/pciconf.c
1435
pbm.pbm_bar_off + start * width);
usr.sbin/pciconf/pciconf.c
1437
res = fwrite(db, width, 1, stdout);
usr.sbin/pciconf/pciconf.c
1446
pbm.pbm_bar_off + start * width);
usr.sbin/pciconf/pciconf.c
1448
res = fwrite(dh, width, 1, stdout);
usr.sbin/pciconf/pciconf.c
1457
pbm.pbm_bar_off + start * width);
usr.sbin/pciconf/pciconf.c
1459
res = fwrite(dd, width, 1, stdout);
usr.sbin/pciconf/pciconf.c
1468
pbm.pbm_bar_off + start * width);
usr.sbin/pciconf/pciconf.c
1470
res = fwrite(dx, width, 1, stdout);
usr.sbin/pciconf/pciconf.c
151
width = 2;
usr.sbin/pciconf/pciconf.c
180
width = 8;
usr.sbin/pciconf/pciconf.c
206
if (optind + 2 != argc || width == 8)
usr.sbin/pciconf/pciconf.c
208
readit(argv[optind], argv[optind + 1], width);
usr.sbin/pciconf/pciconf.c
211
if (optind + 3 != argc || width == 8)
usr.sbin/pciconf/pciconf.c
214
width);
usr.sbin/pciconf/pciconf.c
222
width, verbose);
usr.sbin/pciconf/pciconf.c
93
const char *bar_count, int width, int verbose);
usr.sbin/pciconf/pciconf.h
41
uint32_t read_config(int fd, struct pcisel *sel, long reg, int width);
usr.sbin/pmcstat/pmcpl_callgraph.c
478
int v_attrs, vs_len, ns_len, width, len, n, nchildren;
usr.sbin/pmcstat/pmcpl_callgraph.c
526
width = pmcstat_displaywidth - 40;
usr.sbin/pmcstat/pmcpl_callgraph.c
573
if (width - len < 0) {
usr.sbin/pmcstat/pmcpl_callgraph.c
577
width -= len;
usr.sbin/pmcstat/pmcpl_calltree.c
462
int v_attrs, ns_len, vs_len, is_len, width, indentwidth, x, y;
usr.sbin/pmcstat/pmcpl_calltree.c
504
width = indentwidth = 5 + 1;
usr.sbin/pmcstat/pmcpl_calltree.c
536
width += ns_len + is_len + vs_len + 1;
usr.sbin/pmcstat/pmcpl_calltree.c
538
if (width >= pmcstat_displaywidth) {
usr.sbin/pmcstat/pmcpl_calltree.c
543
width = indentwidth + ns_len + is_len + vs_len;
usr.sbin/ppp/filter.c
248
int action, family, ruleno, val, width;
usr.sbin/ppp/filter.c
315
if (!ncprange_getwidth(&fe.f_src, &width))
usr.sbin/ppp/filter.c
316
width = 0;
usr.sbin/ppp/filter.c
317
if (width == 0)
usr.sbin/ppp/filter.c
331
if (!ncprange_getwidth(&fe.f_dst, &width))
usr.sbin/ppp/filter.c
332
width = 0;
usr.sbin/ppp/filter.c
333
if (width == 0)
usr.sbin/ppp/iface.c
747
int scopeid, width;
usr.sbin/ppp/iface.c
791
ncprange_getwidth(&iface->addr[f].ifa, &width);
usr.sbin/ppp/iface.c
793
prompt_Printf(arg->prompt, " prefixlen %d", width);
usr.sbin/ppp/ncpaddr.c
584
ncprange_set(struct ncprange *range, const struct ncpaddr *addr, int width)
usr.sbin/ppp/ncpaddr.c
587
ncprange_setwidth(range, width);
usr.sbin/ppp/ncpaddr.c
635
ncprange_setwidth(struct ncprange *range, int width)
usr.sbin/ppp/ncpaddr.c
639
if (width < 0 || width > 32)
usr.sbin/ppp/ncpaddr.c
641
range->ncprange_ip4width = width;
usr.sbin/ppp/ncpaddr.c
642
range->ncprange_ip4mask = bits2mask4(width);
usr.sbin/ppp/ncpaddr.c
647
if (width < 0 || width > 128)
usr.sbin/ppp/ncpaddr.c
649
range->ncprange_ip6width = width;
usr.sbin/ppp/ncpaddr.c
71
#define ncprange_ip4width u.ip4.width
usr.sbin/ppp/ncpaddr.c
75
#define ncprange_ip6width u.ip6.width
usr.sbin/ppp/ncpaddr.c
827
ncprange_getwidth(const struct ncprange *range, int *width)
usr.sbin/ppp/ncpaddr.c
831
*width = range->ncprange_ip4width;
usr.sbin/ppp/ncpaddr.c
835
*width = range->ncprange_ip6width;
usr.sbin/ppp/ncpaddr.h
38
int width;
usr.sbin/ppp/ncpaddr.h
43
int width;
usr.sbin/ppp/radius.c
252
int argc, addrs, res, width;
usr.sbin/ppp/radius.c
418
ncprange_getwidth(&dest, &width);
usr.sbin/ppp/radius.c
419
if (width == 32 && strchr(argv[0], '/') == NULL) {
usr.sbin/ppp/route.c
113
prompt_Printf(prompt, "%-*s ", width - 1, "default");
usr.sbin/ppp/route.c
115
prompt_Printf(prompt, "%-*s ", width - 1, ncprange_ntoa(&range));
usr.sbin/ppp/route.c
146
prompt_Printf(prompt, "%-*s ", width-1, buf);
usr.sbin/ppp/route.c
86
struct sockaddr *pmask, int width)
usr.sbin/vidcontrol/vidcontrol.c
435
vfnt.width = fh.fh_width;
usr.sbin/vidcontrol/vidcontrol.c
438
glyphsize = howmany(vfnt.width, 8) * vfnt.height * vfnt.glyph_count;