Symbol: width
bin/df/df.c
263
width = 0;
bin/df/df.c
266
width = (int)strlen(mntbuf[i].f_mntfromlabel) + 5;
bin/df/df.c
268
if (width == 0)
bin/df/df.c
269
width = (int)strlen(mntbuf[i].f_mntfromname);
bin/df/df.c
270
if (width > maxwidth)
bin/df/df.c
271
maxwidth = width;
bin/df/df.c
400
prthumanval(bool bytes, int64_t value, int width)
bin/df/df.c
409
(void)printf("%*s", width, buf);
bin/df/df.c
99
int ch, maxwidth, width;
bin/ps/keyword.c
403
newvar->width = strlen(v->header);
bin/ps/print.c
1034
if (fmtlen > v->width)
bin/ps/print.c
1035
v->width = fmtlen;
bin/ps/print.c
1038
(void)printf("%*ld:%02ld.%02ld", v->width - 6,
bin/ps/print.c
1140
(void)printf("%*s", v->width, "-");
bin/ps/print.c
1232
int width, vok, fmtlen;
bin/ps/print.c
1328
if (fmtlen > v->width)
bin/ps/print.c
1329
v->width = fmtlen;
bin/ps/print.c
1333
if (fmtlen > v->width)
bin/ps/print.c
1334
v->width = fmtlen;
bin/ps/print.c
1340
v->width = iwidth(uval);
bin/ps/print.c
1349
if (fmtlen > v->width)
bin/ps/print.c
1350
v->width = fmtlen;
bin/ps/print.c
1355
width = v->width;
bin/ps/print.c
1366
(void)printf(ofmt, width, GET(char));
bin/ps/print.c
1369
(void)printf(ofmt, width, CHK_INF127(GET(u_char)));
bin/ps/print.c
1372
(void)printf(ofmt, width, GET(short));
bin/ps/print.c
1381
(void)printf(ofmt, width, CHK_INF127(GET(u_short)));
bin/ps/print.c
1391
(void)printf(ofmt, width, GET(int));
bin/ps/print.c
1394
(void)printf(ofmt, width, CHK_INF127(GET(u_int)));
bin/ps/print.c
1397
(void)printf(ofmt, width, GET(long));
bin/ps/print.c
1400
(void)printf(ofmt, width, CHK_INF127(GET(u_long)));
bin/ps/print.c
1403
(void)printf(ofmt, width, GET(u_int64_t));
bin/ps/print.c
1406
(void)printf(ofmt, width, GET(u_int64_t) & 0xffffff);
bin/ps/print.c
1409
(void)printf(ofmt, width, GET(int32_t));
bin/ps/print.c
1412
(void)printf(ofmt, width, CHK_INF127(GET(u_int32_t)));
bin/ps/print.c
1415
(void)printf(ofmt, width, GET(int64_t));
bin/ps/print.c
1418
(void)printf(ofmt, width, CHK_INF127(GET(u_int64_t)));
bin/ps/print.c
1438
(void)printf("%*s", v->width, "-");
bin/ps/print.c
1457
(void)printf("%*s", v->width, "-");
bin/ps/print.c
1474
if (fmtlen > v->width)
bin/ps/print.c
1475
v->width = fmtlen;
bin/ps/print.c
1481
(void)printf( "%*lu.%.6lu", v->width - 6 - 1, secs, usec);
bin/ps/print.c
1493
(void)printf( "%*u:%.2u:%.2lu.%.2lu", v->width - 9, h, m, secs,
bin/ps/print.c
1507
v->width = min(v->width, KI_LNAMELEN);
bin/ps/print.c
1510
(void)printf("%-*s", v->width, "-");
bin/ps/print.c
179
if (len > v->width)
bin/ps/print.c
180
v->width = len;
bin/ps/print.c
181
totwidth += v->width + 1; /* +1 for space */
bin/ps/print.c
187
(void)printf("%-*s", v->width,
bin/ps/print.c
190
(void)printf("%*s", v->width, v->header);
bin/ps/print.c
247
if (fmtlen > v->width)
bin/ps/print.c
248
v->width = fmtlen;
bin/ps/print.c
252
if (fmtlen > v->width)
bin/ps/print.c
253
v->width = fmtlen;
bin/ps/print.c
256
(void)printf("%*.*f", v->width, prec, val);
bin/ps/print.c
269
if (fmtlen > v->width)
bin/ps/print.c
270
v->width = fmtlen;
bin/ps/print.c
274
if (fmtlen > v->width)
bin/ps/print.c
275
v->width = fmtlen;
bin/ps/print.c
278
(void)printf("%*d", v->width, val);
bin/ps/print.c
288
if (len > v->width)
bin/ps/print.c
289
v->width = len;
bin/ps/print.c
292
(void)printf("%-*.*s", v->width, v->width, str);
bin/ps/print.c
294
(void)printf("%*.*s", v->width, v->width, str);
bin/ps/print.c
312
left = termwidth - (totwidth - v->width);
bin/ps/print.c
314
left = v->width;
bin/ps/print.c
316
left = v->width;
bin/ps/print.c
394
left = termwidth - (totwidth - v->width);
bin/ps/print.c
396
left = v->width;
bin/ps/print.c
398
left = v->width;
bin/ps/print.c
431
left = termwidth - (totwidth - v->width);
bin/ps/print.c
433
left = v->width;
bin/ps/print.c
435
left = v->width;
bin/ps/print.c
721
(void)printf("%*s", v->width, "?");
bin/ps/print.c
723
if (v->width < 2)
bin/ps/print.c
724
v->width = 2;
bin/ps/print.c
745
(void)printf("%-*s", v->width, "?");
bin/ps/print.c
747
if (v->width < 2)
bin/ps/print.c
748
v->width = 2;
bin/ps/print.c
755
if (v->width < fmtlen)
bin/ps/print.c
756
v->width = fmtlen;
bin/ps/print.c
759
(void)printf("%-*s-", v->width - 1, ttname);
bin/ps/print.c
761
(void)printf("%-*s", v->width, ttname);
bin/ps/print.c
778
(void)printf("%-*s", v->width, "?");
bin/ps/print.c
780
if (v->width < 2)
bin/ps/print.c
781
v->width = 2;
bin/ps/print.c
799
(void)printf("%*s", v->width, "-");
bin/ps/print.c
843
if (v->width > (int)sizeof("STARTED") - 1) {
bin/ps/print.c
848
(void)printf("%*s", v->width, "-");
bin/ps/print.c
908
if (fmtlen > v->width)
bin/ps/print.c
909
v->width = fmtlen;
bin/ps/print.c
913
fmtlen = v->width;
bin/ps/print.c
958
v->width = min(v->width, KI_WMESGLEN);
bin/ps/print.c
961
(void)printf("%-*s", v->width, "-");
bin/ps/ps.h
91
int width; /* printing width */
bin/sh/output.c
419
int width;
bin/sh/output.c
444
width = 0;
bin/sh/output.c
458
width = va_arg(ap, int);
bin/sh/output.c
462
width = 10 * width + digit_val(*f++);
bin/sh/output.c
544
if (width) {
bin/sh/output.c
549
pad = width - size;
bin/sh/output.c
568
if (width) {
bin/sh/output.c
572
pad = width - len;
common/dist/zlib/trees.c
386
# define SEPARATOR(i, last, width) \
common/dist/zlib/trees.c
388
((i) % (width) == (width) - 1 ? ",\n" : ", "))
distrib/utils/more/command.c
605
int indx, width;
distrib/utils/more/command.c
613
for (width = indx = 0; indx < ac;) {
distrib/utils/more/command.c
618
if (width + len + 1 >= sc_width) {
distrib/utils/more/command.c
619
if (!width) {
distrib/utils/more/command.c
627
width = 0;
distrib/utils/more/command.c
631
if (width)
distrib/utils/more/command.c
638
width += len;
games/adventure/save.c
458
size_t width;
games/adventure/save.c
546
fread(p->address, p->width, 1, in);
games/adventure/save.c
547
for (s = p->address, i = 0; i < p->width; i++, s++)
games/adventure/save.c
554
crc_add(&crc, p->address, p->width);
games/atc/grammar.y
144
if (sp->width != 0)
games/atc/grammar.y
149
sp->width = $3;
games/atc/grammar.y
292
if (!(x == 0) && !(x == sp->width - 1) &&
games/atc/grammar.y
300
if (x < 1 || x >= sp->width - 1)
games/atc/grammar.y
309
if (x < 0 || x >= sp->width)
games/atc/grammar.y
344
if (x == sp->width - 1)
games/atc/grammar.y
376
if (sp->width == 0) {
games/atc/graphics.c
159
radar = newwin(scp->height, scp->width * 2, 0, 0);
games/atc/graphics.c
163
cleanradar = newwin(scp->height, scp->width * 2, 0, 0);
games/atc/graphics.c
176
for (j = 1; j < scp->width - 1; j++) {
games/atc/graphics.c
196
for (i = 0; i < scp->width - 1; i++)
games/atc/graphics.c
203
for (i = 0; i < scp->width - 1; i++)
games/atc/graphics.c
210
(void)wmove(radar, i, (scp->width - 1) * 2);
games/atc/struct.h
62
int width, height;
games/atc/update.c
183
if (pp->xpos < 1 || pp->xpos >= sp->width - 1 ||
games/atc/update.c
396
p.fuel = sp->width + sp->height;
games/banner/banner.c
1026
static int width = DWIDTH; /* -w option: scrunch letters to 80 columns */
games/banner/banner.c
1051
width = atoi(optarg);
games/banner/banner.c
1052
if (width <= 0 || width > DWIDTH)
games/banner/banner.c
1063
for (i = 0; i < width; i++) {
games/banner/banner.c
1064
j = i * DWIDTH / width;
games/banner/banner.c
1165
x = (x*width + (DWIDTH/2)) / DWIDTH;
games/banner/banner.c
1166
y = (y*width + (DWIDTH/2)) / DWIDTH;
games/boggle/boggle/prtable.c
66
prtable(const char *const base[], int num, int d_cols, int width,
games/boggle/boggle/prtable.c
80
cols = width / maxlen;
games/rogue/level.c
213
short width, height;
games/rogue/level.c
282
width = get_rand(7, (right_col - left_col - 2));
games/rogue/level.c
285
col_offset = get_rand(0, ((right_col - left_col) - width + 1));
games/rogue/level.c
291
right_col = left_col + width - 1;
games/sail/pl_7.c
219
size_t width, const char *str)
games/sail/pl_7.c
231
for (i=len; i<width; i++) {
games/sail/pl_7.c
243
size_t width, const char *fmt, ...)
games/sail/pl_7.c
256
for (x = getcurx(stdscr); x < x0 + width; x++) {
lib/libc/citrus/modules/citrus_hz.c
72
int start, end, width;
lib/libc/citrus/modules/citrus_mapper_std.c
113
idx = idx * lz->width + n - lz->begin;
lib/libc/citrus/modules/citrus_mapper_std.c
152
lz->width= end - begin + 1;
lib/libc/citrus/modules/citrus_mapper_std.c
328
table_size = lz->width;
lib/libc/citrus/modules/citrus_mapper_std.c
331
table_size *= lz->width;
lib/libc/citrus/modules/citrus_mapper_std_local.h
37
_citrus_index_t width;
lib/libc/locale/iswctype_mb.c
215
int width;
lib/libc/locale/iswctype_mb.c
220
width = 0;
lib/libc/locale/iswctype_mb.c
225
width += ((unsigned)x & _RUNETYPE_SWM) >> _RUNETYPE_SWS;
lib/libc/locale/iswctype_mb.c
228
return width;
lib/libc/quad/floatunditf_ieee754.c
73
unsigned int width = 64;
lib/libc/quad/floatunditf_ieee754.c
83
width >>= 1;
lib/libc/quad/floatunditf_ieee754.c
84
mask <<= width;
lib/libc/quad/floatunditf_ieee754.c
86
tmp <<= width;
lib/libc/quad/floatunditf_ieee754.c
87
bit += width;
lib/libc/stdio/vfscanf.c
163
size_t width; /* field width, or 0 */
lib/libc/stdio/vfscanf.c
204
width = 0;
lib/libc/stdio/vfscanf.c
258
width = width * 10 + c - '0';
lib/libc/stdio/vfscanf.c
393
if (width == 0)
lib/libc/stdio/vfscanf.c
394
width = 1;
lib/libc/stdio/vfscanf.c
401
while (width != 0) {
lib/libc/stdio/vfscanf.c
420
width--;
lib/libc/stdio/vfscanf.c
438
if ((n = fp->_r) < width) {
lib/libc/stdio/vfscanf.c
440
width -= n;
lib/libc/stdio/vfscanf.c
448
sum += width;
lib/libc/stdio/vfscanf.c
450
fp->_r - width));
lib/libc/stdio/vfscanf.c
451
fp->_r -= (int)width;
lib/libc/stdio/vfscanf.c
452
fp->_p += width;
lib/libc/stdio/vfscanf.c
459
width, fp);
lib/libc/stdio/vfscanf.c
471
if (width == 0)
lib/libc/stdio/vfscanf.c
472
width = (size_t)~0; /* `infinity' */
lib/libc/stdio/vfscanf.c
484
while (width != 0) {
lib/libc/stdio/vfscanf.c
512
width--;
lib/libc/stdio/vfscanf.c
541
if (--width == 0)
lib/libc/stdio/vfscanf.c
556
if (--width == 0)
lib/libc/stdio/vfscanf.c
576
if (width == 0)
lib/libc/stdio/vfscanf.c
577
width = (size_t)~0;
lib/libc/stdio/vfscanf.c
586
while (!isspace_l(*fp->_p, loc) && width != 0) {
lib/libc/stdio/vfscanf.c
613
width--;
lib/libc/stdio/vfscanf.c
634
if (--width == 0)
lib/libc/stdio/vfscanf.c
645
if (--width == 0)
lib/libc/stdio/vfscanf.c
660
if (width == 0 || width > sizeof(buf) - 1)
lib/libc/stdio/vfscanf.c
661
width = sizeof(buf) - 1;
lib/libc/stdio/vfscanf.c
664
if (--width > sizeof(buf) - 2)
lib/libc/stdio/vfscanf.c
665
width = sizeof(buf) - 2;
lib/libc/stdio/vfscanf.c
666
width++;
lib/libc/stdio/vfscanf.c
669
for (p = buf; width; width--) {
lib/libc/stdio/vfscanf.c
819
if (width == 0 || width > sizeof(buf) - 1)
lib/libc/stdio/vfscanf.c
820
width = sizeof(buf) - 1;
lib/libc/stdio/vfscanf.c
821
if ((width = parsefloat(fp, buf, buf + width, loc)) == 0)
lib/libc/stdio/vfscanf.c
835
if (__scanfdebug && (size_t)(p - buf) != width)
lib/libc/stdio/vfscanf.c
839
nread += width;
lib/libc/stdio/vfwprintf.c
1421
prsize = width > realsz ? width : realsz;
lib/libc/stdio/vfwprintf.c
1429
PAD(width - realsz, blanks);
lib/libc/stdio/vfwprintf.c
1442
PAD(width - realsz, zeroes);
lib/libc/stdio/vfwprintf.c
1506
PAD(width - realsz, blanks);
lib/libc/stdio/vfwprintf.c
628
int width; /* width from format (%8d), or 0 */
lib/libc/stdio/vfwprintf.c
877
width = 0;
lib/libc/stdio/vfwprintf.c
911
GETASTER (width);
lib/libc/stdio/vfwprintf.c
912
if (width >= 0)
lib/libc/stdio/vfwprintf.c
914
width = -width;
lib/libc/stdio/vfwprintf.c
969
width = n;
lib/libc/stdio/vfwscanf.c
153
size_t width; /* field width, or 0 */
lib/libc/stdio/vfwscanf.c
198
width = 0;
lib/libc/stdio/vfwscanf.c
253
width = width * 10 + c - '0';
lib/libc/stdio/vfwscanf.c
387
if (width == 0)
lib/libc/stdio/vfwscanf.c
388
width = 1;
lib/libc/stdio/vfwscanf.c
393
while (width-- != 0 &&
lib/libc/stdio/vfwscanf.c
409
while (width != 0 &&
lib/libc/stdio/vfwscanf.c
411
if (width >= MB_CUR_MAX_L(loc) &&
lib/libc/stdio/vfwscanf.c
422
if (nconv > width) {
lib/libc/stdio/vfwscanf.c
432
width -= nconv;
lib/libc/stdio/vfwscanf.c
446
if (width == 0)
lib/libc/stdio/vfwscanf.c
447
width = (size_t)~0; /* `infinity' */
lib/libc/stdio/vfwscanf.c
452
width-- != 0 && INCCL(wi))
lib/libc/stdio/vfwscanf.c
461
width-- != 0 && INCCL(wi))
lib/libc/stdio/vfwscanf.c
477
width != 0 && INCCL(wi)) {
lib/libc/stdio/vfwscanf.c
478
if (width >= MB_CUR_MAX_L(loc) &&
lib/libc/stdio/vfwscanf.c
489
if (nconv > width)
lib/libc/stdio/vfwscanf.c
497
width -= nconv;
lib/libc/stdio/vfwscanf.c
513
if (width == 0)
lib/libc/stdio/vfwscanf.c
514
width = (size_t)~0;
lib/libc/stdio/vfwscanf.c
517
width-- != 0 &&
lib/libc/stdio/vfwscanf.c
525
width-- != 0 &&
lib/libc/stdio/vfwscanf.c
539
width != 0 &&
lib/libc/stdio/vfwscanf.c
541
if (width >= MB_CUR_MAX_L(loc) &&
lib/libc/stdio/vfwscanf.c
552
if (nconv > width)
lib/libc/stdio/vfwscanf.c
560
width -= nconv;
lib/libc/stdio/vfwscanf.c
575
if (width == 0 || width > sizeof(buf) /
lib/libc/stdio/vfwscanf.c
577
width = sizeof(buf) / sizeof(*buf) - 1;
lib/libc/stdio/vfwscanf.c
579
for (p = buf; width; width--) {
lib/libc/stdio/vfwscanf.c
725
if (width == 0 || width > sizeof(buf) /
lib/libc/stdio/vfwscanf.c
727
width = sizeof(buf) / sizeof(*buf) - 1;
lib/libc/stdio/vfwscanf.c
728
if ((width = parsefloat(fp, buf, buf + width, loc)) == 0)
lib/libc/stdio/vfwscanf.c
744
if (p - buf != (ptrdiff_t)width)
lib/libc/stdio/vfwscanf.c
749
nread += width;
lib/libc/stdio/vsnprintf_ss.c
127
int width; /* width from format (%8d), or 0 */
lib/libc/stdio/vsnprintf_ss.c
178
width = 0;
lib/libc/stdio/vsnprintf_ss.c
203
if ((width = va_arg(ap, int)) >= 0)
lib/libc/stdio/vsnprintf_ss.c
205
width = -width;
lib/libc/stdio/vsnprintf_ss.c
241
width = n;
lib/libc/stdio/vsnprintf_ss.c
459
ret += width > realsz ? width : realsz;
lib/libc/stdio/vsnprintf_ss.c
463
n = width - realsz;
lib/libc/stdio/vsnprintf_ss.c
478
n = width - realsz;
lib/libc/stdio/vsnprintf_ss.c
493
n = width - realsz;
lib/libc/stdlib/lsearch.c
105
memcpy(end, key, width);
lib/libc/stdlib/lsearch.c
54
lsearch(const void *key, void *base, size_t *nelp, size_t width,
lib/libc/stdlib/lsearch.c
62
return(linear_base(key, base, nelp, width, compar, 1));
lib/libc/stdlib/lsearch.c
66
lfind(const void *key, const void *base, size_t *nelp, size_t width,
lib/libc/stdlib/lsearch.c
74
return(linear_base(key, __UNCONST(base), nelp, width, compar, 0));
lib/libc/stdlib/lsearch.c
78
linear_base(const void *key, void *base, size_t *nelp, size_t width,
lib/libc/stdlib/lsearch.c
87
end = (char *)base + *nelp * width;
lib/libc/stdlib/lsearch.c
88
for (element = (char *)base; element < end; element += width)
lib/libc/stdlib/strfmon.c
124
int width; /* field width */
lib/libc/stdlib/strfmon.c
166
width = -1; /* no width specified */
lib/libc/stdlib/strfmon.c
205
GET_NUMBER(width, loc);
lib/libc/stdlib/strfmon.c
210
if ((size_t)(d + width) >= maxsize)
lib/libc/stdlib/strfmon.c
394
if (dst - tmpptr < width) {
lib/libc/stdlib/strfmon.c
396
while (dst - tmpptr < width)
lib/libc/stdlib/strfmon.c
402
wps = width - pad_size;
lib/libcurses/EXAMPLES/view.c
129
int width;
lib/libcurses/EXAMPLES/view.c
144
if ((width = wcwidth(wch)) < 0)
lib/libcurses/EXAMPLES/view.c
146
if ((width > 0 && l > 0) || l == CCHARW_MAX) {
lib/libcurses/EXAMPLES/view.c
153
if (width == 0 && l == 0)
lib/libcurses/ins_wstr.c
138
int width, len, lx, sx, x, y, tx, ty, cw, pcw, newx, tn, w;
lib/libcurses/ins_wstr.c
158
width = cw;
lib/libcurses/ins_wstr.c
178
width -= cw;
lib/libcurses/ins_wstr.c
183
width = 0;
lib/libcurses/ins_wstr.c
204
width += w;
lib/libcurses/ins_wstr.c
212
tn--, width += w;
lib/libcurses/ins_wstr.c
215
__CTRACE(__CTRACE_INPUT, "wins_nwstr: width=%d,len=%d\n", width, len);
lib/libcurses/ins_wstr.c
217
if (width > win->maxx - win->curx + 1) {
lib/libcurses/ins_wstr.c
226
width = 0;
lib/libcurses/ins_wstr.c
244
width -= cw;
lib/libcurses/ins_wstr.c
251
width = 0;
lib/libcurses/ins_wstr.c
266
width += w;
lib/libcurses/ins_wstr.c
278
n--, len++, width += w;
lib/libcurses/ins_wstr.c
315
if (sx + width + pcw <= win->maxx) {
lib/libcurses/ins_wstr.c
316
__CTRACE(__CTRACE_INPUT, "wins_nwstr: shift all characters by %d\n", width);
lib/libcurses/ins_wstr.c
318
temp2 = temp1 - width;
lib/libcurses/ins_wstr.c
325
while (temp1 > temp2 + width) {
lib/libcurses/slk.c
733
size_t spc, len, width, x;
lib/libcurses/slk.c
741
width = 0;
lib/libcurses/slk.c
756
if (width + w > spc)
lib/libcurses/slk.c
758
width += w;
lib/libcurses/slk.c
768
width = len;
lib/libcurses/slk.c
776
x = (spc - width) / 2;
lib/libcurses/slk.c
777
if (x + width > spc)
lib/libcurses/slk.c
781
x = spc - width;
lib/libcurses/slk.c
796
spc -= width;
lib/libedit/filecomplete.c
543
fn_display_match_list(EditLine * el, char **matches, size_t num, size_t width,
lib/libedit/filecomplete.c
559
cols = (size_t)screenwidth / (width + 2);
lib/libedit/filecomplete.c
581
(int) (width - strlen(matches[thisguy])), "");
lib/libedit/refresh.c
1011
re__copy_and_pad(wchar_t *dst, const wchar_t *src, size_t width)
lib/libedit/refresh.c
1015
for (i = 0; i < width; i++) {
lib/libedit/refresh.c
1021
for (; i < width; i++)
lib/libform/internals.c
3491
tab_fit_len(_FORMI_FIELD_LINES *row, unsigned int width)
lib/libform/internals.c
3501
if (width == 0)
lib/libform/internals.c
3504
while ((len < width) && (pos < row->length)) {
lib/libform/internals.c
3508
if ((len + ts->size) > width)
lib/libform/internals.c
503
int width, wrap_err;
lib/libform/internals.c
513
width = field->cols;
lib/libform/internals.c
527
width = field->cols;
lib/libform/internals.c
582
if (row->expanded < width) {
lib/libform/internals.c
607
} else if (row->expanded > width) {
lib/libform/internals.c
616
pos = width - 1;
lib/libform/type_alnum.c
100
width = ((alnum_args *) (void *) field->args)->width;
lib/libform/type_alnum.c
122
if ((cur - start) > width)
lib/libform/type_alnum.c
45
unsigned width;
lib/libform/type_alnum.c
60
new->width = va_arg(*args, int);
lib/libform/type_alnum.c
76
new->width = ((alnum_args *) (void *)args)->width;
lib/libform/type_alnum.c
97
int width, start, cur, end;
lib/libform/type_alpha.c
102
width = ((alpha_args *) (void *) field->args)->width;
lib/libform/type_alpha.c
124
if ((cur - start) > width)
lib/libform/type_alpha.c
47
unsigned width;
lib/libform/type_alpha.c
62
new->width = va_arg(*args, int);
lib/libform/type_alpha.c
78
new->width = ((alpha_args *) (void *) args)->width;
lib/libform/type_alpha.c
99
int width, start, cur, end;
lib/libmenu/internals.c
596
int i, with_desc, width;
lib/libmenu/internals.c
601
width = menu->items[i]->name.length
lib/libmenu/internals.c
604
width += menu->items[i]->description.length + 1;
lib/libmenu/internals.c
606
menu->max_item_width = max(menu->max_item_width, width);
lib/libterminfo/tparm.c
194
size_t l, max, width, precision, olen;
lib/libterminfo/tparm.c
269
width = precision = 0;
lib/libterminfo/tparm.c
294
width = (size_t)val;
lib/libterminfo/tparm.c
328
width = (size_t)val;
lib/libterminfo/tparm.c
331
olen = MAX(width, precision);
libexec/ftpd/ftpcmd.y
1752
int width, NCMDS;
libexec/ftpd/ftpcmd.y
1759
width = 0, NCMDS = 0;
libexec/ftpd/ftpcmd.y
1763
if (len > width)
libexec/ftpd/ftpcmd.y
1764
width = len;
libexec/ftpd/ftpcmd.y
1767
width = (width + 8) &~ 7;
libexec/ftpd/ftpcmd.y
1775
columns = 76 / width;
libexec/ftpd/ftpcmd.y
1795
while (w < width) {
libexec/ftpd/ftpcmd.y
1814
reply(504, "%s%-*s\t%s; not implemented.", htype, width,
sbin/disklabel/interact.c
675
int columns, width;
sbin/disklabel/interact.c
681
width = 0;
sbin/disklabel/interact.c
686
if (w > width)
sbin/disklabel/interact.c
687
width = w;
sbin/disklabel/interact.c
695
width++; /* want two spaces between items */
sbin/disklabel/interact.c
696
width = (width + 8) &~ 7;
sbin/disklabel/interact.c
699
columns = ttywidth / width;
sbin/disklabel/interact.c
715
while (w < width) {
sbin/gpt/show.c
573
unsigned int width;
sbin/gpt/show.c
592
width = 2 * ((unsigned)gpt->lbawidth + 2) + 7;
sbin/gpt/show.c
611
printf("%*s Type: %s\n", width, "", s1);
sbin/gpt/show.c
632
printf("%*s TypeID: %s\n", width, "", s2);
sbin/gpt/show.c
633
printf("%*s GUID: %s\n", width, "", s2);
sbin/gpt/show.c
635
printf("%*s TypeID: %s\n", width, "", s2);
sbin/gpt/show.c
638
printf("%*s GUID: %s\n", width, "", s2);
sbin/gpt/show.c
641
printf("%*s Size: ", width, "");
sbin/gpt/show.c
665
printf("%*s Label: %s\n", width, "", (char *)utfbuf);
sbin/gpt/show.c
667
printf("%*s Attributes: ", width, "");
sbin/gpt/show.c
692
if (width + pr + w + 4 < out_width) {
sbin/gpt/show.c
694
width - pr - w;
sbin/gpt/show.c
706
printf("%*s GUID: %s\n", width, "",
sbin/gpt/show.c
711
printf("%*s GUID: %s\n", width, "",
sbin/restore/interactive.c
657
size_t width, w;
sbin/restore/interactive.c
660
width = 0;
sbin/restore/interactive.c
669
if (width < fp->len)
sbin/restore/interactive.c
670
width = fp->len;
sbin/restore/interactive.c
677
width++;
sbin/restore/interactive.c
679
width++;
sbin/restore/interactive.c
683
width += precision + 1;
sbin/restore/interactive.c
685
width++;
sbin/restore/interactive.c
686
columns = 81 / width;
sbin/restore/interactive.c
711
for (w = fp->len; w < width; w++)
sbin/route/rtutil.c
346
int width, int flags)
sbin/route/rtutil.c
372
if (width < 0)
sbin/route/rtutil.c
376
printf("%-*s ", width, cp);
sbin/route/rtutil.c
378
printf("%-*.*s ", width, width, cp);
sys/arch/aarch64/aarch64/disasm.c
3703
uint8_t width;
sys/arch/aarch64/aarch64/disasm.c
4075
if (insn_tables[i].bitinfo[j].width == 0)
sys/arch/aarch64/aarch64/disasm.c
4078
WIDTHMASK(insn_tables[i].bitinfo[j].width);
sys/arch/acorn32/include/bootconfig.h
77
u_int width;
sys/arch/acorn32/stand/boot32/boot32.c
1100
sprint0(int width, char prefix, char base, int value)
sys/arch/acorn32/stand/boot32/boot32.c
1106
for (pos = format, length = 0; length<width; length++) *pos++ = prefix;
sys/arch/acorn32/stand/boot32/boot32.c
1114
return scrap+length-width;
sys/arch/acorn32/stand/boot32/boot32.c
149
char *sprint0(int width, char prefix, char base, int value);
sys/arch/acorn32/stand/boot32/boot32.c
733
bconfig->width = vdu_var(os_MODEVAR_XWIND_LIMIT);
sys/arch/alpha/alpha/fp_complete.c
100
(u_int ## width ## _t)(msb) << ((width) - 1 - (expwidth) - 1) |\
sys/arch/alpha/alpha/fp_complete.c
101
(u_int ## width ## _t)(rest_of_frac)
sys/arch/alpha/alpha/fp_complete.c
97
#define MAKE_FLOATXX(width, expwidth, sign, exp, msb, rest_of_frac) \
sys/arch/alpha/alpha/fp_complete.c
98
(u_int ## width ## _t)(sign) << ((width) - 1) |\
sys/arch/alpha/alpha/fp_complete.c
99
(u_int ## width ## _t)(exp) << ((width) - 1 - (expwidth)) |\
sys/arch/amiga/dev/amidisplaycc.c
1082
FBINFO.width = adp->gfxwidth;
sys/arch/amiga/dev/amidisplaycc.c
1142
dimension.width = adp->gfxwidth;
sys/arch/amiga/dev/amidisplaycc.c
1287
dimension.width = screenp->ncols * fontwidth;
sys/arch/amiga/dev/amidisplaycc.c
1314
scr->width = dimension.width;
sys/arch/amiga/dev/amidisplaycc.c
1405
dimension.width,
sys/arch/amiga/dev/amidisplaycc.c
187
#define ADCC_SCREEN(name, width, height, depth, fontwidth, fontheight) \
sys/arch/amiga/dev/amidisplaycc.c
191
width / fontwidth, \
sys/arch/amiga/dev/amidisplaycc.c
289
int width;
sys/arch/amiga/dev/gayle_pcmcia.c
373
pcf_io_map(pcmcia_chipset_handle_t pch, int width, bus_addr_t offset,
sys/arch/amiga/dev/grf.c
579
fbinfo->width = gi->gd_fbwidth;
sys/arch/amiga/dev/grf_cc.c
215
vs.width = 640;
sys/arch/amiga/dev/grf_cc.c
222
gi->gd_fbwidth = vs.width;
sys/arch/amiga/dev/grf_cc.c
226
gi->gd_dwidth = vs.width;
sys/arch/amiga/dev/grfabs.c
114
get_best_display_mode(u_long width, u_long height, u_char depth)
sys/arch/amiga/dev/grfabs.c
123
dim.width = width;
sys/arch/amiga/dev/grfabs.c
127
dx = ABS(long, (d->nominal_size.width - width));
sys/arch/amiga/dev/grfabs.c
205
d = get_best_display_mode(dim->width, dim->height, depth);
sys/arch/amiga/dev/grfabs_cc.c
1027
hl_this->nominal_size.width = 640;
sys/arch/amiga/dev/grfabs_cc.c
1029
hl_this_data->max_size.width = 724;
sys/arch/amiga/dev/grfabs_cc.c
1031
hl_this_data->min_size.width = 320;
sys/arch/amiga/dev/grfabs_cc.c
1095
int x, y, w = v->display.width, h = v->display.height;
sys/arch/amiga/dev/grfabs_cc.c
1253
hdl_this->nominal_size.width = 640;
sys/arch/amiga/dev/grfabs_cc.c
1255
hdl_this_data->max_size.width = 724;
sys/arch/amiga/dev/grfabs_cc.c
1257
hdl_this_data->min_size.width = 320;
sys/arch/amiga/dev/grfabs_cc.c
1324
int x, y, w = v->display.width, h = v->display.height;
sys/arch/amiga/dev/grfabs_cc.c
1509
a24_this->nominal_size.width = 1024;
sys/arch/amiga/dev/grfabs_cc.c
1511
a24_this_data->max_size.width = 1024;
sys/arch/amiga/dev/grfabs_cc.c
1513
a24_this_data->min_size.width = 1024;
sys/arch/amiga/dev/grfabs_cc.c
1798
aga_this->nominal_size.width = 640;
sys/arch/amiga/dev/grfabs_cc.c
1800
aga_this_data->max_size.width = 724;
sys/arch/amiga/dev/grfabs_cc.c
1802
aga_this_data->min_size.width = 320;
sys/arch/amiga/dev/grfabs_cc.c
1876
int x, y, w = v->display.width, h = v->display.height;
sys/arch/amiga/dev/grfabs_cc.c
2107
super72_this->nominal_size.width = 800;
sys/arch/amiga/dev/grfabs_cc.c
2109
super72_this_data->max_size.width = 848;
sys/arch/amiga/dev/grfabs_cc.c
2111
super72_this_data->min_size.width = 320;
sys/arch/amiga/dev/grfabs_cc.c
2211
int x, y, w = v->display.width, h = v->display.height;
sys/arch/amiga/dev/grfabs_cc.c
2399
ph_this->nominal_size.width = 640;
sys/arch/amiga/dev/grfabs_cc.c
2401
ph_this_data->max_size.width = 724;
sys/arch/amiga/dev/grfabs_cc.c
2403
ph_this_data->min_size.width = 320;
sys/arch/amiga/dev/grfabs_cc.c
2452
int x, y, w = v->display.width, h = v->display.height;
sys/arch/amiga/dev/grfabs_cc.c
2568
phl_this->nominal_size.width = 640;
sys/arch/amiga/dev/grfabs_cc.c
257
} else if (size->width > dmd->max_size.width ||
sys/arch/amiga/dev/grfabs_cc.c
2570
phl_this_data->max_size.width = 724;
sys/arch/amiga/dev/grfabs_cc.c
2572
phl_this_data->min_size.width = 320;
sys/arch/amiga/dev/grfabs_cc.c
261
} else if (size->width < dmd->min_size.width ||
sys/arch/amiga/dev/grfabs_cc.c
2627
int x, y, w = v->display.width, h = v->display.height;
sys/arch/amiga/dev/grfabs_cc.c
266
dx = abs(dm->nominal_size.width - size->width);
sys/arch/amiga/dev/grfabs_cc.c
2768
phdl_this->nominal_size.width = 640;
sys/arch/amiga/dev/grfabs_cc.c
2770
phdl_this_data->max_size.width = 724;
sys/arch/amiga/dev/grfabs_cc.c
2772
phdl_this_data->min_size.width = 320;
sys/arch/amiga/dev/grfabs_cc.c
280
alloc_bitmap(u_short width, u_short height, u_short depth, u_short flags)
sys/arch/amiga/dev/grfabs_cc.c
2827
int x, y, w = v->display.width, h = v->display.height;
sys/arch/amiga/dev/grfabs_cc.c
285
u_short lwpr = (flags & BMF_ALIGN64) ? ((width + 63) / 64) * 2 :
sys/arch/amiga/dev/grfabs_cc.c
286
(width + 31) / 32; /* AGA needs 64 bit align */
sys/arch/amiga/dev/grfabs_cc.c
288
u_short lwpr = (width + 31) / 32;
sys/arch/amiga/dev/grfabs_cc.c
2987
p24_this->nominal_size.width = 1024;
sys/arch/amiga/dev/grfabs_cc.c
2989
p24_this_data->max_size.width = 1024;
sys/arch/amiga/dev/grfabs_cc.c
2991
p24_this_data->min_size.width = 1024;
sys/arch/amiga/dev/grfabs_cc.c
3223
paga_this->nominal_size.width = 640;
sys/arch/amiga/dev/grfabs_cc.c
3225
paga_this_data->max_size.width = 720;
sys/arch/amiga/dev/grfabs_cc.c
3227
paga_this_data->min_size.width = 320;
sys/arch/amiga/dev/grfabs_cc.c
3296
int x, y, w = v->display.width, h = v->display.height;
sys/arch/amiga/dev/grfabs_cc.c
438
bmap_t *bm = cc_monitor->alloc_bitmap(dim->width, dim->height,
sys/arch/amiga/dev/grfabs_cc.c
446
INIT_BOX(&box, 0, 0, dim->width, dim->height);
sys/arch/amiga/dev/grfabs_cc.c
845
h_this->nominal_size.width = 640;
sys/arch/amiga/dev/grfabs_cc.c
847
h_this_data->max_size.width = 724;
sys/arch/amiga/dev/grfabs_cc.c
849
h_this_data->min_size.width = 320;
sys/arch/amiga/dev/grfabs_cc.c
902
int x, y, w = v->display.width, h = v->display.height;
sys/arch/amiga/dev/grfabs_ccreg.h
285
bmap_t *alloc_bitmap(u_short width, u_short height, u_short depth, u_short flags);
sys/arch/amiga/dev/grfabs_reg.h
268
(r)->right = (b)->x + (b)->width -1; \
sys/arch/amiga/dev/grfabs_reg.h
275
(b)->width = (r)->right - (r)->left +1; \
sys/arch/amiga/dev/grfabs_reg.h
279
#define INIT_BOX(b,xx,yy,ww,hh) do{(b)->x = xx; (b)->y = yy; (b)->width = ww; (b)->height = hh;}while (0)
sys/arch/amiga/dev/grfabs_reg.h
282
#define INIT_DIM(d,w,h) do {(d)->width = w; (d)->height = h;} while (0)
sys/arch/amiga/dev/grfabs_reg.h
43
u_long width;
sys/arch/amiga/dev/grfabs_reg.h
51
u_long width;
sys/arch/amiga/dev/ite_cc.c
125
u_short width; /* the bitmap width */
sys/arch/amiga/dev/ite_cc.c
210
vs.width = winsz->width;
sys/arch/amiga/dev/ite_cc.c
221
ip->cols = cci->view->display.width / ip->ftwidth;
sys/arch/amiga/dev/ite_cc.c
229
ite_default_width = cci->view->display.width;
sys/arch/amiga/dev/ite_cc.c
246
cci->width = cci->view->bitmap->bytes_per_row << 3;
sys/arch/amiga/dev/ite_cc.c
306
wsz.width = ite_default_width;
sys/arch/amiga/dev/ite_cc.c
333
is->width = cci->view->display.width;
sys/arch/amiga/dev/ite_cc.c
345
ws.ws_xpixel = cci->view->display.width;
sys/arch/amiga/dev/ite_cc.c
813
scrollbmap(bmap_t *bm, u_short x, u_short y, u_short width, u_short height,
sys/arch/amiga/dev/iteioctl.h
46
u_int width; /* width of ite display */
sys/arch/amiga/dev/mntva.c
508
wsfbi->width = ms->scr_ri.ri_width;
sys/arch/amiga/dev/view.c
201
if (vs->width != vu->size.width || vs->height != vu->size.height ||
sys/arch/amiga/dev/view.c
208
ns.width = vs->width;
sys/arch/amiga/dev/view.c
219
vu->size.width = new->display.width;
sys/arch/amiga/dev/view.c
260
size.width = vu->size.width = view_default_width;
sys/arch/amiga/dev/view.c
270
vu->size.width = vu->view->display.width;
sys/arch/amiga/dev/viewioctl.h
47
u_int width;
sys/arch/amiga/dev/zz9k_fb.c
149
uint16_t width;
sys/arch/amiga/dev/zz9k_fb.c
467
sc->sc_width = zzfb_modes[display_mode].width;
sys/arch/amiga/dev/zz9k_fb.c
666
((struct wsdisplay_fbinfo *)data)->width = sc->sc_width;
sys/arch/arm/amlogic/meson_genfb.c
295
u_int width, height, depth;
sys/arch/arm/amlogic/meson_genfb.c
297
prop_dictionary_get_uint32(cfg, "width", &width);
sys/arch/arm/amlogic/meson_genfb.c
301
const uint32_t w = (width * (depth/8)) >> 3;
sys/arch/arm/amlogic/meson_genfb.c
332
u_int width, height, depth;
sys/arch/arm/amlogic/meson_genfb.c
335
prop_dictionary_get_uint32(cfg, "width", &width);
sys/arch/arm/amlogic/meson_genfb.c
391
w1 = __SHIFTIN(width - 1, VIU_OSD_BLK_CFG_W1_X_END) |
sys/arch/arm/amlogic/meson_genfb.c
395
w3 = __SHIFTIN(width - 1, VIU_OSD_BLK_CFG_W3_H_END) |
sys/arch/arm/amlogic/meson_genfb.c
411
u_int width, height;
sys/arch/arm/amlogic/meson_genfb.c
414
prop_dictionary_get_uint32(cfg, "width", &width);
sys/arch/arm/amlogic/meson_genfb.c
419
const u_int dst_w = (width * scale) / 100;
sys/arch/arm/amlogic/meson_genfb.c
421
const u_int margin_w = (width - dst_w) / 2;
sys/arch/arm/amlogic/meson_genfb.c
435
sci_wh = __SHIFTIN(width - 1, VPP_OSD_SCI_WH_M1_WIDTH) |
sys/arch/arm/amlogic/meson_genfb.c
438
__SHIFTIN(width - margin_w - 1, VPP_OSD_SCO_H_END);
sys/arch/arm/amlogic/meson_genfb.c
488
const u_int hf_phase_step = ((width << 18) / dst_w) << 6;
sys/arch/arm/amlogic/meson_genfb.c
521
u_int width = 0, height = 0, depth, flags, i, scale = 100;
sys/arch/arm/amlogic/meson_genfb.c
533
width = meson_genfb_modes[i].width;
sys/arch/arm/amlogic/meson_genfb.c
539
if (width == 0 || height == 0) {
sys/arch/arm/amlogic/meson_genfb.c
559
const uint32_t fbsize = width * height * (depth / 8);
sys/arch/arm/amlogic/meson_genfb.c
578
prop_dictionary_set_uint32(cfg, "width", width);
sys/arch/arm/amlogic/meson_genfb.c
582
prop_dictionary_set_uint16(cfg, "linebytes", width * (depth / 8));
sys/arch/arm/amlogic/meson_genfb.c
66
u_int width;
sys/arch/arm/amlogic/meson_sdhc.c
594
meson_sdhc_bus_width(sdmmc_chipset_handle_t sch, int width)
sys/arch/arm/amlogic/meson_sdhc.c
601
switch (width) {
sys/arch/arm/amlogic/meson_sdio.c
444
meson_sdio_bus_width(sdmmc_chipset_handle_t sch, int width)
sys/arch/arm/amlogic/meson_sdio.c
450
if (width == 1) {
sys/arch/arm/amlogic/meson_sdio.c
452
} else if (width == 4) {
sys/arch/arm/amlogic/meson_sdio.c
459
sc->sc_cur_width = width;
sys/arch/arm/amlogic/mesongx_mmc.c
539
uint32_t width;
sys/arch/arm/amlogic/mesongx_mmc.c
551
if (of_getprop_uint32(sc->sc_phandle, "bus-width", &width) != 0)
sys/arch/arm/amlogic/mesongx_mmc.c
552
width = 4;
sys/arch/arm/amlogic/mesongx_mmc.c
589
if (width == 4)
sys/arch/arm/amlogic/mesongx_mmc.c
591
if (width == 8)
sys/arch/arm/amlogic/mesongx_mmc.c
756
mesongx_mmc_bus_width(sdmmc_chipset_handle_t sch, int width)
sys/arch/arm/amlogic/mesongx_mmc.c
764
switch (width) {
sys/arch/arm/at91/at91cf.c
413
at91cf_io_map(pcmcia_chipset_handle_t pch, int width, bus_addr_t offset,
sys/arch/arm/at91/at91cf.c
418
DPRINTFN(1, ("at91cf_io_map: offset=%#x, size=%#x, width=%d",(unsigned)offset,(unsigned)size,width));
sys/arch/arm/at91/at91cf.c
420
switch (width) {
sys/arch/arm/broadcom/bcm2835_sdhost.c
573
sdhost_bus_width(sdmmc_chipset_handle_t sch, int width)
sys/arch/arm/broadcom/bcm2835_sdhost.c
579
aprint_normal_dev(sc->sc_dev, "width = %d\n", width);
sys/arch/arm/broadcom/bcm2835_sdhost.c
583
if (width == 4)
sys/arch/arm/broadcom/bcm283x_platform.c
1019
le32toh(vb_setfb.vbt_res.width), le32toh(vb_setfb.vbt_res.height));
sys/arch/arm/broadcom/bcm283x_platform.c
1021
le32toh(vb_setfb.vbt_vres.width),
sys/arch/arm/broadcom/bcm283x_platform.c
1027
vb_setfb.vbt_res.width == 0 ||
sys/arch/arm/broadcom/bcm283x_platform.c
1029
vb_setfb.vbt_vres.width == 0 ||
sys/arch/arm/broadcom/bcm283x_platform.c
1033
width, height);
sys/arch/arm/broadcom/bcm283x_platform.c
1038
le32toh(vb_setfb.vbt_res.width));
sys/arch/arm/broadcom/bcm283x_platform.c
540
.width = htole32(0),
sys/arch/arm/broadcom/bcm283x_platform.c
549
.width = htole32(0),
sys/arch/arm/broadcom/bcm283x_platform.c
969
uint32_t width = 0, height = 0;
sys/arch/arm/broadcom/bcm283x_platform.c
978
if (rpi_fb_parse_mode(ptr, &width, &height) == false)
sys/arch/arm/broadcom/bcm283x_platform.c
981
if (width == 0 || height == 0) {
sys/arch/arm/broadcom/bcm283x_platform.c
982
rpi_fb_get_edid_mode(&width, &height);
sys/arch/arm/broadcom/bcm283x_platform.c
984
if (width == 0 || height == 0) {
sys/arch/arm/broadcom/bcm283x_platform.c
985
width = RPI_FB_WIDTH;
sys/arch/arm/broadcom/bcm283x_platform.c
989
vb_setfb.vbt_res.width = htole32(width);
sys/arch/arm/broadcom/bcm283x_platform.c
991
vb_setfb.vbt_vres.width = htole32(width);
sys/arch/arm/clps711x/clpslcd.c
122
uint32_t syscon, lcdcon, depth, width, height, addr;
sys/arch/arm/clps711x/clpslcd.c
132
if (!prop_dictionary_get_uint32(dict, "width", &width) ||
sys/arch/arm/clps711x/clpslcd.c
146
LCDCON_PP(width * height) |
sys/arch/arm/clps711x/clpslcd.c
147
LCDCON_LL(width) |
sys/arch/arm/clps711x/clpslcd.c
148
LCDCON_VBS(width * height * depth);
sys/arch/arm/clps711x/clpslcd.c
160
": %dx%d pixels, %d bpp mono\n", width, height, depth);
sys/arch/arm/clps711x/clpslcd.c
165
ri->ri_width = width;
sys/arch/arm/clps711x/clpslcd.c
167
ri->ri_stride = width * ri->ri_depth / 8/*bits*/;
sys/arch/arm/clps711x/clpslcd.c
220
wsdisp_info->width = sc->sc_ri.ri_width;
sys/arch/arm/ep93xx/eppcic.c
429
eppcic_io_map(pcmcia_chipset_handle_t pch, int width, bus_addr_t offset,
sys/arch/arm/ep93xx/eppcic.c
434
DPRINTFN(1, ("eppcic_io_map: offset=%#x, size=%#x, width=%d",(unsigned)offset,(unsigned)size,width));
sys/arch/arm/ep93xx/eppcic.c
436
switch (width) {
sys/arch/arm/ep93xx/eppcic.c
600
int width;
sys/arch/arm/ep93xx/eppcic.c
604
width = 0;
sys/arch/arm/ep93xx/eppcic.c
607
width = EP93XX_PCMCIA_WIDTH_16;
sys/arch/arm/ep93xx/eppcic.c
656
width = EP93XX_PCMCIA_WIDTH_16;
sys/arch/arm/ep93xx/eppcic.c
672
width
sys/arch/arm/fdt/arm_simplefb.c
190
uint32_t width, height, stride;
sys/arch/arm/fdt/arm_simplefb.c
206
if (of_getprop_uint32(phandle, "width", &width) != 0 ||
sys/arch/arm/fdt/arm_simplefb.c
212
if (width == 0 || height == 0)
sys/arch/arm/fdt/arm_simplefb.c
248
sc->sc_width = width;
sys/arch/arm/imx/imx23_mmc.c
330
imx23_mmc_bus_width(sdmmc_chipset_handle_t sch, int width)
sys/arch/arm/imx/imx23_mmc.c
334
switch(width) {
sys/arch/arm/imx/imx51_ipuv3.c
324
imx51_ipuv3_dc_display_config(struct imx51_ipuv3_softc *sc, int width)
sys/arch/arm/imx/imx51_ipuv3.c
328
IPUV3_WRITE(sc, dc, IPU_DC_DISP_CONF2_0, width);
sys/arch/arm/imx/imx51_ipuv3.c
807
int width = name & 0xff;
sys/arch/arm/imx/imx51_ipuv3.c
817
if (width > shift)
sys/arch/arm/imx/imx51_ipuv3.c
924
int depth, width, height;
sys/arch/arm/imx/imx51_ipuv3.c
932
width = geometry->panel_width;
sys/arch/arm/imx/imx51_ipuv3.c
938
scr->stride = width * depth / 8;
sys/arch/arm/imx/imx51_ipuv3.c
955
printf("%s: screen buffer width %d\n", __func__, width);
sys/arch/arm/imx/imx_genfb.c
189
imx_genfb_set_videomode(device_t dev, u_int width, u_int height)
sys/arch/arm/imx/imx_genfb.c
193
if (sc->sc_gen.sc_width != width || sc->sc_gen.sc_height != height) {
sys/arch/arm/imx/imx_pcic.c
222
imx_pcic_io_map(pcmcia_chipset_handle_t pch, int width, bus_addr_t offset,
sys/arch/arm/iomd/vidc20config.c
353
if (modes[i].hdisplay == bootconfig.width + 1
sys/arch/arm/iomd/vidc20config.c
587
vidcvideo_cursor_init(int width, int height)
sys/arch/arm/iomd/vidc20config.c
594
cursor_width = width;
sys/arch/arm/iomd/vidc20config.c
614
cursor_transparent = cursor_data + (height * width);
sys/arch/arm/iomd/vidc20config.c
620
for ( counter=0; counter<width/4;counter++ )
sys/arch/arm/iomd/vidc20config.c
621
cursor_normal[line * width + counter]=0x55; /* why 0x55 ? */
sys/arch/arm/iomd/vidc20config.c
623
cursor_normal[line * width + counter]=0;
sys/arch/arm/iomd/vidc20config.c
627
for ( counter=0; counter<width/4;counter++ )
sys/arch/arm/iomd/vidc20config.c
628
cursor_transparent[line * width + counter]=0x00;
sys/arch/arm/iomd/vidc20config.c
630
cursor_transparent[line * width + counter]=0;
sys/arch/arm/iomd/vidc20config.c
639
memset(cursor_normal, 0x55, width*height); /* white? */
sys/arch/arm/iomd/vidc20config.c
640
memset(cursor_transparent, 0x00, width*height);/* to see the diffence */
sys/arch/arm/iomd/vidc20config.h
41
extern int vidcvideo_cursor_init (int width, int height);
sys/arch/arm/iomd/vidcvideo.c
376
wsd_fbip->width = dc->dc_width;
sys/arch/arm/nvidia/tegra_drm_fb.c
125
const u_int width = sizes->surface_width;
sys/arch/arm/nvidia/tegra_drm_fb.c
127
const u_int pitch = width * (32 / 8);
sys/arch/arm/nvidia/tegra_drm_fb.c
137
fb->width = width;
sys/arch/arm/nvidia/tegra_drm_mode.c
368
uint32_t handle, uint32_t width, uint32_t height)
sys/arch/arm/nvidia/tegra_drm_mode.c
395
if ((width != height) ||
sys/arch/arm/nvidia/tegra_drm_mode.c
396
(width != 32 && width != 64 && width != 128 && width != 256)) {
sys/arch/arm/nvidia/tegra_drm_mode.c
398
width, height);
sys/arch/arm/nvidia/tegra_drm_mode.c
412
if (obj->base.size < width * height * 4) {
sys/arch/arm/nvidia/tegra_drm_mode.c
420
switch (width) {
sys/arch/arm/nvidia/tegra_drm_mode.c
442
for (off = 0; off < width * height; off++) {
sys/arch/arm/nxp/imx6_iomux.c
96
uint8_t width = __SHIFTOUT(input_val, __BITS(15, 8));
sys/arch/arm/nxp/imx6_iomux.c
98
uint32_t mask = __BITS(shift + (width - 1), shift);
sys/arch/arm/rockchip/rk_drm.c
310
const u_int width = sizes->surface_width;
sys/arch/arm/rockchip/rk_drm.c
312
const u_int pitch = width * (32 / 8);
sys/arch/arm/rockchip/rk_drm.c
334
fb->width = width;
sys/arch/arm/s3c2xx0/s3c2440_i2s.c
211
s3c2440_i2s_set_sample_width(void *handle, int width)
sys/arch/arm/s3c2xx0/s3c2440_i2s.c
214
sc->sc_sample_width = width;
sys/arch/arm/s3c2xx0/s3c2440_i2s.h
84
void s3c2440_i2s_set_sample_width(void *handle, int width);
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
364
sssdi_bus_width(sdmmc_chipset_handle_t sch, int width)
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
368
sc->width = width;
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
464
if (sc->width == 4) {
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
500
if (sc->width == 4) {
sys/arch/arm/s3c2xx0/s3c2440_sdi.c
75
int width; /* Transfer width */
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
523
int width, height;
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
525
width = type->c.ncols * type->c.fontwidth;
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
528
if (width < sc->panel_info->panel_width)
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
529
width = sc->panel_info->panel_width;
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
534
scr = s3c24x0_lcd_new_screen(sc, width, height, type->depth);
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
544
scr->rinfo.ri_width = width;
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
632
wsdisp_info->width = sc->panel_info->panel_width;
sys/arch/arm/sa11x0/sa11xx_pcic.c
316
sapcic_io_map(pcmcia_chipset_handle_t pch, int width, bus_addr_t offset,
sys/arch/arm/sunxi/sunxi_debe.c
579
const u_int width = mode->hdisplay;
sys/arch/arm/sunxi/sunxi_debe.c
581
const u_int fb_width = width;
sys/arch/arm/sunxi/sunxi_debe.c
583
uint32_t vmem = width * height * 4;
sys/arch/arm/sunxi/sunxi_debe.c
588
width, height, vmem, (unsigned int)sc->sc_dmasize);
sys/arch/arm/sunxi/sunxi_debe.c
607
((height - 1) << 16) | (width - 1));
sys/arch/arm/sunxi/sunxi_debe.c
856
sunxi_befb_set_videomode(device_t dev, u_int width, u_int height)
sys/arch/arm/sunxi/sunxi_debe.c
860
if (sc->sc_gen.sc_width != width || sc->sc_gen.sc_height != height) {
sys/arch/arm/sunxi/sunxi_drm.c
352
const u_int width = sizes->surface_width;
sys/arch/arm/sunxi/sunxi_drm.c
354
const u_int pitch = width * (32 / 8);
sys/arch/arm/sunxi/sunxi_drm.c
392
fb->width = width;
sys/arch/arm/sunxi/sunxi_mmc.c
572
uint32_t width;
sys/arch/arm/sunxi/sunxi_mmc.c
595
if (of_getprop_uint32(sc->sc_phandle, "bus-width", &width) != 0)
sys/arch/arm/sunxi/sunxi_mmc.c
596
width = 4;
sys/arch/arm/sunxi/sunxi_mmc.c
618
if (width == 4)
sys/arch/arm/sunxi/sunxi_mmc.c
620
if (width == 8)
sys/arch/arm/sunxi/sunxi_mmc.c
932
sunxi_mmc_bus_width(sdmmc_chipset_handle_t sch, int width)
sys/arch/arm/sunxi/sunxi_mmc.c
936
DPRINTF(sc->sc_dev, "width = %d\n", width);
sys/arch/arm/sunxi/sunxi_mmc.c
938
switch (width) {
sys/arch/arm/sunxi/sunxi_mmc.c
952
sc->sc_mmc_width = width;
sys/arch/arm/ti/omap3_dss.c
1045
int32_t xs, xd, y, width, height;
sys/arch/arm/ti/omap3_dss.c
1051
width = ri->ri_font->fontwidth * ncols;
sys/arch/arm/ti/omap3_dss.c
1053
omapfb_bitblt(sc, xs, y, xd, y, width, height, 12);
sys/arch/arm/ti/omap3_dss.c
1063
int32_t x, y, width, height, fg, bg, ul;
sys/arch/arm/ti/omap3_dss.c
1068
width = ri->ri_font->fontwidth * ncols;
sys/arch/arm/ti/omap3_dss.c
1072
omapfb_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
sys/arch/arm/ti/omap3_dss.c
1082
int32_t x, ys, yd, width, height;
sys/arch/arm/ti/omap3_dss.c
1088
width = ri->ri_emuwidth;
sys/arch/arm/ti/omap3_dss.c
1090
omapfb_bitblt(sc, x, ys, x, yd, width, height, 12);
sys/arch/arm/ti/omap3_dss.c
1100
int32_t x, y, width, height, fg, bg, ul;
sys/arch/arm/ti/omap3_dss.c
1105
width = ri->ri_emuwidth;
sys/arch/arm/ti/omap3_dss.c
1109
omapfb_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
sys/arch/arm/ti/omap3_dss.c
527
wdf->width = ms->scr_ri.ri_width;
sys/arch/arm/ti/ti_lcdc.c
556
const u_int width = sizes->surface_width;
sys/arch/arm/ti/ti_lcdc.c
558
const u_int pitch = width * (32 / 8);
sys/arch/arm/ti/ti_lcdc.c
577
fb->width = width;
sys/arch/arm/ti/ti_sdhc.c
442
ti_sdhc_bus_width(struct sdhc_softc *sc, int width)
sys/arch/arm/ti/ti_sdhc.c
449
if (width == 8) {
sys/arch/arm/ti/ti_sdhc.c
451
} else if (width == 4) {
sys/arch/arm/xscale/pxa2x0_lcd.c
481
int width, height;
sys/arch/arm/xscale/pxa2x0_lcd.c
491
width = geometry->panel_width;
sys/arch/arm/xscale/pxa2x0_lcd.c
503
size = roundup(width,4) * 2 * height;
sys/arch/arm/xscale/pxa2x0_lcd.c
507
size = roundup(width,4) * 4 * height;
sys/arch/arm/xscale/pxa2x0_lcd.c
730
int width = geom->panel_width;
sys/arch/arm/xscale/pxa2x0_lcd.c
754
rinfo.ri_width = width;
sys/arch/arm/xscale/pxa2x0_lcd.c
756
rinfo.ri_stride = width * rinfo.ri_depth / 8;
sys/arch/arm/xscale/pxa2x0_lcd.c
759
rinfo.ri_stride = width * 4;
sys/arch/arm/xscale/pxa2x0_lcd.c
873
wsdisp_info->width = sc->geometry->panel_width;
sys/arch/arm/xscale/pxa2x0_mci.c
521
pxamci_bus_width(sdmmc_chipset_handle_t sch, int width)
sys/arch/arm/xscale/pxa2x0_mci.c
529
switch (width) {
sys/arch/arm/xscale/pxa2x0_mci.c
538
device_xname(sc->sc_dev), width));
sys/arch/arm/xscale/pxa2x0_mci.c
543
sc->sc_buswidth = width;
sys/arch/arm/xscale/pxa2x0_pcic.c
201
pxapcic_io_map(pcmcia_chipset_handle_t pch, int width, bus_addr_t offset,
sys/arch/atari/dev/font.h
35
unsigned char width;
sys/arch/atari/dev/grf.c
393
vs.width = 640;
sys/arch/atari/dev/grf.c
400
gi->gd_fbwidth = vs.width;
sys/arch/atari/dev/grf.c
404
gi->gd_dyn.gdi_dwidth = vs.width;
sys/arch/atari/dev/grfabs.c
195
dx = abs(dm->size.width - dim->width);
sys/arch/atari/dev/grfabs.c
217
dx = abs(curr_mode->size.width - dim->width);
sys/arch/atari/dev/grfabs_et.c
335
bm->bytes_per_row = (mode->size.width * depth) / NBBY;
sys/arch/atari/dev/grfabs_et.c
356
INIT_BOX(&box,0,0,mode->size.width,mode->size.height);
sys/arch/atari/dev/grfabs_fal.c
296
dm->size.width = vregs->vd_vert_wrap * 16 / dm->depth;
sys/arch/atari/dev/grfabs_fal.c
520
bm = alloc_bitmap(mode->size.width, mode->size.height, mode->depth);
sys/arch/atari/dev/grfabs_fal.c
526
INIT_BOX(&box,0,0,mode->size.width,mode->size.height);
sys/arch/atari/dev/grfabs_fal.c
549
alloc_bitmap(u_long width, u_long height, u_char depth)
sys/arch/atari/dev/grfabs_fal.c
567
bm_size = m68k_round_page((width * height * depth) / NBBY);
sys/arch/atari/dev/grfabs_fal.c
577
bm->bytes_per_row = (width * depth) / NBBY;
sys/arch/atari/dev/grfabs_fal.c
580
bm->phys_mappable = (depth * width * height) / NBBY;
sys/arch/atari/dev/grfabs_reg.h
176
(b)->width = ww; \
sys/arch/atari/dev/grfabs_reg.h
43
u_long width;
sys/arch/atari/dev/grfabs_reg.h
51
u_long width;
sys/arch/atari/dev/grfabs_tt.c
292
bm = alloc_bitmap(mode->size.width, mode->size.height, mode->depth);
sys/arch/atari/dev/grfabs_tt.c
298
INIT_BOX(&box,0,0,mode->size.width,mode->size.height);
sys/arch/atari/dev/grfabs_tt.c
321
alloc_bitmap(u_long width, u_long height, u_char depth)
sys/arch/atari/dev/grfabs_tt.c
339
bm_size = m68k_round_page((width * height * depth) / NBBY);
sys/arch/atari/dev/grfabs_tt.c
349
bm->bytes_per_row = (width * depth) / NBBY;
sys/arch/atari/dev/grfabs_tt.c
355
bm->phys_mappable = (depth * width * height) / NBBY;
sys/arch/atari/dev/ite.c
568
is->width = view->display.width;
sys/arch/atari/dev/ite_cc.c
344
if (ip->font.width != 8)
sys/arch/atari/dev/ite_cc.c
361
wsz.width = ite_default_width;
sys/arch/atari/dev/ite_cc.c
386
vs.width = winsz->width;
sys/arch/atari/dev/ite_cc.c
397
ip->cols = view->display.width / ip->font.width;
sys/arch/atari/dev/ite_cc.c
405
ite_default_width = view->display.width;
sys/arch/atari/dev/ite_cc.c
432
cci->width = view->bitmap->bytes_per_row << 3;
sys/arch/atari/dev/ite_cc.c
435
cci->ft_x = ip->font.width;
sys/arch/atari/dev/ite_cc.c
480
ws.ws_xpixel = view->display.width;
sys/arch/atari/dev/ite_cc.c
682
int sofs = (ip->cols - count) * ip->font.width;
sys/arch/atari/dev/ite_cc.c
683
int dofs = (ip->cols) * ip->font.width;
sys/arch/atari/dev/ite_cc.c
691
sofs2 -= ip->font.width;
sys/arch/atari/dev/ite_cc.c
692
dofs2 -= ip->font.width;
sys/arch/atari/dev/ite_cc.c
695
"d" (ip->font.width));
sys/arch/atari/dev/ite_cc.c
698
"d" (ip->font.width), "d" (t));
sys/arch/atari/dev/ite_cc.c
703
int sofs = (sx) * ip->font.width;
sys/arch/atari/dev/ite_cc.c
704
int dofs = (sx - count) * ip->font.width;
sys/arch/atari/dev/ite_cc.c
715
"d" (ip->font.width));
sys/arch/atari/dev/ite_cc.c
718
"d" (ip->font.width), "d" (t));
sys/arch/atari/dev/ite_cc.c
719
sofs2 += ip->font.width;
sys/arch/atari/dev/ite_cc.c
72
u_short width; /* the bitmap width */
sys/arch/atari/dev/ite_cc.c
720
dofs2 += ip->font.width;
sys/arch/atari/dev/ite_cc.c
728
scrollbmap (bmap_t *bm, u_short x, u_short y, u_short width, u_short height,
sys/arch/atari/dev/ite_et.c
311
if (ip->font.width != 8)
sys/arch/atari/dev/ite_et.c
324
wsz.width = ite_default_width;
sys/arch/atari/dev/ite_et.c
362
vs.width = winsz->width;
sys/arch/atari/dev/ite_et.c
373
ip->cols = view->display.width / ip->font.width;
sys/arch/atari/dev/ite_et.c
381
ite_default_width = view->display.width;
sys/arch/atari/dev/ite_et.c
420
ws.ws_xpixel = view->display.width;
sys/arch/atari/dev/iteioctl.h
53
u_int width; /* width of ite display */
sys/arch/atari/dev/view.c
208
if (vs->width != vu->size.width || vs->height != vu->size.height ||
sys/arch/atari/dev/view.c
215
ns.width = vs->width;
sys/arch/atari/dev/view.c
233
vu->size.width = new->display.width;
sys/arch/atari/dev/view.c
320
size.width = vu->size.width = view_default_width;
sys/arch/atari/dev/view.c
329
vu->size.width = vu->view->display.width;
sys/arch/atari/dev/viewioctl.h
47
u_int width;
sys/arch/bebox/stand/boot/monitor.c
112
int width, tmp, exp, x = 0;
sys/arch/bebox/stand/boot/monitor.c
118
width = strlen(p);
sys/arch/bebox/stand/boot/monitor.c
119
while (width--) {
sys/arch/bebox/stand/boot/monitor.c
121
for (tmp = 1; tmp <= width; tmp++)
sys/arch/dreamcast/dev/maple/mlcd.c
355
pt->pt_size = ((pt->pt_info.width + 1) *
sys/arch/dreamcast/dev/maple/mlcd.c
360
pt->pt_info.width + 1, pt->pt_info.height + 1,
sys/arch/dreamcast/dev/maple/mlcd.c
76
uint8_t width; /* width - 1 */
sys/arch/dreamcast/dev/pvr.c
318
wsd_fbip->width = sc->sc_dc->dc_wid;
sys/arch/epoc32/dev/etna.c
369
etna_io_map(pcmcia_chipset_handle_t pch, int width, bus_addr_t offset,
sys/arch/epoc32/dev/etna.c
387
switch (width) {
sys/arch/epoc32/epoc32/machdep.c
207
epoc32_fb_width = video->width;
sys/arch/epoc32/include/bootinfo.h
61
int width;
sys/arch/epoc32/stand/e32boot/exe/e32boot.cpp
160
console->Printf(_L(">> Video %d x %d\n"), video->width, video->height);
sys/arch/epoc32/stand/e32boot/exe/e32boot.cpp
354
video->width = MachInfo().iDisplaySizeInPixels.iWidth;
sys/arch/epoc32/stand/e32boot/exe/e32boot.cpp
362
memmaps[i].width == video->width &&
sys/arch/epoc32/stand/e32boot/exe/e32boot.cpp
75
TInt width;
sys/arch/epoc32/windermere/wmlcd.c
144
uint32_t lcdctl, width, height, addr, depth;
sys/arch/epoc32/windermere/wmlcd.c
159
if (!prop_dictionary_get_uint32(dict, "width", &width) ||
sys/arch/epoc32/windermere/wmlcd.c
188
": %dx%d pixels, %d bpp mono\n", width, height, 1 << depth);
sys/arch/epoc32/windermere/wmlcd.c
193
ri->ri_width = width;
sys/arch/epoc32/windermere/wmlcd.c
195
ri->ri_stride = width * ri->ri_depth / 8/*bits*/;
sys/arch/epoc32/windermere/wmlcd.c
248
wsdisp_info->width = sc->sc_ri.ri_width;
sys/arch/evbarm/iyonix/autoconf.c
172
bootconfig.width + 1);
sys/arch/evbarm/rpi/vcprop.h
407
uint32_t width;
sys/arch/evbarm/rpi/vcprop.h
457
uint32_t width;
sys/arch/evbarm/rpi/vcprop_subr.c
374
.width = htole32(64),
sys/arch/evbarm/rpi/vcprop_subr.c
390
le32toh(vb_cursorinfo.vbt_ci.width), error, res,
sys/arch/evbarm/stand/boot2440/dev_sdmmc.c
1324
sdmmc_set_bus_width(struct sdmmc_softc *sc, int width)
sys/arch/evbarm/stand/boot2440/dev_sdmmc.c
1336
switch (width) {
sys/arch/evbarm/stand/boot2440/dev_sdmmc.c
1351
error = sc->sdifdv->bus_width(sc->sdifdv->priv, width);
sys/arch/evbarm/stand/boot2440/s3csdi.c
100
s3csdi_softc.width = 1;
sys/arch/evbarm/stand/boot2440/s3csdi.c
207
if (s3csdi_softc.width == 4) {
sys/arch/evbarm/stand/boot2440/s3csdi.c
444
s3csd_bus_width(void *priv, int width)
sys/arch/evbarm/stand/boot2440/s3csdi.c
446
s3csdi_softc.width = width;
sys/arch/evbarm/stand/boot2440/s3csdi.c
50
int width;
sys/arch/evbppc/explora/dev/fb_elb.c
144
int width, height;
sys/arch/evbppc/explora/dev/fb_elb.c
150
s3_getgeometry(&console_dev, &width, &height);
sys/arch/evbppc/explora/dev/fb_elb.c
152
fb_init(&console_dev, width, height);
sys/arch/evbppc/explora/dev/fb_elb.c
182
int is_console, width, height;
sys/arch/evbppc/explora/dev/fb_elb.c
197
s3_getgeometry(sc->sc_fb, &width, &height);
sys/arch/evbppc/explora/dev/fb_elb.c
200
sc->sc_fbsize = width * height;
sys/arch/evbppc/explora/dev/fb_elb.c
206
fb_init(sc->sc_fb, width, height);
sys/arch/evbppc/explora/dev/fb_elb.c
209
printf(": %dx%d 8bpp\n", width, height);
sys/arch/evbppc/explora/dev/fb_elb.c
221
fb_init(struct fb_dev *fb, int width, int height)
sys/arch/evbppc/explora/dev/fb_elb.c
225
ri->ri_width = width;
sys/arch/evbppc/explora/dev/fb_elb.c
323
wdf->width = ri->ri_width;
sys/arch/evbppc/explora/dev/fb_elb.c
503
s3_getgeometry(struct fb_dev *fb, int *width, int *height)
sys/arch/evbppc/explora/dev/fb_elb.c
521
*width = (w+1) << 3;
sys/arch/evbppc/explora/dev/fb_elb.c
542
int width, int height, int mask)
sys/arch/evbppc/explora/dev/fb_elb.c
551
src_x += width-1;
sys/arch/evbppc/explora/dev/fb_elb.c
552
dest_x += width-1;
sys/arch/evbppc/explora/dev/fb_elb.c
572
bus_space_write_2(iot, ioh, S3_MAJ_AXIS_PCNT, width-1);
sys/arch/evbppc/explora/dev/fb_elb.c
580
s3_fill(struct fb_dev *fb, int x, int y, int width, int height,
sys/arch/evbppc/explora/dev/fb_elb.c
596
bus_space_write_2(iot, ioh, S3_MAJ_AXIS_PCNT, width-1);
sys/arch/evbppc/nintendo/dev/wiifb.c
105
.width = 640,
sys/arch/evbppc/nintendo/dev/wiifb.c
111
.width = 640,
sys/arch/evbppc/nintendo/dev/wiifb.c
228
prop_dictionary_set_uint32(dict, "width", sc->sc_curmode->width);
sys/arch/evbppc/nintendo/dev/wiifb.c
234
WIIFB_EFFECTIVE_START(sc->sc_bits, sc->sc_curmode->width));
sys/arch/evbppc/nintendo/dev/wiifb.c
70
u_int width;
sys/arch/evbppc/nintendo/dev/wiifb.c
789
strides = (sc->sc_curmode->width * 2) / (interlaced ? 16 : 32);
sys/arch/evbppc/nintendo/dev/wiifb.c
790
reads = (sc->sc_curmode->width * 2) / 32;
sys/arch/evbppc/nintendo/dev/wiifb.c
807
WR2(sc, VI_HSCALINGW, sc->sc_curmode->width);
sys/arch/evbppc/nintendo/dev/wiifb.c
821
sc->sc_curmode->width * 2 : 0);
sys/arch/evbppc/nintendo/dev/wiifb.c
99
.width = 640,
sys/arch/evbppc/pmppc/dev/flash.c
74
sc->sc_width = maa->u.mb_flash.width;
sys/arch/evbppc/pmppc/dev/mainbus.h
48
u_int width;
sys/arch/evbppc/pmppc/mainbus.c
141
maa.u.mb_flash.width = a_config.a_flash_width;
sys/arch/evbppc/virtex/dev/tft.c
228
info->width = sc->sc_width;
sys/arch/evbsh3/ap_ms104_sh4/shpcmcia.c
152
int width;
sys/arch/evbsh3/ap_ms104_sh4/shpcmcia.c
708
shpcmcia_chip_io_map(pcmcia_chipset_handle_t pch, int width,
sys/arch/evbsh3/ap_ms104_sh4/shpcmcia.c
745
h->io[win].width = width;
sys/arch/evbsh3/t_sh7706lan/scimci.c
394
scimci_bus_width(sdmmc_chipset_handle_t sch, int width)
sys/arch/evbsh3/t_sh7706lan/scimci.c
397
if (width != 1)
sys/arch/evbsh3/t_sh7706lan/ssumci.c
331
ssumci_bus_width(sdmmc_chipset_handle_t sch, int width)
sys/arch/evbsh3/t_sh7706lan/ssumci.c
334
if (width != 1)
sys/arch/ews4800mips/sbd/fb_sbdio.c
283
fbinfo->width = ri->ri_width;
sys/arch/hp300/dev/diofb_mono.c
122
int width; /* add to get to same position in next line */
sys/arch/hp300/dev/diofb_mono.c
140
width = fb->fbwidth >> 5;
sys/arch/hp300/dev/diofb_mono.c
143
psrcLine = ((uint32_t *)fb->fbkva) + ((sy + cy - 1) * width);
sys/arch/hp300/dev/diofb_mono.c
144
pdstLine = ((uint32_t *)fb->fbkva) + ((dy + cy - 1) * width);
sys/arch/hp300/dev/diofb_mono.c
145
width = -width;
sys/arch/hp300/dev/diofb_mono.c
147
psrcLine = ((uint32_t *)fb->fbkva) + (sy * width);
sys/arch/hp300/dev/diofb_mono.c
148
pdstLine = ((uint32_t *)fb->fbkva) + (dy * width);
sys/arch/hp300/dev/diofb_mono.c
165
pdst += width;
sys/arch/hp300/dev/diofb_mono.c
166
psrc += width;
sys/arch/hp300/dev/diofb_mono.c
227
pdstLine += width;
sys/arch/hp300/dev/diofb_mono.c
228
psrcLine += width;
sys/arch/hp300/dev/diofb_mono.c
268
pdstLine += width;
sys/arch/hp300/dev/diofb_mono.c
269
psrcLine += width;
sys/arch/hp300/dev/dvbox.c
390
wdf->width = fb->ri.ri_width;
sys/arch/hp300/dev/gbox.c
361
wdf->width = fb->ri.ri_width;
sys/arch/hp300/dev/gbox.c
438
gb->width = -(cx / 4);
sys/arch/hp300/dev/gboxreg.h
83
uint8_t width; /* width in tiles 0x5001 */
sys/arch/hp300/dev/gendiofb.c
209
wdf->width = fb->ri.ri_width;
sys/arch/hp300/dev/hyper.c
237
wdf->width = fb->ri.ri_width;
sys/arch/hp300/dev/maskbits.h
76
#define getandputrop(psrc, srcbit, dstbit, width, pdst, rop) \
sys/arch/hp300/dev/maskbits.h
82
FASTGETBITS(psrc, srcbit, width, _tmpdst); \
sys/arch/hp300/dev/maskbits.h
83
FASTPUTBITS(_tmpdst, dstbit, width, pdst); \
sys/arch/hp300/dev/rbox.c
351
wdf->width = fb->ri.ri_width;
sys/arch/hp300/dev/topcat.c
452
wdf->width = fb->ri.ri_width;
sys/arch/hp300/dev/topcat.c
602
int width, height, cnt, fs;
sys/arch/hp300/dev/topcat.c
619
width = ri->ri_font->fontwidth;
sys/arch/hp300/dev/topcat.c
640
for (cnt = width; cnt; cnt--) {
sys/arch/hp300/dev/topcat.c
656
for (cnt = width; cnt; cnt--) {
sys/arch/hp300/dev/topcat.c
674
while (width--) {
sys/arch/hp300/dev/tvrx.c
174
wdf->width = fb->ri.ri_width;
sys/arch/hp300/stand/common/grf_gbreg.h
99
vu_char width; /* width in tiles 0x5001 */
sys/arch/hp300/stand/common/ite_gb.c
134
regbase->width = -(w / 4);
sys/arch/hp300/stand/common/ite_hy.c
56
int width;
sys/arch/hp300/stand/common/ite_hy.c
60
width = ((ip->ftwidth + 7) / 8) * 8;
sys/arch/hp300/stand/common/ite_hy.c
61
ip->cpl = (ip->fbwidth - ip->dwidth) / width;
sys/arch/hp300/stand/common/ite_sti.c
184
if (cfg.owidth == cfg.width && cfg.oheight == cfg.height) {
sys/arch/hp300/stand/common/ite_sti.c
185
sti.cfg.oscr_width = cfg.owidth = cfg.fbwidth - cfg.width;
sys/arch/hp300/stand/common/ite_sti.c
190
ip->dwidth = cfg.width;
sys/arch/hp300/stand/common/ite_sti.c
260
a.in.width = ip->ftwidth;
sys/arch/hp300/stand/common/ite_sti.c
282
a.in.width = w * ip->ftwidth;
sys/arch/hp300/stand/common/ite_sti.c
306
a.in.width = ip->dwidth;
sys/arch/hp300/stand/common/ite_subr.c
100
for (b = 0; b < width; b++) {
sys/arch/hp300/stand/common/ite_subr.c
104
fbmem -= width;
sys/arch/hp300/stand/common/ite_subr.c
301
int width; /* add to get to same position in next line */
sys/arch/hp300/stand/common/ite_subr.c
324
width = ip->fbwidth >> 5;
sys/arch/hp300/stand/common/ite_subr.c
325
psrcLine = ((uint32_t *)ip->fbbase) + (sy * width);
sys/arch/hp300/stand/common/ite_subr.c
326
pdstLine = ((uint32_t *)ip->fbbase) + (dy * width);
sys/arch/hp300/stand/common/ite_subr.c
342
pdst += width;
sys/arch/hp300/stand/common/ite_subr.c
343
psrc += width;
sys/arch/hp300/stand/common/ite_subr.c
395
pdstLine += width;
sys/arch/hp300/stand/common/ite_subr.c
396
psrcLine += width;
sys/arch/hp300/stand/common/ite_subr.c
88
int stride, width;
sys/arch/hp300/stand/common/ite_subr.c
93
width = (ip->ftwidth + 7) / 8;
sys/arch/hp300/stand/common/ite_subr.c
98
fbmem += (ip->fontx >> 3) + (c % ip->cpl) * width;
sys/arch/hp300/stand/common/ite_tvrx.c
53
int width;
sys/arch/hp300/stand/common/ite_tvrx.c
57
width = ((ip->ftwidth + 7) / 8) * 8;
sys/arch/hp300/stand/common/ite_tvrx.c
58
ip->cpl = (ip->fbwidth - ip->dwidth) / width;
sys/arch/hp300/stand/common/maskbits.h
74
#define getandputrop(psrc, srcbit, dstbit, width, pdst, rop) \
sys/arch/hp300/stand/common/maskbits.h
77
FASTGETBITS(pdst, dstbit, width, _tmpdst); \
sys/arch/hp300/stand/common/maskbits.h
78
FASTGETBITS(psrc, srcbit, width, _tmpsrc); \
sys/arch/hp300/stand/common/maskbits.h
80
FASTPUTBITS(_tmpdst, dstbit, width, pdst); \
sys/arch/hp300/stand/common/maskbits.h
83
#define getandputrop0(psrc, srcbit, width, pdst, rop) \
sys/arch/hp300/stand/common/maskbits.h
84
getandputrop(psrc, srcbit, 0, width, pdst, rop)
sys/arch/hpc/stand/hpcboot/arch.cpp
165
DPRINTF((TEXT("Display: %dx%d %dbpp\n"), fb.width(), fb.height(),
sys/arch/hpc/stand/hpcboot/framebuffer.cpp
83
_default.width = GetDeviceCaps(hdc, HORZRES);
sys/arch/hpc/stand/hpcboot/framebuffer.h
36
int bpp, width, height, linebytes;
sys/arch/hpc/stand/hpcboot/framebuffer.h
54
int width(void) { return _fb->width; }
sys/arch/hpc/stand/hpcboot/hpcmenu.cpp
344
bi.fb_width = fb.width();
sys/arch/hpc/stand/hpcboot/menu/menu.cpp
214
int width = GetDeviceCaps(hdc, HORZRES);
sys/arch/hpc/stand/hpcboot/menu/menu.cpp
222
if (width <= 320) {
sys/arch/hpcmips/dev/it8368.c
544
it8368_mode(pcmcia_chipset_handle_t pch, int io, int width)
sys/arch/hpcmips/dev/it8368.c
551
width == IT8368_WIDTH_8 ? 8 : 16));
sys/arch/hpcmips/dev/it8368.c
556
if (width == IT8368_WIDTH_8)
sys/arch/hpcmips/dev/it8368.c
618
it8368_chip_io_map(pcmcia_chipset_handle_t pch, int width, bus_addr_t offset,
sys/arch/hpcmips/dev/mq200.c
176
mq200_crt_params[i].width &&
sys/arch/hpcmips/dev/mq200priv.h
33
u_int16_t width, height, clock;
sys/arch/hpcmips/dev/mq200priv.h
73
int width, int height, int stride);
sys/arch/hpcmips/dev/mq200subr.c
267
((u_int32_t)crt->width << MQ200_GCHDC_END_SHIFT));
sys/arch/hpcmips/dev/mq200subr.c
296
sc->sc_width[MQ200_GC1] = crt->width;
sys/arch/hpcmips/dev/mq200subr.c
345
int width, int height, int stride)
sys/arch/hpcmips/dev/mq200subr.c
349
gc + 1, width, height, sc->sc_width[gc], sc->sc_height[gc]);
sys/arch/hpcmips/dev/mq200subr.c
351
if (sc->sc_width[gc] < width) {
sys/arch/hpcmips/dev/mq200subr.c
355
width = sc->sc_width[gc];
sys/arch/hpcmips/dev/mq200subr.c
365
(((u_int32_t)width - 1) << MQ200_GCWHC_WIDTH_SHIFT) |
sys/arch/hpcmips/dev/mq200subr.c
366
((sc->sc_width[gc] - width)/2));
sys/arch/hpcmips/dev/plumpcmcia.c
545
plumpcmcia_chip_io_map(pcmcia_chipset_handle_t pch, int width,
sys/arch/hpcmips/dev/plumpcmcia.c
578
ph->ph_io[win].pi_width = width;
sys/arch/hpcmips/dev/plumpcmcia.c
584
width_names[width]);
sys/arch/hpcmips/dev/plumvideo.c
240
int width = chip->vc_fbwidth;
sys/arch/hpcmips/dev/plumvideo.c
252
fb->hf_width = width;
sys/arch/hpcmips/dev/plumvideo.c
256
fb->hf_bytes_per_line = (width * depth) / NBBY;
sys/arch/hpcmips/dev/plumvideo.c
312
int bpp, width, height, vram_pitch;
sys/arch/hpcmips/dev/plumvideo.c
356
chip->vc_fbwidth = width = bootinfo->fb_width =
sys/arch/hpcmips/dev/plumvideo.c
365
vram_pitch = bootinfo->fb_line_bytes = (width * bpp) / NBBY;
sys/arch/hpcmips/dev/plumvideo.c
401
vram_size = (width * height * bpp) / NBBY;
sys/arch/hpcmips/stand/pbsdboot/main.c
1176
pref.fb_width = fb_settings[0].width;
sys/arch/hpcmips/stand/pbsdboot/main.c
434
int i, idx,width,height;
sys/arch/hpcmips/stand/pbsdboot/main.c
506
width = GetDeviceCaps(hdc,HORZRES);
sys/arch/hpcmips/stand/pbsdboot/main.c
510
if(width > height){
sys/arch/hpcmips/stand/pbsdboot/main.c
528
fb_settings[0].width = pref.fb_width;
sys/arch/hpcmips/stand/pbsdboot/main.c
541
pref.fb_width = fb_settings[0].width;
sys/arch/hpcmips/stand/pbsdboot/main.c
820
bi->fb_width = fbs->width;
sys/arch/hpcmips/stand/pbsdboot/main.c
839
int type, width, height, linebytes;
sys/arch/hpcmips/stand/pbsdboot/main.c
861
wsprintf(tmpbuf, TEXT("%d"), fbs->width);
sys/arch/hpcmips/stand/pbsdboot/main.c
879
width = _tcstol(tmpbuf, NULL, 10);
sys/arch/hpcmips/stand/pbsdboot/main.c
892
fbs->width = width;
sys/arch/hpcmips/stand/pbsdboot/main.c
897
type, width, height, linebytes,
sys/arch/hpcmips/stand/pbsdboot/main.c
94
int width, height, linebytes;
sys/arch/hpcmips/tx/txcsbus.c
252
int width = csh->cswidth;
sys/arch/hpcmips/tx/txcsbus.c
272
switch (width) {
sys/arch/hpcmips/tx/txcsbus.c
274
panic("txcsbus_alloc_tag: bogus bus width %d", width);
sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c
1082
hd64461_set_bus_width(enum controller_channel channel, int width)
sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c
1092
if (width == PCMCIA_WIDTH_IO8)
sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c
729
hd64461pcmcia_chip_io_map(pcmcia_chipset_handle_t pch, int width,
sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c
740
hd64461_set_bus_width(CHANNEL_0, width);
sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c
746
width_names[width]);
sys/arch/hpcsh/dev/hd64461/hd64461video.c
1019
width = bootinfo->fb_width;
sys/arch/hpcsh/dev/hd64461/hd64461video.c
1025
vc->vc_fbsize = (width * height * depth) / NBBY;
sys/arch/hpcsh/dev/hd64461/hd64461video.c
1026
vc->vc_fbwidth = width;
sys/arch/hpcsh/dev/hd64461/hd64461video.c
333
int width = vc->vc_fbwidth;
sys/arch/hpcsh/dev/hd64461/hd64461video.c
347
fb->hf_width = width;
sys/arch/hpcsh/dev/hd64461/hd64461video.c
353
fb->hf_bytes_per_line = (width * depth) / NBBY;
sys/arch/hpcsh/dev/hd64461/hd64461video.c
649
int xw, yh, width, bpp, adr;
sys/arch/hpcsh/dev/hd64461/hd64461video.c
652
width = sc->sc_vc->vc.vc_fbwidth;
sys/arch/hpcsh/dev/hd64461/hd64461video.c
661
adr = width * yd + xd;
sys/arch/hpcsh/dev/hd64461/hd64461video.c
695
int xw, yh, width, bpp, condition_a, adr;
sys/arch/hpcsh/dev/hd64461/hd64461video.c
700
width = sc->sc_vc->vc.vc_fbwidth;
sys/arch/hpcsh/dev/hd64461/hd64461video.c
708
adr = (width * (ys + yh)) + (xs + xw);
sys/arch/hpcsh/dev/hd64461/hd64461video.c
710
adr = width * ys + xs;
sys/arch/hpcsh/dev/hd64461/hd64461video.c
721
adr = (width * (yd + yh)) + (xd + xw);
sys/arch/hpcsh/dev/hd64461/hd64461video.c
723
adr = width * yd + xd;
sys/arch/hpcsh/dev/hd64461/hd64461video.c
762
int xw, yh, width, bpp, adr;
sys/arch/hpcsh/dev/hd64461/hd64461video.c
765
width = sc->sc_vc->vc.vc_fbwidth;
sys/arch/hpcsh/dev/hd64461/hd64461video.c
774
adr = width * yd + xd;
sys/arch/hpcsh/dev/hd64461/hd64461video.c
966
int depth, width, height;
sys/arch/hpcsh/dev/hd64465/hd64465pcmcia.c
624
hd64465pcmcia_chip_io_map(pcmcia_chipset_handle_t pch, int width,
sys/arch/hpcsh/dev/hd64465/hd64465pcmcia.c
633
__sh_set_bus_width(ch->ch_channel, width);
sys/arch/hpcsh/dev/hd64465/hd64465pcmcia.c
636
width_names[width]);
sys/arch/hpcsh/dev/hd64465/hd64465pcmcia.c
774
__sh_set_bus_width(int channel, int width)
sys/arch/hpcsh/dev/hd64465/hd64465pcmcia.c
784
r16 |= 1 << (width == PCMCIA_WIDTH_IO8 ? 12 : 13);
sys/arch/hpcsh/dev/hd64465/hd64465pcmcia.c
787
r16 |= 1 << (width == PCMCIA_WIDTH_IO8 ? 10 : 11);
sys/arch/hpcsh/dev/j6x0lcd.c
292
j6x0lcd_contrast_raw(uint16_t bcr, int width, const uint8_t *pin)
sys/arch/hpcsh/dev/j6x0lcd.c
298
for (bit = 0; bit < width; ++bit) {
sys/arch/hppa/dev/gftfb.c
1170
int32_t xs, xd, y, width, height;
sys/arch/hppa/dev/gftfb.c
1182
width = ri->ri_font->fontwidth * ncols;
sys/arch/hppa/dev/gftfb.c
1184
gftfb_bitblt(sc, xs, y, xd, y, width, height, RopSrc);
sys/arch/hppa/dev/gftfb.c
1197
int32_t x, y, width, height, fg, bg, ul;
sys/arch/hppa/dev/gftfb.c
1202
width = ri->ri_font->fontwidth * ncols;
sys/arch/hppa/dev/gftfb.c
1206
gftfb_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
sys/arch/hppa/dev/gftfb.c
1219
int32_t x, ys, yd, width, height;
sys/arch/hppa/dev/gftfb.c
1229
width = ri->ri_emuwidth;
sys/arch/hppa/dev/gftfb.c
1231
gftfb_bitblt(sc, x, ys, x, yd, width, height, RopSrc);
sys/arch/hppa/dev/gftfb.c
1243
int32_t x, y, width, height, fg, bg, ul;
sys/arch/hppa/dev/gftfb.c
1249
width = sc->sc_width;
sys/arch/hppa/dev/gftfb.c
1254
width = ri->ri_emuwidth;
sys/arch/hppa/dev/gftfb.c
1259
gftfb_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
sys/arch/hppa/dev/gftfb.c
565
wdf->width = ms->scr_ri.ri_width;
sys/arch/hppa/dev/gftfb.c
842
int width, int height, long attr)
sys/arch/hppa/dev/gftfb.c
846
gftfb_rectfill(sc, dstx, dsty, width, height,
sys/arch/hppa/dev/hyperfb.c
1045
int width, int height, long attr)
sys/arch/hppa/dev/hyperfb.c
1049
hyperfb_rectfill(sc, dstx, dsty, width, height,
sys/arch/hppa/dev/hyperfb.c
1380
int32_t xs, xd, y, width, height;
sys/arch/hppa/dev/hyperfb.c
1392
width = ri->ri_font->fontwidth * ncols;
sys/arch/hppa/dev/hyperfb.c
1394
hyperfb_bitblt(sc, xs, y, xd, y, width, height, RopSrc);
sys/arch/hppa/dev/hyperfb.c
1408
int32_t x, y, width, height, fg, bg, ul;
sys/arch/hppa/dev/hyperfb.c
1413
width = ri->ri_font->fontwidth * ncols;
sys/arch/hppa/dev/hyperfb.c
1417
hyperfb_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
sys/arch/hppa/dev/hyperfb.c
1431
int32_t x, ys, yd, width, height;
sys/arch/hppa/dev/hyperfb.c
1442
width = ri->ri_emuwidth;
sys/arch/hppa/dev/hyperfb.c
1444
hyperfb_bitblt(sc, x, ys, x, yd, width, height, RopSrc);
sys/arch/hppa/dev/hyperfb.c
1456
int32_t x, y, width, height, fg, bg, ul;
sys/arch/hppa/dev/hyperfb.c
1462
width = sc->sc_width;
sys/arch/hppa/dev/hyperfb.c
1467
width = ri->ri_emuwidth;
sys/arch/hppa/dev/hyperfb.c
1472
hyperfb_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
sys/arch/hppa/dev/hyperfb.c
579
wdf->width = sc->sc_24bit ? ms->scr_ri.ri_width << 2
sys/arch/hppa/dev/summitfb.c
1226
int32_t xs, xd, y, width, height;
sys/arch/hppa/dev/summitfb.c
1239
width = ri->ri_font->fontwidth * ncols;
sys/arch/hppa/dev/summitfb.c
1241
summitfb_bitblt(sc, xs, y, xd, y, width, height, RopSrc);
sys/arch/hppa/dev/summitfb.c
1256
int32_t x, y, width, height, fg, bg, ul;
sys/arch/hppa/dev/summitfb.c
1261
width = ri->ri_font->fontwidth * ncols;
sys/arch/hppa/dev/summitfb.c
1265
summitfb_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
sys/arch/hppa/dev/summitfb.c
1280
int32_t x, ys, yd, width, height;
sys/arch/hppa/dev/summitfb.c
1292
width = ri->ri_emuwidth;
sys/arch/hppa/dev/summitfb.c
1294
summitfb_bitblt(sc, x, ys, x, yd, width, height, RopSrc);
sys/arch/hppa/dev/summitfb.c
1307
int32_t x, y, width, height, fg, bg, ul;
sys/arch/hppa/dev/summitfb.c
1313
width = sc->sc_width;
sys/arch/hppa/dev/summitfb.c
1318
width = ri->ri_emuwidth;
sys/arch/hppa/dev/summitfb.c
1323
summitfb_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
sys/arch/hppa/dev/summitfb.c
1501
DPRINTF(("%s: %dx%d %d\n", __func__, fp->width, fp->height, bufsize));
sys/arch/hppa/dev/summitfb.c
1510
f->fontwidth = fp->width;
sys/arch/hppa/dev/summitfb.c
1512
f->stride = (fp->width + 7) >> 3;
sys/arch/hppa/dev/summitfb.c
600
wdf->width = ms->scr_ri.ri_width;
sys/arch/hppa/dev/summitfb.c
928
int width, int height, long attr)
sys/arch/hppa/dev/summitfb.c
932
summitfb_rectfill(sc, dstx, dsty, width, height,
sys/arch/hppa/include/pdc.h
649
width : 16;
sys/arch/i386/include/multiboot2.h
159
multiboot_uint32_t width;
sys/arch/i386/stand/efiboot/eficons.c
517
fb.width = info->HorizontalResolution;
sys/arch/i386/stand/lib/exec_multiboot2.c
410
mpp->mpp_framebuffer->width,
sys/arch/i386/stand/lib/exec_multiboot2.c
704
int width = 80;
sys/arch/i386/stand/lib/exec_multiboot2.c
708
mbt->common.framebuffer_width = width;
sys/arch/i386/stand/lib/exec_multiboot2.c
711
mbt->common.framebuffer_pitch = width * charlen;
sys/arch/i386/stand/lib/exec_multiboot2.c
717
mbt->common.framebuffer_width = fb->width;
sys/arch/i386/stand/lib/vbe.c
188
fb.width = mi.XResolution;
sys/arch/ia64/include/atomic.h
104
static __inline uint##width##_t \
sys/arch/ia64/include/atomic.h
105
atomic_load_acq_##type(volatile uint##width##_t* p) \
sys/arch/ia64/include/atomic.h
107
uint##width##_t v; \
sys/arch/ia64/include/atomic.h
114
ia64_st_rel_##width(volatile uint##width##_t* p, uint##width##_t v) \
sys/arch/ia64/include/atomic.h
121
atomic_store_rel_##width(volatile uint##width##_t* p, \
sys/arch/ia64/include/atomic.h
122
uint##width##_t v) \
sys/arch/ia64/include/atomic.h
129
atomic_store_rel_##type(volatile uint##width##_t* p, \
sys/arch/ia64/include/atomic.h
130
uint##width##_t v) \
sys/arch/ia64/include/atomic.h
149
#define IA64_ATOMIC(sz, type, name, width, op) \
sys/arch/ia64/include/atomic.h
151
atomic_##name##_acq_##width(volatile type *p, type v) \
sys/arch/ia64/include/atomic.h
162
atomic_##name##_rel_##width(volatile type *p, type v) \
sys/arch/ia64/include/atomic.h
85
#define ATOMIC_STORE_LOAD(type, width, size) \
sys/arch/ia64/include/atomic.h
86
static __inline uint##width##_t \
sys/arch/ia64/include/atomic.h
87
ia64_ld_acq_##width(volatile uint##width##_t* p) \
sys/arch/ia64/include/atomic.h
89
uint##width##_t v; \
sys/arch/ia64/include/atomic.h
95
static __inline uint##width##_t \
sys/arch/ia64/include/atomic.h
96
atomic_load_acq_##width(volatile uint##width##_t* p) \
sys/arch/ia64/include/atomic.h
98
uint##width##_t v; \
sys/arch/iyonix/include/bootconfig.h
77
u_int width;
sys/arch/iyonix/iyonix/autoconf.c
172
bootconfig.width + 1);
sys/arch/landisk/stand/boot/monitor.c
111
int b = 0, width, tmp, exp, x = 0;
sys/arch/landisk/stand/boot/monitor.c
118
width = strlen(p);
sys/arch/landisk/stand/boot/monitor.c
119
while (width--) {
sys/arch/landisk/stand/boot/monitor.c
121
for (tmp = 1; tmp <= width; tmp++)
sys/arch/luna68k/dev/lunafb.c
255
wsd_fbip->width = dc->dc_wid;
sys/arch/luna68k/dev/omrasops.c
1030
if ((width & 0x1f) == 0) {
sys/arch/luna68k/dev/omrasops.c
1043
wl = width & 0x1f;
sys/arch/luna68k/dev/omrasops.c
1109
int scanspan, offset, srcy, height, width, w;
sys/arch/luna68k/dev/omrasops.c
1123
width = w;
sys/arch/luna68k/dev/omrasops.c
1124
rmask = ALL1BITS << (-width & ALIGNMASK);
sys/arch/luna68k/dev/omrasops.c
1128
width -= 2 * BLITWIDTH;
sys/arch/luna68k/dev/omrasops.c
1129
while (width > 0) {
sys/arch/luna68k/dev/omrasops.c
1132
width -= BLITWIDTH;
sys/arch/luna68k/dev/omrasops.c
1138
width = w;
sys/arch/luna68k/dev/omrasops.c
1148
int width, rowheight;
sys/arch/luna68k/dev/omrasops.c
1156
width = ri->ri_emuwidth;
sys/arch/luna68k/dev/omrasops.c
1209
om4_rascopy_multi(dst0, src0, width, rowheight * r);
sys/arch/luna68k/dev/omrasops.c
1260
width, rowheight * r, rop);
sys/arch/luna68k/dev/omrasops.c
1623
int width;
sys/arch/luna68k/dev/omrasops.c
1646
width = ri->ri_font->fontwidth;
sys/arch/luna68k/dev/omrasops.c
1653
om_fill(hwplanemask, ROP_INV2, p, sl, scanspan, 0, width, height);
sys/arch/luna68k/dev/omrasops.c
177
: [width] "d" (w) \
sys/arch/luna68k/dev/omrasops.c
267
uint32_t val, int width, int height)
sys/arch/luna68k/dev/omrasops.c
274
ASSUME(width > 0);
sys/arch/luna68k/dev/omrasops.c
290
width -= dw;
sys/arch/luna68k/dev/omrasops.c
291
if (width < 0) {
sys/arch/luna68k/dev/omrasops.c
292
CLEAR_LOWER_BITS(mask, -width);
sys/arch/luna68k/dev/omrasops.c
294
width = 0;
sys/arch/luna68k/dev/omrasops.c
329
} while (width > 0);
sys/arch/luna68k/dev/omrasops.c
334
int dstspan, int width, int height)
sys/arch/luna68k/dev/omrasops.c
341
ASSUME(width > 0);
sys/arch/luna68k/dev/omrasops.c
359
width -= dw;
sys/arch/luna68k/dev/omrasops.c
360
if (width < 0) {
sys/arch/luna68k/dev/omrasops.c
361
CLEAR_LOWER_BITS(mask, -width);
sys/arch/luna68k/dev/omrasops.c
363
width = 0;
sys/arch/luna68k/dev/omrasops.c
407
} while (width > 0);
sys/arch/luna68k/dev/omrasops.c
447
int width;
sys/arch/luna68k/dev/omrasops.c
464
width = ri->ri_font->fontwidth;
sys/arch/luna68k/dev/omrasops.c
469
x = width * startcol;
sys/arch/luna68k/dev/omrasops.c
511
width -= dw;
sys/arch/luna68k/dev/omrasops.c
512
if (width < 0) {
sys/arch/luna68k/dev/omrasops.c
513
CLEAR_LOWER_BITS(mask, -width);
sys/arch/luna68k/dev/omrasops.c
515
width = 0;
sys/arch/luna68k/dev/omrasops.c
551
} while (width > 0);
sys/arch/luna68k/dev/omrasops.c
561
int width;
sys/arch/luna68k/dev/omrasops.c
573
width = ri->ri_font->fontwidth * ncols;
sys/arch/luna68k/dev/omrasops.c
587
p, sl, scanspan, 0, width, height);
sys/arch/luna68k/dev/omrasops.c
589
om_fill_color(planecount, bg, p, sl, scanspan, width, height);
sys/arch/luna68k/dev/omrasops.c
601
int width;
sys/arch/luna68k/dev/omrasops.c
614
width = ri->ri_emuwidth;
sys/arch/luna68k/dev/omrasops.c
629
p, sl, scanspan, 0, width, height);
sys/arch/luna68k/dev/omrasops.c
631
om_fill_color(planecount, bg, p, sl, scanspan, width, height);
sys/arch/luna68k/dev/omrasops.c
651
int16_t width, int16_t height, uint8_t rop[])
sys/arch/luna68k/dev/omrasops.c
682
wh = (width >> 6);
sys/arch/luna68k/dev/omrasops.c
725
if ((width & 0x3f) == 0) {
sys/arch/luna68k/dev/omrasops.c
735
if ((width & 32) != 0) {
sys/arch/luna68k/dev/omrasops.c
762
if ((width & 0x1f) == 0) {
sys/arch/luna68k/dev/omrasops.c
772
wl = width & 0x1f;
sys/arch/luna68k/dev/omrasops.c
828
om4_rascopy_multi(uint8_t *dst0, uint8_t *src0, int16_t width, int16_t height)
sys/arch/luna68k/dev/omrasops.c
859
wh = width >> 6;
sys/arch/luna68k/dev/omrasops.c
962
if ((width & 0x3f) == 0) {
sys/arch/luna68k/dev/omrasops.c
978
if ((width & 32) != 0) {
sys/arch/m68k/fpe/fpu_subr.c
69
int width = 32;
sys/arch/m68k/fpe/fpu_subr.c
70
for (offset = 0; width-- > 0 && (int)src >= 0; src <<= 1) {
sys/arch/mac68k/dev/genfb_grfbus.c
248
sc->sc_width = gm->width;
sys/arch/mac68k/dev/grf_compat.c
243
gd->gd_dwidth = dc->dc_raster.width;
sys/arch/mac68k/dev/grf_compat.c
272
gm->width = dc->dc_wid;
sys/arch/mac68k/dev/grf_subr.c
53
printf("%s: %d x %d, ", device_xname(sc->sc_dev), gm->width, gm->height);
sys/arch/mac68k/dev/macfb.c
166
rap->width = dc->dc_wid;
sys/arch/mac68k/dev/macfb.c
215
sc->sc_dc->dc_wid = gm->width;
sys/arch/mac68k/dev/macfb.c
257
wdf->width = dc->dc_raster.width;
sys/arch/mac68k/dev/macfb.c
378
gallant19.width = 6;
sys/arch/mac68k/dev/macfb.c
388
gallant19.chars[i].r->width = 6;
sys/arch/mac68k/include/grfioctl.h
53
u_int16_t width; /* Screen width */
sys/arch/mac68k/nubus/grf_nubus.c
204
gm->width = image.right - image.left;
sys/arch/mac68k/obio/grf_obio.c
364
gm->width = mac68k_video.mv_width;
sys/arch/macppc/dev/ofb.c
265
wdf->width = ms->scr_ri.ri_width;
sys/arch/macppc/dev/platinumfb.c
103
int32_t width;
sys/arch/macppc/dev/platinumfb.c
603
mode = pick_mode_by_ref(pfb_setting[i]->width,
sys/arch/macppc/dev/platinumfb.c
803
wdf->width = ms->scr_ri.ri_width;
sys/arch/macppc/dev/valkyriefb.c
278
(modetab[i].width != mode->hdisplay) &&
sys/arch/macppc/dev/valkyriefb.c
368
wdf->width = ms->scr_ri.ri_width;
sys/arch/macppc/dev/valkyriefb.c
90
int width;
sys/arch/mips/alchemy/dev/aupcmcia.c
643
aupcm_io_map(pcmcia_chipset_handle_t pch, int width, bus_addr_t offset,
sys/arch/mmeye/dev/mmeyepcmcia.c
817
mmeyepcmcia_chip_io_map(pcmcia_chipset_handle_t pch, int width,
sys/arch/mmeye/dev/mmeyepcmcia.c
829
width = PCMCIA_WIDTH_IO16;
sys/arch/mmeye/dev/mmeyepcmcia.c
850
switch (width) {
sys/arch/mmeye/dev/mmeyepcmcia.c
861
panic("mmeyepcmcia_chip_io_map width is bogus: 0x%x", width);
sys/arch/mmeye/dev/mmeyepcmcia.c
872
win, width_names[width], (u_long) offset, (u_long) size));
sys/arch/mmeye/dev/mmeyepcmcia.c
878
h->io[win].width = width;
sys/arch/mmeye/dev/mmeyepcmcia.c
99
int width;
sys/arch/newsmips/apbus/xafb.c
267
wdf->width = dc->dc_ri.ri_width;
sys/arch/newsmips/dev/fb.c
286
int width, height, stride, xoff, yoff, cols, rows;
sys/arch/newsmips/dev/fb.c
294
width = 816;
sys/arch/newsmips/dev/fb.c
300
width = 1024;
sys/arch/newsmips/dev/fb.c
310
width = 1120;
sys/arch/newsmips/dev/fb.c
312
stride = width / 8;
sys/arch/newsmips/dev/fb.c
322
ri->ri_width = width;
sys/arch/newsmips/dev/fb.c
333
cols = ((width - 2) / ri->ri_font->fontwidth) & ~7;
sys/arch/newsmips/dev/fb.c
334
xoff = ((width - cols * ri->ri_font->fontwidth) / 2 / 8) & ~3;
sys/arch/newsmips/dev/fb.c
376
wdf->width = dc->dc_ri.ri_width;
sys/arch/next68k/dev/nextdisplay.c
200
rap->width = dc->dc_wid;
sys/arch/next68k/dev/nextdisplay.c
317
wsd_fbip->width = dc->dc_wid;
sys/arch/ofppc/ofppc/machdep.c
222
uint32_t width, height, mode, fbaddr;
sys/arch/ofppc/ofppc/machdep.c
252
OF_interpret("screen-width", 0, 1, &width);
sys/arch/ofppc/ofppc/machdep.c
253
if (width == 0)
sys/arch/ofppc/ofppc/machdep.c
254
width = 800;
sys/arch/ofppc/ofppc/machdep.c
262
if (modew[i] == width && modeh[i] == height) {
sys/arch/ofppc/ofppc/machdep.c
269
width = 800;
sys/arch/ofppc/ofppc/machdep.c
278
snprintf(buf, sizeof(buf), "%x to screen-width", width);
sys/arch/pmax/ibus/pm.c
436
wsd_fbip->width = ri->ri_width;
sys/arch/powerpc/booke/pci/pq3pci.c
767
u_int width = e500_truth_decode(cnl->cnl_instance, pordevsr,
sys/arch/powerpc/booke/pci/pq3pci.c
770
width, (pcix_p ? "X" : ""));
sys/arch/powerpc/oea/ofw_rascons.c
236
int32_t width, height, linebytes, depth;
sys/arch/powerpc/oea/ofw_rascons.c
239
width = height = -1;
sys/arch/powerpc/oea/ofw_rascons.c
240
if (OF_getprop(node, "width", &width, 4) != 4)
sys/arch/powerpc/oea/ofw_rascons.c
241
OF_interpret("screen-width", 0, 1, &width);
sys/arch/powerpc/oea/ofw_rascons.c
245
linebytes = width; /* XXX */
sys/arch/powerpc/oea/ofw_rascons.c
251
if (width == -1 || height == -1 || fbaddr == 0 || fbaddr == -1)
sys/arch/powerpc/oea/ofw_rascons.c
255
ri->ri_width = width;
sys/arch/powerpc/oea/ofw_rascons.c
278
(uint32_t)ri->ri_bits, cols, width, ri->ri_xorigin, ri->ri_yorigin);
sys/arch/powerpc/oea/ofw_rascons.c
283
rasops_init(ri, height/8, width/8);
sys/arch/powerpc/oea/ofw_rascons.c
286
width / ri->ri_font->fontwidth);
sys/arch/powerpc/powerpc/db_disasm.c
614
extract_field(u_int32_t value, u_int32_t base, u_int32_t width)
sys/arch/powerpc/powerpc/db_disasm.c
616
u_int32_t mask = (1 << width) - 1;
sys/arch/powerpc/powerpc/db_disasm.c
88
u_int32_t extract_field(u_int32_t value, u_int32_t base, u_int32_t width);
sys/arch/powerpc/tools/chrpicon/chrpicon.h
47
int width;
sys/arch/powerpc/tools/chrpicon/chrpicontoppm/chrpicontoppm.c
108
for (col = 0; col < img->width; col++) {
sys/arch/powerpc/tools/chrpicon/chrpicontoppm/chrpicontoppm.c
124
ppm_writeppmrow(stdout, pixelrow, img->width, maxval, PLAIN_PPM);
sys/arch/powerpc/tools/chrpicon/chrpicontoppm/chrpicontoppm.c
150
&img->height, &img->width,
sys/arch/powerpc/tools/chrpicon/chrpicontoppm/chrpicontoppm.c
188
if ((img->pixels[r] = CHRPI_allocrow(img->width)) == NULL)
sys/arch/powerpc/tools/chrpicon/chrpicontoppm/chrpicontoppm.c
199
for (c = 0; c < img->width; c++) {
sys/arch/powerpc/tools/chrpicon/chrpicontoppm/chrpicontoppm.c
98
ppm_writeppminit(stdout, img->width, img->height, maxval, PLAIN_PPM);
sys/arch/powerpc/tools/chrpicon/chrpicontoppm/chrpicontoppm.c
99
pixelrow = ppm_allocrow(img->width);
sys/arch/powerpc/tools/chrpicon/ppmtochrpicon/ppmtochrpicon.c
115
img->height, img->width,
sys/arch/powerpc/tools/chrpicon/ppmtochrpicon/ppmtochrpicon.c
139
for (col = 0; col < img->width; col++) {
sys/arch/powerpc/tools/chrpicon/ppmtochrpicon/ppmtochrpicon.c
80
pixels = ppm_readppm(ifp, &img->width, &img->height, &maxval);
sys/arch/powerpc/tools/chrpicon/ppmtochrpicon/ppmtochrpicon.c
86
if (img->width != 64 || img->height != 64)
sys/arch/powerpc/tools/chrpicon/ppmtochrpicon/ppmtochrpicon.c
90
img->width = img->height = 64;
sys/arch/prep/pci/gten.c
217
int32_t addr, width, height, linebytes, depth;
sys/arch/prep/pci/gten.c
256
wdf->width = gt->gt_ri->ri_width;
sys/arch/prep/stand/boot/monitor.c
117
int b = 0, width, tmp, exp, x = 0;
sys/arch/prep/stand/boot/monitor.c
123
width = strlen(p);
sys/arch/prep/stand/boot/monitor.c
124
while(width--) {
sys/arch/prep/stand/boot/monitor.c
126
for (tmp = 1; tmp <= width; tmp++)
sys/arch/rs6000/include/iplcb.h
231
int width; /* proc data word size */
sys/arch/rs6000/stand/boot/monitor.c
117
int b = 0, width, tmp, exp, x = 0;
sys/arch/rs6000/stand/boot/monitor.c
123
width = strlen(p);
sys/arch/rs6000/stand/boot/monitor.c
124
while(width--) {
sys/arch/rs6000/stand/boot/monitor.c
126
for (tmp = 1; tmp <= width; tmp++)
sys/arch/sgimips/dev/crmfb.c
1237
crmfb_fill_rect(struct crmfb_softc *sc, int x, int y, int width, int height,
sys/arch/sgimips/dev/crmfb.c
1243
rxe = ((x + width) << sc->sc_mte_x_shift) - 1;
sys/arch/sgimips/dev/crmfb.c
1350
int32_t xs, xd, y, width, height;
sys/arch/sgimips/dev/crmfb.c
1355
width = ri->ri_font->fontwidth * ncols;
sys/arch/sgimips/dev/crmfb.c
1357
crmfb_bitblt(scr->scr_cookie, xs, y, xd, y, width, height, 3);
sys/arch/sgimips/dev/crmfb.c
1365
int32_t x, y, width, height, bg;
sys/arch/sgimips/dev/crmfb.c
1369
width = ri->ri_font->fontwidth * ncols;
sys/arch/sgimips/dev/crmfb.c
1372
crmfb_fill_rect(scr->scr_cookie, x, y, width, height, bg);
sys/arch/sgimips/dev/crmfb.c
1380
int32_t x, ys, yd, width, height;
sys/arch/sgimips/dev/crmfb.c
1385
width = ri->ri_emuwidth;
sys/arch/sgimips/dev/crmfb.c
1388
crmfb_scroll(scr->scr_cookie, x, ys, x, yd, width, height);
sys/arch/sgimips/dev/crmfb.c
1396
int32_t x, y, width, height, bg;
sys/arch/sgimips/dev/crmfb.c
1400
width = ri->ri_width;
sys/arch/sgimips/dev/crmfb.c
1405
width = ri->ri_emuwidth;
sys/arch/sgimips/dev/crmfb.c
1409
crmfb_fill_rect(scr->scr_cookie, x, y, width, height, bg);
sys/arch/sgimips/dev/crmfb.c
1859
int width, height, refresh;
sys/arch/sgimips/dev/crmfb.c
1870
width = strtoul(modestr, NULL, 10);
sys/arch/sgimips/dev/crmfb.c
1874
if (width == 0 || height == 0 || refresh == 0)
sys/arch/sgimips/dev/crmfb.c
1877
vesagtf_mode(width, height, refresh, mode);
sys/arch/sgimips/dev/crmfb.c
458
wdf->width = sc->sc_width;
sys/arch/sgimips/gio/grtwo.c
309
int y2, int width, int height)
sys/arch/sgimips/gio/grtwo.c
311
int length = (width + 3) >> 2;
sys/arch/sgimips/gio/grtwo.c
323
bus_space_write_4(dc->iot, dc->ioh, GR2_FIFO_DATA, width);
sys/arch/sgimips/gio/grtwo.c
338
bus_space_write_4(dc->iot, dc->ioh, GR2_FIFO_DATA, width);
sys/arch/sgimips/gio/grtwo.c
737
FBINFO.width = sc->sc_dc->xres;
sys/arch/sgimips/gio/light.c
214
int to_y, int width, int height)
sys/arch/sgimips/gio/light.c
233
rex_write(dc, REX_PAGE0_SET, REX_P0REG_XENDI, to_x + width);
sys/arch/sgimips/gio/light.c
438
int from_x, from_y, to_x, to_y, width, height;
sys/arch/sgimips/gio/light.c
444
width = ncols * font->fontwidth;
sys/arch/sgimips/gio/light.c
447
rex_copy_rect(c, from_x, from_y, to_x, to_y, width, height);
sys/arch/sgimips/gio/light.c
472
int from_x, from_y, to_x, to_y, width, height;
sys/arch/sgimips/gio/light.c
478
width = LIGHT_XRES;
sys/arch/sgimips/gio/light.c
481
rex_copy_rect(c, from_x, from_y, to_x, to_y, width, height);
sys/arch/sgimips/gio/light.c
537
fbinfo->width = LIGHT_XRES;
sys/arch/sgimips/gio/newport.c
1227
int32_t xs, xd, y, width, height;
sys/arch/sgimips/gio/newport.c
1232
width = ri->ri_font->fontwidth * ncols;
sys/arch/sgimips/gio/newport.c
1234
newport_bitblt(dc, xs, y, xd, y, width, height, 3);
sys/arch/sgimips/gio/newport.c
1260
int32_t x, ys, yd, width, height;
sys/arch/sgimips/gio/newport.c
1265
width = ri->ri_emuwidth;
sys/arch/sgimips/gio/newport.c
1268
newport_bitblt(dc, x, ys, x, yd, width, height, 3);
sys/arch/sgimips/gio/newport.c
1315
FBINFO.width = dc->dc_xres;
sys/arch/shark/ofw/chipsfb_ofbus.c
171
int isconsole, width, height, linebytes, depth;
sys/arch/shark/ofw/chipsfb_ofbus.c
189
if (OF_getprop(oba->oba_phandle, "width", &width, sizeof(width)) == 4) {
sys/arch/shark/ofw/chipsfb_ofbus.c
190
width = be32toh(width);
sys/arch/shark/ofw/chipsfb_ofbus.c
192
width = 640;
sys/arch/shark/ofw/chipsfb_ofbus.c
206
linebytes = width * (depth >> 3);
sys/arch/shark/ofw/chipsfb_ofbus.c
209
prop_dictionary_set_uint32(dict, "width", width);
sys/arch/sparc/dev/cgfour.c
668
wdf->width = ri->ri_width;
sys/arch/sparc/dev/cgfourteen.c
1361
int width, int height, long attr)
sys/arch/sparc/dev/cgfourteen.c
1365
cg14_rectfill(sc, dstx, dsty, width, height,
sys/arch/sparc/dev/cgfourteen.c
1839
int32_t xs, xd, y, width, height;
sys/arch/sparc/dev/cgfourteen.c
1850
width = ri->ri_font->fontwidth * ncols;
sys/arch/sparc/dev/cgfourteen.c
1852
cg14_bitblt(sc, xs, y, xd, y, width, height, 0x0c);
sys/arch/sparc/dev/cgfourteen.c
1865
int32_t x, y, width, height, fg, bg, ul;
sys/arch/sparc/dev/cgfourteen.c
1870
width = ri->ri_font->fontwidth * ncols;
sys/arch/sparc/dev/cgfourteen.c
1873
cg14_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
sys/arch/sparc/dev/cgfourteen.c
1887
int32_t x, ys, yd, width, height;
sys/arch/sparc/dev/cgfourteen.c
1897
width = ri->ri_emuwidth;
sys/arch/sparc/dev/cgfourteen.c
1899
cg14_bitblt(sc, x, ys, x, yd, width, height, 0x0c);
sys/arch/sparc/dev/cgfourteen.c
1911
int32_t x, y, width, height, fg, bg, ul;
sys/arch/sparc/dev/cgfourteen.c
1916
width = ri->ri_emuwidth;
sys/arch/sparc/dev/cgfourteen.c
1919
cg14_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
sys/arch/sparc/dev/cgfourteen.c
975
wdf->width = ms->scr_ri.ri_width;
sys/arch/sparc/dev/ts102.c
502
tslot_io_map(pcmcia_chipset_handle_t pch, int width, bus_addr_t offset,
sys/arch/sparc/sparc/db_disasm.c
52
#define SIGNEX(v,width) ({ \
sys/arch/sparc/sparc/db_disasm.c
53
unsigned s = sizeof(long)*8-(width); \
sys/arch/sparc64/dev/ffb.c
473
wdf->width = sc->sc_width;
sys/arch/sparc64/dev/gfb.c
275
wdf->width = ms->scr_ri.ri_width;
sys/arch/sparc64/sparc64/autoconf.c
1461
int width;
sys/arch/sparc64/sparc64/autoconf.c
1469
if (OF_getprop(node, "width", &width, sizeof(width))
sys/arch/sparc64/sparc64/db_disasm.c
57
#define SIGNEX(v,width) ((((long long)(v))<<(64-width))>>(64-width))
sys/arch/sparc64/sparc64/db_disasm.c
59
#define SIGNEX(v,width) ((((int)(v))<<(32-width))>>(32-width))
sys/arch/sparc64/sparc64/db_interface.c
908
int width = 8; /* Default to 8 bytes */
sys/arch/sparc64/sparc64/db_interface.c
935
width = 1;
sys/arch/sparc64/sparc64/db_interface.c
939
width = 2;
sys/arch/sparc64/sparc64/db_interface.c
943
width = 4;
sys/arch/sparc64/sparc64/db_interface.c
947
width = 8;
sys/arch/sparc64/sparc64/db_interface.c
966
(long long)addr, (long long)addr + width);
sys/arch/sparc64/sparc64/db_interface.c
974
(long long)addr, (long long)addr + width);
sys/arch/usermode/dev/mainbus.c
90
taa.u.vnc.width = usermode_vnc_width;
sys/arch/usermode/dev/vncfb.c
204
sc->sc_width = taa->u.vnc.width;
sys/arch/usermode/dev/vncfb.c
224
sc->sc_rfb.width = sc->sc_width;
sys/arch/usermode/dev/vncfb.c
475
wdf->width = ms->scr_ri.ri_width;
sys/arch/usermode/include/mainbus.h
59
unsigned int width;
sys/arch/usermode/include/thunk.h
240
uint16_t width;
sys/arch/usermode/usermode/thunk.c
1139
*(uint16_t *)p = htons(rfb->width); p += 2;
sys/arch/usermode/usermode/thunk.c
1219
rfb->update[0].w = rfb->width;
sys/arch/usermode/usermode/thunk.c
1237
stride = rfb->width * bytes_per_pixel;
sys/arch/usermode/usermode/thunk.c
1387
thunk_rfb_update(rfb, 0, 0, rfb->width, rfb->height);
sys/arch/vax/uba/qv.c
831
fb->width = QV_XWIDTH;
sys/arch/vax/vsa/gpx.c
443
wdf->width = ss->ss_ri.ri_width;
sys/arch/vax/vsa/lcg.c
721
fb->width = lcg_xsize;
sys/arch/vax/vsa/maskbits.h
53
#define getandputrop(psrc, srcbit, dstbit, width, pdst, rop) \
sys/arch/vax/vsa/maskbits.h
64
FASTGETBITS(psrc, srcbit, width, _tmpdst); \
sys/arch/vax/vsa/maskbits.h
67
FASTPUTBITS(_tmpdst, dstbit, width, pdst); \
sys/arch/vax/vsa/smg.c
428
wdf->width = ss->ss_ri.ri_width;
sys/arch/vax/vsa/smg.c
651
int scanspan, startx, height, width, align, y;
sys/arch/vax/vsa/smg.c
666
width = ri->ri_font->fontwidth + align;
sys/arch/vax/vsa/smg.c
669
rmask = ALL1BITS >> (-width & ALIGNMASK);
sys/arch/vax/vsa/smg.c
670
if (width <= BLITWIDTH) {
sys/arch/vax/vsa/smg.c
718
int scanspan, startx, height, width, align, y;
sys/arch/vax/vsa/smg.c
741
width = ri->ri_font->fontwidth + align;
sys/arch/vax/vsa/smg.c
744
rmask = ALL1BITS >> (-width & ALIGNMASK);
sys/arch/vax/vsa/smg.c
745
if (width <= BLITWIDTH) {
sys/arch/vax/vsa/smg.c
777
int width; /* add to get to same position in next line */
sys/arch/vax/vsa/smg.c
795
width = SM_XWIDTH >> 5;
sys/arch/vax/vsa/smg.c
798
psrcLine = pdstLine = ((u_int *)ri->ri_bits) + (y * width);
sys/arch/vax/vsa/smg.c
814
pdst += width;
sys/arch/vax/vsa/smg.c
815
psrc += width;
sys/arch/vax/vsa/smg.c
897
pdstLine += width;
sys/arch/vax/vsa/smg.c
898
psrcLine += width;
sys/arch/vax/vsa/smg.c
946
pdstLine += width;
sys/arch/vax/vsa/smg.c
947
psrcLine += width;
sys/arch/vax/vsa/spx.c
964
fb->width = spx_xsize;
sys/arch/x68k/dev/ite_tv.c
659
tv_clear(struct ite_softc *ip, int y, int x, int height, int width)
sys/arch/x68k/dev/ite_tv.c
665
if (y == 0 && x == 0 && height == ip->rows && width == ip->cols) {
sys/arch/x68k/dev/ite_tv.c
674
memset(p, 0, width);
sys/arch/x68k/dev/ite_tv.c
767
int width;
sys/arch/x68k/dev/ite_tv.c
774
width = MIN(ip->decsixel_ph, MAX_SIXEL_WIDTH);
sys/arch/x68k/dev/ite_tv.c
775
width = MIN(width, PLANEWIDTH - sx * FONTWIDTH);
sys/arch/x68k/dev/ite_tv.c
786
for (cx = 0; cx < howmany(width, 16); cx++) {
sys/arch/x68k/dev/mha.c
1361
sc->sc_omess[0] = ti->width;
sys/arch/x68k/dev/mha.c
499
ti->width = 0;
sys/arch/x68k/dev/mhavar.h
81
u_char width; /* Width suggestion */
sys/arch/x68k/include/iteioctl.h
49
u_int width; /* width of ite display */
sys/arch/x68k/stand/xxboot/bootmain.c
57
print_hex(unsigned int x, int width)
sys/arch/x68k/stand/xxboot/bootmain.c
60
if (width > 0) {
sys/arch/x68k/stand/xxboot/bootmain.c
61
print_hex(x >> 4, width - 1);
sys/arch/x86/include/bootinfo.h
206
uint32_t width;
sys/arch/x86/pci/pci_addr_fixup.c
172
int error, useport, usemem, mapreg, type, reg_start, reg_end, width;
sys/arch/x86/pci/pci_addr_fixup.c
195
for (mapreg = reg_start; mapreg < reg_end; mapreg += width) {
sys/arch/x86/pci/pci_addr_fixup.c
204
width = 4;
sys/arch/x86/pci/pci_addr_fixup.c
217
width = 8;
sys/arch/x86/pci/pci_machdep.c
1138
prop_dictionary_set_uint32(dict, "width", fbinfo.width);
sys/arch/x86/x86/genfb_machdep.c
146
ri->ri_width = fbinfo->width;
sys/arch/x86/x86/hyperv.c
1065
prop_dictionary_set_uint32(dict, "width", fbinfo.width);
sys/arch/x86/x86/multiboot2.c
597
bif->width = mbt->common.framebuffer_width;
sys/arch/xen/xen/genfb_xen.c
82
_xen_genfb_btinfo.width = d0_consi->u.vesa_lfb.width;
sys/arch/zaurus/dev/w100.c
342
int width = geom->panel_width;
sys/arch/zaurus/dev/w100.c
365
rinfo.ri_width = width;
sys/arch/zaurus/dev/w100.c
367
rinfo.ri_stride = width * rinfo.ri_depth / 8;
sys/arch/zaurus/dev/w100.c
453
wsdisp_info->width = sc->display_width;
sys/compat/netbsd32/netbsd32_drm.c
871
uint32_t width;
sys/compat/netbsd32/netbsd32_drm.c
884
req64->width = req32->width;
sys/ddb/db_command.c
765
size_t i, j, w, columns, lines, numcmds, width=0;
sys/ddb/db_command.c
772
if (w > width)
sys/ddb/db_command.c
773
width = w;
sys/ddb/db_command.c
777
width = DB_NEXT_TAB(width);
sys/ddb/db_command.c
779
columns = db_max_width / width;
sys/ddb/db_command.c
801
while (w < width) {
sys/ddb/db_examine.c
102
width = 12;
sys/ddb/db_examine.c
106
width = 24;
sys/ddb/db_examine.c
110
width = 12 * (sizeof value / 4);
sys/ddb/db_examine.c
127
db_printf("%-*s", width, tbuf);
sys/ddb/db_examine.c
132
db_printf("%-*" PRIx64, width, value);
sys/ddb/db_examine.c
180
db_printf("%-*s", width, tbuf);
sys/ddb/db_examine.c
185
db_printf("%-*" PRId64, width, value);
sys/ddb/db_examine.c
190
db_printf("%-*" PRIu64, width, value);
sys/ddb/db_examine.c
195
db_printf("%-*" PRIo64, width, value);
sys/ddb/db_examine.c
75
int width;
sys/ddb/db_examine.c
83
width = 12;
sys/ddb/db_examine.c
94
width = 4;
sys/ddb/db_examine.c
98
width = 8;
sys/dev/acpi/acpi_cpu_pstate.c
481
uint8_t width;
sys/dev/acpi/acpi_cpu_pstate.c
527
width = reg[i]->reg_bitwidth;
sys/dev/acpi/acpi_cpu_pstate.c
529
if (width + reg[i]->reg_bitoffset > 32) {
sys/dev/acpi/acpi_cpu_pstate.c
534
if (width != 8 && width != 16 && width != 32) {
sys/dev/acpi/acpi_cpu_tstate.c
554
const uint8_t width = AcpiGbl_FADT.DutyWidth;
sys/dev/acpi/acpi_cpu_tstate.c
570
if (width == 0 || width + offset > 4)
sys/dev/acpi/acpi_cpu_tstate.c
573
count = 1 << width;
sys/dev/acpi/acpi_cpu_tstate.c
598
sc->sc_tstate_status.reg_bitwidth = width;
sys/dev/acpi/acpi_cpu_tstate.c
603
sc->sc_tstate_control.reg_bitwidth = width;
sys/dev/acpi/acpi_ec.c
1096
acpiec_bus_read(device_t dv, u_int addr, ACPI_INTEGER *val, int width)
sys/dev/acpi/acpi_ec.c
1100
return acpiec_space_handler(ACPI_READ, addr, width * 8, val, sc, NULL);
sys/dev/acpi/acpi_ec.c
1104
acpiec_bus_write(device_t dv, u_int addr, ACPI_INTEGER val, int width)
sys/dev/acpi/acpi_ec.c
1108
return acpiec_space_handler(ACPI_WRITE, addr, width * 8, &val, sc,
sys/dev/acpi/acpi_ec.c
832
uint32_t width, ACPI_INTEGER *value, void *arg, void *region_arg)
sys/dev/acpi/acpi_ec.c
839
if (paddr > 0xff || width % 8 != 0 ||
sys/dev/acpi/acpi_ec.c
840
value == NULL || arg == NULL || paddr + width / 8 > 0x100)
sys/dev/acpi/acpi_ec.c
850
for (i = 0; i < width; i += 8, ++addr, ++buf) {
sys/dev/acpi/acpi_ec.c
863
for (i = 0; i < width; i += 8, ++addr, ++buf) {
sys/dev/acpi/wmi/wmi_acpi.c
540
uint32_t width, ACPI_INTEGER *val, void *setup, void *aux)
sys/dev/acpi/wmi/wmi_acpi.c
547
if (addr > 0xFF || width % 8 != 0)
sys/dev/acpi/wmi/wmi_acpi.c
553
(void)acpiec_bus_read(sc->sc_ecdev, addr, val, width);
sys/dev/acpi/wmi/wmi_acpi.c
557
(void)acpiec_bus_write(sc->sc_ecdev, addr, *val, width);
sys/dev/fdt/simplefb.c
133
uint32_t width, height, stride;
sys/dev/fdt/simplefb.c
151
if (of_getprop_uint32(phandle, "width", &width) != 0 ||
sys/dev/fdt/simplefb.c
197
prop_dictionary_set_uint32(dict, "width", width);
sys/dev/fdt/simplefb.c
214
width, height, depth, addr);
sys/dev/hpc/fontconv.c
102
fontname, width, height);
sys/dev/hpc/fontconv.c
115
width_in_bytes = (width + 7) / 8;
sys/dev/hpc/fontconv.c
134
fontname, width, height, code);
sys/dev/hpc/fontconv.c
143
for (m = 0x80000000, j = 0; j < width; j++, m >>= 1) {
sys/dev/hpc/fontconv.c
150
fontname, width, height, code);
sys/dev/hpc/fontconv.c
152
width, height, fontname, width, height, code);
sys/dev/hpc/fontconv.c
163
fontname, width, height);
sys/dev/hpc/fontconv.c
164
fprintf(ofp, " %d, %d, %d, ", width, height, ascent);
sys/dev/hpc/fontconv.c
169
fontname, width, height, code);
sys/dev/hpc/fontconv.c
170
fprintf(ofp, "%d, %d, %d, %d },\n", 0, -ascent, width, 0);
sys/dev/hpc/fontconv.c
23
width = 8;
sys/dev/hpc/fontconv.c
43
width_in_bytes = (width + 7) / 8;
sys/dev/hpc/fontconv.c
47
fontname, width, height, code);
sys/dev/hpc/fontconv.c
74
for (m = 0x80000000, j = 0; j < width; j++, m >>= 1) {
sys/dev/hpc/fontconv.c
9
int width, height, ascent;
sys/dev/hpc/fontconv.c
91
fontname, width, height);
sys/dev/hpc/fontconv.c
96
fprintf(ofp, " %d,\t\t\t\t/* width */\n", width);
sys/dev/hpc/hpcfb.c
1103
int height, width;
sys/dev/hpc/hpcfb.c
1126
width = ncols * ri->ri_font->fontwidth;
sys/dev/hpc/hpcfb.c
1129
srcxoff, srcyoff, dstxoff, dstyoff, height, width);
sys/dev/hpc/hpcfb.c
1175
int width, height;
sys/dev/hpc/hpcfb.c
1196
width = ncols * ri->ri_font->fontwidth;
sys/dev/hpc/hpcfb.c
1199
xoff, yoff, height, width, attr);
sys/dev/hpc/hpcfb.c
1400
int width, height;
sys/dev/hpc/hpcfb.c
1416
width = dc->dc_cols * ri->ri_font->fontwidth;
sys/dev/hpc/hpcfb.c
1419
0, srcyoff, 0, dstyoff, height, width);
sys/dev/hpc/hpcfb.c
1500
int width;
sys/dev/hpc/hpcfb.c
1521
width = dc->dc_cols * ri->ri_font->fontwidth;
sys/dev/hpc/hpcfb.c
1524
0, yoff, height, width, attr);
sys/dev/hpc/hpcfb.c
573
wdf->width = dc->dc_rinfo.ri_width;
sys/dev/ic/aic6360.c
1091
ti->width = 0;
sys/dev/ic/aic6360.c
1106
ti->width = 0;
sys/dev/ic/aic6360.c
1164
ti->width = sc->sc_imess[3];
sys/dev/ic/aic6360.c
1166
if (ti->width == 0) {
sys/dev/ic/aic6360.c
1167
} else if (ti->width > AIC_MAX_WIDTH) {
sys/dev/ic/aic6360.c
1168
ti->width = 0;
sys/dev/ic/aic6360.c
1323
sc->sc_omess[0] = ti->width;
sys/dev/ic/aic6360.c
1921
ti->width = 0;
sys/dev/ic/aic6360.c
425
ti->width = 0;
sys/dev/ic/aic6360.c
582
ti->width = AIC_MAX_WIDTH;
sys/dev/ic/aic6360.c
612
switch (ti->width) {
sys/dev/ic/aic6360var.h
114
u_char width; /* Width suggestion */
sys/dev/ic/aic79xx.c
2794
if (transinfo->width == MSG_EXT_WDTR_BUS_8_BIT) {
sys/dev/ic/aic79xx.c
2900
*bus_width = MIN(tinfo->user.width, *bus_width);
sys/dev/ic/aic79xx.c
2902
*bus_width = MIN(tinfo->goal.width, *bus_width);
sys/dev/ic/aic79xx.c
2928
tinfo->curr.width = AHD_WIDTH_UNKNOWN;
sys/dev/ic/aic79xx.c
2933
|| tinfo->curr.width != tinfo->goal.width
sys/dev/ic/aic79xx.c
2938
|| tinfo->goal.width != MSG_EXT_WDTR_BUS_8_BIT
sys/dev/ic/aic79xx.c
3104
u_int width, u_int type, int paused)
sys/dev/ic/aic79xx.c
3118
tinfo->user.width = width;
sys/dev/ic/aic79xx.c
3121
tinfo->goal.width = width;
sys/dev/ic/aic79xx.c
3123
oldwidth = tinfo->curr.width;
sys/dev/ic/aic79xx.c
3124
if ((type & AHD_TRANS_CUR) != 0 && oldwidth != width) {
sys/dev/ic/aic79xx.c
3128
tinfo->curr.width = width;
sys/dev/ic/aic79xx.c
3135
8 * (0x01 << width));
sys/dev/ic/aic79xx.c
3245
if (tinfo->width == MSG_EXT_WDTR_BUS_16_BIT)
sys/dev/ic/aic79xx.c
3602
dowide = tinfo->curr.width != tinfo->goal.width;
sys/dev/ic/aic79xx.c
3612
dowide = tinfo->goal.width != MSG_EXT_WDTR_BUS_8_BIT;
sys/dev/ic/aic79xx.c
3647
doppr ? tinfo->goal.width
sys/dev/ic/aic79xx.c
3648
: tinfo->curr.width,
sys/dev/ic/aic79xx.c
3652
tinfo->goal.width, ppr_options);
sys/dev/ic/aic79xx.c
3657
ahd_construct_wdtr(ahd, devinfo, tinfo->goal.width);
sys/dev/ic/aic79xx.c
4237
tinfo->curr.width, devinfo->role);
sys/dev/ic/aic79xx.c
6585
tinfo->user.width = MSG_EXT_WDTR_BUS_16_BIT;
sys/dev/ic/aic79xx.c
6691
user_tinfo->width = MSG_EXT_WDTR_BUS_16_BIT;
sys/dev/ic/aic79xx.c
6693
user_tinfo->width = MSG_EXT_WDTR_BUS_8_BIT;
sys/dev/ic/aic79xx.c
6696
printf("(%d): %x:%x:%x:%x\n", targ, user_tinfo->width,
sys/dev/ic/aic79xx_osm.c
413
u_int width;
sys/dev/ic/aic79xx_osm.c
441
width = tinfo->user.width;
sys/dev/ic/aic79xx_osm.c
452
width = MSG_EXT_WDTR_BUS_16_BIT;
sys/dev/ic/aic79xx_osm.c
454
width = MSG_EXT_WDTR_BUS_8_BIT;
sys/dev/ic/aic79xx_osm.c
456
ahd_validate_width(ahd, NULL, &width, ROLE_UNKNOWN);
sys/dev/ic/aic79xx_osm.c
457
if (width > tinfo->user.width)
sys/dev/ic/aic79xx_osm.c
458
width = tinfo->user.width;
sys/dev/ic/aic79xx_osm.c
459
ahd_set_width(ahd, &devinfo, width, AHD_TRANS_GOAL, FALSE);
sys/dev/ic/aic79xx_osm.c
510
if (tinfo->curr.width == MSG_EXT_WDTR_BUS_16_BIT)
sys/dev/ic/aic79xx_osm.c
608
(tinfo->goal.width != 0
sys/dev/ic/aic79xx_osm.c
856
|| tinfo->curr.width != tinfo->goal.width
sys/dev/ic/aic79xx_osm.c
866
if (tinfo->curr.width == MSG_EXT_WDTR_BUS_16_BIT)
sys/dev/ic/aic79xx_osm.h
479
ahd_pci_read_config(ahd_dev_softc_t pci, int reg, int width)
sys/dev/ic/aic79xx_osm.h
481
return (pci_read_config(pci, reg, width));
sys/dev/ic/aic79xx_osm.h
485
ahd_pci_write_config(ahd_dev_softc_t pci, int reg, uint32_t value, int width)
sys/dev/ic/aic79xx_osm.h
487
pci_write_config(pci, reg, value, width);
sys/dev/ic/aic79xxvar.h
770
uint8_t width; /* Bus width */
sys/dev/ic/aic7xxx.c
1671
if (transinfo->width == MSG_EXT_WDTR_BUS_8_BIT) {
sys/dev/ic/aic7xxx.c
1836
*bus_width = MIN(tinfo->user.width, *bus_width);
sys/dev/ic/aic7xxx.c
1838
*bus_width = MIN(tinfo->goal.width, *bus_width);
sys/dev/ic/aic7xxx.c
1864
tinfo->curr.width = AHC_WIDTH_UNKNOWN;
sys/dev/ic/aic7xxx.c
1869
|| tinfo->curr.width != tinfo->goal.width
sys/dev/ic/aic7xxx.c
1874
|| tinfo->goal.width != MSG_EXT_WDTR_BUS_8_BIT
sys/dev/ic/aic7xxx.c
2020
u_int width, u_int type, int paused)
sys/dev/ic/aic7xxx.c
2034
tinfo->user.width = width;
sys/dev/ic/aic7xxx.c
2037
tinfo->goal.width = width;
sys/dev/ic/aic7xxx.c
2039
oldwidth = tinfo->curr.width;
sys/dev/ic/aic7xxx.c
2040
if ((type & AHC_TRANS_CUR) != 0 && oldwidth != width) {
sys/dev/ic/aic7xxx.c
2046
if (width == MSG_EXT_WDTR_BUS_16_BIT)
sys/dev/ic/aic7xxx.c
2054
tinfo->curr.width = width;
sys/dev/ic/aic7xxx.c
2061
8 * (0x01 << width));
sys/dev/ic/aic7xxx.c
2389
dowide = tinfo->curr.width != tinfo->goal.width;
sys/dev/ic/aic7xxx.c
2399
dowide = tinfo->goal.width != MSG_EXT_WDTR_BUS_8_BIT;
sys/dev/ic/aic7xxx.c
2435
doppr ? tinfo->goal.width
sys/dev/ic/aic7xxx.c
2436
: tinfo->curr.width,
sys/dev/ic/aic7xxx.c
2440
tinfo->goal.width, ppr_options);
sys/dev/ic/aic7xxx.c
2445
ahc_construct_wdtr(ahc, devinfo, tinfo->goal.width);
sys/dev/ic/aic7xxx.c
4682
tinfo->user.width = MSG_EXT_WDTR_BUS_16_BIT;
sys/dev/ic/aic7xxx.c
4748
tinfo->user.width = MSG_EXT_WDTR_BUS_16_BIT;
sys/dev/ic/aic7xxx_osm.c
1133
|| tinfo->curr.width != tinfo->goal.width
sys/dev/ic/aic7xxx_osm.c
1141
if (tinfo->curr.width == MSG_EXT_WDTR_BUS_16_BIT)
sys/dev/ic/aic7xxx_osm.c
401
u_int width;
sys/dev/ic/aic7xxx_osm.c
429
width = tinfo->user.width;
sys/dev/ic/aic7xxx_osm.c
440
width = MSG_EXT_WDTR_BUS_16_BIT;
sys/dev/ic/aic7xxx_osm.c
442
width = MSG_EXT_WDTR_BUS_8_BIT;
sys/dev/ic/aic7xxx_osm.c
444
ahc_validate_width(ahc, NULL, &width, ROLE_UNKNOWN);
sys/dev/ic/aic7xxx_osm.c
445
if (width > tinfo->user.width)
sys/dev/ic/aic7xxx_osm.c
446
width = tinfo->user.width;
sys/dev/ic/aic7xxx_osm.c
447
ahc_set_width(ahc, &devinfo, width, AHC_TRANS_GOAL, FALSE);
sys/dev/ic/aic7xxx_osm.c
473
width, ROLE_UNKNOWN);
sys/dev/ic/aic7xxx_osm.c
500
if (tinfo->curr.width == MSG_EXT_WDTR_BUS_16_BIT)
sys/dev/ic/aic7xxx_osm.c
621
if ((xs->xs_control & XS_CTL_DISCOVERY) && (tinfo->goal.width == 0
sys/dev/ic/aic7xxx_osm.h
459
ahc_pci_read_config(ahc_dev_softc_t pci, int reg, int width)
sys/dev/ic/aic7xxx_osm.h
461
return (pci_read_config(pci, reg, width));
sys/dev/ic/aic7xxx_osm.h
465
ahc_pci_write_config(ahc_dev_softc_t pci, int reg, uint32_t value, int width)
sys/dev/ic/aic7xxx_osm.h
467
pci_write_config(pci, reg, value, width);
sys/dev/ic/aic7xxxvar.h
820
uint8_t width; /* Bus width */
sys/dev/ic/bt8xx.h
78
u_int width; /* Width of memory area */
sys/dev/ic/com.c
429
u_int regshift, u_int width)
sys/dev/ic/com.c
438
switch (width) {
sys/dev/ic/com.c
448
panic("com: unsupported I/O width %d", width);
sys/dev/ic/ct65550.c
197
int width, height, i, j;
sys/dev/ic/ct65550.c
210
width = height = -1;
sys/dev/ic/ct65550.c
213
width = chipsfb_read_indexed(sc, CT_FP_INDEX, FP_HSIZE_LSB);
sys/dev/ic/ct65550.c
214
width |= (chipsfb_read_indexed(sc, CT_FP_INDEX, FP_HORZ_OVERFLOW_1)
sys/dev/ic/ct65550.c
216
width = (width + 1) * 8;
sys/dev/ic/ct65550.c
221
if ((width < 640) || ( width > 1280) || (height < 480) ||
sys/dev/ic/ct65550.c
224
width = height = -1;
sys/dev/ic/ct65550.c
226
aprint_verbose("Panel size: %d x %d\n", width, height);
sys/dev/ic/ct65550.c
229
sc->sc_width = width;
sys/dev/ic/ct65550.c
452
int32_t xs, xd, y, width, height;
sys/dev/ic/ct65550.c
458
width = ri->ri_font->fontwidth * ncols;
sys/dev/ic/ct65550.c
460
chipsfb_bitblt(sc, xs, y, xd, y, width, height, ROP_COPY);
sys/dev/ic/ct65550.c
471
int32_t x, y, width, height, fg, bg, ul;
sys/dev/ic/ct65550.c
476
width = ri->ri_font->fontwidth * ncols;
sys/dev/ic/ct65550.c
480
chipsfb_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
sys/dev/ic/ct65550.c
490
int32_t x, ys, yd, width, height;
sys/dev/ic/ct65550.c
496
width = ri->ri_emuwidth;
sys/dev/ic/ct65550.c
498
chipsfb_bitblt(sc, x, ys, x, yd, width, height, ROP_COPY);
sys/dev/ic/ct65550.c
508
int32_t x, y, width, height, fg, bg, ul;
sys/dev/ic/ct65550.c
519
width = ri->ri_emuwidth;
sys/dev/ic/ct65550.c
521
chipsfb_rectfill(sc, x, y, width, height,
sys/dev/ic/ct65550.c
529
int width, int height, int rop)
sys/dev/ic/ct65550.c
543
src += width - 1;
sys/dev/ic/ct65550.c
544
dst += width - 1;
sys/dev/ic/ct65550.c
555
size = (height << 16) | width;
sys/dev/ic/ct65550.c
569
chipsfb_rectfill(struct chipsfb_softc *sc, int x, int y, int width,
sys/dev/ic/ct65550.c
580
size = (height << 16) | width;
sys/dev/ic/ct65550.c
749
chipsfb_setup_mono(struct chipsfb_softc *sc, int xd, int yd, int width,
sys/dev/ic/ct65550.c
760
size = (height << 16) | width;
sys/dev/ic/ct65550.c
860
wdf->width = ms->scr_ri.ri_width;
sys/dev/ic/dwc_mmc.c
436
dwc_mmc_bus_width(sdmmc_chipset_handle_t sch, int width)
sys/dev/ic/dwc_mmc.c
441
aprint_normal_dev(sc->sc_dev, "width = %d\n", width);
sys/dev/ic/dwc_mmc.c
444
switch (width) {
sys/dev/ic/dwc_mmc.c
458
sc->sc_mmc_width = width;
sys/dev/ic/i82365.c
1156
h->io[win].width * 8));
sys/dev/ic/i82365.c
1169
reg |= io_map_index[win].ioctlbits[h->io[win].width];
sys/dev/ic/i82365.c
1178
pcic_chip_io_map(pcmcia_chipset_handle_t pch, int width, bus_addr_t offset,
sys/dev/ic/i82365.c
1211
win, width_names[width], (u_long) ioaddr, (u_long) size));
sys/dev/ic/i82365.c
1222
h->io[win].width = width;
sys/dev/ic/i82365var.h
76
int width;
sys/dev/ic/igsfb.c
1029
u_int width, u_int height)
sys/dev/ic/igsfb.c
1046
for (i = 0; i < width; ++i) {
sys/dev/ic/igsfb.c
1054
ip += width;
sys/dev/ic/igsfb.c
1055
mp += width;
sys/dev/ic/igsfb.c
1209
uint16_t width, uint16_t height)
sys/dev/ic/igsfb.c
1218
toend = dc->dc_vd.active->scr_ri.ri_width * (height - 1) + (width - 1);
sys/dev/ic/igsfb.c
1229
bus_space_write_2(t, h, IGS_COP_WIDTH_REG, width - 1);
sys/dev/ic/igsfb.c
1245
uint16_t width, uint16_t height)
sys/dev/ic/igsfb.c
1255
bus_space_write_2(t, h, IGS_COP_WIDTH_REG, width - 1);
sys/dev/ic/igsfb.c
1275
uint16_t width, height;
sys/dev/ic/igsfb.c
1277
width = ri->ri_emuwidth;
sys/dev/ic/igsfb.c
1287
igsfb_accel_copy(dc, srp, dsp, width, height);
sys/dev/ic/igsfb.c
1298
uint16_t width, height;
sys/dev/ic/igsfb.c
1300
width = num * ri->ri_font->fontwidth;
sys/dev/ic/igsfb.c
1310
igsfb_accel_copy(dc, srp, dsp, width, height);
sys/dev/ic/igsfb.c
1322
uint16_t width, height;
sys/dev/ic/igsfb.c
1325
width = ri->ri_width;
sys/dev/ic/igsfb.c
1329
width = ri->ri_emuwidth;
sys/dev/ic/igsfb.c
1340
igsfb_accel_fill(dc, color, dsp, width, height);
sys/dev/ic/igsfb.c
1352
uint16_t width, height;
sys/dev/ic/igsfb.c
1354
width = num * ri->ri_font->fontwidth;
sys/dev/ic/igsfb.c
1366
igsfb_accel_fill(dc, color, dsp, width, height);
sys/dev/ic/igsfb.c
630
wsd_fbip->width = dc->dc_width;
sys/dev/ic/mb89352.c
1078
ti->width = 0;
sys/dev/ic/mb89352.c
1091
ti->width = 0;
sys/dev/ic/mb89352.c
1149
ti->width = sc->sc_imess[3];
sys/dev/ic/mb89352.c
1151
if (ti->width == 0) {
sys/dev/ic/mb89352.c
1152
} else if (ti->width > SPC_MAX_WIDTH) {
sys/dev/ic/mb89352.c
1153
ti->width = 0;
sys/dev/ic/mb89352.c
1158
1 << (3 + ti->width));
sys/dev/ic/mb89352.c
1309
sc->sc_omess[0] = ti->width;
sys/dev/ic/mb89352.c
1862
ti->width = 0;
sys/dev/ic/mb89352.c
443
ti->width = SPC_MAX_WIDTH;
sys/dev/ic/mb89352.c
445
ti->width = 0;
sys/dev/ic/mb89352var.h
116
uint8_t width; /* Width suggestion */
sys/dev/ic/ncr53c9x.c
1704
ti->width = 0;
sys/dev/ic/ncr53c9x.c
1818
ti->width = 0;
sys/dev/ic/ncr53c9x.c
1972
sc->sc_omess[3] = ti->width;
sys/dev/ic/ncr53c9x.c
956
ti->width = 1;
sys/dev/ic/ncr53c9x.c
996
if (ti->width)
sys/dev/ic/ncr53c9xvar.h
180
uint8_t width; /* width suggestion */
sys/dev/ic/ninjascsi32.c
787
njsc32_msgout_wdtr(struct njsc32_softc *sc, int width)
sys/dev/ic/ninjascsi32.c
793
njsc32_add_msgout(sc, width);
sys/dev/ic/pl181.c
356
plmmc_bus_width(sdmmc_chipset_handle_t sch, int width)
sys/dev/ic/rtsx.c
717
rtsx_set_bus_width(struct rtsx_softc *sc, int width)
sys/dev/ic/rtsx.c
721
DPRINTF(1,("%s: bus width=%d\n", DEVNAME(sc), width));
sys/dev/ic/rtsx.c
723
switch (width) {
sys/dev/ic/rtsx.c
919
rtsx_bus_width(sdmmc_chipset_handle_t sch, int width)
sys/dev/ic/rtsx.c
923
return rtsx_set_bus_width(sc, width);
sys/dev/ic/ssdfb.c
1312
int width = sc->sc_p->p_width;
sys/dev/ic/ssdfb.c
1314
int width_in_blocks = width / block_size_w;
sys/dev/ic/ssdfb.c
1326
x1 = width;
sys/dev/ic/ssdfb.c
1379
width * sc->sc_p->p_bits_per_pixel / 8,
sys/dev/ic/ssdfb.c
1387
int width = sc->sc_p->p_width;
sys/dev/ic/ssdfb.c
1398
x1 = width;
sys/dev/ic/ssdfb.c
1405
for (x = 0; x < width; x++) {
sys/dev/ic/ssdfb.c
1429
(uint8_t*)&blockp[y1 * width + x1],
sys/dev/ic/ssdfb.c
1430
width * sc->sc_p->p_bits_per_pixel / 8,
sys/dev/ic/ssdfb.c
489
.width = sc->sc_ri.ri_width,
sys/dev/ic/sti.c
1057
a.in.width = w;
sys/dev/ic/sti.c
1148
wdf->width = scr->scr_cfg.scr_width;
sys/dev/ic/sti.c
1301
col * fp->width, row * fp->height,
sys/dev/ic/sti.c
1302
col * fp->width, row * fp->height,
sys/dev/ic/sti.c
1303
fp->height, fp->width, bmf_invert);
sys/dev/ic/sti.c
1388
a.in.x = col * fp->width;
sys/dev/ic/sti.c
1411
fp->width + scr->scr_fontbase;
sys/dev/ic/sti.c
1414
a.in.dstx = col * fp->width;
sys/dev/ic/sti.c
1417
a.in.width = fp->width;
sys/dev/ic/sti.c
1430
srccol * fp->width, row * fp->height,
sys/dev/ic/sti.c
1431
dstcol * fp->width, row * fp->height,
sys/dev/ic/sti.c
1432
fp->height, ncols * fp->width, bmf_copy);
sys/dev/ic/sti.c
1442
startcol * fp->width, row * fp->height,
sys/dev/ic/sti.c
1443
startcol * fp->width, row * fp->height,
sys/dev/ic/sti.c
1444
fp->height, ncols * fp->width, bmf_clear);
sys/dev/ic/sti.c
544
if (cfg.owidth == cfg.width &&
sys/dev/ic/sti.c
550
cfg.fbwidth - cfg.width;
sys/dev/ic/sti.c
605
if (mon->width == scr->scr_cfg.scr_width &&
sys/dev/ic/sti.c
630
scr->scr_wsd.ncols = cfg.width / scr->scr_curfont.width;
sys/dev/ic/sti.c
633
scr->scr_wsd.fontwidth = scr->scr_curfont.width;
sys/dev/ic/sti.c
756
device_xname(sc->sc_dev), fp->width, fp->height,
sys/dev/ic/sti.c
862
fp->width = bus_space_read_1(memt, romh, addr + 0x13);
sys/dev/ic/sti.c
878
device_xname(scr->scr_rom->rom_softc->sc_dev), fp->width,
sys/dev/ic/sti.c
917
(cfg->fbwidth - cfg->width - cfg->owidth)) {
sys/dev/ic/sti.c
925
scr->scr_fontbase = cfg->width + cfg->owidth;
sys/dev/ic/sti.c
928
fp->width + scr->scr_fontbase;
sys/dev/ic/stireg.h
196
uint8_t width;
sys/dev/ic/stireg.h
211
uint8_t width;
sys/dev/ic/stireg.h
220
uint32_t width: 12;
sys/dev/ic/stireg.h
360
uint16_t width, height;
sys/dev/ic/stireg.h
473
uint16_t width, height, owidth, oheight, fbwidth, fbheight;
sys/dev/ic/tcic2.c
1027
h->io[win].width * 8));
sys/dev/ic/tcic2.c
1052
reg |= iotiny | tcic_iowidth_map[h->io[win].width];
sys/dev/ic/tcic2.c
1077
tcic_chip_io_map(pcmcia_chipset_handle_t pch, int width, bus_addr_t offset, bus_size_t size, struct pcmcia_io_handle *pcihp, int *windowp)
sys/dev/ic/tcic2.c
1108
win, width_names[width], (u_long) ioaddr, (u_long) size));
sys/dev/ic/tcic2.c
1119
h->io[win].width = width;
sys/dev/ic/tcic2var.h
74
int width;
sys/dev/ic/vga_raster.c
638
fbi->width = vm->hdisplay;
sys/dev/ic/w83l518d_sdmmc.c
298
wb_sdmmc_bus_width(sdmmc_chipset_handle_t sch, int width)
sys/dev/ic/w83l518d_sdmmc.c
302
REPORT(wb, "TRACE: sdmmc/bus_width(wb, width=%d)\n", width);
sys/dev/ic/w83l518d_sdmmc.c
304
if (width != 1 && width != 4)
sys/dev/ic/w83l518d_sdmmc.c
307
wb->wb_sdmmc_width = width;
sys/dev/isa/sbdsp.c
1312
int width;
sys/dev/isa/sbdsp.c
1317
width = param->precision;
sys/dev/isa/sbdsp.c
1330
if (width == 8) {
sys/dev/isa/sbdsp.c
1334
width, sc->sc_i.dmachan);
sys/dev/isa/sbdsp.c
1343
width, sc->sc_i.dmachan);
sys/dev/isa/sbdsp.c
1350
if ((sc->sc_model == SB_JAZZ) ? (sc->sc_i.dmachan > 3) : (width == 16))
sys/dev/isa/sbdsp.c
1451
int width;
sys/dev/isa/sbdsp.c
1456
width = param->precision;
sys/dev/isa/sbdsp.c
1469
if (width == 8) {
sys/dev/isa/sbdsp.c
1473
width, sc->sc_o.dmachan);
sys/dev/isa/sbdsp.c
1482
width, sc->sc_o.dmachan);
sys/dev/isa/sbdsp.c
1489
if ((sc->sc_model == SB_JAZZ) ? (sc->sc_o.dmachan > 3) : (width == 16))
sys/dev/marvell/mvsdio.c
475
mvsdio_bus_width(sdmmc_chipset_handle_t sch, int width)
sys/dev/marvell/mvsdio.c
480
switch (width) {
sys/dev/marvell/mvsdio.c
491
device_xname(sc->sc_dev), width));
sys/dev/nand/nand_micron.c
151
if (dp->width == 16)
sys/dev/nand/nand_micron.c
63
uint8_t width; /* bus width */
sys/dev/ofisa/ofisa.c
342
descp[i].width = of_decode_int(&bp[8]);
sys/dev/ofisa/ofisa.c
391
descp[i].drq, modestr, descp[i].width,
sys/dev/ofisa/ofisavar.h
68
int width; /* DMA width */
sys/dev/ofisa/sb_ofisa.c
148
switch (dma[n].width) {
sys/dev/ofisa/sb_ofisa.c
158
aprint_error(": weird DMA width %d\n", dma[n].width);
sys/dev/ofw/ofw_isa.h
121
uint32_t width;
sys/dev/pci/bktr/bktr_core.c
1063
bktr->video.width = 0;
sys/dev/pci/bktr/bktr_core.c
1500
video->width = bktr->video.width;
sys/dev/pci/bktr/bktr_core.c
1508
bktr->video.width = video->width;
sys/dev/pci/bktr/bktr_core.c
2590
static bool_t notclipped (bktr_reg_t * bktr, int x, int width) {
sys/dev/pci/bktr/bktr_core.c
2596
bktr->y2 = width;
sys/dev/pci/bktr/bktr_core.c
2597
bktr->line_length = width;
sys/dev/pci/bktr/bktr_core.c
2661
static bool_t split(bktr_reg_t * bktr, volatile u_int **dma_prog, int width ,
sys/dev/pci/bktr/bktr_core.c
2680
if ((width * pixel_width) < DMA_BT848_SPLIT) {
sys/dev/pci/bktr/bktr_core.c
2681
if (width == cols) {
sys/dev/pci/bktr/bktr_core.c
2697
(width * pixel_width - skip));
sys/dev/pci/bktr/bktr_core.c
2701
*target_buffer += width * pixel_width;
sys/dev/pci/bktr/bktr_core.c
2702
bktr->current_col += width;
sys/dev/pci/bktr/bktr_core.c
2706
if (bktr->current_col == 0 && width == cols) {
sys/dev/pci/bktr/bktr_core.c
2728
(width * pixel_width / 2 - skip));
sys/dev/pci/bktr/bktr_core.c
2731
*target_buffer += (width * pixel_width / 2);
sys/dev/pci/bktr/bktr_core.c
2736
(width * pixel_width / 2));
sys/dev/pci/bktr/bktr_core.c
2737
*target_buffer += (width * pixel_width / 2);
sys/dev/pci/bktr/bktr_core.c
2738
bktr->current_col += width;
sys/dev/pci/bktr/bktr_core.c
2752
volatile u_int target_buffer, buffer, target,width;
sys/dev/pci/bktr/bktr_core.c
2798
pitch = bktr->video.width;
sys/dev/pci/bktr/bktr_core.c
2830
width = cols;
sys/dev/pci/bktr/bktr_core.c
2833
if (notclipped(bktr, i, width)) {
sys/dev/pci/bktr/bktr_core.c
2888
width = cols;
sys/dev/pci/bktr/bktr_core.c
2891
if (notclipped(bktr, i, width)) {
sys/dev/pci/bktr/bktr_core.c
2935
volatile u_int target_buffer, buffer, target,width;
sys/dev/pci/bktr/bktr_core.c
2971
pitch = bktr->video.width;
sys/dev/pci/bktr/bktr_core.c
2985
width = cols;
sys/dev/pci/bktr/bktr_core.c
2988
if (notclipped(bktr, i, width)) {
sys/dev/pci/bktr/bktr_core.c
3054
width = cols;
sys/dev/pci/bktr/bktr_core.c
3057
if (notclipped(bktr, i, width)) {
sys/dev/pci/bochsfb.c
501
wsfbi->width = ms->scr_ri.ri_width;
sys/dev/pci/cxgb/cxgb_common.h
361
unsigned char width;
sys/dev/pci/cxgb/cxgb_common.h
452
unsigned int width; /* MC7 interface width */
sys/dev/pci/cxgb/cxgb_t3_hw.c
159
start *= (8 << mc7->width);
sys/dev/pci/cxgb/cxgb_t3_hw.c
164
for (i = (1 << mc7->width) - 1; i >= 0; --i) {
sys/dev/pci/cxgb/cxgb_t3_hw.c
179
if (mc7->width == 0) {
sys/dev/pci/cxgb/cxgb_t3_hw.c
184
if (mc7->width > 1)
sys/dev/pci/cxgb/cxgb_t3_hw.c
185
val >>= shift[mc7->width];
sys/dev/pci/cxgb/cxgb_t3_hw.c
186
val64 |= (u64)val << (step[mc7->width] * i);
sys/dev/pci/cxgb/cxgb_t3_hw.c
3268
unsigned int width, density, slow, attempts;
sys/dev/pci/cxgb/cxgb_t3_hw.c
3277
width = G_WIDTH(val);
sys/dev/pci/cxgb/cxgb_t3_hw.c
3347
(mc7->size << width) - 1);
sys/dev/pci/cxgb/cxgb_t3_hw.c
3400
log2_width = fls(adap->params.pci.width) - 1;
sys/dev/pci/cxgb/cxgb_t3_hw.c
3520
p->width = (val >> 4) & 0x3f;
sys/dev/pci/cxgb/cxgb_t3_hw.c
3526
p->width = (pcie_mode & F_64BIT) ? 64 : 32;
sys/dev/pci/cxgb/cxgb_t3_hw.c
3573
unsigned int width = G_WIDTH(cfg);
sys/dev/pci/cxgb/cxgb_t3_hw.c
3577
unsigned int MBs = ((256 << density) * banks) / (org << width);
sys/dev/pci/cxgb/cxgb_t3_hw.c
3592
mc7->width = G_WIDTH(cfg);
sys/dev/pci/esm.c
246
int width; /* 1/2/4 bytes */
sys/dev/pci/esm.c
275
switch(dump_regs[i].width) {
sys/dev/pci/gffb.c
1293
int width, int height, long attr)
sys/dev/pci/gffb.c
1297
gffb_rectfill(sc, dstx, dsty, width, height,
sys/dev/pci/gffb.c
1546
int32_t xs, xd, y, width, height;
sys/dev/pci/gffb.c
1552
width = ri->ri_font->fontwidth * ncols;
sys/dev/pci/gffb.c
1554
gffb_bitblt(sc, xs, y, xd, y, width, height, 0xcc);
sys/dev/pci/gffb.c
1564
int32_t x, y, width, height, fg, bg, ul;
sys/dev/pci/gffb.c
1569
width = ri->ri_font->fontwidth * ncols;
sys/dev/pci/gffb.c
1573
gffb_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
sys/dev/pci/gffb.c
1583
int32_t x, ys, yd, width, height;
sys/dev/pci/gffb.c
1589
width = ri->ri_emuwidth;
sys/dev/pci/gffb.c
1591
gffb_bitblt(sc, x, ys, x, yd, width, height, 0xcc);
sys/dev/pci/gffb.c
1601
int32_t x, y, width, height, fg, bg, ul;
sys/dev/pci/gffb.c
1608
width = sc->sc_width;
sys/dev/pci/gffb.c
1613
width = ri->ri_emuwidth;
sys/dev/pci/gffb.c
1618
gffb_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
sys/dev/pci/gffb.c
497
wdf->width = ms->scr_ri.ri_width;
sys/dev/pci/if_iwm.c
4447
cmd->ci.width = IWM_PHY_VHT_CHANNEL_MODE20;
sys/dev/pci/if_iwmreg.h
2995
uint8_t width;
sys/dev/pci/if_iwmreg.h
3011
uint8_t width;
sys/dev/pci/if_ixl.c
249
uint16_t width;
sys/dev/pci/if_ixl.c
5223
int width = pack->width;
sys/dev/pci/if_ixl.c
5231
width -= 8 - align;
sys/dev/pci/if_ixl.c
5234
while (width >= 8) {
sys/dev/pci/if_ixl.c
5239
width -= 8;
sys/dev/pci/if_ixl.c
5242
if (width > 0) {
sys/dev/pci/if_ixl.c
5244
*out |= (inbits & ((1 << width) - 1));
sys/dev/pci/igc/igc_hw.h
335
enum igc_bus_width width;
sys/dev/pci/igma/igmafb.c
230
wdf->width = ms->scr_ri.ri_width;
sys/dev/pci/ixgbe/ixgbe.c
2675
((hw->bus.width == ixgbe_bus_width_pcie_x8) ? "x8" :
sys/dev/pci/ixgbe/ixgbe.c
2676
(hw->bus.width == ixgbe_bus_width_pcie_x4) ? "x4" :
sys/dev/pci/ixgbe/ixgbe.c
2677
(hw->bus.width == ixgbe_bus_width_pcie_x1) ? "x1" :
sys/dev/pci/ixgbe/ixgbe.c
2682
((hw->bus.width <= ixgbe_bus_width_pcie_x4) &&
sys/dev/pci/ixgbe/ixgbe.c
2691
((hw->bus.width <= ixgbe_bus_width_pcie_x8) &&
sys/dev/pci/ixgbe/ixgbe_common.c
1020
hw->bus.width = ixgbe_bus_width_pcie_x1;
sys/dev/pci/ixgbe/ixgbe_common.c
1023
hw->bus.width = ixgbe_bus_width_pcie_x2;
sys/dev/pci/ixgbe/ixgbe_common.c
1026
hw->bus.width = ixgbe_bus_width_pcie_x4;
sys/dev/pci/ixgbe/ixgbe_common.c
1029
hw->bus.width = ixgbe_bus_width_pcie_x8;
sys/dev/pci/ixgbe/ixgbe_common.c
1032
hw->bus.width = ixgbe_bus_width_unknown;
sys/dev/pci/ixgbe/ixgbe_type.h
3875
enum ixgbe_bus_width width;
sys/dev/pci/ixgbe/ixgbe_x550.c
3895
hw->bus.width = ixgbe_bus_width_unknown;
sys/dev/pci/lynxfb.c
222
fb->width = lynxfb_default_width;
sys/dev/pci/lynxfb.c
227
fb->stride = fb->width * fb->depth / 8;
sys/dev/pci/lynxfb.c
301
if (!prop_dictionary_get_uint32(dict, "width", &fb->width))
sys/dev/pci/lynxfb.c
302
fb->width = lynxfb_default_width;
sys/dev/pci/lynxfb.c
309
fb->stride = fb->width * fb->depth / 8;
sys/dev/pci/lynxfb.c
325
aprint_normal_dev(self, "%d x %d, %d bpp, stride %d\n", fb->width,
sys/dev/pci/lynxfb.c
422
wdf->width = ms->scr_ri.ri_width;
sys/dev/pci/lynxfb.c
511
ri->ri_width = fb->width;
sys/dev/pci/lynxfb.c
528
fb->width / ri->ri_font->fontwidth);
sys/dev/pci/lynxfb.c
561
ri->ri_width = fb->width;
sys/dev/pci/lynxfb.c
97
int width, height, depth, stride;
sys/dev/pci/machfb.c
1748
int32_t xs, xd, y, width, height;
sys/dev/pci/machfb.c
1754
width = ri->ri_font->fontwidth * ncols;
sys/dev/pci/machfb.c
1756
mach64_bitblt(sc, xs, y, xd, y, width, height, MIX_SRC);
sys/dev/pci/machfb.c
1766
int32_t x, y, width, height, fg, bg, ul;
sys/dev/pci/machfb.c
1771
width = ri->ri_font->fontwidth * ncols;
sys/dev/pci/machfb.c
1775
mach64_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
sys/dev/pci/machfb.c
1785
int32_t x, ys, yd, width, height;
sys/dev/pci/machfb.c
1791
width = ri->ri_emuwidth;
sys/dev/pci/machfb.c
1793
mach64_bitblt(sc, x, ys, x, yd, width, height, MIX_SRC);
sys/dev/pci/machfb.c
1803
int32_t x, y, width, height, fg, bg, ul;
sys/dev/pci/machfb.c
1810
width = sc->virt_x;
sys/dev/pci/machfb.c
1815
width = ri->ri_emuwidth;
sys/dev/pci/machfb.c
1820
mach64_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
sys/dev/pci/machfb.c
1825
mach64_bitblt(void *cookie, int xs, int ys, int xd, int yd, int width,
sys/dev/pci/machfb.c
1853
xs += width - 1;
sys/dev/pci/machfb.c
1854
xd += width - 1;
sys/dev/pci/machfb.c
1860
regw(sc, SRC_WIDTH1, width);
sys/dev/pci/machfb.c
1862
regw(sc, DST_HEIGHT_WIDTH, (width << 16) | height);
sys/dev/pci/machfb.c
1866
mach64_setup_mono(struct mach64_softc *sc, int xd, int yd, int width,
sys/dev/pci/machfb.c
1881
regw(sc, SRC_WIDTH1, width);
sys/dev/pci/machfb.c
1883
regw(sc, DST_HEIGHT_WIDTH, (width << 16) | height);
sys/dev/pci/machfb.c
1912
mach64_rectfill(struct mach64_softc *sc, int x, int y, int width, int height,
sys/dev/pci/machfb.c
1925
regw(sc, SRC_WIDTH1, width);
sys/dev/pci/machfb.c
1927
regw(sc, DST_HEIGHT_WIDTH, (width << 16) | height);
sys/dev/pci/machfb.c
1975
wdf->width = sc->virt_x;
sys/dev/pci/machfb.c
424
int width = 1024, height = 768;
sys/dev/pci/machfb.c
516
prop_dictionary_get_uint32(device_properties(self), "width", &width);
sys/dev/pci/machfb.c
519
default_mode.hdisplay = width;
sys/dev/pci/machfb.c
672
mode = pick_mode_by_ref(width, height, 60);
sys/dev/pci/machfb.c
675
} else if ((width > 0) && (height > 0)) {
sys/dev/pci/machfb.c
676
default_mode.hdisplay = width;
sys/dev/pci/machfb.c
693
if ((width == sc->sc_my_mode->hdisplay) &&
sys/dev/pci/mgafb.c
2222
mgafb_cursor_setshape(struct mgafb_softc *sc, int width, int height)
sys/dev/pci/mgafb.c
2247
if (row < height && col < (width + 7) / 8) {
sys/dev/pci/mgafb.c
2248
int bits_in_byte = width - col * 8;
sys/dev/pci/mgafb.c
2429
wsfbi->width = ms->scr_ri.ri_width;
sys/dev/pci/mly.c
779
btl.mb_width = pdi->width;
sys/dev/pci/mlyreg.h
297
u_int8_t width;
sys/dev/pci/mlyreg.h
769
u_int8_t width;
sys/dev/pci/pccbb.c
2052
pccbb_pcmcia_io_map(pcmcia_chipset_handle_t pch, int width, bus_addr_t offset,
sys/dev/pci/pccbb.c
2087
win, width_names[width], (u_long) ioaddr, (u_long) size));
sys/dev/pci/pccbb.c
2099
ph->io[win].width = width;
sys/dev/pci/pccbb.c
2134
(unsigned long)ph->io[win].size, ph->io[win].width * 8));
sys/dev/pci/pccbb.c
2153
ioctl |= pcic_iowidth[ph->io[win].width];
sys/dev/pci/pccbb.c
2160
ioctl |= (pcic_iowidth[ph->io[win].width] << 4);
sys/dev/pci/pccbbvar.h
82
int width;
sys/dev/pci/pci.c
304
int ret, pin, bus, device, function, i, width;
sys/dev/pci/pci.c
344
for (bar = PCI_MAPREG_START; bar < endbar; bar += width) {
sys/dev/pci/pci.c
348
width = 4;
sys/dev/pci/pci.c
355
width = 8;
sys/dev/pci/pci_resource.c
445
u_int width = 4;
sys/dev/pci/pci_resource.c
470
width = 8;
sys/dev/pci/pci_resource.c
502
mapreg += width;
sys/dev/pci/pci_subr.c
1009
width = 8;
sys/dev/pci/pci_subr.c
1047
return width;
sys/dev/pci/pci_subr.c
1115
return width;
sys/dev/pci/pci_subr.c
4730
int off, width;
sys/dev/pci/pci_subr.c
4734
for (off = PCI_MAPREG_START; off < PCI_MAPREG_END; off += width) {
sys/dev/pci/pci_subr.c
4736
width = pci_conf_print_bar(pc, tag, regs, off, NULL);
sys/dev/pci/pci_subr.c
4738
width = pci_conf_print_bar(regs, off, NULL);
sys/dev/pci/pci_subr.c
4830
int off, width;
sys/dev/pci/pci_subr.c
4843
for (off = 0x10; off < 0x18; off += width) {
sys/dev/pci/pci_subr.c
4845
width = pci_conf_print_bar(pc, tag, regs, off, NULL);
sys/dev/pci/pci_subr.c
4847
width = pci_conf_print_bar(regs, off, NULL);
sys/dev/pci/pci_subr.c
982
int width;
sys/dev/pci/pci_subr.c
993
width = 4;
sys/dev/pci/pciconf.c
596
int br, width, reg_start, reg_end;
sys/dev/pci/pciconf.c
685
width = 4;
sys/dev/pci/pciconf.c
686
for (br = reg_start; br < reg_end; br += width) {
sys/dev/pci/pciconf.c
698
width = 4;
sys/dev/pci/pciconf.c
751
width = 8;
sys/dev/pci/pm2fb.c
1255
int32_t xs, xd, y, width, height;
sys/dev/pci/pm2fb.c
1261
width = ri->ri_font->fontwidth * ncols;
sys/dev/pci/pm2fb.c
1263
pm2fb_bitblt(sc, xs, y, xd, y, width, height, 3);
sys/dev/pci/pm2fb.c
1273
int32_t x, y, width, height, fg, bg, ul;
sys/dev/pci/pm2fb.c
1278
width = ri->ri_font->fontwidth * ncols;
sys/dev/pci/pm2fb.c
1282
pm2fb_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
sys/dev/pci/pm2fb.c
1292
int32_t x, ys, yd, width, height;
sys/dev/pci/pm2fb.c
1298
width = ri->ri_emuwidth;
sys/dev/pci/pm2fb.c
1300
pm2fb_bitblt(sc, x, ys, x, yd, width, height, 3);
sys/dev/pci/pm2fb.c
1310
int32_t x, y, width, height, fg, bg, ul;
sys/dev/pci/pm2fb.c
1315
width = ri->ri_emuwidth;
sys/dev/pci/pm2fb.c
1319
pm2fb_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
sys/dev/pci/pm2fb.c
513
wdf->width = ms->scr_ri.ri_width;
sys/dev/pci/pm3fb.c
1083
int32_t xs, xd, y, width, height;
sys/dev/pci/pm3fb.c
1089
width = ri->ri_font->fontwidth * ncols;
sys/dev/pci/pm3fb.c
1091
pm3fb_bitblt(sc, xs, y, xd, y, width, height, 3);
sys/dev/pci/pm3fb.c
1101
int32_t x, y, width, height, fg, bg, ul;
sys/dev/pci/pm3fb.c
1106
width = ri->ri_font->fontwidth * ncols;
sys/dev/pci/pm3fb.c
1110
pm3fb_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
sys/dev/pci/pm3fb.c
1120
int32_t x, ys, yd, width, height;
sys/dev/pci/pm3fb.c
1126
width = ri->ri_emuwidth;
sys/dev/pci/pm3fb.c
1128
pm3fb_bitblt(sc, x, ys, x, yd, width, height, 3);
sys/dev/pci/pm3fb.c
1138
int32_t x, y, width, height, fg, bg, ul;
sys/dev/pci/pm3fb.c
1144
width = sc->sc_width;
sys/dev/pci/pm3fb.c
1149
width = ri->ri_emuwidth;
sys/dev/pci/pm3fb.c
1154
pm3fb_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
sys/dev/pci/pm3fb.c
391
wdf->width = ms->scr_ri.ri_width;
sys/dev/pci/pm3fb.c
759
int width, int height, int rop)
sys/dev/pci/pm3fb.c
794
(((dsty + height) & 0x0fff) << 16) | ((dstx + width) & 0x0fff));
sys/dev/pci/pm3fb.c
805
(((height) & 0x0fff) << 16) | ((width + x_align) & 0x0fff));
sys/dev/pci/qat/qatreg.h
887
#define CRC_WIDTHMASK(width) ((((1L<<(width-1))-1L)<<1)|1L)
sys/dev/pci/r128fb.c
1055
int32_t xs, xd, y, width, height;
sys/dev/pci/r128fb.c
1061
width = ri->ri_font->fontwidth * ncols;
sys/dev/pci/r128fb.c
1063
r128fb_bitblt(sc, xs, y, xd, y, width, height, R128_ROP3_S);
sys/dev/pci/r128fb.c
1073
int32_t x, y, width, height, fg, bg, ul;
sys/dev/pci/r128fb.c
1078
width = ri->ri_font->fontwidth * ncols;
sys/dev/pci/r128fb.c
1082
r128fb_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
sys/dev/pci/r128fb.c
1092
int32_t x, ys, yd, width, height;
sys/dev/pci/r128fb.c
1098
width = ri->ri_emuwidth;
sys/dev/pci/r128fb.c
1100
r128fb_bitblt(sc, x, ys, x, yd, width, height, R128_ROP3_S);
sys/dev/pci/r128fb.c
1110
int32_t x, y, width, height, fg, bg, ul;
sys/dev/pci/r128fb.c
1115
width = ri->ri_emuwidth;
sys/dev/pci/r128fb.c
1119
r128fb_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
sys/dev/pci/r128fb.c
391
wdf->width = ms->scr_ri.ri_width;
sys/dev/pci/radeonfb.c
1201
fb->width = dp->rd_virtx;
sys/dev/pci/radeonfb.c
153
int width, int height, uint32_t color);
sys/dev/pci/radeonfb.c
156
int dstx, int dsty, int width, int height, int rop);
sys/dev/pci/radeonfb.c
3690
int width, int height, uint32_t color)
sys/dev/pci/radeonfb.c
3711
PUT32(sc, RADEON_DST_WIDTH_HEIGHT, (width << 16) | (height));
sys/dev/pci/radeonfb.c
3716
int width, int height, long attr)
sys/dev/pci/radeonfb.c
3720
radeonfb_rectfill(dp, dstx, dsty, width, height,
sys/dev/pci/radeonfb.c
3726
int dstx, int dsty, int width, int height, int rop)
sys/dev/pci/radeonfb.c
3743
srcx += width - 1;
sys/dev/pci/radeonfb.c
3744
dstx += width - 1;
sys/dev/pci/radeonfb.c
3762
PUT32(sc, RADEON_DST_WIDTH_HEIGHT, (width << 16) | (height));
sys/dev/pci/sdhc_pci.c
351
int width;
sys/dev/pci/sdhc_pci.c
419
reg += width, nslots--) {
sys/dev/pci/sdhc_pci.c
427
width = 8;
sys/dev/pci/sdhc_pci.c
429
width = 4;
sys/dev/pci/siisata_pci.c
272
short width;
sys/dev/pci/siisata_pci.c
276
width = (gcreg & GR_GC_REQ64) ? 64 : 32;
sys/dev/pci/siisata_pci.c
297
width, speed, pcix ? "-X" : "");
sys/dev/pci/sisfb.c
395
wdf->width = ri->ri_width;
sys/dev/pci/sisfb.c
540
uint width, height, bpp;
sys/dev/pci/sisfb.c
565
width = sisfb_crtc_read(fb, CRTC_HDISPLE);
sys/dev/pci/sisfb.c
568
width |= 1 << 8;
sys/dev/pci/sisfb.c
570
width |= 1 << 9;
sys/dev/pci/sisfb.c
571
width++;
sys/dev/pci/sisfb.c
572
width <<= 3;
sys/dev/pci/sisfb.c
575
printf("height %d width %d\n", height, width);
sys/dev/pci/sisfb.c
609
fb->fb_width = ri->ri_width = width;
sys/dev/pci/tdvfb.c
967
wsfbi->width = ms->scr_ri.ri_width;
sys/dev/pci/tga.c
1219
int fs, height, width;
sys/dev/pci/tga.c
1227
width = ri->ri_font->fontwidth;
sys/dev/pci/tga.c
1247
TGAWREG(dc, TGA_REG_GPXR_P, (1 << width) - 1);
sys/dev/pci/tga.c
542
wsd_fbip->width = sc->sc_dc->dc_wid;
sys/dev/pci/unichromefb.c
1273
uni_fillrect(struct unichromefb_softc *sc, int x, int y, int width,
sys/dev/pci/unichromefb.c
1287
(((height - 1) << 16) | (width - 1)));
sys/dev/pci/unichromefb.c
1295
uni_rectinvert(struct unichromefb_softc *sc, int x, int y, int width,
sys/dev/pci/unichromefb.c
1309
(((height - 1) << 16) | (width - 1)));
sys/dev/pci/unichromefb.c
1316
uni_bitblit(struct unichromefb_softc *sc, int xs, int ys, int xd, int yd, int width, int height)
sys/dev/pci/unichromefb.c
1329
xd += width - 1;
sys/dev/pci/unichromefb.c
1330
xs += width - 1;
sys/dev/pci/unichromefb.c
1343
MMIO_OUT32(VIA_REG_DIMENSION, ((height - 1) << 16) | (width - 1));
sys/dev/pci/unichromefb.c
1350
uni_setup_mono(struct unichromefb_softc *sc, int xd, int yd, int width, int height,
sys/dev/pci/unichromefb.c
1363
MMIO_OUT32(VIA_REG_DIMENSION, ((height - 1) << 16) | (width - 1));
sys/dev/pci/unichromefb.c
1406
int xs, xd, y, width, height;
sys/dev/pci/unichromefb.c
1416
width = ri->ri_font->fontwidth * ncols;
sys/dev/pci/unichromefb.c
1418
uni_bitblit(sc, xs, y, xd, y, width, height);
sys/dev/pci/unichromefb.c
1430
int x, ys, yd, width, height;
sys/dev/pci/unichromefb.c
1440
width = ri->ri_emuwidth;
sys/dev/pci/unichromefb.c
1442
uni_bitblit(sc, x, ys, x, yd, width, height);
sys/dev/pci/unichromefb.c
1454
int x, y, width, height, fg, bg, ul;
sys/dev/pci/unichromefb.c
1463
width = ri->ri_font->fontwidth * ncols;
sys/dev/pci/unichromefb.c
1466
uni_fillrect(sc, x, y, width, height, ri->ri_devcmap[bg]);
sys/dev/pci/unichromefb.c
1478
int x, y, width, height, fg, bg, ul;
sys/dev/pci/unichromefb.c
1493
width = ri->ri_emuwidth;
sys/dev/pci/unichromefb.c
1495
uni_fillrect(sc, x, y, width, height,
sys/dev/pci/unichromefb.c
439
fb->width = sc->sc_width;
sys/dev/pci/veritefb.c
1394
wsfbi->width = ms->scr_ri.ri_width;
sys/dev/pci/viogpu.c
634
sc->sc_fb_width = virtio_rw32(vsc, info.pmodes[0].r.width);
sys/dev/pci/viogpu.c
641
viogpu_create_2d(struct viogpu_softc *sc, uint32_t resource_id, uint32_t width,
sys/dev/pci/viogpu.c
651
res.width = virtio_rw32(vsc, width);
sys/dev/pci/viogpu.c
667
uint32_t resource_id, uint32_t width, uint32_t height)
sys/dev/pci/viogpu.c
676
ss.r.width = virtio_rw32(vsc, width);
sys/dev/pci/viogpu.c
728
uint32_t x, uint32_t y, uint32_t width,
sys/dev/pci/viogpu.c
738
tth.r.width = virtio_rw32(vsc, width);
sys/dev/pci/viogpu.c
751
uint32_t x, uint32_t y, uint32_t width, uint32_t height)
sys/dev/pci/viogpu.c
760
flush.r.width = virtio_rw32(vsc, width);
sys/dev/pci/viogpu.c
787
wdf->width = ri->ri_width;
sys/dev/pci/viogpu.h
166
__le32 width;
sys/dev/pci/viogpu.h
182
__le32 width;
sys/dev/pci/viogpu.h
268
__le32 width;
sys/dev/pci/viogpu.h
416
__le32 width;
sys/dev/pci/voodoofb.c
1004
width = ri->ri_emuwidth;
sys/dev/pci/voodoofb.c
1006
voodoofb_rectfill(sc, x, y, width, height,
sys/dev/pci/voodoofb.c
1014
int width, int height)
sys/dev/pci/voodoofb.c
1024
xs += (width - 1);
sys/dev/pci/voodoofb.c
1025
xd += (width - 1);
sys/dev/pci/voodoofb.c
1038
voodoo3_write32(sc, DSTSIZE, width | (height << 16));
sys/dev/pci/voodoofb.c
1045
voodoofb_rectfill(struct voodoofb_softc *sc, int x, int y, int width,
sys/dev/pci/voodoofb.c
1059
voodoo3_write32(sc, DSTSIZE, width | (height << 16));
sys/dev/pci/voodoofb.c
1064
voodoofb_rectinvert(struct voodoofb_softc *sc, int x, int y, int width,
sys/dev/pci/voodoofb.c
1078
voodoo3_write32(sc, DSTSIZE, width | (height << 16));
sys/dev/pci/voodoofb.c
1084
voodoofb_setup_mono(struct voodoofb_softc *sc, int xd, int yd, int width,
sys/dev/pci/voodoofb.c
1098
voodoo3_write32(sc, DSTSIZE, width | (height << 16));
sys/dev/pci/voodoofb.c
1159
wdf->width = ms->scr_ri.ri_width;
sys/dev/pci/voodoofb.c
363
int console, width, height, i;
sys/dev/pci/voodoofb.c
409
width = height = -1;
sys/dev/pci/voodoofb.c
412
if (!prop_dictionary_get_uint32(dict, "width", &width)) {
sys/dev/pci/voodoofb.c
424
linebytes = width; /* XXX */
sys/dev/pci/voodoofb.c
426
if (width == -1 || height == -1)
sys/dev/pci/voodoofb.c
429
sc->sc_width = width;
sys/dev/pci/voodoofb.c
441
sc->sc_videomode = pick_mode_by_ref(width, height, 60);
sys/dev/pci/voodoofb.c
937
int32_t xs, xd, y, width, height;
sys/dev/pci/voodoofb.c
943
width = ri->ri_font->fontwidth * ncols;
sys/dev/pci/voodoofb.c
945
voodoofb_bitblt(sc, xs, y, xd, y, width, height);
sys/dev/pci/voodoofb.c
956
int32_t x, y, width, height, fg, bg, ul;
sys/dev/pci/voodoofb.c
961
width = ri->ri_font->fontwidth * ncols;
sys/dev/pci/voodoofb.c
965
voodoofb_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
sys/dev/pci/voodoofb.c
975
int32_t x, ys, yd, width, height;
sys/dev/pci/voodoofb.c
981
width = ri->ri_emuwidth;
sys/dev/pci/voodoofb.c
983
voodoofb_bitblt(sc, x, ys, x, yd, width, height);
sys/dev/pci/voodoofb.c
993
int32_t x, y, width, height, fg, bg, ul;
sys/dev/pci/voyager/voyagerfb.c
1623
int32_t xs, xd, y, width, height;
sys/dev/pci/voyager/voyagerfb.c
1629
width = ri->ri_font->fontwidth * ncols;
sys/dev/pci/voyager/voyagerfb.c
1631
voyagerfb_bitblt(sc, xs, y, xd, y, width, height, ROP_COPY);
sys/dev/pci/voyager/voyagerfb.c
1642
int32_t x, y, width, height, fg, bg, ul;
sys/dev/pci/voyager/voyagerfb.c
1647
width = ri->ri_font->fontwidth * ncols;
sys/dev/pci/voyager/voyagerfb.c
1651
voyagerfb_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
sys/dev/pci/voyager/voyagerfb.c
1661
int32_t x, ys, yd, width, height;
sys/dev/pci/voyager/voyagerfb.c
1668
width = ri->ri_emuwidth;
sys/dev/pci/voyager/voyagerfb.c
1679
voyagerfb_bitblt(sc, x, ys, x, yd, width,
sys/dev/pci/voyager/voyagerfb.c
1685
voyagerfb_bitblt(sc, x, ys, x, yd, width, height,
sys/dev/pci/voyager/voyagerfb.c
1696
int32_t x, y, width, height, fg, bg, ul;
sys/dev/pci/voyager/voyagerfb.c
1701
width = ri->ri_emuwidth;
sys/dev/pci/voyager/voyagerfb.c
1705
voyagerfb_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
sys/dev/pci/voyager/voyagerfb.c
831
wdf->width = ms->scr_ri.ri_width;
sys/dev/pci/wcfb.c
909
int32_t xs, xd, y, width, height;
sys/dev/pci/wcfb.c
915
width = ri->ri_font->fontwidth * ncols;
sys/dev/pci/wcfb.c
917
wcfb_bitblt(sc, xs, y, xd, y, width, height, WC_ROP_COPY);
sys/dev/pci/wcfb.c
928
int32_t x, y, width, height, fg, bg, ul;
sys/dev/pci/wcfb.c
933
width = ri->ri_font->fontwidth * ncols;
sys/dev/pci/wcfb.c
937
wcfb_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
sys/dev/pci/wcfb.c
947
int32_t x, ys, yd, width, height;
sys/dev/pci/wcfb.c
953
width = ri->ri_emuwidth;
sys/dev/pci/wcfb.c
955
wcfb_bitblt(sc, x, ys, x, yd, width, height, WC_ROP_COPY);
sys/dev/pci/wcfb.c
965
int32_t x, y, width, height, fg, bg, ul;
sys/dev/pci/wcfb.c
970
width = ri->ri_emuwidth;
sys/dev/pci/wcfb.c
974
wcfb_rectfill(sc, x, y, width, height, ri->ri_devcmap[bg]);
sys/dev/pcmcia/pcmcia.c
667
pcmcia_io_map(struct pcmcia_function *pf, int width, struct pcmcia_io_handle *pcihp, int *windowp)
sys/dev/pcmcia/pcmcia.c
676
width, 0, pcihp->size, pcihp, windowp);
sys/dev/pcmcia/pcmcia.c
824
int width;
sys/dev/pcmcia/pcmcia.c
827
width = PCMCIA_WIDTH_AUTO;
sys/dev/pcmcia/pcmcia.c
829
width = PCMCIA_WIDTH_IO8;
sys/dev/pcmcia/pcmcia.c
830
error = pcmcia_io_map(pf, width, &cfe->iospace[n].handle,
sys/dev/pcmcia/pcmcia.c
843
int width;
sys/dev/pcmcia/pcmcia.c
849
width = PCMCIA_WIDTH_MEM8|PCMCIA_MEM_COMMON;
sys/dev/pcmcia/pcmcia.c
850
error = pcmcia_mem_map(pf, width, 0, length,
sys/dev/pcmcia/pcmciachip.h
119
#define pcmcia_chip_io_map(tag, handle, width, card_addr, size, pcihp, \
sys/dev/pcmcia/pcmciachip.h
121
((*(tag)->io_map)((handle), (width), (card_addr), (size), (pcihp), \
sys/dev/rasops/rasops1-4_putchar.h
112
width = font->fontwidth << PIXEL_SHIFT;
sys/dev/rasops/rasops1-4_putchar.h
113
col *= width;
sys/dev/rasops/rasops1-4_putchar.h
135
if (col + width <= 32) {
sys/dev/rasops/rasops1-4_putchar.h
137
rmask = rasops_pmask[col][width & 31];
sys/dev/rasops/rasops1-4_putchar.h
162
for (bit = col; bit < col + width;
sys/dev/rasops/rasops1-4_putchar.h
200
rmask = ~rasops_rmask[(col + width) & 31];
sys/dev/rasops/rasops1-4_putchar.h
203
width -= 32 - col;
sys/dev/rasops/rasops1-4_putchar.h
205
full = width / 32;
sys/dev/rasops/rasops1-4_putchar.h
206
width -= full * 32;
sys/dev/rasops/rasops1-4_putchar.h
263
for (bit = 0; bit < width; bit += PIXEL_BITS)
sys/dev/rasops/rasops1-4_putchar.h
91
int height, width, full, cnt, bit;
sys/dev/rasops/rasops1.c
117
width = font->fontwidth;
sys/dev/rasops/rasops1.c
118
col *= width;
sys/dev/rasops/rasops1.c
140
if (col + width <= 32) {
sys/dev/rasops/rasops1.c
142
rmask = rasops_pmask[col][width & 31];
sys/dev/rasops/rasops1.c
196
rmask = ~rasops_rmask[(col + width) & 31];
sys/dev/rasops/rasops1.c
218
width = 32 - col;
sys/dev/rasops/rasops1.c
230
tmp1 |= (MBE(fb << width) & ~rmask);
sys/dev/rasops/rasops1.c
96
int height, width;
sys/dev/rasops/rasops1_putchar_width.h
55
#define NAME(width) NAME1(width)
sys/dev/rasops/rasops1_putchar_width.h
56
#define NAME1(width) rasops1_putchar ## width
sys/dev/rasops/rasops_bitops.h
149
int row, col, height, width, cnt;
sys/dev/rasops/rasops_bitops.h
159
width = ri->ri_font->fontwidth << PIXEL_SHIFT;
sys/dev/rasops/rasops_bitops.h
169
if (col + width <= 32) {
sys/dev/rasops/rasops_bitops.h
170
lmask = rasops_pmask[col][width & 31];
sys/dev/rasops/rasops_bitops.h
183
rmask = ~rasops_lmask[(col + width) & 31];
sys/dev/rasops/rasops_bitops.h
186
width = (width - (32 - col)) >> 5;
sys/dev/rasops/rasops_bitops.h
188
width = width >> 5;
sys/dev/rasops/rasops_bitops.h
196
for (cnt = width; cnt; cnt--) {
sys/dev/rasops/rasops_bitops.h
205
memcpy(hp, rp, ((lmask != -1) + width +
sys/dev/rasops/rasops_bitops.h
222
int height, width, lnum, rnum, sb, db, full, cnt, sboff;
sys/dev/rasops/rasops_bitops.h
258
width = ri->ri_font->fontwidth << PIXEL_SHIFT;
sys/dev/rasops/rasops_bitops.h
262
src *= width;
sys/dev/rasops/rasops_bitops.h
263
dst *= width;
sys/dev/rasops/rasops_bitops.h
264
num *= width;
sys/dev/rasops/rasops_putchar.h
102
int height, width, cnt;
sys/dev/rasops/rasops_putchar.h
122
width = font->fontwidth;
sys/dev/rasops/rasops_putchar.h
134
for (cnt = width; cnt; cnt--)
sys/dev/rasops/rasops_putchar.h
137
uint16_t bytes = width * PIXEL_BYTES;
sys/dev/rasops/rasops_putchar.h
181
for (cnt = width; cnt; cnt--) {
sys/dev/rasops/rasops_putchar.h
186
for (cnt = width; cnt; cnt--) {
sys/dev/rasops/rasops_putchar.h
198
uint16_t bytes = width * PIXEL_BYTES;
sys/dev/rasops/rasops_putchar.h
217
for (cnt = width; cnt; cnt--)
sys/dev/rasops/rasops_putchar.h
221
uint16_t bytes = width * PIXEL_BYTES;
sys/dev/rasops/rasops_putchar_width.h
193
#define NAME(depth, width) NAME1(depth, width)
sys/dev/rasops/rasops_putchar_width.h
194
#define NAME1(depth, width) rasops ## depth ## _putchar ## width
sys/dev/rcons/raster.h
114
int width, height, ascent; /* nominal character size */
sys/dev/rcons/raster.h
179
extern struct raster* raster_alloc ARGS(( int width, int height, int depth ));
sys/dev/rcons/raster.h
191
extern struct raster* raster_subregion ARGS(( struct raster* r, int x, int y, int width, int height ));
sys/dev/rcons/raster.h
83
int width, height; /* size in pixels */
sys/dev/rcons/raster_op.c
1038
if ( op == RAS_SRC && src->width == w && dst->width == w &&
sys/dev/rcons/raster_op.c
1111
if ( op == RAS_CLEAR && dst->width == w && dst->linelongs == w >> 5 )
sys/dev/rcons/raster_op.c
1207
if ( op == RAS_CLEAR && dst->width == w && dst->linelongs == w >> 4 )
sys/dev/rcons/raster_op.c
1314
if ( op == RAS_CLEAR && dst->width == w && dst->linelongs == w >> 3 )
sys/dev/rcons/raster_op.c
1419
if ( op == RAS_CLEAR && dst->width == w && dst->linelongs == w >> 2 )
sys/dev/rcons/raster_op.c
1524
if ( op == RAS_CLEAR && dst->width == w && dst->linelongs == w >> 1 )
sys/dev/rcons/raster_op.c
581
if ( sx + w > src->width )
sys/dev/rcons/raster_op.c
582
w = src->width - sx;
sys/dev/rcons/raster_op.c
599
if ( dx + w > dst->width )
sys/dev/rcons/raster_op.c
600
w = dst->width - dx;
sys/dev/rcons/raster_op.c
625
if ( dx + w > dst->width )
sys/dev/rcons/raster_op.c
626
w = dst->width - dx;
sys/dev/rcons/raster_op.c
663
if ( op == RAS_SRC && src->width == w && dst->width == w &&
sys/dev/rcons/raster_text.c
104
x + c->homex + n * c->nextx > r->width ||
sys/dev/rcons/raster_text.c
120
x1 + c->homex + charrast->width > r->width ||
sys/dev/rcons/raster_text.c
179
cr, 0, 0, charrast->width,
sys/dev/rcons/raster_text.c
191
charrast->width, charrast->height, 8 );
sys/dev/rcons/raster_text.c
194
cr, 0, 0, charrast->width, charrast->height,
sys/dev/rcons/raster_text.c
208
r, thisx, thisy, charrast->width, charrast->height,
sys/dev/rcons/raster_text.c
215
r, thisx, thisy, charrast->width, charrast->height,
sys/dev/rcons/raster_text.c
229
int width,
sys/dev/rcons/raster_text.c
236
if ( width <= 0 || height <= 0 || ( depth != 1 && depth != 8 ) )
sys/dev/rcons/raster_text.c
238
linelongs = ( ( width * depth + 31 ) >> 5 );
sys/dev/rcons/raster_text.c
244
r->width = width;
sys/dev/sbus/agten.c
409
wdf->width = ms->scr_ri.ri_width;
sys/dev/sbus/agten.c
848
int32_t xs, xd, y, width, height;
sys/dev/sbus/agten.c
853
width = ri->ri_font->fontwidth * ncols;
sys/dev/sbus/agten.c
855
i128_bitblt(sc->sc_bustag, sc->sc_i128_regh, xs, y, xd, y, width,
sys/dev/sbus/agten.c
865
int32_t x, y, width, height, bg;
sys/dev/sbus/agten.c
869
width = ri->ri_font->fontwidth * ncols;
sys/dev/sbus/agten.c
872
i128_rectfill(sc->sc_bustag, sc->sc_i128_regh, x, y, width, height, bg);
sys/dev/sbus/agten.c
881
int32_t x, ys, yd, width, height;
sys/dev/sbus/agten.c
886
width = ri->ri_emuwidth;
sys/dev/sbus/agten.c
888
i128_bitblt(sc->sc_bustag, sc->sc_i128_regh, x, ys, x, yd, width,
sys/dev/sbus/agten.c
898
int32_t x, y, width, height, bg;
sys/dev/sbus/agten.c
902
width = ri->ri_width;
sys/dev/sbus/agten.c
907
width = ri->ri_emuwidth;
sys/dev/sbus/agten.c
911
i128_rectfill(sc->sc_bustag, sc->sc_i128_regh, x, y, width, height, bg);
sys/dev/sbus/cgtwelve.c
516
wdf->width = sc->sc_width;
sys/dev/sbus/mgx.c
1007
wdf->width = sc->sc_width;
sys/dev/sbus/mgx.c
860
int32_t xs, xd, y, width, height;
sys/dev/sbus/mgx.c
865
width = ri->ri_font->fontwidth * ncols;
sys/dev/sbus/mgx.c
867
mgx_bitblt(sc, xs, y, xd, y, width, height, ROP_SRC);
sys/dev/sbus/mgx.c
876
int32_t x, y, width, height, bg;
sys/dev/sbus/mgx.c
880
width = ri->ri_font->fontwidth * ncols;
sys/dev/sbus/mgx.c
883
mgx_rectfill(sc, x, y, width, height, bg);
sys/dev/sbus/mgx.c
892
int32_t x, ys, yd, width, height;
sys/dev/sbus/mgx.c
897
width = ri->ri_emuwidth;
sys/dev/sbus/mgx.c
899
mgx_bitblt(sc, x, ys, x, yd, width, height, ROP_SRC);
sys/dev/sbus/mgx.c
908
int32_t x, y, width, height, bg;
sys/dev/sbus/mgx.c
912
width = ri->ri_width;
sys/dev/sbus/mgx.c
917
width = ri->ri_emuwidth;
sys/dev/sbus/mgx.c
921
mgx_rectfill(sc, x, y, width, height, bg);
sys/dev/sbus/p9100.c
1289
wdf->width = ms->scr_ri.ri_width;
sys/dev/sbus/p9100.c
1462
int32_t xs, xd, y, width, height;
sys/dev/sbus/p9100.c
1467
width = ri->ri_font->fontwidth * ncols;
sys/dev/sbus/p9100.c
1469
p9100_bitblt(scr->scr_cookie, xs, y, xd, y, width, height, ROP_SRC);
sys/dev/sbus/p9100.c
1477
int32_t x, y, width, height, bg;
sys/dev/sbus/p9100.c
1481
width = ri->ri_font->fontwidth * ncols;
sys/dev/sbus/p9100.c
1484
p9100_rectfill(scr->scr_cookie, x, y, width, height, bg);
sys/dev/sbus/p9100.c
1492
int32_t x, ys, yd, width, height;
sys/dev/sbus/p9100.c
1497
width = ri->ri_emuwidth;
sys/dev/sbus/p9100.c
1499
p9100_bitblt(scr->scr_cookie, x, ys, x, yd, width, height, ROP_SRC);
sys/dev/sbus/p9100.c
1507
int32_t x, y, width, height, bg;
sys/dev/sbus/p9100.c
1511
width = ri->ri_width;
sys/dev/sbus/p9100.c
1516
width = ri->ri_emuwidth;
sys/dev/sbus/p9100.c
1520
p9100_rectfill(scr->scr_cookie, x, y, width, height, bg);
sys/dev/sbus/stp4020.c
879
stp4020_chip_io_map(pcmcia_chipset_handle_t pch, int width, bus_addr_t offset, bus_size_t size, struct pcmcia_io_handle *pcihp, int *windowp)
sys/dev/sbus/tcx.c
752
wdf->width = ms->scr_ri.ri_width;
sys/dev/sbus/zx.c
1063
wdf->width = ri->ri_width;
sys/dev/sbus/zx.c
207
int isconsole, width, height;
sys/dev/sbus/zx.c
268
width = prom_getpropint(sa->sa_node, "width", 1280);
sys/dev/sbus/zx.c
270
fb_setsize_obp(fb, 32, width, height, sa->sa_node);
sys/dev/sbus/zx.c
311
zx_fillrect(sc, 0, 0, width, height,
sys/dev/sbus/zx.c
922
int32_t x, y, width, height, bg;
sys/dev/sbus/zx.c
926
width = ri->ri_font->fontwidth * ncols;
sys/dev/sbus/zx.c
929
zx_fillrect(sc, x, y, width, height, bg, ZX_STD_ROP);
sys/dev/sbus/zx.c
938
int32_t x, y, width, height, bg;
sys/dev/sbus/zx.c
942
width = ri->ri_width;
sys/dev/sbus/zx.c
947
width = ri->ri_emuwidth;
sys/dev/sbus/zx.c
951
zx_fillrect(sc, x, y, width, height, bg, ZX_STD_ROP);
sys/dev/sbus/zx.c
960
int32_t x, ys, yd, width, height;
sys/dev/sbus/zx.c
965
width = ri->ri_emuwidth;
sys/dev/sbus/zx.c
967
zx_copyrect(sc, x, ys, x, yd, width, height);
sys/dev/sbus/zx.c
976
int32_t xs, xd, y, width, height;
sys/dev/sbus/zx.c
981
width = ri->ri_font->fontwidth * ncols;
sys/dev/sbus/zx.c
983
zx_copyrect(sc, xs, y, xd, y, width, height);
sys/dev/scsipi/scsi_scanner.h
79
u_int8_t width[4];
sys/dev/sdmmc/ld_sdmmc.c
330
aprint_normal_dev(ld->sc_dv, "%d-bit width,", sc->sc_sf->width);
sys/dev/sdmmc/sdhc.c
1302
sdhc_bus_width(sdmmc_chipset_handle_t sch, int width)
sys/dev/sdmmc/sdhc.c
1307
switch (width) {
sys/dev/sdmmc/sdhc.c
1318
HDEVNAME(hp), width));
sys/dev/sdmmc/sdhc.c
1323
const int error = hp->sc->sc_vendor_bus_width(hp->sc, width);
sys/dev/sdmmc/sdhc.c
1333
if (width == 4)
sys/dev/sdmmc/sdhc.c
1335
else if (width == 8)
sys/dev/sdmmc/sdhc.c
1342
if (width == 4) {
sys/dev/sdmmc/sdhc.c
1344
} else if (width == 8 && hp->specver >= SDHC_SPEC_VERS_300) {
sys/dev/sdmmc/sdmmc.c
695
sf->width = 1;
sys/dev/sdmmc/sdmmc_io.c
204
sf->width = 4;
sys/dev/sdmmc/sdmmc_io.c
206
sf->width);
sys/dev/sdmmc/sdmmc_io.c
244
aprint_normal_dev(sc->sc_dev, "%u-bit width,", sf->width);
sys/dev/sdmmc/sdmmc_mem.c
1014
width = 8;
sys/dev/sdmmc/sdmmc_mem.c
1017
width = 4;
sys/dev/sdmmc/sdmmc_mem.c
1020
width = 1;
sys/dev/sdmmc/sdmmc_mem.c
1024
if (width != 1) {
sys/dev/sdmmc/sdmmc_mem.c
1029
sc->sc_sch, width);
sys/dev/sdmmc/sdmmc_mem.c
1032
" (%d bit)\n", SDMMCDEVNAME(sc), width));
sys/dev/sdmmc/sdmmc_mem.c
1039
sf->width = width;
sys/dev/sdmmc/sdmmc_mem.c
1098
width > 1) {
sys/dev/sdmmc/sdmmc_mem.c
1101
(width == 8) ? EXT_CSD_BUS_WIDTH_8_DDR :
sys/dev/sdmmc/sdmmc_mem.c
1105
" (%d bit)\n", SDMMCDEVNAME(sc), width));
sys/dev/sdmmc/sdmmc_mem.c
1823
sdmmc_set_bus_width(struct sdmmc_function *sf, int width)
sys/dev/sdmmc/sdmmc_mem.c
1836
switch (width) {
sys/dev/sdmmc/sdmmc_mem.c
1851
error = sdmmc_chip_bus_width(sc->sc_sct, sc->sc_sch, width);
sys/dev/sdmmc/sdmmc_mem.c
834
sf->width = 4;
sys/dev/sdmmc/sdmmc_mem.c
963
int width, value, hs_timing, bus_clock, error;
sys/dev/sdmmc/sdmmcchip.h
89
#define sdmmc_chip_bus_width(tag, handle, width) \
sys/dev/sdmmc/sdmmcchip.h
90
((tag)->bus_width((handle), (width)))
sys/dev/sdmmc/sdmmcchip.h
91
#define sdmmc_chip_bus_rod(tag, handle, width) \
sys/dev/sdmmc/sdmmcchip.h
92
((tag)->bus_rod((handle), (width)))
sys/dev/sdmmc/sdmmcvar.h
203
int width; /* bus width */
sys/dev/smbiosvar.h
255
uint8_t width;
sys/dev/splash/splash.c
180
int xoff, yoff, width, height, comp;
sys/dev/splash/splash.c
189
splash_image.datalen, &width, &height, &comp, STBI_rgb);
sys/dev/splash/splash.c
196
__func__, width, height, comp);
sys/dev/splash/splash.c
198
if ((width > si->si_width) || (height > si->si_height)) {
sys/dev/splash/splash.c
201
width, height, si->si_width, si->si_height);
sys/dev/splash/splash.c
208
xoff = (si->si_width - width) / 2;
sys/dev/splash/splash.c
216
splash_render8(si, data, xoff, yoff, width, height, flg);
sys/dev/splash/splash.c
221
splash_render16(si, data, xoff, yoff, width, height, flg);
sys/dev/splash/splash.c
226
splash_render32(si, data, xoff, yoff, width, height, flg);
sys/dev/stbi/stb_image.c
3296
int psize=0,i,j,compress=0,width;
sys/dev/stbi/stb_image.c
3391
if (bpp == 4) width = (s->img_x + 1) >> 1;
sys/dev/stbi/stb_image.c
3392
else if (bpp == 8) width = s->img_x;
sys/dev/stbi/stb_image.c
3394
pad = (-width)&3;
sys/dev/stbi/stb_image.c
3420
if (bpp == 24) width = 3 * s->img_x;
sys/dev/stbi/stb_image.c
3421
else if (bpp == 16) width = 2*s->img_x;
sys/dev/stbi/stb_image.c
3422
else /* bpp = 32 and pad = 0 */ width=0;
sys/dev/stbi/stb_image.c
3423
pad = (-width) & 3;
sys/dev/stbi/stb_image.c
4126
static stbi_uc *pic_load2(stbi *s,int width,int height,int *comp, stbi_uc *result)
sys/dev/stbi/stb_image.c
4159
stbi_uc *dest = result+y*width*4;
sys/dev/stbi/stb_image.c
4168
for(x=0;x<width;++x, dest+=4)
sys/dev/stbi/stb_image.c
4176
int left=width, i;
sys/dev/stbi/stb_image.c
4197
int left=width;
sys/dev/stbi/stb_image.c
4832
int width, height;
sys/dev/stbi/stb_image.c
4862
width = strtol(token, NULL, 10);
sys/dev/stbi/stb_image.c
4864
*x = width;
sys/dev/stbi/stb_image.c
4871
hdr_data = MALLOC(height * width * req_comp * sizeof(float));
sys/dev/stbi/stb_image.c
4875
if ( width < 8 || width >= 32768) {
sys/dev/stbi/stb_image.c
4878
for (i=0; i < width; ++i) {
sys/dev/stbi/stb_image.c
4882
hdr_convert(hdr_data + j * width * req_comp + i * req_comp, rgbe, req_comp);
sys/dev/stbi/stb_image.c
4909
if (len != width) { FREE(hdr_data); FREE(scanline); return epf("invalid decoded scanline length", "corrupt HDR"); }
sys/dev/stbi/stb_image.c
4910
if (scanline == NULL) scanline = MALLOC(width * 4);
sys/dev/stbi/stb_image.c
4914
while (i < width) {
sys/dev/stbi/stb_image.c
4929
for (i=0; i < width; ++i)
sys/dev/stbi/stb_image.c
4930
hdr_convert(hdr_data+(j*width + i)*req_comp, scanline + i*4, req_comp);
sys/dev/sun/bwtwo.c
414
wdf->width = ri->ri_width;
sys/dev/sun/cgsix.c
1118
wdf->width = sc->sc_width;
sys/dev/sun/cgthree.c
437
wdf->width = ri->ri_width;
sys/dev/sun/pfour_subr.c
103
width = 1440;
sys/dev/sun/pfour_subr.c
108
width = 640;
sys/dev/sun/pfour_subr.c
121
fb->fb_type.fb_width = width;
sys/dev/sun/pfour_subr.c
53
int width, height;
sys/dev/sun/pfour_subr.c
83
width = 1152;
sys/dev/sun/pfour_subr.c
88
width = 1024;
sys/dev/sun/pfour_subr.c
93
width = 1280;
sys/dev/sun/pfour_subr.c
98
width = 1600;
sys/dev/tc/cfb.c
374
wsd_fbip->width = ri->ri_width;
sys/dev/tc/mfb.c
338
wsd_fbip->width = ri->ri_width;
sys/dev/tc/sfb.c
1001
int scanspan, height, width, aligns, alignd, shift, w, y;
sys/dev/tc/sfb.c
1043
width = alignd + w;
sys/dev/tc/sfb.c
1045
rmaskd = SFBCOPYALL1 >> (-width & SFBCOPYBITMASK);
sys/dev/tc/sfb.c
1050
w = width;
sys/dev/tc/sfb.c
1056
width -= 2 * SFBCOPYBITS;
sys/dev/tc/sfb.c
1057
while (width > 0) {
sys/dev/tc/sfb.c
1062
width -= SFBCOPYBITS;
sys/dev/tc/sfb.c
1070
width = w;
sys/dev/tc/sfb.c
1083
width = alignd + w;
sys/dev/tc/sfb.c
1085
rmaskd = SFBCOPYALL1 >> (-width & SFBCOPYBITMASK);
sys/dev/tc/sfb.c
1090
w = width;
sys/dev/tc/sfb.c
1096
width -= 2 * SFBCOPYBITS;
sys/dev/tc/sfb.c
1097
while (width > 0) {
sys/dev/tc/sfb.c
1102
width -= SFBCOPYBITS;
sys/dev/tc/sfb.c
1111
width = w;
sys/dev/tc/sfb.c
1128
int scanspan, startx, height, width, align, w, y;
sys/dev/tc/sfb.c
1140
width = w + align;
sys/dev/tc/sfb.c
1142
rmask = SFBSTIPPLEALL1 >> (-width & SFBSTIPPLEBITMASK);
sys/dev/tc/sfb.c
1148
if (width <= SFBSTIPPLEBITS) {
sys/dev/tc/sfb.c
1161
width -= 2 * SFBSTIPPLEBITS;
sys/dev/tc/sfb.c
1162
while (width > 0) {
sys/dev/tc/sfb.c
1165
width -= SFBSTIPPLEBITS;
sys/dev/tc/sfb.c
1172
width = w + align;
sys/dev/tc/sfb.c
1187
int scanspan, offset, srcy, height, width, align, w;
sys/dev/tc/sfb.c
1203
width = w + align;
sys/dev/tc/sfb.c
1205
rmask = SFBCOPYALL1 >> (-width & SFBCOPYBITMASK);
sys/dev/tc/sfb.c
1211
if (width <= SFBCOPYBITS) {
sys/dev/tc/sfb.c
1219
width -= 2 * SFBCOPYBITS;
sys/dev/tc/sfb.c
1220
while (width > 0) {
sys/dev/tc/sfb.c
1224
width -= SFBCOPYBITS;
sys/dev/tc/sfb.c
1231
width = w + align;
sys/dev/tc/sfb.c
1246
int scanspan, starty, height, width, align, w;
sys/dev/tc/sfb.c
1257
width = w + align;
sys/dev/tc/sfb.c
1259
rmask = SFBSTIPPLEALL1 >> (-width & SFBSTIPPLEBITMASK);
sys/dev/tc/sfb.c
1265
if (width <= SFBSTIPPLEBITS) {
sys/dev/tc/sfb.c
1272
width -= 2 * SFBSTIPPLEBITS;
sys/dev/tc/sfb.c
1273
while (width > 0) {
sys/dev/tc/sfb.c
1276
width -= SFBSTIPPLEBITS;
sys/dev/tc/sfb.c
1282
width = w + align;
sys/dev/tc/sfb.c
408
wsd_fbip->width = ri->ri_width;
sys/dev/tc/sfb.c
906
int scanspan, height, width, align, x, y;
sys/dev/tc/sfb.c
917
width = ri->ri_font->fontwidth + align;
sys/dev/tc/sfb.c
919
rmask = SFBSTIPPLEALL1 >> (-width & SFBSTIPPLEBITMASK);
sys/dev/tc/sfb.c
946
int scanspan, height, width, align, x, y;
sys/dev/tc/sfb.c
960
width = ri->ri_font->fontwidth + align;
sys/dev/tc/sfb.c
962
rmask = SFBSTIPPLEALL1 >> (-width & SFBSTIPPLEBITMASK);
sys/dev/tc/sfbplus.c
1053
int scanspan, height, width, align, x, y;
sys/dev/tc/sfbplus.c
1068
width = ri->ri_font->fontwidth + align;
sys/dev/tc/sfbplus.c
1070
rmask = SFBSTIPPLEALL1 >> (-width & SFBSTIPPLEBITMASK);
sys/dev/tc/sfbplus.c
1107
int scanspan, startx, height, width, align, w, y;
sys/dev/tc/sfbplus.c
1120
width = w + align;
sys/dev/tc/sfbplus.c
1122
rmask = SFBSTIPPLEALL1 >> (-width & SFBSTIPPLEBITMASK);
sys/dev/tc/sfbplus.c
1128
if (width <= SFBSTIPPLEBITS) {
sys/dev/tc/sfbplus.c
1141
width -= 2 * SFBSTIPPLEBITS;
sys/dev/tc/sfbplus.c
1142
while (width > 0) {
sys/dev/tc/sfbplus.c
1146
width -= SFBSTIPPLEBITS;
sys/dev/tc/sfbplus.c
1153
width = w + align;
sys/dev/tc/sfbplus.c
1169
int scanspan, offset, srcy, height, width, align, w;
sys/dev/tc/sfbplus.c
1186
width = w + align;
sys/dev/tc/sfbplus.c
1188
rmask = SFBCOPYALL1 >> (-width & SFBCOPYBITMASK);
sys/dev/tc/sfbplus.c
1194
if (width <= SFBCOPYBITS) {
sys/dev/tc/sfbplus.c
1202
width -= 2 * SFBCOPYBITS;
sys/dev/tc/sfbplus.c
1203
while (width > 0) {
sys/dev/tc/sfbplus.c
1207
width -= SFBCOPYBITS;
sys/dev/tc/sfbplus.c
1214
width = w + align;
sys/dev/tc/sfbplus.c
1229
int scanspan, offset, srcy, height, width, w, align;
sys/dev/tc/sfbplus.c
1244
width = w + align;
sys/dev/tc/sfbplus.c
1246
rmask = SFBCOPYALL1 >> (-width & SFBCOPYBITMASK);
sys/dev/tc/sfbplus.c
1254
if (width <= SFBCOPYBITS)
sys/dev/tc/sfbplus.c
1256
else if (width < SFBCOPY64BITS) {
sys/dev/tc/sfbplus.c
1262
while (width >= SFBCOPY64BITS) {
sys/dev/tc/sfbplus.c
1266
width -= SFBCOPY64BITS;
sys/dev/tc/sfbplus.c
1268
if (width >= SFBCOPYBITS) {
sys/dev/tc/sfbplus.c
1272
width -= SFBCOPYBITS;
sys/dev/tc/sfbplus.c
1274
if (width > 0) {
sys/dev/tc/sfbplus.c
1280
width = w;
sys/dev/tc/sfbplus.c
1296
int scanspan, starty, height, width, align, w;
sys/dev/tc/sfbplus.c
1308
width = w + align;
sys/dev/tc/sfbplus.c
1310
rmask = SFBSTIPPLEALL1 >> (-width & SFBSTIPPLEBITMASK);
sys/dev/tc/sfbplus.c
1316
if (width <= SFBSTIPPLEBITS) {
sys/dev/tc/sfbplus.c
1324
width -= 2 * SFBSTIPPLEBITS;
sys/dev/tc/sfbplus.c
1325
while (width > 0) {
sys/dev/tc/sfbplus.c
1329
width -= SFBSTIPPLEBITS;
sys/dev/tc/sfbplus.c
1336
width = w + align;
sys/dev/tc/sfbplus.c
442
wsd_fbip->width = ri->ri_width;
sys/dev/tc/stic.c
546
wsd_fbip->width = 1280;
sys/dev/tc/tfb.c
408
wsd_fbip->width = ri->ri_width;
sys/dev/tc/xcfb.c
407
wsd_fbip->width = ri->ri_width;
sys/dev/usb/auvitek_video.c
217
format->width = 720;
sys/dev/usb/auvitek_video.c
219
format->stride = format->width * 2;
sys/dev/usb/if_zyd.c
1476
rf->width = 24; /* 24-bit RF values */
sys/dev/usb/if_zyd.c
1486
rf->width = 24; /* 24-bit RF values */
sys/dev/usb/if_zyd.c
1492
rf->width = 24; /* 24-bit RF values */
sys/dev/usb/if_zyd.c
1498
rf->width = 24; /* 24-bit RF values */
sys/dev/usb/if_zyd.c
1504
rf->width = 21; /* 21-bit RF values */
sys/dev/usb/if_zyd.c
1510
rf->width = 18; /* 18-bit RF values */
sys/dev/usb/if_zyd.c
1516
rf->width = 18; /* 18-bit RF values */
sys/dev/usb/if_zyd.c
912
req.width = htole16(rf->width);
sys/dev/usb/if_zyd.c
913
for (i = 0; i < rf->width; i++) {
sys/dev/usb/if_zyd.c
915
if (val & (1 << (rf->width - 1 - i)))
sys/dev/usb/if_zyd.c
918
return zyd_cmd(sc, ZYD_CMD_RFCFG, &req, 4 + 2 * rf->width, NULL, 0, 0);
sys/dev/usb/if_zydreg.h
1039
uint16_t width;
sys/dev/usb/if_zydreg.h
1166
int width;
sys/dev/usb/pseye.c
775
format->width = 640;
sys/dev/usb/pseye.c
779
format->sample_size = format->width * format->height * 2;
sys/dev/usb/pseye.c
780
format->stride = format->width * 2;
sys/dev/usb/pseye.c
796
if (format->width != 640 || format->height != 480)
sys/dev/usb/uatp.c
1790
unsigned int width = 0; /* GCC is not smart enough. */
sys/dev/usb/uatp.c
1860
width = 1;
sys/dev/usb/uatp.c
1867
width += 1;
sys/dev/usb/uatp.c
1868
if (palm_width <= (width * ratio)) {
sys/dev/usb/uatp.c
1880
width = 1;
sys/dev/usb/udl.c
1000
udl_fill_rect(sc, 0xffff, x, y + height - 1, width, 1);
sys/dev/usb/udl.c
1013
int fg, bg, underline, x, y, width, height;
sys/dev/usb/udl.c
1021
width = ri->ri_font->fontwidth;
sys/dev/usb/udl.c
1029
udl_fill_rect(sc, rgb16[0], x, y, width, height);
sys/dev/usb/udl.c
1036
udl_fill_rect(sc, rgb16[1], x, y + height - 1, width, 1);
sys/dev/usb/udl.c
1048
int sx, dx, y, width, height;
sys/dev/usb/udl.c
1053
width = num * ri->ri_font->fontwidth;
sys/dev/usb/udl.c
1057
udl_copy_rect(sc, sx, y, 0, sc->sc_offscreen, width, height);
sys/dev/usb/udl.c
1060
udl_copy_rect(sc, 0, sc->sc_offscreen, dx, y, width, height);
sys/dev/usb/udl.c
1072
int fg, bg, x, y, width, height;
sys/dev/usb/udl.c
1079
width = num * ri->ri_font->fontwidth;
sys/dev/usb/udl.c
1082
udl_fill_rect(sc, rgb16, x, y, width, height);
sys/dev/usb/udl.c
1093
int sy, ey, dy, width, height;
sys/dev/usb/udl.c
1095
width = ri->ri_emuwidth;
sys/dev/usb/udl.c
1104
udl_copy_rect(sc, 0, sy, 0, dy, width, height);
sys/dev/usb/udl.c
1116
udl_copy_rect(sc, 0, sy, 0, dy, width, height);
sys/dev/usb/udl.c
1130
int fg, bg, y, width, height;
sys/dev/usb/udl.c
1136
width = ri->ri_emuwidth;
sys/dev/usb/udl.c
1139
udl_fill_rect(sc, rgb16, 0, y, width, height);
sys/dev/usb/udl.c
1149
int x, y, width, height;
sys/dev/usb/udl.c
1153
width = ri->ri_font->fontwidth;
sys/dev/usb/udl.c
1157
udl_copy_rect(sc, 0, sc->sc_offscreen, x, y, width, height);
sys/dev/usb/udl.c
1203
udl_copy_rect(struct udl_softc *sc, int sx, int sy, int dx, int dy, int width,
sys/dev/usb/udl.c
1212
while (width > 0) {
sys/dev/usb/udl.c
1217
if (width >= UDL_CMD_WIDTH_MAX)
sys/dev/usb/udl.c
1220
width_cur = width;
sys/dev/usb/udl.c
1230
width -= width_cur;
sys/dev/usb/udl.c
1235
udl_fill_rect(struct udl_softc *sc, uint16_t rgb16, int x, int y, int width,
sys/dev/usb/udl.c
1243
while (width > 0) {
sys/dev/usb/udl.c
1247
if (width >= UDL_CMD_WIDTH_MAX)
sys/dev/usb/udl.c
1250
width_cur = width;
sys/dev/usb/udl.c
1258
width -= width_cur;
sys/dev/usb/udl.c
1266
int sbase, soff, ebase, eoff, x, y, width, width_cur, height;
sys/dev/usb/udl.c
1270
width = d->x2 - d->x1;
sys/dev/usb/udl.c
1275
while (width > 0) {
sys/dev/usb/udl.c
1279
if (width >= UDL_CMD_WIDTH_MAX)
sys/dev/usb/udl.c
1282
width_cur = width;
sys/dev/usb/udl.c
1291
width -= width_cur;
sys/dev/usb/udl.c
1300
int soff, eoff, x, y, width, height;
sys/dev/usb/udl.c
1304
width = d->x2 - d->x1;
sys/dev/usb/udl.c
1314
width);
sys/dev/usb/udl.c
1323
udl_copy_line(struct udl_softc *sc, int soff, int doff, int width)
sys/dev/usb/udl.c
1331
udl_cmd_add_4(sc, ((doff * 2) << 8) | (width & 0xff));
sys/dev/usb/udl.c
1337
udl_fill_line(struct udl_softc *sc, uint16_t rgb16, int off, int width)
sys/dev/usb/udl.c
1345
udl_cmd_add_4(sc, ((off * 2) << 8) | (width & 0xff));
sys/dev/usb/udl.c
1347
udl_cmd_add_1(sc, width);
sys/dev/usb/udl.c
1352
udl_draw_line(struct udl_softc *sc, uint16_t *buf, int off, int width)
sys/dev/usb/udl.c
1356
(UDL_CMD_BUFSIZE(sc) + UDL_CMD_DRAW_SIZE(width) + 2) >
sys/dev/usb/udl.c
1361
udl_cmd_add_4(sc, ((off * 2) << 8) | (width & 0xff));
sys/dev/usb/udl.c
1363
udl_cmd_add_buf(sc, buf, width);
sys/dev/usb/udl.c
1368
udl_cmd_add_buf_comp(struct udl_softc *sc, uint16_t *buf, int width)
sys/dev/usb/udl.c
1378
if (width >= UDL_CMD_WIDTH_MAX)
sys/dev/usb/udl.c
1381
endp = buf + width;
sys/dev/usb/udl.c
1439
udl_draw_line_comp(struct udl_softc *sc, uint16_t *buf, int off, int width)
sys/dev/usb/udl.c
1444
while (width > 0) {
sys/dev/usb/udl.c
1468
width_cur = udl_cmd_add_buf_comp(sc, buf, width);
sys/dev/usb/udl.c
1473
width -= width_cur;
sys/dev/usb/udl.c
217
udl_cmd_add_buf(struct udl_softc *sc, uint16_t *buf, int width)
sys/dev/usb/udl.c
220
memcpy(sc->sc_cmd_buf, buf, width * 2);
sys/dev/usb/udl.c
221
sc->sc_cmd_buf += width * 2;
sys/dev/usb/udl.c
225
endp = buf + width;
sys/dev/usb/udl.c
583
wdf->width = sc->sc_width;
sys/dev/usb/udl.c
977
int x, y, width, height;
sys/dev/usb/udl.c
990
width = ri->ri_font->fontwidth;
sys/dev/usb/udl.c
994
udl_copy_rect(sc, x, y, 0, sc->sc_offscreen, width, height);
sys/dev/usb/udl.c
997
udl_fill_rect(sc, 0xffff, x, y, width, 1);
sys/dev/usb/udl.c
999
udl_fill_rect(sc, 0xffff, x + width - 1, y + 1, 1, height - 2);
sys/dev/usb/udl.h
56
#define UDL_CMD_DRAW_SIZE(width) \
sys/dev/usb/udl.h
57
(UDL_CMD_HEADER_SIZE + (width) * 2)
sys/dev/usb/uvideo.c
1562
index, format->format.pixel_format, format->format.width,
sys/dev/usb/uvideo.c
2061
format->width = video_format->format.width;
sys/dev/usb/uvideo.c
2103
format->width, format->height);
sys/dev/usb/uvideo.c
2106
"%dx%d format %d\n", format->width, format->height,
sys/dev/usb/uvideo.c
2211
format->width, format->height);
sys/dev/usb/uvideo.c
462
format->format.width = \
sys/dev/usb/uvideo.c
760
uint32_t width, uint32_t height)
sys/dev/usb/uvideo.c
767
if (format->format.width <= width &&
sys/dev/usb/uvideo.c
770
(gformat->format.width < format->format.width &&
sys/dev/video.c
638
dest->fmt.pix.width = src->width;
sys/dev/video.c
711
dest->width = src->fmt.pix.width;
sys/dev/video.c
845
frmdesc->discrete.width = vfmt.width;
sys/dev/video_if.h
367
uint32_t width; /* dimensions in pixels */
sys/dev/videomode/pickmode.c
45
pick_mode_by_dotclock(int width, int height, int dotclock)
sys/dev/videomode/pickmode.c
50
DPRINTF("%s: looking for %d x %d at up to %d kHz\n", __func__, width,
sys/dev/videomode/pickmode.c
54
if ((this->hdisplay != width) || (this->vdisplay != height) ||
sys/dev/videomode/pickmode.c
70
pick_mode_by_ref(int width, int height, int refresh)
sys/dev/videomode/pickmode.c
75
DPRINTF("%s: looking for %d x %d at up to %d Hz\n", __func__, width,
sys/dev/videomode/pickmode.c
82
if ((this->hdisplay != width) || (this->vdisplay != height))
sys/dev/wscons/wscons_rinit.c
108
i = rp->width / rc->rc_font->width;
sys/dev/wscons/wscons_rinit.c
113
((rp->width - rc->rc_maxcol * rc->rc_font->width) / 2) & ~0x1f;
sys/dev/wscons/wscons_rinit.c
118
rc->rc_raswidth = rc->rc_maxcol * rc->rc_font->width;
sys/dev/wscons/wscons_rinit.c
123
if (rc->rc_xorigin + i <= rp->width)
sys/dev/wscons/wscons_rops.c
116
x = col * rc->rc_font->width + rc->rc_xorigin;
sys/dev/wscons/wscons_rops.c
136
raster_op(rc->rc_sp, 0, 0, rc->rc_sp->width, rc->rc_sp->height,
sys/dev/wscons/wscons_rops.c
154
srcx = rc->rc_xorigin + rc->rc_font->width * srccol;
sys/dev/wscons/wscons_rops.c
155
dstx = rc->rc_xorigin + rc->rc_font->width * dstcol;
sys/dev/wscons/wscons_rops.c
156
nx = rc->rc_font->width * ncols;
sys/dev/wscons/wscons_rops.c
173
startx = rc->rc_xorigin + rc->rc_font->width * startcol;
sys/dev/wscons/wscons_rops.c
174
nx = rc->rc_font->width * ncols;
sys/dev/wscons/wscons_rops.c
77
x = col * rc->rc_font->width + rc->rc_xorigin;
sys/dev/wscons/wscons_rops.c
83
rc->rc_font->chars[(int)' '].r->width,
sys/dev/wscons/wscons_rops.c
86
rc->rc_font->width, rc->rc_font->height,
sys/dev/wscons/wsconsio.h
376
u_int width; /* width in pixels */
sys/dev/wscons/wsconsio.h
701
uint32_t width;
sys/dev/wscons/wsdisplay_glyphcache.c
60
glyphcache_init(glyphcache *gc, int first, int lines, int width,
sys/dev/wscons/wsdisplay_glyphcache.c
63
return glyphcache_init_align(gc, first, lines, width, cellwidth, cellheight,
sys/dev/wscons/wsdisplay_glyphcache.c
68
glyphcache_init_align(glyphcache *gc, int first, int lines, int width,
sys/dev/wscons/wsdisplay_glyphcache.c
74
gc->gc_width = width;
sys/dev/wscons/wsdisplay_glyphcache.c
92
glyphcache_init_x(glyphcache *gc, int x, int y, int lines, int width,
sys/dev/wscons/wsdisplay_glyphcache.c
98
gc->gc_width = width;
sys/dev/wsfb/genfb.c
483
wdf->width = ms->scr_ri.ri_width;
sys/dev/wsfont/wsfont.c
1104
switch(map2->width) {
sys/dev/wsfont/wsfont.c
614
int width, int height, int stride, int flags)
sys/dev/wsfont/wsfont.c
632
if (width != 0) {
sys/dev/wsfont/wsfont.c
634
if (font->fontwidth != width)
sys/dev/wsfont/wsfont.c
637
if (font->fontwidth > width) {
sys/dev/wsfont/wsfont.c
638
score -= uimin(font->fontwidth - width, 9999);
sys/dev/wsfont/wsfont.c
643
score -= uimin(width - font->fontwidth, 9999);
sys/dev/wsfont/wsfont.c
661
wsfont_find(const char *name, int width, int height, int stride, int bito, int byteo, int flags)
sys/dev/wsfont/wsfont.c
668
width, height, stride, flags);
sys/dev/wsfont/wsfont.c
850
int width; /* Size of each entry in bytes (1,2,4) */
sys/kern/subr_prf.c
1260
int width; /* width from format (%8d), or 0 */
sys/kern/subr_prf.c
1301
width = 0;
sys/kern/subr_prf.c
1326
if ((width = va_arg(ap, int)) >= 0)
sys/kern/subr_prf.c
1328
width = -width;
sys/kern/subr_prf.c
1364
width = n;
sys/kern/subr_prf.c
1576
ret += width > realsz ? width : realsz;
sys/kern/subr_prf.c
1580
n = width - realsz;
sys/kern/subr_prf.c
1595
n = width - realsz;
sys/kern/subr_prf.c
1610
n = width - realsz;
sys/lib/libsa/subr_prf.c
170
int width;
sys/lib/libsa/subr_prf.c
182
width = 0;
sys/lib/libsa/subr_prf.c
200
if (width == 0) {
sys/lib/libsa/subr_prf.c
208
width *= 10;
sys/lib/libsa/subr_prf.c
209
width += ch - '0';
sys/lib/libsa/subr_prf.c
246
--width;
sys/lib/libsa/subr_prf.c
257
width -= q - p;
sys/lib/libsa/subr_prf.c
308
kprintn(void (*put)(int), UINTMAX_T ul, int base, int lflag, int width)
sys/lib/libsa/subr_prf.c
339
width -= p - buf;
sys/lib/libsa/subr_prf.c
81
#define KPRINTN(base) kprintn(put, ul, base, lflag, width)
sys/lib/libsa/subr_prf.c
85
while (width-- > 0) \
sys/lib/libsa/subr_prf.c
92
while (width-- > 0) \
sys/lib/libsa/subr_prf.c
99
while (width-- > 0) \
sys/miscfs/procfs/procfs_map.c
123
int width = (int)((curl->l_proc->p_flag & PK_32) ? sizeof(int32_t) :
sys/miscfs/procfs/procfs_map.c
171
width, entry->start,
sys/miscfs/procfs/procfs_map.c
172
width, entry->end,
sys/miscfs/procfs/procfs_map.c
177
width, (unsigned long)entry->offset,
sys/net/bpfjit.c
1225
bpfjit_abc_length_t width = 0; /* XXXuninit */
sys/net/bpfjit.c
1236
width = read_width(pc);
sys/net/bpfjit.c
1237
rv = (width != 0);
sys/net/bpfjit.c
1244
width = 1;
sys/net/bpfjit.c
1253
*length = (uint32_t)pc->k + width;
sys/net/bpfjit.c
807
uint32_t width;
sys/net/bpfjit.c
829
width = read_width(pc);
sys/net/bpfjit.c
830
if (width == 0)
sys/net/bpfjit.c
839
SLJIT_IMM, k + width);
sys/net/bpfjit.c
869
if (k <= UINT32_MAX - width + 1) {
sys/net/bpfjit.c
870
switch (width) {
sys/net/bpfjit.c
909
switch (width) {
sys/net/zlib.c
2424
# define SEPARATOR(i, last, width) \
sys/net/zlib.c
2426
((i) % (width) == (width)-1 ? ",\n" : ", "))
sys/stand/efiboot/smbios.h
250
uint8_t width;
sys/sys/videoio.h
1400
u_int32_t width;
sys/sys/videoio.h
1479
u_int32_t width;
sys/sys/videoio.h
1720
u_int32_t width; /* Frame width [pixel] */
sys/sys/videoio.h
1764
u_int32_t width; /* Frame width */
sys/sys/videoio.h
2021
u_int32_t width;
sys/sys/videoio.h
2307
u_int32_t width;
sys/sys/videoio.h
2411
((bt)->width + V4L2_DV_BT_BLANKING_WIDTH(bt))
sys/sys/videoio.h
3093
u_int32_t width;
tests/fs/lfs/t_basic.c
58
void test(int width)
tests/fs/lfs/t_basic.c
67
create_lfs(FSSIZE, FSSIZE, width, 1);
tests/fs/lfs/t_fcntl.c
126
int setup(int width, struct ufs_args *argsp, off_t filesize)
tests/fs/lfs/t_fcntl.c
137
create_lfs(FSSIZE, FSSIZE, width, 1);
tests/fs/lfs/t_fcntl.c
199
void coalesce(int width)
tests/fs/lfs/t_fcntl.c
209
fd = setup(width, &args, A_FEW_BLOCKS);
tests/fs/lfs/t_fcntl.c
269
void cleanseg(int width)
tests/fs/lfs/t_fcntl.c
276
fd = setup(width, &args, MORE_THAN_A_SEGMENT);
tests/fs/lfs/t_fcntl.c
321
void autoclean(int width)
tests/fs/lfs/t_fcntl.c
331
fd = setup(width, &args, CHUNKSIZE);
tests/fs/lfs/t_orphan.c
66
void orphan(int width)
tests/fs/lfs/t_orphan.c
84
create_lfs(FSSIZE, FSSIZE, width, 0);
tests/fs/lfs/t_resize.c
68
void test(int width)
tests/fs/lfs/t_resize.c
80
create_lfs(BIGSIZE, SMALLSIZE, width, 1);
tests/fs/lfs/t_rfw.c
72
void test(int width)
tests/fs/lfs/t_rfw.c
86
create_lfs(FSSIZE, FSSIZE, width, 1);
tests/fs/lfs/util.c
17
void create_lfs(size_t imgsize, size_t fssize, int width, int do_setup)
tests/fs/lfs/util.c
32
SEGSIZE, fssize, width, IMGNAME, LOGFILE);
tests/lib/libc/locale/t_mbrtowc.c
205
int width = 0;
tests/lib/libc/locale/t_mbrtowc.c
217
width += n;
tests/lib/libc/locale/t_mbrtowc.c
227
width += rv;
tests/lib/libc/locale/t_mbrtowc.c
231
width != t->widths[nchar]) {
tests/lib/libc/locale/t_mbrtowc.c
236
dst, width);
tests/lib/libc/locale/t_mbrtowc.c
241
width = 0;
tests/lib/libc/locale/t_mbstowcs.c
237
if (wcswidth(wbuf, SIZE-1) != t->width) {
tests/lib/libc/locale/t_mbstowcs.c
239
(void)printf(" expected: %d\n", t->width);
tests/lib/libc/locale/t_mbstowcs.c
80
int width;
tools/compat/snprintf.c
151
int width, int prec, int flags, int minusp)
tools/compat/snprintf.c
181
width -= len;
tools/compat/snprintf.c
183
width--;
tools/compat/snprintf.c
184
while(width-- > 0){
tools/compat/snprintf.c
213
width -= len;
tools/compat/snprintf.c
214
while(width-- > 0){
tools/compat/snprintf.c
235
int width,
tools/compat/snprintf.c
245
width -= prec;
tools/compat/snprintf.c
247
width -= strlen((const char *)arg);
tools/compat/snprintf.c
249
while(width-- > 0) {
tools/compat/snprintf.c
265
while(width-- > 0) {
tools/compat/snprintf.c
275
int width,
tools/compat/snprintf.c
280
while(!(flags & minus_flag) && --width > 0) {
tools/compat/snprintf.c
286
while((flags & minus_flag) && --width > 0) {
tools/compat/snprintf.c
335
int width = 0;
tools/compat/snprintf.c
366
width = width * 10 + c - '0';
tools/compat/snprintf.c
370
width = va_arg(ap, int);
tools/compat/snprintf.c
405
append_char(state, va_arg(ap, int), width, flags);
tools/compat/snprintf.c
411
width,
tools/compat/snprintf.c
430
width, prec, flags, minusp);
tools/compat/snprintf.c
439
width, prec, flags, 0);
tools/compat/snprintf.c
448
width, prec, flags, 0);
tools/compat/snprintf.c
457
width, prec, flags, 0);
tools/compat/snprintf.c
466
width, prec, flags, 0);
tools/compat/snprintf.c
473
width, prec, flags, 0);
usr.bin/col/col.c
141
int adjust, opt, warned, width;
usr.bin/col/col.c
245
if ((width = wcwidth(ch)) > 0)
usr.bin/col/col.c
246
cur_col += width;
usr.bin/diff/diff.c
268
width = (int)l;
usr.bin/diff/diff.c
42
int width = 130;
usr.bin/diff/diff.h
104
extern int width;
usr.bin/diff/diffreg.c
275
if (width > 3) {
usr.bin/diff/diffreg.c
276
hw = (width - 3) / 2;
usr.bin/diff/diffreg.c
281
} else if (width <= 3 || width <= tabsize) {
usr.bin/diff/diffreg.c
285
hw = (width - 3) / 2;
usr.bin/diff/diffreg.c
286
while (hw > 0 && roundup(hw + 3, tabsize) + hw > width)
usr.bin/diff/diffreg.c
288
if (width - (roundup(hw + 3, tabsize) + hw) < tabsize)
usr.bin/diff/diffreg.c
289
width = roundup(hw + 3, tabsize) + hw;
usr.bin/diff/diffreg.c
291
lpad = (width - hw * 2 - 1) / 2;
usr.bin/diff/diffreg.c
292
rpad = (width - hw * 2 - 1) - lpad;
usr.bin/fold/fold.c
104
if (width == -1)
usr.bin/fold/fold.c
105
width = DEFLINEWIDTH;
usr.bin/fold/fold.c
108
fold(width);
usr.bin/fold/fold.c
114
fold(width);
usr.bin/fold/fold.c
130
fold(int width)
usr.bin/fold/fold.c
151
if (col > width) {
usr.bin/fold/fold.c
69
int width;
usr.bin/fold/fold.c
75
width = -1;
usr.bin/fold/fold.c
85
if ((width = atoi(optarg)) <= 0)
usr.bin/fold/fold.c
90
if (width == -1) {
usr.bin/fold/fold.c
93
width = atoi(++p);
usr.bin/fold/fold.c
95
width = atoi(argv[optind] + 1);
usr.bin/fpr/fpr.c
195
cp->width = INITWIDTH;
usr.bin/fpr/fpr.c
300
cp->width = INITWIDTH;
usr.bin/fpr/fpr.c
311
if (newcount > cp->width) {
usr.bin/fpr/fpr.c
312
cp->width = newcount;
usr.bin/fpr/fpr.c
71
int width;
usr.bin/ftp/util.c
913
size_t w, width;
usr.bin/ftp/util.c
915
width = 0;
usr.bin/ftp/util.c
919
if (w > width)
usr.bin/ftp/util.c
920
width = w;
usr.bin/ftp/util.c
922
width = (width + 8) &~ 7;
usr.bin/ftp/util.c
924
columns = ttywidth / width;
usr.bin/ftp/util.c
939
while (w < width) {
usr.bin/kdump/kdump.c
1241
int width;
usr.bin/kdump/kdump.c
1261
width = 16 * bsize + (16 / (divmask + 1)) * gdelim;
usr.bin/kdump/kdump.c
1263
width += 2;
usr.bin/kdump/kdump.c
1288
off - l, width, bytes, l, chars);
usr.bin/kdump/kdump.c
1304
printf("\t%-5.3x%.*s%.*s\n", off, width, bytes, l, chars);
usr.bin/kdump/kdump.c
1314
int width;
usr.bin/kdump/kdump.c
1348
width = 8 - (col & 07);
usr.bin/kdump/kdump.c
1351
width = strlen(cp);
usr.bin/kdump/kdump.c
1353
if (col + width > (screenwidth - 2)) {
usr.bin/kdump/kdump.c
1357
width = 8;
usr.bin/kdump/kdump.c
1359
col += width;
usr.bin/ktruss/dump.c
131
width += w;
usr.bin/ktruss/dump.c
140
if (width > 0) {
usr.bin/ktruss/dump.c
142
width = 0;
usr.bin/ktruss/dump.c
150
while (width < col)
usr.bin/ktruss/dump.c
321
for (width = 0; dumprecord(trpoints, fp) != 0;)
usr.bin/ktruss/dump.c
72
int width; /* Keep track of current columns. */
usr.bin/ktruss/dump.c
773
if (width + w + 2 >= screenwidth)
usr.bin/ktruss/dump.c
776
if (width + 2 >= screenwidth)
usr.bin/m4/gnum4.c
561
long width;
usr.bin/m4/gnum4.c
588
width = strtol(argv[pos++], NULL, 10);
usr.bin/m4/gnum4.c
591
width = strtol(format, &eformat, 10);
usr.bin/m4/gnum4.c
594
if (width < 0) {
usr.bin/m4/gnum4.c
596
width = -width;
usr.bin/m4/gnum4.c
636
while (l < (size_t)width--)
usr.bin/m4/gnum4.c
641
while (l < (size_t)width--)
usr.bin/mail/complete.c
102
if (w > width)
usr.bin/mail/complete.c
103
width = w;
usr.bin/mail/complete.c
105
width = (width + 8) &~ 7;
usr.bin/mail/complete.c
107
columns = ttywidth / width;
usr.bin/mail/complete.c
123
while (w < width) {
usr.bin/mail/complete.c
96
size_t w, width;
usr.bin/mail/complete.c
98
width = 0;
usr.bin/mail/main.c
132
int width;
usr.bin/mail/main.c
133
width = *cp ? atoi(cp) : 0;
usr.bin/mail/main.c
134
if (width >= 0)
usr.bin/mail/main.c
135
screenwidth = width;
usr.bin/mkcsmapper/ldef.h
32
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
587
ofs = (ofs * p->width) + n;
usr.bin/mkcsmapper/yacc.y
589
n = lz->width;
usr.bin/mkcsmapper/yacc.y
608
p->width = end - begin + 1;
usr.bin/mkcsmapper/yacc.y
624
lz->width = end - begin + 1;
usr.bin/mkdep/mkdep.c
459
width = 9;
usr.bin/mkdep/mkdep.c
535
if (width > 76 - node->len) {
usr.bin/mkdep/mkdep.c
538
width = 1;
usr.bin/mkdep/mkdep.c
540
width += 1 + node->len;
usr.bin/mkdep/mkdep.c
76
static int width;
usr.bin/netstat/atalk.c
235
int width = 22;
usr.bin/netstat/atalk.c
259
width = 18;
usr.bin/netstat/atalk.c
264
-width, width, "Local Address",
usr.bin/netstat/atalk.c
265
-width, width, "Foreign Address", "(state)");
usr.bin/netstat/atalk.c
272
printf(" %*.*s", -width, width,
usr.bin/netstat/atalk.c
274
printf(" %*.*s", -width, width,
usr.bin/netstat/inet.c
107
static int width;
usr.bin/netstat/inet.c
126
width, width, "Local Address",
usr.bin/netstat/inet.c
127
width, width, "Foreign Address",
usr.bin/netstat/inet.c
351
width = 18;
usr.bin/netstat/inet.c
353
width = 21;
usr.bin/netstat/inet.c
357
width = 22;
usr.bin/netstat/inet.c
978
(void)printf(" %-*.*s", width, width, line);
usr.bin/netstat/inet6.c
161
static int width;
usr.bin/netstat/inet6.c
179
width = 18;
usr.bin/netstat/inet6.c
185
-width, width, "Local Address",
usr.bin/netstat/inet6.c
186
-width, width, "Foreign Address", "(state)");
usr.bin/netstat/inet6.c
363
width = 18;
usr.bin/netstat/inet6.c
365
width = 21;
usr.bin/netstat/inet6.c
369
width = 22;
usr.bin/nl/nl.c
129
static int width = 6;
usr.bin/nl/nl.c
225
width = (int)val;
usr.bin/nl/nl.c
226
if (!(width > 0))
usr.bin/nl/nl.c
229
width);
usr.bin/nl/nl.c
262
intbuffersize = max((int)INT_STRLEN_MAXIMUM, width) + 1; /* NUL */
usr.bin/nl/nl.c
334
width, line);
usr.bin/nl/nl.c
336
intbuffer + max(0, consumed - width), sep);
usr.bin/nl/nl.c
339
(void)printf("%*s%*s", width, "", (int)strlen(sep), "");
usr.bin/quota/quota.c
441
int intprtflags, over, width;
usr.bin/quota/quota.c
450
width = isbytes ? 9 : 8;
usr.bin/quota/quota.c
454
str = intprt(buf, width, qv->qv_usage, intprtflags, hflag);
usr.bin/quota/quota.c
455
printf("%*s", width, str);
usr.bin/quota/quota.c
459
str = intprt(buf, width, qv->qv_softlimit, intprtflags, hflag);
usr.bin/quota/quota.c
460
printf("%*s", width-1, str);
usr.bin/quota/quota.c
462
str = intprt(buf, width, qv->qv_hardlimit, intprtflags, hflag);
usr.bin/quota/quota.c
463
printf("%*s", width, str);
usr.bin/rwho/rwho.c
177
width = 0;
usr.bin/rwho/rwho.c
180
if (j > width)
usr.bin/rwho/rwho.c
181
width = j;
usr.bin/rwho/rwho.c
187
UT_NAMESIZE, "USER", (int)width, "LINE", "WHEN",
usr.bin/rwho/rwho.c
188
(int)width, "IDLE");
usr.bin/rwho/rwho.c
205
mp->myutmp.out_name, (int)width, buf, cbuf + 4);
usr.bin/rwho/rwho.c
86
size_t width, n, i, nhosts, nusers, namount;
usr.bin/sdiff/sdiff.c
284
width = (wflag - 3) / 2;
usr.bin/sdiff/sdiff.c
286
if (width > (SIZE_T_MAX - 3) / 2)
usr.bin/sdiff/sdiff.c
287
errx(2, "width is too large: %zu", width);
usr.bin/sdiff/sdiff.c
288
line_width = width * 2 + 3;
usr.bin/sdiff/sdiff.c
507
printcol(s1, &col, width);
usr.bin/sdiff/sdiff.c
518
for (; col < width; ++col)
usr.bin/sdiff/sdiff.c
64
size_t width; /* width of each column */
usr.bin/sed/process.c
593
size_t col, width;
usr.bin/sed/process.c
638
width = 1; /* wcwidth is an XSI function */
usr.bin/sed/process.c
640
width = (size_t)wcwidth(wc);
usr.bin/sed/process.c
642
if (col + width >= termwidth) {
usr.bin/sed/process.c
647
col += width;
usr.bin/systat/syscall.c
149
putuint64(uint64_t v, int row, int col, int width)
usr.bin/systat/syscall.c
155
if (len > width) {
usr.bin/systat/syscall.c
156
i = (len - width) / 3;
usr.bin/systat/syscall.c
158
memset(buf, '*', width);
usr.bin/systat/syscall.c
159
len = width;
usr.bin/systat/syscall.c
166
mvprintw(row, col, "%*s", width, buf);
usr.bin/systat/vmstat.c
265
int width, name_width, group_width;
usr.bin/systat/vmstat.c
267
width = INTSCOLEND - (INTSCOL + 9);
usr.bin/systat/vmstat.c
268
if (width <= 0)
usr.bin/systat/vmstat.c
274
width -= group_width + 1 + name_width;
usr.bin/systat/vmstat.c
275
if (width < 0) {
usr.bin/systat/vmstat.c
284
width = -width;
usr.bin/systat/vmstat.c
285
group_width -= (width + 1) / 2;
usr.bin/systat/vmstat.c
286
name_width -= width / 2;
usr.bin/vgrind/vfontedpr.c
585
return width(s, os) / 8;
usr.bin/vgrind/vfontedpr.c
80
static int width(char *, char *);
usr.bin/videoctl/videoctl.c
275
framesize.discrete.width,
usr.bin/vmstat/vmstat.c
282
#define PRWORD(ovflw, fmt, width, fixed, val) do { \
usr.bin/vmstat/vmstat.c
284
(width) - (fixed) - (ovflw) > 0 ? \
usr.bin/vmstat/vmstat.c
285
(width) - (fixed) - (ovflw) : 0, \
usr.bin/vmstat/vmstat.c
286
(val)) - (width); \
usr.bin/xlint/lint1/cksnprintb.c
105
check_bit(checker *ck, uint64_t dir_lsb, uint64_t width,
usr.bin/xlint/lint1/cksnprintb.c
109
if (lsb >= 64 || width == 0 || width > 64)
usr.bin/xlint/lint1/cksnprintb.c
112
uint64_t field_mask = value_bits((unsigned)width) << lsb;
usr.bin/xlint/lint1/cksnprintb.c
195
quoted_iterator width = *it;
usr.bin/xlint/lint1/cksnprintb.c
245
check_hex_escape(fmt, width);
usr.bin/xlint/lint1/cksnprintb.c
250
if (has_width && width.octal_digits == 0 && width.hex_digits == 0)
usr.bin/xlint/lint1/cksnprintb.c
252
warning(370, len(width), start(width, fmt),
usr.bin/xlint/lint1/cksnprintb.c
260
if (has_width && width.value > 64)
usr.bin/xlint/lint1/cksnprintb.c
263
len(width), start(width, fmt), val(width),
usr.bin/xlint/lint1/cksnprintb.c
265
if (has_width && bit.value + width.value > 64)
usr.bin/xlint/lint1/cksnprintb.c
267
warning(373, val(bit) + val(width),
usr.bin/xlint/lint1/cksnprintb.c
275
check_bit(ck, bit.value, has_width ? width.value : 1,
usr.bin/xlint/lint1/cksnprintb.c
285
ck->field_width = width.value;
usr.bin/xlint/lint1/decl.c
1024
unsigned int width = tp->t_bit_field_width;
usr.bin/xlint/lint1/decl.c
1026
if ((tp->t_bit_field_width = width) > size_in_bits(t))
usr.bin/xlint/lint1/decl.c
423
unsigned int width = 0;
usr.bin/xlint/lint1/decl.c
428
width += (*mem)->s_type->t_bit_field_width;
usr.bin/xlint/lint1/decl.c
435
return (width + align_in_bits - 1) & -align_in_bits;
usr.bin/xlint/lint1/tree.c
228
unsigned width = width_in_bits(tp);
usr.bin/xlint/lint1/tree.c
229
uint64_t vbits = value_bits(width);
usr.bin/xlint/lint1/tree.c
231
c.smin = width < 64 ? 0 : INT64_MIN;
usr.bin/xlint/lint1/tree.c
232
c.smax = width < 64 ? (int64_t)vbits : INT64_MAX;
usr.bin/xlint/lint1/tree.c
3699
unsigned int width = tn->tn_type->t_bit_field_width;
usr.bin/xlint/lint1/tree.c
3702
if (width < int_width)
usr.bin/xlint/lint1/tree.c
3704
if (width == int_width)
usr.sbin/acpitools/aml/aml_parse.c
701
u_int32_t width;
usr.sbin/acpitools/aml/aml_parse.c
713
width = aml_parse_pkglength(env);
usr.sbin/acpitools/aml/aml_parse.c
714
template->bitlen = width;
usr.sbin/acpitools/aml/aml_parse.c
718
if (width == 16) {
usr.sbin/acpitools/aml/aml_parse.c
722
if (width == 32) {
usr.sbin/acpitools/aml/aml_parse.c
725
} else if ((width & 7) == 0) {
usr.sbin/acpitools/aml/aml_parse.c
728
} else if ((width > 32) && (width & 7) != 0) {
usr.sbin/acpitools/aml/aml_parse.c
739
template->bitoffset += width;
usr.sbin/acpitools/aml/aml_parse.c
740
AML_DEBUGPRINT(",\t%d", width);
usr.sbin/acpitools/aml/aml_parse.c
744
width = aml_parse_pkglength(env);
usr.sbin/acpitools/aml/aml_parse.c
745
template->bitoffset += width;
usr.sbin/btconfig/btconfig.c
367
if (width > 0)
usr.sbin/btconfig/btconfig.c
370
width = 0;
usr.sbin/btconfig/btconfig.c
372
width += printf("%*s%s",
usr.sbin/btconfig/btconfig.c
373
(width == 0 ? (lflag ? 0 : 8) : 1),
usr.sbin/btconfig/btconfig.c
376
if (width > MAX_WIDTH) {
usr.sbin/btconfig/btconfig.c
378
width = 0;
usr.sbin/btconfig/btconfig.c
690
width = printf("\toptions:");
usr.sbin/btconfig/btconfig.c
723
width = printf("\tptype: [0x%04x]", ptype);
usr.sbin/btconfig/btconfig.c
747
width = printf("\tfeatures:");
usr.sbin/btconfig/btconfig.c
78
static int width = 0;
usr.sbin/btconfig/btconfig.c
899
width = printf("%s [0x%06x]", str, class);
usr.sbin/envstat/envstat.c
112
static unsigned int interval, flags, width;
usr.sbin/envstat/envstat.c
194
width = (unsigned int)strtoul(optarg, &endptr, 10);
usr.sbin/envstat/envstat.c
781
if (width)
usr.sbin/envstat/envstat.c
782
(void)printf("%*s\n", width,
usr.sbin/envstat/envstat.c
917
if (width)
usr.sbin/envstat/envstat.c
918
maxlen = width;
usr.sbin/iostat/iostat.c
210
long width = -1, height = -1;
usr.sbin/iostat/iostat.c
262
width = strtol(optarg, &ep, 10);
usr.sbin/iostat/iostat.c
263
if (width < 0 || *ep != '\0')
usr.sbin/iostat/iostat.c
319
if (width == -1) {
usr.sbin/iostat/iostat.c
322
if (cols == NULL || (width = strtol(cols, &ep, 10)) < 0 ||
usr.sbin/iostat/iostat.c
324
width = wincols;
usr.sbin/iostat/iostat.c
326
defdrives = width;
usr.sbin/iteconfig/iteconfig.c
129
newis.width = xstrtol(optarg);
usr.sbin/iteconfig/iteconfig.c
184
is.width, is.height, is.depth, is.x, is.y);
usr.sbin/lpr/filters/lpf.c
177
if (col >= width || (!literal && ch < ' ')) {
usr.sbin/lpr/filters/lpf.c
63
static int width = 132; /* default line length */
usr.sbin/lpr/filters/lpf.c
95
width = i;
usr.sbin/lpr/lpc/lpc.c
270
size_t columns, width = 0, lines;
usr.sbin/lpr/lpc/lpc.c
276
if (len > width)
usr.sbin/lpr/lpc/lpc.c
277
width = len;
usr.sbin/lpr/lpc/lpc.c
279
width = (width + 8) &~ 7;
usr.sbin/lpr/lpc/lpc.c
280
columns = 80 / width;
usr.sbin/lpr/lpc/lpc.c
293
while (w < width) {
usr.sbin/lpr/lpd/printjob.c
118
static char width[10] = "-w"; /* page width in static characters */
usr.sbin/lpr/lpd/printjob.c
1274
(void)snprintf(&width[2], sizeof(width) - 2, "%ld", PW);
usr.sbin/lpr/lpd/printjob.c
1345
execl(OF, cp, width, length, NULL);
usr.sbin/lpr/lpd/printjob.c
356
(void)snprintf(&width[2], sizeof(width) - 2, "%ld", PW);
usr.sbin/lpr/lpd/printjob.c
470
strlcpy(width+2, line+1, sizeof(width) - 2);
usr.sbin/lpr/lpd/printjob.c
579
av[1] = width;
usr.sbin/lpr/lpd/printjob.c
595
execl(_PATH_PR, "pr", width, length,
usr.sbin/lpr/lpd/printjob.c
611
av[1] = width;
usr.sbin/lpr/lpd/printjob.c
621
av[2] = width;
usr.sbin/lpr/lpd/printjob.c
636
av[2] = width;
usr.sbin/lpr/lpd/printjob.c
643
av[1] = width;
usr.sbin/lpr/lpr/lpr.c
101
static char *width; /* width for versatec printing */
usr.sbin/lpr/lpr/lpr.c
240
width = optarg;
usr.sbin/lpr/lpr/lpr.c
330
if (width != NULL)
usr.sbin/lpr/lpr/lpr.c
331
card('W', width);
usr.sbin/mrouted/route.c
1000
(width + 1) :
usr.sbin/mrouted/route.c
1009
width = r->rt_originwidth;
usr.sbin/mrouted/route.c
1016
for (i = 0; i < width; ++i)
usr.sbin/mrouted/route.c
1023
datalen += width + 1;
usr.sbin/mrouted/route.c
739
int width, i, nrt = 0;
usr.sbin/mrouted/route.c
769
((u_char *)&mask)[0] = 0xff; width = 1;
usr.sbin/mrouted/route.c
770
if ((((u_char *)&mask)[1] = *p++) != 0) width = 2;
usr.sbin/mrouted/route.c
771
if ((((u_char *)&mask)[2] = *p++) != 0) width = 3;
usr.sbin/mrouted/route.c
772
if ((((u_char *)&mask)[3] = *p++) != 0) width = 4;
usr.sbin/mrouted/route.c
783
if (datalen < width + 1) {
usr.sbin/mrouted/route.c
790
for (i = 0; i < width; ++i)
usr.sbin/mrouted/route.c
793
datalen -= width + 1;
usr.sbin/mrouted/route.c
839
int width = 0;
usr.sbin/mrouted/route.c
875
(width + 1) :
usr.sbin/mrouted/route.c
888
width = r->rt_originwidth;
usr.sbin/mrouted/route.c
896
for (i = 0; i < width; ++i)
usr.sbin/mrouted/route.c
903
datalen += width + 1;
usr.sbin/mrouted/route.c
974
int width = 0;
usr.sbin/pstat/pstat.c
154
#define PRWORD(ovflw, fmt, width, fixed, val) do { \
usr.sbin/pstat/pstat.c
156
(width) - (fixed) - (ovflw) > 0 ? \
usr.sbin/pstat/pstat.c
157
(width) - (fixed) - (ovflw) : 0, \
usr.sbin/pstat/pstat.c
158
(val)) - (width); \
usr.sbin/repquota/repquota.c
289
int isbytes, width;
usr.sbin/repquota/repquota.c
366
width = isbytes ? 9 : 8;
usr.sbin/repquota/repquota.c
368
width,
usr.sbin/repquota/repquota.c
369
intprt(b1, width+1, q[objtype].qv_usage,
usr.sbin/repquota/repquota.c
371
width,
usr.sbin/repquota/repquota.c
372
intprt(b2, width+1, q[objtype].qv_softlimit,
usr.sbin/repquota/repquota.c
374
width,
usr.sbin/repquota/repquota.c
375
intprt(b3, width+1, q[objtype].qv_hardlimit,
usr.sbin/sysinst/mbr.c
3137
.width = 16U
usr.sbin/sysinst/mbr.c
3139
.width = 26U
usr.sbin/sysinst/mbr.c
3142
{ .title = MSG_mbr_part_header_2, .width = 8U },
usr.sbin/sysinst/mbr.c
3144
{ .title = MSG_mbr_part_header_3, .width = 9U },
usr.sbin/sysinst/part_edit.c
804
x += parts->pscheme->edit_columns[col].width + 1;
usr.sbin/sysinst/part_edit.c
937
unsigned int w = parts->pscheme->edit_columns[i].width;
usr.sbin/sysinst/partitions.h
189
unsigned int width;
usr.sbin/timed/timedc/timedc.c
216
int columns, width = 0, lines;
usr.sbin/timed/timedc/timedc.c
223
if (len > width)
usr.sbin/timed/timedc/timedc.c
224
width = len;
usr.sbin/timed/timedc/timedc.c
226
width = (width + 8) &~ 7;
usr.sbin/timed/timedc/timedc.c
227
columns = 80 / width;
usr.sbin/timed/timedc/timedc.c
240
while (w < width) {
usr.sbin/tpctl/fb.c
179
__fb_put_pixel(struct fb *fb, fb_pixel_t pixel, int width, int x)
usr.sbin/tpctl/fb.c
181
fb_pixel_t mask = (1 << width) - 1;
usr.sbin/tpctl/fb.c
183
x -= (bitsizeof(fb_pixel_t) - width);
usr.sbin/tpctl/fb.c
87
fb->conf.hf_width = fbinfo.width;
usr.sbin/ypbind/ypbind.c
1641
int width, lockfd;
usr.sbin/ypbind/ypbind.c
1737
width = svc_maxfd;
usr.sbin/ypbind/ypbind.c
1738
if (rpcsock > width)
usr.sbin/ypbind/ypbind.c
1739
width = rpcsock;
usr.sbin/ypbind/ypbind.c
1740
if (pingsock > width)
usr.sbin/ypbind/ypbind.c
1741
width = pingsock;
usr.sbin/ypbind/ypbind.c
1742
width++;
usr.sbin/ypbind/ypbind.c
1749
switch (select(width, &fdsr, NULL, NULL, &tv)) {