Symbol: width
bin/ls/print.c
617
printsize(size_t width, off_t bytes)
bin/ls/print.c
626
printf("%*jd ", (int)width, (uintmax_t)bytes);
bin/ps/keyword.c
307
vent->width = v->width;
bin/ps/print.c
118
printf("%-*s/%s", vent->width,
bin/ps/print.c
122
printf("%-*s", vent->width,
bin/ps/print.c
155
left = termwidth - (totwidth - vent->width);
bin/ps/print.c
157
left = vent->width;
bin/ps/print.c
174
printf("%-*.*s", vent->width, vent->width, vis_args);
bin/ps/print.c
193
printf("%-*s/%s", vent->width,
bin/ps/print.c
197
printf("%-*s", vent->width,
bin/ps/print.c
208
printf("%-*s", vent->width, *s != '\0' ? s : "-");
bin/ps/print.c
310
printf("%-*s", vent->width, buf);
bin/ps/print.c
323
printf("%*d", vent->width, KI_LWP(k, prio));
bin/ps/print.c
325
printf("%*d", vent->width, -(KI_LWP(k, tdprio)));
bin/ps/print.c
335
printf("%*s", vent->width, buf);
bin/ps/print.c
341
printf("%-*s", vent->width,
bin/ps/print.c
354
printf("%-*s", vent->width,
bin/ps/print.c
372
printf("%*s", vent->width, "??");
bin/ps/print.c
375
printf("%*s", vent->width, buff);
bin/ps/print.c
387
printf("%*s ", vent->width-1, "??");
bin/ps/print.c
394
printf("%*.*s%c", vent->width-1, vent->width-1, ttname,
bin/ps/print.c
407
printf("%-*s", vent->width, "??");
bin/ps/print.c
409
printf("%-*s", vent->width, ttname);
bin/ps/print.c
440
printf("%-*s", vent->width, buf);
bin/ps/print.c
451
printf("%-*s", vent->width, buf);
bin/ps/print.c
458
printf("%-*.*s", vent->width, vent->width,
bin/ps/print.c
461
printf("%-*s", vent->width, "-");
bin/ps/print.c
478
put64((uintmax_t)KI_PROC(k, vm_map_size)/1024, vent->width, 'k');
bin/ps/print.c
485
put64(pgtob(KI_PROC(k, vm_rssize))/1024, vent->width, 'k');
bin/ps/print.c
492
put64(pgtob(KI_PROC(k, vm_rssize))/1024, vent->width, 'k');
bin/ps/print.c
542
printf("%*s", vent->width, obuff);
bin/ps/print.c
566
printf("%*.1f", vent->width, getpcpu(k));
bin/ps/print.c
588
printf("%*d", vent->width, niceval);
bin/ps/print.c
616
printf("%*.1f", vent->width, getpmem(k));
bin/ps/print.c
622
printf("%*ld", vent->width, KI_LWP(k, ru).ru_majflt);
bin/ps/print.c
629
printf("%*ld", vent->width, KI_PROC(k, ru).ru_maxrss);
bin/ps/print.c
635
put64(pgtob(KI_PROC(k, vm_tsize))/1024, vent->width, 'k');
bin/ps/print.c
663
printf("%*s", vent->width, str);
bin/ps/print.c
686
printf(ofmt, vent->width, *(const char *)bp);
bin/ps/print.c
689
printf(ofmt, vent->width, *(const u_char *)bp);
bin/ps/print.c
692
printf(ofmt, vent->width, *(const short *)bp);
bin/ps/print.c
695
printf(ofmt, vent->width, *(const u_short *)bp);
bin/ps/print.c
698
printf(ofmt, vent->width, *(const int *)bp);
bin/ps/print.c
701
printf(ofmt, vent->width, *(const u_int *)bp);
bin/ps/print.c
704
printf(ofmt, vent->width, *(const long *)bp);
bin/ps/print.c
707
printf(ofmt, vent->width, *(const u_long *)bp);
bin/ps/print.c
710
printf(ofmt, vent->width, *(const u_long *)bp);
bin/ps/print.c
90
printf("%-*s", vent->width, vent->header);
bin/ps/print.c
92
printf("%*s", vent->width, vent->header);
bin/ps/ps.c
528
vent->dwidth = vent->width;
bin/ps/ps.c
529
vent->width = 0;
bin/ps/ps.c
550
if (vent->width < i)
bin/ps/ps.c
551
vent->width = i;
bin/ps/ps.c
552
if (vent->width > vent->dwidth)
bin/ps/ps.c
553
vent->width = vent->dwidth;
bin/ps/ps.c
565
if (vent->width < i)
bin/ps/ps.c
566
vent->width = i;
bin/ps/ps.c
567
totwidth += vent->width + 1; /* +1 for space */
bin/ps/ps.h
57
int width; /* printing width */
bin/ps/ps.h
74
short width; /* printing width */
crypto/libressl/crypto/bn/bn_exp.c
572
int width = 1 << window;
crypto/libressl/crypto/bn/bn_exp.c
578
for (i = 0, j = idx; i < top; i++, j += width) {
crypto/libressl/crypto/bn/bn_exp.c
590
int width = 1 << window;
crypto/libressl/crypto/bn/bn_exp.c
597
for (i = 0; i < top; i++, table += width) {
crypto/libressl/crypto/bn/bn_exp.c
600
for (j = 0; j < width; j++) {
crypto/libressl/crypto/bn/bn_exp.c
619
for (i = 0; i < top; i++, table += width) {
crypto/libressl/crypto/ct/ct_prn.c
74
BIO_hex_string(BIO *out, int indent, int width, unsigned char *data,
crypto/libressl/crypto/ct/ct_prn.c
88
j = (j + 1) % width;
crypto/openssh/sftp.c
1011
width = ws.ws_col;
crypto/openssh/sftp.c
1018
columns = width / (m + 2);
crypto/openssh/sftp.c
1020
colspace = width / columns;
crypto/openssh/sftp.c
1834
u_int y, m = 0, width = 80, columns = 1, colspace = 0, llen;
crypto/openssh/sftp.c
1843
width = ws.ws_col;
crypto/openssh/sftp.c
1846
columns = width / (m + 2);
crypto/openssh/sftp.c
1848
colspace = width / columns;
crypto/openssh/sftp.c
1849
colspace = MINIMUM(colspace, width);
crypto/openssh/sftp.c
860
u_int m = 0, width = 80;
crypto/openssh/sftp.c
876
width = ws.ws_col;
crypto/openssh/sftp.c
878
columns = width / (m + 2);
crypto/openssh/sftp.c
880
colspace = width / columns;
crypto/openssh/sftp.c
881
colspace = MINIMUM(colspace, width);
crypto/openssh/sftp.c
978
u_int colspace = 0, columns = 1, m = 0, width = 80;
crypto/openssh/utf8.c
115
int width; /* Display width of the character wc. */
crypto/openssh/utf8.c
146
width = -1;
crypto/openssh/utf8.c
154
width = 0;
crypto/openssh/utf8.c
155
} else if ((width = wcwidth(wc)) == -1 &&
crypto/openssh/utf8.c
163
if (width >= 0) {
crypto/openssh/utf8.c
165
total_width > max_width - width))
crypto/openssh/utf8.c
173
total_width += width;
crypto/openssh/utf8.c
196
width = tp - dp;
crypto/openssh/utf8.c
197
total_width += width;
crypto/openssh/utf8.c
200
width = 4;
crypto/openssh/utf8.c
204
ret += width;
games/adventure/save.c
449
size_t width;
games/adventure/save.c
537
fread(p->address, p->width, 1, in);
games/adventure/save.c
538
for (s = p->address, i = 0; i < p->width; i++, s++)
games/adventure/save.c
545
crc_add(&crc, p->address, p->width);
games/atc/grammar.y
144
sp->width = $3;
games/atc/grammar.y
291
if (!(x == 0) && !(x == sp->width - 1) &&
games/atc/grammar.y
299
if (x < 1 || x >= sp->width - 1)
games/atc/grammar.y
308
if (x < 0 || x >= sp->width)
games/atc/grammar.y
343
if (x == sp->width - 1)
games/atc/grammar.y
375
if (sp->width == 0) {
games/atc/graphics.c
133
radar = newwin(scp->height, scp->width * 2, 0, 0);
games/atc/graphics.c
137
cleanradar = newwin(scp->height, scp->width * 2, 0, 0);
games/atc/graphics.c
150
for (j = 1; j < scp->width - 1; j++) {
games/atc/graphics.c
170
for (i = 0; i < scp->width - 1; i++)
games/atc/graphics.c
177
for (i = 0; i < scp->width - 1; i++)
games/atc/graphics.c
184
wmove(radar, i, (scp->width - 1) * 2);
games/atc/struct.h
58
int width, height;
games/atc/update.c
163
if (pp->xpos < 1 || pp->xpos >= sp->width - 1 ||
games/atc/update.c
342
p.fuel = sp->width + sp->height;
games/banner/banner.c
1014
static int width = DWIDTH; /* -w option: scrunch letters to 80 columns */
games/banner/banner.c
1032
width = atoi(optarg);
games/banner/banner.c
1033
if (width <= 0 || width > DWIDTH)
games/banner/banner.c
1043
for (i = 0; i < width; i++) {
games/banner/banner.c
1044
j = i * DWIDTH / width;
games/banner/banner.c
1149
x = (x*width + (DWIDTH/2)) / DWIDTH;
games/banner/banner.c
1150
y = (y*width + (DWIDTH/2)) / DWIDTH;
games/boggle/boggle/prtable.c
62
prtable(char **base, int num, int d_cols, int width,
games/boggle/boggle/prtable.c
75
cols = width / maxlen;
games/rogue/level.c
205
short width, height;
games/rogue/level.c
275
width = get_rand(7, (right_col - left_col - 2));
games/rogue/level.c
278
col_offset = get_rand(0, ((right_col - left_col) - width + 1));
games/rogue/level.c
284
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++) {
include/printf.h
48
int width;
lib/i18n_module/HZ/citrus_hz.c
70
int width;
lib/i18n_module/mapper_std/citrus_mapper_std.c
105
idx = idx * lz->width + n - lz->begin;
lib/i18n_module/mapper_std/citrus_mapper_std.c
143
lz->width= end - begin + 1;
lib/i18n_module/mapper_std/citrus_mapper_std.c
312
table_size = lz->width;
lib/i18n_module/mapper_std/citrus_mapper_std.c
315
table_size *= lz->width;
lib/i18n_module/mapper_std/citrus_mapper_std_local.h
38
_citrus_index_t width;
lib/libc/stdio/vfprintf.c
1010
PAD(width - realsz, blanks);
lib/libc/stdio/vfprintf.c
311
int width; /* width from format (%8d), or 0 */
lib/libc/stdio/vfprintf.c
493
width = 0;
lib/libc/stdio/vfprintf.c
520
GETASTER (width);
lib/libc/stdio/vfprintf.c
521
if (width >= 0)
lib/libc/stdio/vfprintf.c
523
width = -width;
lib/libc/stdio/vfprintf.c
572
width = n;
lib/libc/stdio/vfprintf.c
934
prsize = width > realsz ? width : realsz;
lib/libc/stdio/vfprintf.c
943
PAD(width - realsz, blanks);
lib/libc/stdio/vfprintf.c
956
PAD(width - realsz, zeroes);
lib/libc/stdio/vfscanf.c
129
convert_char(FILE *fp, char * p, int width)
lib/libc/stdio/vfscanf.c
136
if ((n = fp->pub._r) < width) {
lib/libc/stdio/vfscanf.c
138
width -= n;
lib/libc/stdio/vfscanf.c
146
sum += width;
lib/libc/stdio/vfscanf.c
147
fp->pub._r -= width;
lib/libc/stdio/vfscanf.c
148
fp->pub._p += width;
lib/libc/stdio/vfscanf.c
154
size_t r = __fread(p, 1, width, fp);
lib/libc/stdio/vfscanf.c
163
convert_wchar(FILE *fp, wchar_t *wcp, int width, locale_t locale)
lib/libc/stdio/vfscanf.c
171
while (width-- != 0 &&
lib/libc/stdio/vfscanf.c
183
convert_ccl(FILE *fp, char * p, int width, const char *ccltab)
lib/libc/stdio/vfscanf.c
192
if (--width == 0)
lib/libc/stdio/vfscanf.c
205
if (--width == 0)
lib/libc/stdio/vfscanf.c
222
convert_wccl(FILE *fp, wchar_t *wcp, int width, const char *ccltab,
lib/libc/stdio/vfscanf.c
233
width-- != 0 && ccltab[wctob(wi)])
lib/libc/stdio/vfscanf.c
239
width-- != 0 && ccltab[wctob(wi)]) {
lib/libc/stdio/vfscanf.c
253
convert_string(FILE *fp, char * p, int width)
lib/libc/stdio/vfscanf.c
262
if (--width == 0)
lib/libc/stdio/vfscanf.c
272
if (--width == 0)
lib/libc/stdio/vfscanf.c
284
convert_wstring(FILE *fp, wchar_t *wcp, int width, locale_t locale)
lib/libc/stdio/vfscanf.c
294
width-- != 0 && !iswspace(wi))
lib/libc/stdio/vfscanf.c
300
width-- != 0 && !iswspace(wi)) {
lib/libc/stdio/vfscanf.c
319
parseint(FILE *fp, char * __restrict buf, int width, int base, int flags)
lib/libc/stdio/vfscanf.c
328
for (p = buf; width; width--) {
lib/libc/stdio/vfscanf.c
476
size_t width; /* field width, or 0 */
lib/libc/stdio/vfscanf.c
502
width = 0;
lib/libc/stdio/vfscanf.c
555
width = width * 10 + c - '0';
lib/libc/stdio/vfscanf.c
689
if (width == 0)
lib/libc/stdio/vfscanf.c
690
width = 1;
lib/libc/stdio/vfscanf.c
693
width, locale);
lib/libc/stdio/vfscanf.c
695
nr = convert_char(fp, GETARG(char *), width);
lib/libc/stdio/vfscanf.c
703
if (width == 0)
lib/libc/stdio/vfscanf.c
704
width = (size_t)~0; /* `infinity' */
lib/libc/stdio/vfscanf.c
706
nr = convert_wccl(fp, GETARG(wchar_t *), width,
lib/libc/stdio/vfscanf.c
709
nr = convert_ccl(fp, GETARG(char *), width,
lib/libc/stdio/vfscanf.c
722
if (width == 0)
lib/libc/stdio/vfscanf.c
723
width = (size_t)~0;
lib/libc/stdio/vfscanf.c
726
width, locale);
lib/libc/stdio/vfscanf.c
728
nr = convert_string(fp, GETARG(char *), width);
lib/libc/stdio/vfscanf.c
737
if (width == 0 || width > sizeof(buf) - 1)
lib/libc/stdio/vfscanf.c
738
width = sizeof(buf) - 1;
lib/libc/stdio/vfscanf.c
741
if (--width > sizeof(buf) - 2)
lib/libc/stdio/vfscanf.c
742
width = sizeof(buf) - 2;
lib/libc/stdio/vfscanf.c
743
width++;
lib/libc/stdio/vfscanf.c
745
nr = parseint(fp, buf, width, base, flags);
lib/libc/stdio/vfscanf.c
781
if (width == 0 || width > sizeof(buf) - 1)
lib/libc/stdio/vfscanf.c
782
width = sizeof(buf) - 1;
lib/libc/stdio/vfscanf.c
783
nr = parsefloat(fp, buf, buf + width, locale);
lib/libc/stdio/vfwprintf.c
1006
PAD(width - realsz, blanks);
lib/libc/stdio/vfwprintf.c
1019
PAD(width - realsz, zeroes);
lib/libc/stdio/vfwprintf.c
1074
PAD(width - realsz, blanks);
lib/libc/stdio/vfwprintf.c
390
int width; /* width from format (%8d), or 0 */
lib/libc/stdio/vfwprintf.c
561
width = 0;
lib/libc/stdio/vfwprintf.c
588
GETASTER (width);
lib/libc/stdio/vfwprintf.c
589
if (width >= 0)
lib/libc/stdio/vfwprintf.c
591
width = -width;
lib/libc/stdio/vfwprintf.c
640
width = n;
lib/libc/stdio/vfwprintf.c
997
prsize = width > realsz ? width : realsz;
lib/libc/stdio/vfwscanf.c
141
convert_char(FILE *fp, char * mbp, int width, locale_t locale)
lib/libc/stdio/vfwscanf.c
150
while (width-- != 0 && (wi = __fgetwc(fp, locale)) != WEOF) {
lib/libc/stdio/vfwscanf.c
165
convert_wchar(FILE *fp, wchar_t *wcp, int width, locale_t locale)
lib/libc/stdio/vfwscanf.c
171
while (width-- != 0 && (wi = __fgetwc(fp, locale)) != WEOF) {
lib/libc/stdio/vfwscanf.c
182
convert_ccl(FILE *fp, char * mbp, int width, const struct ccl *ccl,
lib/libc/stdio/vfwscanf.c
193
width-- != 0 && inccl(ccl, wi)) {
lib/libc/stdio/vfwscanf.c
210
convert_wccl(FILE *fp, wchar_t *wcp, int width, const struct ccl *ccl,
lib/libc/stdio/vfwscanf.c
220
width-- != 0 && inccl(ccl, wi))
lib/libc/stdio/vfwscanf.c
227
width-- != 0 && inccl(ccl, wi))
lib/libc/stdio/vfwscanf.c
240
convert_string(FILE *fp, char * mbp, int width, locale_t locale)
lib/libc/stdio/vfwscanf.c
249
while ((wi = __fgetwc(fp, locale)) != WEOF && width-- != 0 &&
lib/libc/stdio/vfwscanf.c
267
convert_wstring(FILE *fp, wchar_t *wcp, int width, locale_t locale)
lib/libc/stdio/vfwscanf.c
276
width-- != 0 && !iswspace(wi))
lib/libc/stdio/vfwscanf.c
283
width-- != 0 && !iswspace(wi)) {
lib/libc/stdio/vfwscanf.c
302
parseint(FILE *fp, wchar_t *buf, int width, int base, int flags,
lib/libc/stdio/vfwscanf.c
312
for (wcp = buf; width; width--) {
lib/libc/stdio/vfwscanf.c
452
size_t width; /* field width, or 0 */
lib/libc/stdio/vfwscanf.c
481
width = 0;
lib/libc/stdio/vfwscanf.c
535
width = width * 10 + c - '0';
lib/libc/stdio/vfwscanf.c
667
if (width == 0)
lib/libc/stdio/vfwscanf.c
668
width = 1;
lib/libc/stdio/vfwscanf.c
670
nr = convert_wchar(fp, GETARG(wchar_t *), width,
lib/libc/stdio/vfwscanf.c
673
nr = convert_char(fp, GETARG(char *), width,
lib/libc/stdio/vfwscanf.c
682
if (width == 0)
lib/libc/stdio/vfwscanf.c
683
width = (size_t)~0; /* `infinity' */
lib/libc/stdio/vfwscanf.c
686
nr = convert_wccl(fp, GETARG(wchar_t *), width,
lib/libc/stdio/vfwscanf.c
689
nr = convert_ccl(fp, GETARG(char *), width,
lib/libc/stdio/vfwscanf.c
702
if (width == 0)
lib/libc/stdio/vfwscanf.c
703
width = (size_t)~0;
lib/libc/stdio/vfwscanf.c
706
width, locale);
lib/libc/stdio/vfwscanf.c
708
nr = convert_string(fp, GETARG(char *), width,
lib/libc/stdio/vfwscanf.c
717
if (width == 0 || width > sizeof(buf) /
lib/libc/stdio/vfwscanf.c
719
width = sizeof(buf) / sizeof(*buf) - 1;
lib/libc/stdio/vfwscanf.c
721
nr = parseint(fp, buf, width, base, flags, locale);
lib/libc/stdio/vfwscanf.c
757
if (width == 0 || width > sizeof(buf) /
lib/libc/stdio/vfwscanf.c
759
width = sizeof(buf) / sizeof(*buf) - 1;
lib/libc/stdio/vfwscanf.c
760
nr = parsefloat(fp, buf, buf + width, locale);
lib/libc/stdio/xprintf.c
162
if ((!pi->left) && pi->width > len)
lib/libc/stdio/xprintf.c
163
ret += __printf_pad(io, pi->width - len, pi->pad == '0');
lib/libc/stdio/xprintf.c
165
if (pi->left && pi->width > len)
lib/libc/stdio/xprintf.c
166
ret += __printf_pad(io, pi->width - len, pi->pad == '0');
lib/libc/stdio/xprintf.c
378
pi->width = n;
lib/libc/stdio/xprintf.c
523
if (pi->width) fprintf(stderr, " width %d", pi->width);
lib/libc/stdio/xprintf.c
536
pi->width = args[pi->get_width].intarg;
lib/libc/stdio/xprintf.c
543
if (pi->width < 0) {
lib/libc/stdio/xprintf.c
545
pi->width = -pi->width;
lib/libc/stdio/xprintf_float.c
351
ret += __printf_pad(io, pi->width - realsz, 0);
lib/libc/stdio/xprintf_float.c
364
ret += __printf_pad(io, pi->width - realsz, 1);
lib/libc/stdio/xprintf_float.c
419
ret += __printf_pad(io, pi->width - realsz, 0);
lib/libc/stdio/xprintf_hexdump.c
58
if (pi->width > 0 && pi->width < 16)
lib/libc/stdio/xprintf_hexdump.c
59
l = pi->width;
lib/libc/stdio/xprintf_int.c
398
else if (pi->pad == '0' && pi->width > l && !pi->left)
lib/libc/stdio/xprintf_int.c
399
zext = pi->width - l;
lib/libc/stdio/xprintf_int.c
417
if (pi->width > (pe - p) && !pi->left) {
lib/libc/stdio/xprintf_int.c
418
l = pi->width - (pe - p);
lib/libc/stdio/xprintf_int.c
427
if (!pi->left && pi->width > l)
lib/libc/stdio/xprintf_int.c
428
ret += __printf_pad(io, pi->width - l, 0);
lib/libc/stdio/xprintf_int.c
438
if (pi->width > ret && pi->left)
lib/libc/stdio/xprintf_int.c
439
ret += __printf_pad(io, pi->width - ret, 0);
lib/libc/stdlib/lsearch.c
23
void *lsearch(const void *key, void *base, size_t *nelp, size_t width,
lib/libc/stdlib/lsearch.c
27
return (lwork(key, base, nelp, width, compar, 1));
lib/libc/stdlib/lsearch.c
30
void *lfind(const void *key, const void *base, size_t *nelp, size_t width,
lib/libc/stdlib/lsearch.c
34
return (lwork(key, base, nelp, width, compar, 0));
lib/libc/stdlib/lsearch.c
38
lwork(const void *key, const void *base, size_t *nelp, size_t width,
lib/libc/stdlib/lsearch.c
48
for (endp = (uint8_t *)(ep + width * *nelp); ep < endp; ep += width) {
lib/libc/stdlib/lsearch.c
61
memcpy(endp, key, width);
lib/libc/stdlib/strfmon.c
111
int width; /* field width */
lib/libc/stdlib/strfmon.c
155
width = -1; /* no width specified */
lib/libc/stdlib/strfmon.c
193
GET_NUMBER(width);
lib/libc/stdlib/strfmon.c
197
if ((unsigned int)width >= maxsize - (dst - s))
lib/libc/stdlib/strfmon.c
371
if (dst - tmpptr < width) {
lib/libc/stdlib/strfmon.c
373
while (dst - tmpptr < width)
lib/libc/stdlib/strfmon.c
377
memmove(tmpptr + width-pad_size, tmpptr,
lib/libc/stdlib/strfmon.c
379
memset(tmpptr, ' ', width-pad_size);
lib/libc/stdlib/strfmon.c
380
dst += width-pad_size;
lib/libcam/scsi_cmdparse.c
103
int width;
lib/libcam/scsi_cmdparse.c
123
(void *)((long)(ARG)), width, \
lib/libcam/scsi_cmdparse.c
179
width = strtol(fmt, &intendp, 10);
lib/libcam/scsi_cmdparse.c
181
if (width > 8)
lib/libcam/scsi_cmdparse.c
188
value = (bits >> (shift - width)) &
lib/libcam/scsi_cmdparse.c
189
mask[width];
lib/libcam/scsi_cmdparse.c
193
shift, bits, value, width, mask[width]);
lib/libcam/scsi_cmdparse.c
198
shift -= width;
lib/libcam/scsi_cmdparse.c
205
width = strtol(fmt, &intendp, 10);
lib/libcam/scsi_cmdparse.c
207
switch(width) {
lib/libcam/scsi_cmdparse.c
244
width = strtol(fmt, &intendp, 10);
lib/libcam/scsi_cmdparse.c
250
databuf, width, field_name);
lib/libcam/scsi_cmdparse.c
254
bcopy(databuf, dest, width);
lib/libcam/scsi_cmdparse.c
257
for (p = dest + width - 1;
lib/libcam/scsi_cmdparse.c
265
databuf += width;
lib/libcam/scsi_cmdparse.c
285
width = (arg_put) ? 0 : va_arg(ap, int);
lib/libcam/scsi_cmdparse.c
288
width = strtol(fmt, &intendp, 10);
lib/libcam/scsi_cmdparse.c
293
databuf += width; /* Relative seek */
lib/libcam/scsi_cmdparse.c
295
databuf = base + width; /* Absolute seek */
lib/libcam/scsi_cmdparse.c
543
int width, value, error, suppress;
lib/libcam/scsi_cmdparse.c
552
while ((ret = next_field(&fmt, &c, &width, &value, field_name,
lib/libcam/scsi_cmdparse.c
568
ret, c, width, value, field_name, error, suppress);
lib/libcam/scsi_cmdparse.c
577
if (width < 8) {
lib/libcam/scsi_cmdparse.c
583
shift += width;
lib/libcam/scsi_cmdparse.c
602
switch(width) {
lib/libvgl/bitmap.c
104
bcopy(&VGLPlane[i][0], dst->Bitmap + pos, width);
lib/libvgl/bitmap.c
113
for (last = width; ; ) {
lib/libvgl/bitmap.c
115
bcopy(&VGLPlane[i][width - last], dst->Bitmap + offset, len);
lib/libvgl/bitmap.c
130
for (planepos=0, pos=i; pos<width; planepos++, pos+=4)
lib/libvgl/bitmap.c
138
while (width > 0) {
lib/libvgl/bitmap.c
140
i = min(VGLAdpInfo.va_window_size - offset, width);
lib/libvgl/bitmap.c
144
width -= i;
lib/libvgl/bitmap.c
150
bcopy(line, address, width);
lib/libvgl/bitmap.c
159
ReadVerticalLine(VGLBitmap *src, int x, int y, int width, byte *line)
lib/libvgl/bitmap.c
169
end_offset = (x + width) & 0x07;
lib/libvgl/bitmap.c
170
count = (width + start_offset) / 8;
lib/libvgl/bitmap.c
193
end_offset = (x + width) & 0x07;
lib/libvgl/bitmap.c
194
count = (width + start_offset) / 8;
lib/libvgl/bitmap.c
210
while (pos < width) {
lib/libvgl/bitmap.c
211
for (; bit >= 0 && pos < width; bit--, pos++) {
lib/libvgl/bitmap.c
226
for (planepos=0, pos=i; pos<width; planepos++, pos+=4)
lib/libvgl/bitmap.c
234
while (width > 0) {
lib/libvgl/bitmap.c
236
i = min(VGLAdpInfo.va_window_size - offset, width);
lib/libvgl/bitmap.c
240
width -= i;
lib/libvgl/bitmap.c
246
bcopy(address, line, width);
lib/libvgl/bitmap.c
255
VGLBitmap *dst, int dstx, int dsty, int width, int hight)
lib/libvgl/bitmap.c
263
width=width+srcx; dstx-=srcx; srcx=0;
lib/libvgl/bitmap.c
269
width=width+dstx; srcx-=dstx; dstx=0;
lib/libvgl/bitmap.c
274
if (srcx+width > src->VXsize)
lib/libvgl/bitmap.c
275
width=src->VXsize-srcx;
lib/libvgl/bitmap.c
278
if (dstx+width > dst->VXsize)
lib/libvgl/bitmap.c
279
width=dst->VXsize-dstx;
lib/libvgl/bitmap.c
282
if (width < 0 || hight < 0)
lib/libvgl/bitmap.c
286
WriteVerticalLine(dst, dstx, dstline, width,
lib/libvgl/bitmap.c
292
ReadVerticalLine(src, srcx, srcline, width,
lib/libvgl/bitmap.c
300
if (width > sizeof(buffer)) {
lib/libvgl/bitmap.c
301
p = malloc(width);
lib/libvgl/bitmap.c
308
ReadVerticalLine(src, srcx, srcline, width, p);
lib/libvgl/bitmap.c
309
WriteVerticalLine(dst, dstx, dstline, width, p);
lib/libvgl/bitmap.c
311
if (width > sizeof(buffer))
lib/libvgl/bitmap.c
319
VGLBitmap *dst, int dstx, int dsty, int width, int hight)
lib/libvgl/bitmap.c
323
VGLMouseFreeze(dstx, dsty, width, hight, 0);
lib/libvgl/bitmap.c
324
error = __VGLBitmapCopy(src, srcx, srcy, dst, dstx, dsty, width, hight);
lib/libvgl/bitmap.c
46
WriteVerticalLine(VGLBitmap *dst, int x, int y, int width, byte *line)
lib/libvgl/bitmap.c
58
end_offset = (x + width) & 0x07;
lib/libvgl/bitmap.c
59
i = (width + start_offset) / 8;
lib/libvgl/bitmap.c
69
while (pos < width) {
lib/libvgl/bitmap.c
71
while (pos < last && pos < width)
lib/libvgl/bitmap.c
89
width+=8;
lib/libvgl/bitmap.c
90
width /= 8;
lib/libvgl/mouse.c
234
VGLMouseFreeze(int x, int y, int width, int hight, byte color)
lib/libvgl/mouse.c
238
if (width > 1 || hight > 1) { /* bitmap */
lib/libvgl/mouse.c
245
overlap = (x + width) - VGLMouseXpos;
lib/libvgl/vgl.h
101
int __VGLBitmapCopy(VGLBitmap *src, int srcx, int srcy, VGLBitmap *dst, int dstx, int dsty, int width, int hight);
lib/libvgl/vgl.h
102
int VGLBitmapCopy(VGLBitmap *src, int srcx, int srcy, VGLBitmap *dst, int dstx, int dsty, int width, int hight);
lib/libvgl/vgl.h
126
int VGLMouseFreeze(int x, int y, int width, int hight, byte color);
libexec/ftpd/ftpcmd.y
1541
int width, NCMDS;
libexec/ftpd/ftpcmd.y
1548
width = 0, NCMDS = 0;
libexec/ftpd/ftpcmd.y
1552
if (len > width)
libexec/ftpd/ftpcmd.y
1553
width = len;
libexec/ftpd/ftpcmd.y
1556
width = (width + 8) &~ 7;
libexec/ftpd/ftpcmd.y
1563
columns = 76 / width;
libexec/ftpd/ftpcmd.y
1576
while (w < width) {
libexec/ftpd/ftpcmd.y
1599
reply(214, "%s%-*s\t%s; unimplemented.", type, width,
libexec/rtld-elf/rtld_printf.c
130
int base, lflag, qflag, tmp, width, ladjust, sharpflag, neg, sign, dot;
libexec/rtld-elf/rtld_printf.c
146
width = 0;
libexec/rtld-elf/rtld_printf.c
174
width = va_arg(ap, int);
libexec/rtld-elf/rtld_printf.c
175
if (width < 0) {
libexec/rtld-elf/rtld_printf.c
177
width = -width;
libexec/rtld-elf/rtld_printf.c
199
width = n;
libexec/rtld-elf/rtld_printf.c
230
if (!width)
libexec/rtld-elf/rtld_printf.c
231
width = 16;
libexec/rtld-elf/rtld_printf.c
232
while(width--) {
libexec/rtld-elf/rtld_printf.c
236
if (width)
libexec/rtld-elf/rtld_printf.c
284
sharpflag = (width == 0);
libexec/rtld-elf/rtld_printf.c
306
width -= n;
libexec/rtld-elf/rtld_printf.c
308
if (!ladjust && width > 0)
libexec/rtld-elf/rtld_printf.c
309
while (width--)
libexec/rtld-elf/rtld_printf.c
313
if (ladjust && width > 0)
libexec/rtld-elf/rtld_printf.c
314
while (width--)
libexec/rtld-elf/rtld_printf.c
388
dwidth = width - tmp;
libexec/rtld-elf/rtld_printf.c
389
width -= tmp + imax(dwidth, n);
libexec/rtld-elf/rtld_printf.c
392
while (width-- > 0)
libexec/rtld-elf/rtld_printf.c
411
while (width-- > 0)
sbin/dhclient/dhclient.c
2054
unsigned char width;
sbin/dhclient/dhclient.c
2062
width = data[i++];
sbin/dhclient/dhclient.c
2063
if (width == 0) {
sbin/dhclient/dhclient.c
2066
} else if (width < 9) {
sbin/dhclient/dhclient.c
2069
} else if (width < 17) {
sbin/dhclient/dhclient.c
2073
} else if (width < 25) {
sbin/dhclient/dhclient.c
2078
} else if (width < 33) {
sbin/dhclient/dhclient.c
2085
warning("Incorrect subnet width: %d", width);
sbin/dhclient/dhclient.c
2088
mask = (in_addr_t)(~0) << (32 - width);
sbin/dhclient/dhclient.c
2102
(addr >> rounddown(32 - width, 8)) & 0xFF);
sbin/growfs/growfs.c
154
int width;
sbin/growfs/growfs.c
228
width = charsperline();
sbin/growfs/growfs.c
238
if (i + j >= width) {
sbin/hammer2/zlib/hammer2_zlib_trees.c
325
# define SEPARATOR(i, last, width) \
sbin/hammer2/zlib/hammer2_zlib_trees.c
327
((i) % (width) == (width)-1 ? ",\n" : ", "))
sbin/ipfw/ipfw2.c
1633
int bcwidth, n, nbytes, nstat, ndyn, pcwidth, width;
sbin/ipfw/ipfw2.c
1684
width = snprintf(NULL, 0, "%ju", (uintmax_t)r->pcnt);
sbin/ipfw/ipfw2.c
1685
if (width > pcwidth)
sbin/ipfw/ipfw2.c
1686
pcwidth = width;
sbin/ipfw/ipfw2.c
1689
width = snprintf(NULL, 0, "%ju", (uintmax_t)r->bcnt);
sbin/ipfw/ipfw2.c
1690
if (width > bcwidth)
sbin/ipfw/ipfw2.c
1691
bcwidth = width;
sbin/ipfw/ipfw2.c
1696
width = snprintf(NULL, 0, "%ju", (uintmax_t)d->pcnt);
sbin/ipfw/ipfw2.c
1697
if (width > pcwidth)
sbin/ipfw/ipfw2.c
1698
pcwidth = width;
sbin/ipfw/ipfw2.c
1700
width = snprintf(NULL, 0, "%ju", (uintmax_t)d->bcnt);
sbin/ipfw/ipfw2.c
1701
if (width > bcwidth)
sbin/ipfw/ipfw2.c
1702
bcwidth = width;
sbin/ipfw/ipfw2.c
3855
int width;
sbin/ipfw/ipfw2.c
3857
width = snprintf(NULL, 0, "%ju",
sbin/ipfw/ipfw2.c
3859
if (width > uwidth)
sbin/ipfw/ipfw2.c
3860
uwidth = width;
sbin/ipfw3/ipfw3.c
682
int bcwidth, nbytes, pcwidth, width;
sbin/ipfw3/ipfw3.c
710
width = snprintf(NULL, 0, "%ju", (uintmax_t)rule->pcnt);
sbin/ipfw3/ipfw3.c
711
if (width > pcwidth)
sbin/ipfw3/ipfw3.c
712
pcwidth = width;
sbin/ipfw3/ipfw3.c
715
width = snprintf(NULL, 0, "%ju", (uintmax_t)rule->bcnt);
sbin/ipfw3/ipfw3.c
716
if (width > bcwidth)
sbin/ipfw3/ipfw3.c
717
bcwidth = width;
sbin/newfs/mkfs.c
157
int width;
sbin/newfs/mkfs.c
698
width = charsperline();
sbin/newfs/mkfs.c
706
if (i + j >= width) {
sbin/restore/interactive.c
628
int width, haveprefix, havepostfix;
sbin/restore/interactive.c
631
width = 0;
sbin/restore/interactive.c
639
if (width < fp->len)
sbin/restore/interactive.c
640
width = fp->len;
sbin/restore/interactive.c
647
width++;
sbin/restore/interactive.c
649
width++;
sbin/restore/interactive.c
653
width += precision + 1;
sbin/restore/interactive.c
655
width++;
sbin/restore/interactive.c
656
columns = 81 / width;
sbin/restore/interactive.c
680
for (w = fp->len; w < width; w++)
sbin/route/show.c
204
int width;
sbin/route/show.c
234
width = p_sockaddr(sa, rtm->rtm_flags, WID_DST);
sbin/route/show.c
236
p_sockaddr(sa, 0, WID_GW + WID_DST - width);
sbin/route/show.c
273
p_sockaddr(struct sockaddr *sa, int flags, int width)
sbin/route/show.c
348
(width < 0 || strlen(cp) > (size_t)width))
sbin/route/show.c
349
width = strlen(cp);
sbin/route/show.c
384
if (width < 0) {
sbin/route/show.c
388
count = printf("%-*s ", width, cp);
sbin/route/show.c
390
count = printf("%-*.*s ", width, width, cp);
stand/lib/printf.c
185
int base, lflag, qflag, tmp, width, ladjust, sharpflag, neg, sign, dot;
stand/lib/printf.c
202
width = 0;
stand/lib/printf.c
231
width = va_arg(ap, int);
stand/lib/printf.c
232
if (width < 0) {
stand/lib/printf.c
234
width = -width;
stand/lib/printf.c
256
width = n;
stand/lib/printf.c
304
sharpflag = (width == 0);
stand/lib/printf.c
321
width -= n;
stand/lib/printf.c
323
if (!ladjust && width > 0)
stand/lib/printf.c
324
while (width--)
stand/lib/printf.c
328
if (ladjust && width > 0)
stand/lib/printf.c
329
while (width--)
stand/lib/printf.c
399
dwidth = width - tmp;
stand/lib/printf.c
400
width -= tmp + imax(dwidth, n);
stand/lib/printf.c
403
while (width-- > 0)
stand/lib/printf.c
422
while (width-- > 0)
sys/bus/pccard/pccardvar.h
54
int width;
sys/bus/pci/hostb_pci.c
123
pci_hostb_read_config(device_t dev, device_t child, int reg, int width)
sys/bus/pci/hostb_pci.c
126
return (pci_read_config(dev, reg, width));
sys/bus/pci/hostb_pci.c
131
uint32_t val, int width)
sys/bus/pci/hostb_pci.c
134
pci_write_config(dev, reg, val, width);
sys/bus/pci/pci.c
4139
pci_read_config_method(device_t dev, device_t child, int reg, int width)
sys/bus/pci/pci.c
4145
cfg->bus, cfg->slot, cfg->func, reg, width));
sys/bus/pci/pci.c
4150
uint32_t val, int width)
sys/bus/pci/pci.c
4156
cfg->bus, cfg->slot, cfg->func, reg, val, width);
sys/bus/pci/pci_pci.c
555
pcib_read_config(device_t dev, int b, int s, int f, int reg, int width)
sys/bus/pci/pci_pci.c
557
return(PCIB_READ_CONFIG(device_get_parent(device_get_parent(dev)), b, s, f, reg, width));
sys/bus/pci/pci_pci.c
561
pcib_write_config(device_t dev, int b, int s, int f, int reg, uint32_t val, int width)
sys/bus/pci/pci_pci.c
563
PCIB_WRITE_CONFIG(device_get_parent(device_get_parent(dev)), b, s, f, reg, val, width);
sys/bus/pci/pci_private.h
67
int reg, int width);
sys/bus/pci/pci_private.h
69
int reg, uint32_t val, int width);
sys/bus/pci/pcib_private.h
66
typedef uint32_t pci_read_config_fn(int b, int s, int f, int reg, int width);
sys/bus/pci/pcib_private.h
77
uint32_t pcib_read_config(device_t dev, int b, int s, int f, int reg, int width);
sys/bus/pci/pcib_private.h
78
void pcib_write_config(device_t dev, int b, int s, int f, int reg, uint32_t val, int width);
sys/bus/pci/pcivar.h
300
pci_read_config(device_t dev, int reg, int width)
sys/bus/pci/pcivar.h
302
return PCI_READ_CONFIG(device_get_parent(dev), dev, reg, width);
sys/bus/pci/pcivar.h
306
pci_write_config(device_t dev, int reg, uint32_t val, int width)
sys/bus/pci/pcivar.h
308
PCI_WRITE_CONFIG(device_get_parent(dev), dev, reg, val, width);
sys/bus/pci/vga_pci.c
497
vga_pci_read_config(device_t dev, device_t child, int reg, int width)
sys/bus/pci/vga_pci.c
500
return (pci_read_config(dev, reg, width));
sys/bus/pci/vga_pci.c
505
uint32_t val, int width)
sys/bus/pci/vga_pci.c
508
pci_write_config(dev, reg, val, width);
sys/bus/u4b/uvc/uvc_drv.c
1480
DPRINTF("width:%u height:%u\n", frm->width, frm->height);
sys/bus/u4b/uvc/uvc_drv.c
1549
DPRINTF("width:%u height:%u\n", frm->width, frm->height);
sys/bus/u4b/uvc/uvc_drv.c
1625
frm->width, frm->height);
sys/bus/u4b/uvc/uvc_drv.c
1903
frm->width = UGETW(frmd->wWidth);
sys/bus/u4b/uvc/uvc_drv.c
1914
frm->width * frm->height / 8;
sys/bus/u4b/uvc/uvc_drv.c
1930
frm->width = UGETW(fbrmd->wWidth);
sys/bus/u4b/uvc/uvc_drv.c
1945
frm->width * frm->height / 8;
sys/bus/u4b/uvc/uvc_drv.c
301
sizeimage = frm->width * frm->height / 8 * fmt->bpp;
sys/bus/u4b/uvc/uvc_drv.c
542
sel->r.width = v->cur_frm->width;
sys/bus/u4b/uvc/uvc_drv.c
589
pix->width = frm->width;
sys/bus/u4b/uvc/uvc_drv.c
592
pix->bytesperline = fmt->bpp * frm->width / 8;
sys/bus/u4b/uvc/uvc_drv.c
599
DPRINTF("width:%d height:%d bytesperline:%d ", pix->width,
sys/bus/u4b/uvc/uvc_drv.c
623
vfmt->fmt.pix.width, vfmt->fmt.pix.height);
sys/bus/u4b/uvc/uvc_drv.c
644
rw = vfmt->fmt.pix.width;
sys/bus/u4b/uvc/uvc_drv.c
649
w = fmt->frm[i].width;
sys/bus/u4b/uvc/uvc_drv.c
667
DPRINTF("frm width:%u height:%u\n", frm->width, frm->height);
sys/bus/u4b/uvc/uvc_drv.c
668
vfmt->fmt.pix.width = frm->width;
sys/bus/u4b/uvc/uvc_drv.c
715
vfmt->fmt.pix.width = frm->width;
sys/bus/u4b/uvc/uvc_drv.c
718
vfmt->fmt.pix.bytesperline = fmt->bpp * frm->width / 8;
sys/bus/u4b/uvc/uvc_drv.c
752
if (fmt->frm[i].width == itv->width &&
sys/bus/u4b/uvc/uvc_drv.c
815
fs->x.discrete.width = frm->width;
sys/bus/u4b/uvc/uvc_drv.h
625
uint16_t width;
sys/ddb/db_examine.c
102
width = 32;
sys/ddb/db_examine.c
129
db_printf("%-*s", width, tbuf);
sys/ddb/db_examine.c
134
db_printf("%-*lx", width, (long)value);
sys/ddb/db_examine.c
140
db_printf("%-*s", width, tbuf);
sys/ddb/db_examine.c
145
db_printf("%-*ld", width, (long)value);
sys/ddb/db_examine.c
150
db_printf("%-*lu", width, (long)value);
sys/ddb/db_examine.c
155
db_printf("%-*lo", width, (long)value);
sys/ddb/db_examine.c
78
int width;
sys/ddb/db_examine.c
85
width = 16;
sys/ddb/db_examine.c
90
width = 4;
sys/ddb/db_examine.c
94
width = 8;
sys/ddb/db_examine.c
98
width = 16;
sys/dev/acpica/acpi_ec.c
284
UINT64 *val, int width);
sys/dev/acpica/acpi_ec.c
286
UINT64 val, int width);
sys/dev/acpica/acpi_ec.c
622
acpi_ec_read_method(device_t dev, u_int addr, UINT64 *val, int width)
sys/dev/acpica/acpi_ec.c
628
status = EcSpaceHandler(ACPI_READ, addr, width * 8, val, sc, NULL);
sys/dev/acpica/acpi_ec.c
635
acpi_ec_write_method(device_t dev, u_int addr, UINT64 val, int width)
sys/dev/acpica/acpi_ec.c
641
status = EcSpaceHandler(ACPI_WRITE, addr, width * 8, &val, sc, NULL);
sys/dev/acpica/acpi_wmi/acpi_wmi.c
142
ACPI_PHYSICAL_ADDRESS address, UINT32 width,
sys/dev/acpica/acpi_wmi/acpi_wmi.c
661
UINT32 width, UINT64 *value, void *context,
sys/dev/acpica/acpi_wmi/acpi_wmi.c
673
if (width % 8 != 0 || value == NULL || context == NULL)
sys/dev/acpica/acpi_wmi/acpi_wmi.c
675
if (address + (width / 8) - 1 > 0xFF)
sys/dev/acpica/acpi_wmi/acpi_wmi.c
682
for (i = 0; i < width; i += 8, ++ec_addr) {
sys/dev/disk/amd/amd.c
1598
pDCB->tinfo.current.width =
sys/dev/disk/nata/ata-raid.c
1255
rdp->width = total_disks / (rdp->type & (AR_RAID1 | AR_T_RAID01) ? 2 : 1);
sys/dev/disk/nata/ata-raid.c
1257
(uint64_t)disk_size * (rdp->width - (rdp->type == AR_RAID5));
sys/dev/disk/nata/ata-raid.c
158
rdp->interleave * rdp->width);
sys/dev/disk/nata/ata-raid.c
1685
raid->width = be16toh(meta->configs[0].total_disks);
sys/dev/disk/nata/ata-raid.c
1691
raid->width = be16toh(meta->configs[0].total_disks) / 2;
sys/dev/disk/nata/ata-raid.c
1868
raid->width = meta->array_width;
sys/dev/disk/nata/ata-raid.c
1876
raid->total_sectors / raid->width;
sys/dev/disk/nata/ata-raid.c
1881
if ((raid->type & AR_T_RAID0) && (raid->total_disks < raid->width))
sys/dev/disk/nata/ata-raid.c
1882
raid->total_disks = raid->width;
sys/dev/disk/nata/ata-raid.c
1934
meta->disk_number = (disk < rdp->width) ? disk : disk + 5;
sys/dev/disk/nata/ata-raid.c
1942
if (disk < rdp->width) {
sys/dev/disk/nata/ata-raid.c
1948
meta->disk_number -= rdp->width;
sys/dev/disk/nata/ata-raid.c
1965
meta->array_width = rdp->width;
sys/dev/disk/nata/ata-raid.c
1966
meta->stripe_shift = (rdp->width > 1) ? (ffs(rdp->interleave)-1) : 0;
sys/dev/disk/nata/ata-raid.c
2039
raid->width = meta->configs[0].total_disks;
sys/dev/disk/nata/ata-raid.c
2045
raid->width = meta->configs[0].total_disks / 2;
sys/dev/disk/nata/ata-raid.c
2051
raid->width = meta->configs[0].total_disks;
sys/dev/disk/nata/ata-raid.c
2057
raid->width = meta->configs[0].total_disks;
sys/dev/disk/nata/ata-raid.c
210
if (disk < rdp->width)
sys/dev/disk/nata/ata-raid.c
2104
(raid->type == AR_T_RAID5 ? raid->width - 1 : raid->width);
sys/dev/disk/nata/ata-raid.c
2190
raid->width = map->total_disks;
sys/dev/disk/nata/ata-raid.c
2198
raid->width = map->total_disks / 2;
sys/dev/disk/nata/ata-raid.c
2203
raid->width = map->total_disks;
sys/dev/disk/nata/ata-raid.c
2358
meta->disk[disk].sectors = rdp->total_sectors / rdp->width;
sys/dev/disk/nata/ata-raid.c
2379
map->disk_sectors = rdp->total_sectors / rdp->width;
sys/dev/disk/nata/ata-raid.c
2491
raid->width = meta->array_width;
sys/dev/disk/nata/ata-raid.c
2498
raid->width = 1;
sys/dev/disk/nata/ata-raid.c
2505
raid->width = meta->array_width;
sys/dev/disk/nata/ata-raid.c
2513
raid->width = 1;
sys/dev/disk/nata/ata-raid.c
2538
raid->disks[disk_number].sectors = raid->total_sectors / raid->width;
sys/dev/disk/nata/ata-raid.c
2624
raid->width = total_disks;
sys/dev/disk/nata/ata-raid.c
2629
raid->width = 1;
sys/dev/disk/nata/ata-raid.c
2634
raid->width = total_disks / 2;
sys/dev/disk/nata/ata-raid.c
2639
raid->width = total_disks;
sys/dev/disk/nata/ata-raid.c
2644
raid->width = 1;
sys/dev/disk/nata/ata-raid.c
2660
raid->total_sectors = disk_size * (raid->width-(raid->type==AR_RAID5));
sys/dev/disk/nata/ata-raid.c
2726
disk_sectors = rdp->total_sectors / (rdp->width - (rdp->type == AR_RAID5));
sys/dev/disk/nata/ata-raid.c
2828
raid->width = meta->configs[raid_entry].raid.array_width;
sys/dev/disk/nata/ata-raid.c
2835
raid->width = meta->configs[raid_entry].raid.array_width;
sys/dev/disk/nata/ata-raid.c
2843
raid->width = meta->configs[raid_entry].raid.array_width;
sys/dev/disk/nata/ata-raid.c
2971
raid->width = meta->raid[entry].total_disks;
sys/dev/disk/nata/ata-raid.c
2976
raid->width = meta->raid[entry].array_width;
sys/dev/disk/nata/ata-raid.c
2993
raid->total_sectors = raid->width * meta->raid[entry].sectors;
sys/dev/disk/nata/ata-raid.c
3002
raid->disks[disk_number].sectors = raid->total_sectors / raid->width;
sys/dev/disk/nata/ata-raid.c
3108
raid->width = meta->array_width;
sys/dev/disk/nata/ata-raid.c
3123
raid->total_sectors / raid->width;
sys/dev/disk/nata/ata-raid.c
3248
raid->width = meta->raid.array_width;
sys/dev/disk/nata/ata-raid.c
3402
meta->raid.array_width = rdp->width;
sys/dev/disk/nata/ata-raid.c
3563
raid->width = (meta->raid0_disks != 0xff) ? meta->raid0_disks : 1;
sys/dev/disk/nata/ata-raid.c
3594
raid->total_sectors / raid->width;
sys/dev/disk/nata/ata-raid.c
360
drv = (blkno / rdp->interleave) % rdp->width;
sys/dev/disk/nata/ata-raid.c
361
lba = (((blkno/rdp->interleave)/rdp->width)*rdp->interleave)+chunk;
sys/dev/disk/nata/ata-raid.c
366
drv = (blkno / rdp->interleave) % (rdp->width - 1);
sys/dev/disk/nata/ata-raid.c
3662
raid->width = (meta->type_total_disks & SIS_D_MASK);
sys/dev/disk/nata/ata-raid.c
3668
raid->width = (meta->type_total_disks & SIS_D_MASK);
sys/dev/disk/nata/ata-raid.c
367
par = rdp->width - 1 -
sys/dev/disk/nata/ata-raid.c
3670
(raid->total_sectors > (raid->width * SIS_LBA(parent))))
sys/dev/disk/nata/ata-raid.c
3671
raid->total_sectors = raid->width * SIS_LBA(parent);
sys/dev/disk/nata/ata-raid.c
3676
raid->width = 1;
sys/dev/disk/nata/ata-raid.c
368
(blkno / (rdp->interleave * (rdp->width - 1))) % rdp->width;
sys/dev/disk/nata/ata-raid.c
3707
raid->disks[drive].sectors = raid->total_sectors/raid->width;
sys/dev/disk/nata/ata-raid.c
371
lba = ((blkno/rdp->interleave)/(rdp->width-1))*(rdp->interleave) +
sys/dev/disk/nata/ata-raid.c
372
((blkno%(rdp->interleave*(rdp->width-1)))%rdp->interleave);
sys/dev/disk/nata/ata-raid.c
3858
raid->width = meta->stripe_layout & VIA_L_DISKS;
sys/dev/disk/nata/ata-raid.c
3860
(raid->total_sectors > (raid->width * meta->disk_sectors)))
sys/dev/disk/nata/ata-raid.c
3861
raid->total_sectors = raid->width * meta->disk_sectors;
sys/dev/disk/nata/ata-raid.c
3866
raid->width = 1;
sys/dev/disk/nata/ata-raid.c
3872
raid->width = meta->stripe_layout & VIA_L_DISKS;
sys/dev/disk/nata/ata-raid.c
3874
(raid->total_sectors > (raid->width * meta->disk_sectors)))
sys/dev/disk/nata/ata-raid.c
3875
raid->total_sectors = raid->width * meta->disk_sectors;
sys/dev/disk/nata/ata-raid.c
3880
raid->width = meta->stripe_layout & VIA_L_DISKS;
sys/dev/disk/nata/ata-raid.c
3882
(raid->total_sectors > ((raid->width - 1)*meta->disk_sectors)))
sys/dev/disk/nata/ata-raid.c
3883
raid->total_sectors = (raid->width - 1) * meta->disk_sectors;
sys/dev/disk/nata/ata-raid.c
3888
raid->width = 1;
sys/dev/disk/nata/ata-raid.c
3975
meta->stripe_layout |= (rdp->width & VIA_L_DISKS);
sys/dev/disk/nata/ata-raid.c
3984
rdp->total_sectors / (rdp->width - (rdp->type == AR_RAID5));
sys/dev/disk/nata/ata-raid.c
421
if ((rdp->disks[drv + rdp->width].flags &
sys/dev/disk/nata/ata-raid.c
423
!rdp->disks[drv + rdp->width].dev) {
sys/dev/disk/nata/ata-raid.c
424
rdp->disks[drv + rdp->width].flags &= ~AR_DF_ONLINE;
sys/dev/disk/nata/ata-raid.c
4333
kprintf("width %u\n", raid->width);
sys/dev/disk/nata/ata-raid.c
436
blk = ((lba / rdp->interleave) * rdp->width) * rdp->interleave +
sys/dev/disk/nata/ata-raid.c
437
(rdp->interleave * (drv % rdp->width)) +
sys/dev/disk/nata/ata-raid.c
444
(rdp->disks[drv+rdp->width].flags & AR_DF_ONLINE);
sys/dev/disk/nata/ata-raid.c
459
(rdp->disks[drv+rdp->width].last_lba-AR_PROXIMITY) &&
sys/dev/disk/nata/ata-raid.c
461
(rdp->disks[drv+rdp->width].last_lba+AR_PROXIMITY))) {
sys/dev/disk/nata/ata-raid.c
462
drv += rdp->width;
sys/dev/disk/nata/ata-raid.c
470
drv += rdp->width;
sys/dev/disk/nata/ata-raid.c
483
if (drv < rdp->width)
sys/dev/disk/nata/ata-raid.c
484
this = drv + rdp->width;
sys/dev/disk/nata/ata-raid.c
486
this = drv - rdp->width;
sys/dev/disk/nata/ata-raid.c
533
if ((rdp->disks[drv+rdp->width].flags & AR_DF_ONLINE) ||
sys/dev/disk/nata/ata-raid.c
535
(rdp->disks[drv+rdp->width].flags & AR_DF_SPARE) &&
sys/dev/disk/nata/ata-raid.c
547
int this = drv + rdp->width;
sys/dev/disk/nata/ata-raid.c
581
drv += rdp->width;
sys/dev/disk/nata/ata-raid.c
681
if (request->this < rdp->width)
sys/dev/disk/nata/ata-raid.c
682
mirror = request->this + rdp->width;
sys/dev/disk/nata/ata-raid.c
684
mirror = request->this - rdp->width;
sys/dev/disk/nata/ata-raid.c
693
blk = ((request->u.ata.lba / rdp->interleave) * rdp->width) *
sys/dev/disk/nata/ata-raid.c
695
(request->this % rdp->width)) +
sys/dev/disk/nata/ata-raid.c
941
for (disk = 0; disk < rdp->width; disk++) {
sys/dev/disk/nata/ata-raid.c
943
!(rdp->disks[disk + rdp->width].flags & AR_DF_ONLINE)) {
sys/dev/disk/nata/ata-raid.c
947
!(rdp->disks[disk + rdp->width].flags & AR_DF_ONLINE)) ||
sys/dev/disk/nata/ata-raid.c
949
(rdp->disks [disk + rdp->width].flags & AR_DF_ONLINE))) {
sys/dev/disk/nata/ata-raid.h
94
u_int width; /* array width in disks */
sys/dev/disk/ncr/ncr.c
3653
tp->tinfo.user.width = usrwide;
sys/dev/disk/ncr/ncr.c
3925
if (tp->tinfo.current.width
sys/dev/disk/ncr/ncr.c
3926
!= tp->tinfo.goal.width) {
sys/dev/disk/ncr/ncr.c
4005
msgptr[msglen++] = tp->tinfo.goal.width;
sys/dev/disk/ncr/ncr.c
4258
tp->tinfo.user.width = spi->bus_width;
sys/dev/disk/ncr/ncr.c
4268
tp->tinfo.goal.width = spi->bus_width;
sys/dev/disk/ncr/ncr.c
4318
spi->bus_width = tinfo->width;
sys/dev/disk/ncr/ncr.c
4804
tp->tinfo.current.width = MSG_EXT_WDTR_BUS_8_BIT;
sys/dev/disk/ncr/ncr.c
5032
tp->tinfo.current.width = wide;
sys/dev/disk/ncr/ncr.c
5033
tp->tinfo.goal.width = wide;
sys/dev/disk/ncr/ncr.c
518
u_int8_t width;
sys/dev/disk/ncr/ncr.c
6210
if (wide > tp->tinfo.user.width)
sys/dev/disk/ncr/ncr.c
6211
{chg = 1; wide = tp->tinfo.user.width;}
sys/dev/disk/sym/sym_hipd.c
1063
u8 width;
sys/dev/disk/sym/sym_hipd.c
2755
tp->tinfo.user.width = np->maxwide ? BUS_16_BIT : BUS_8_BIT;
sys/dev/disk/sym/sym_hipd.c
2767
tp->tinfo.user.width == BUS_16_BIT) {
sys/dev/disk/sym/sym_hipd.c
2856
else if (tp->tinfo.current.width != tp->tinfo.goal.width)
sys/dev/disk/sym/sym_hipd.c
2877
msgptr[msglen++] = tp->tinfo.goal.width;
sys/dev/disk/sym/sym_hipd.c
2886
msgptr[msglen++] = tp->tinfo.goal.width;
sys/dev/disk/sym/sym_hipd.c
3310
tp->tinfo.current.width = BUS_8_BIT;
sys/dev/disk/sym/sym_hipd.c
3476
cts__spi.bus_width = tp->tinfo.current.width;
sys/dev/disk/sym/sym_hipd.c
3513
tp->tinfo.goal.width = tp->tinfo.current.width = wide;
sys/dev/disk/sym/sym_hipd.c
3557
tp->tinfo.goal.width = tp->tinfo.current.width = wide;
sys/dev/disk/sym/sym_hipd.c
4767
else if (tp->tinfo.current.width != BUS_8_BIT)
sys/dev/disk/sym/sym_hipd.c
5206
tp->tinfo.current.width = BUS_8_BIT;
sys/dev/disk/sym/sym_hipd.c
5768
if (wide > tp->tinfo.user.width)
sys/dev/disk/sym/sym_hipd.c
5769
{chg = 1; wide = tp->tinfo.user.width;}
sys/dev/disk/sym/sym_hipd.c
5859
tp->tinfo.goal.width = wide;
sys/dev/disk/sym/sym_hipd.c
5902
if (wide > tp->tinfo.user.width)
sys/dev/disk/sym/sym_hipd.c
5903
{chg = 1; wide = tp->tinfo.user.width;}
sys/dev/disk/sym/sym_hipd.c
7599
if (tp->tinfo.current.width != tp->tinfo.goal.width ||
sys/dev/disk/sym/sym_hipd.c
8097
cts__spi->bus_width = tip->width;
sys/dev/disk/sym/sym_hipd.c
8239
tp->tinfo.current.width = tp->tinfo.goal.width = BUS_8_BIT;
sys/dev/disk/sym/sym_hipd.c
8261
tip->width = cts__spi->bus_width;
sys/dev/disk/sym/sym_hipd.c
8278
if (tip->width > SYM_SETUP_MAX_WIDE) tip->width = SYM_SETUP_MAX_WIDE;
sys/dev/disk/sym/sym_hipd.c
8285
if (tip->width > np->maxwide)
sys/dev/disk/sym/sym_hipd.c
8286
tip->width = np->maxwide;
sys/dev/disk/sym/sym_hipd.c
8292
!(tip->width == BUS_16_BIT && tip->offset)) {
sys/dev/disk/sym/sym_hipd.c
9142
tp->tinfo.user.width = tn->bus_width == 0x10 ? BUS_16_BIT : BUS_8_BIT;
sys/dev/disk/sym/sym_hipd.c
9169
tp->tinfo.user.width =
sys/dev/disk/trm/trm.c
2093
pDCB->tinfo.current.width
sys/dev/disk/trm/trm.c
2095
pDCB->tinfo.goal.width
sys/dev/disk/trm/trm.c
2153
pDCB->tinfo.current.width =
sys/dev/disk/trm/trm.c
2980
pDCB->tinfo.user.width = (pDCB->SyncMode & WIDE_NEGO_ENABLE) ?
sys/dev/disk/trm/trm.c
2985
pDCB->tinfo.current.width = MSG_EXT_WDTR_BUS_8_BIT;
sys/dev/disk/trm/trm.c
873
spi->bus_width = tinfo->width;
sys/dev/disk/trm/trm.c
878
TRM_DPRINTF("width: %d \n", tinfo->width);
sys/dev/disk/trm/trm.c
976
pDCB->tinfo.user.width = spi->bus_width;
sys/dev/disk/trm/trm.c
981
pDCB->tinfo.goal.width = spi->bus_width;
sys/dev/disk/trm/trm.h
47
u_int8_t width;
sys/dev/drm/amd/amdgpu/amdgpu_fb.c
146
mode_cmd->pitches[0] = amdgpu_align_pitch(adev, mode_cmd->width, cpp,
sys/dev/drm/amd/amdgpu/amdgpu_fb.c
219
mode_cmd.width = sizes->surface_width;
sys/dev/drm/amd/amdgpu/amdgpu_fb.c
261
info->width = sizes->fb_width;
sys/dev/drm/amd/amdgpu/amdgpu_fb.c
92
int amdgpu_align_pitch(struct amdgpu_device *adev, int width, int cpp, bool tiled)
sys/dev/drm/amd/amdgpu/amdgpu_fb.c
94
int aligned = width;
sys/dev/drm/amd/amdgpu/amdgpu_gem.c
759
args->pitch = amdgpu_align_pitch(adev, args->width,
sys/dev/drm/amd/amdgpu/amdgpu_mode.h
634
int amdgpu_align_pitch(struct amdgpu_device *adev, int width, int bpp, bool tiled);
sys/dev/drm/amd/amdgpu/amdgpu_uvd.c
518
unsigned width = msg[6];
sys/dev/drm/amd/amdgpu/amdgpu_uvd.c
524
unsigned width_in_mb = width / 16;
sys/dev/drm/amd/amdgpu/amdgpu_uvd.c
531
image_size = width * height;
sys/dev/drm/amd/amdgpu/amdgpu_uvd.c
667
image_size = (ALIGN(width, 16) * ALIGN(height, 16) * 3) / 2;
sys/dev/drm/amd/amdgpu/amdgpu_uvd.c
672
min_ctx_size = ((width + 255) / 16) * ((height + 255) / 16)
sys/dev/drm/amd/amdgpu/amdgpu_uvd.c
681
if (width > pitch) {
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2031
WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width);
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2350
uint32_t width,
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2367
if ((width > amdgpu_crtc->max_cursor_width) ||
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2369
DRM_ERROR("bad cursor width or height %d x %d\n", width, height);
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2397
if (width != amdgpu_crtc->cursor_width ||
sys/dev/drm/amd/amdgpu/dce_v10_0.c
2408
amdgpu_crtc->cursor_width = width;
sys/dev/drm/amd/amdgpu/dce_v11_0.c
2073
WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width);
sys/dev/drm/amd/amdgpu/dce_v11_0.c
2429
uint32_t width,
sys/dev/drm/amd/amdgpu/dce_v11_0.c
2446
if ((width > amdgpu_crtc->max_cursor_width) ||
sys/dev/drm/amd/amdgpu/dce_v11_0.c
2448
DRM_ERROR("bad cursor width or height %d x %d\n", width, height);
sys/dev/drm/amd/amdgpu/dce_v11_0.c
2476
if (width != amdgpu_crtc->cursor_width ||
sys/dev/drm/amd/amdgpu/dce_v11_0.c
2487
amdgpu_crtc->cursor_width = width;
sys/dev/drm/amd/amdgpu/dce_v8_0.c
1940
WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width);
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2251
uint32_t width,
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2268
if ((width > amdgpu_crtc->max_cursor_width) ||
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2270
DRM_ERROR("bad cursor width or height %d x %d\n", width, height);
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2298
if (width != amdgpu_crtc->cursor_width ||
sys/dev/drm/amd/amdgpu/dce_v8_0.c
2309
amdgpu_crtc->cursor_width = width;
sys/dev/drm/amd/amdgpu/si_dpm.c
3665
u32 tmp, width, row, column, bank, density;
sys/dev/drm/amd/amdgpu/si_dpm.c
3674
width = ((RREG32(MC_SEQ_IO_DEBUG_DATA) >> 1) & 1) ? 16 : 32;
sys/dev/drm/amd/amdgpu/si_dpm.c
3681
density = (1 << (row + column - 20 + bank)) * width;
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2216
plane_state->src_rect.width = state->src_w >> 16;
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2218
if (plane_state->src_rect.width == 0)
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2231
plane_state->dst_rect.width = state->crtc_w;
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2337
plane_state->plane_size.grph.surface_size.width = fb->width;
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2345
awidth = ALIGN(fb->width, 64);
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2349
plane_state->plane_size.video.luma_size.width = awidth;
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2356
plane_state->plane_size.video.chroma_size.width = awidth;
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2477
src.width = mode->hdisplay;
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2479
dst.width = stream->timing.h_addressable;
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2485
if (src.width * dst.height <
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2486
src.height * dst.width) {
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2488
dst.width = src.width *
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2493
dst.width / src.width;
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2499
dst.x = (stream->timing.h_addressable - dst.width) / 2;
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2505
dst.width -= dm_state->underscan_hborder;
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
2514
dst.x, dst.y, dst.width, dst.height);
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
3547
awidth = ALIGN(new_state->fb->width, 64);
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
4322
attributes.width = plane->state->crtc_w;
sys/dev/drm/amd/display/amdgpu_dm/amdgpu_dm.c
4328
attributes.pitch = attributes.width;
sys/dev/drm/amd/display/dc/bios/bios_parser.c
2651
slot_layout_info->width = record->ucWidth;
sys/dev/drm/amd/display/dc/bios/bios_parser2.c
1729
slot_layout_info->width = record->bracketwidth;
sys/dev/drm/amd/display/dc/calcs/dce_calcs.c
2796
data->src_width[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.viewport.width);
sys/dev/drm/amd/display/dc/calcs/dce_calcs.c
2851
data->src_width[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.viewport.width);
sys/dev/drm/amd/display/dc/calcs/dce_calcs.c
2898
data->src_width[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.viewport.width);
sys/dev/drm/amd/display/dc/calcs/dce_calcs.c
2945
} else if (pipe[i].stream->dst.width != 0 &&
sys/dev/drm/amd/display/dc/calcs/dce_calcs.c
2947
pipe[i].stream->src.width != 0 &&
sys/dev/drm/amd/display/dc/calcs/dce_calcs.c
2949
data->src_width[num_displays + 4] = bw_int_to_fixed(pipe[i].stream->src.width);
sys/dev/drm/amd/display/dc/calcs/dce_calcs.c
2952
data->h_taps[num_displays + 4] = pipe[i].stream->src.width == pipe[i].stream->dst.width ? bw_int_to_fixed(1) : bw_int_to_fixed(2);
sys/dev/drm/amd/display/dc/calcs/dce_calcs.c
2954
data->h_scale_ratio[num_displays + 4] = bw_frc_to_fixed(pipe[i].stream->src.width, pipe[i].stream->dst.width);
sys/dev/drm/amd/display/dc/calcs/dcn_calcs.c
283
input->src.viewport_width = pipe->plane_res.scl_data.viewport.width;
sys/dev/drm/amd/display/dc/calcs/dcn_calcs.c
285
input->src.data_pitch = pipe->plane_res.scl_data.viewport.width;
sys/dev/drm/amd/display/dc/calcs/dcn_calcs.c
286
input->src.data_pitch_c = pipe->plane_res.scl_data.viewport.width;
sys/dev/drm/amd/display/dc/calcs/dcn_calcs.c
407
input->dest.recout_width = pipe->plane_res.scl_data.recout.width;
sys/dev/drm/amd/display/dc/calcs/dcn_calcs.c
410
input->dest.full_recout_width = pipe->plane_res.scl_data.recout.width;
sys/dev/drm/amd/display/dc/calcs/dcn_calcs.c
875
v->viewport_width[input_idx] = pipe->plane_res.scl_data.viewport.width;
sys/dev/drm/amd/display/dc/calcs/dcn_calcs.c
876
v->scaler_rec_out_width[input_idx] = pipe->plane_res.scl_data.recout.width;
sys/dev/drm/amd/display/dc/calcs/dcn_calcs.c
880
int viewport_end = pipe->plane_res.scl_data.viewport.width
sys/dev/drm/amd/display/dc/calcs/dcn_calcs.c
882
int viewport_b_end = pipe->bottom_pipe->plane_res.scl_data.viewport.width
sys/dev/drm/amd/display/dc/calcs/dcn_calcs.c
904
v->scaler_rec_out_width[input_idx] = pipe->plane_res.scl_data.recout.width
sys/dev/drm/amd/display/dc/calcs/dcn_calcs.c
905
+ pipe->bottom_pipe->plane_res.scl_data.recout.width;
sys/dev/drm/amd/display/dc/core/dc.c
1197
if (u->scaling_info->clip_rect.width != u->surface->clip_rect.width
sys/dev/drm/amd/display/dc/core/dc.c
1199
|| u->scaling_info->dst_rect.width != u->surface->dst_rect.width
sys/dev/drm/amd/display/dc/core/dc.c
1203
if ((u->scaling_info->dst_rect.width < u->surface->dst_rect.width
sys/dev/drm/amd/display/dc/core/dc.c
1205
&& (u->scaling_info->dst_rect.width < u->surface->src_rect.width
sys/dev/drm/amd/display/dc/core/dc.c
1211
if (u->scaling_info->src_rect.width != u->surface->src_rect.width
sys/dev/drm/amd/display/dc/core/dc.c
1215
if (u->scaling_info->src_rect.width > u->surface->src_rect.width
sys/dev/drm/amd/display/dc/core/dc.c
1313
(stream_update->src.width != 0))
sys/dev/drm/amd/display/dc/core/dc.c
1317
(stream_update->dst.width != 0))
sys/dev/drm/amd/display/dc/core/dc_debug.c
106
plane_state->src_rect.width,
sys/dev/drm/amd/display/dc/core/dc_debug.c
110
plane_state->dst_rect.width,
sys/dev/drm/amd/display/dc/core/dc_debug.c
114
plane_state->clip_rect.width,
sys/dev/drm/amd/display/dc/core/dc_debug.c
125
plane_state->plane_size.grph.surface_size.width,
sys/dev/drm/amd/display/dc/core/dc_debug.c
216
update->plane_info->plane_size.grph.surface_size.width,
sys/dev/drm/amd/display/dc/core/dc_debug.c
280
update->scaling_info->src_rect.width,
sys/dev/drm/amd/display/dc/core/dc_debug.c
284
update->scaling_info->dst_rect.width,
sys/dev/drm/amd/display/dc/core/dc_debug.c
288
update->scaling_info->clip_rect.width,
sys/dev/drm/amd/display/dc/core/dc_resource.c
1125
if (pipe_ctx->plane_res.scl_data.viewport.height < 16 || pipe_ctx->plane_res.scl_data.viewport.width < 16)
sys/dev/drm/amd/display/dc/core/dc_resource.c
1180
pipe_ctx->plane_res.scl_data.viewport.width,
sys/dev/drm/amd/display/dc/core/dc_resource.c
1184
plane_state->dst_rect.width,
sys/dev/drm/amd/display/dc/core/dc_resource.c
483
swap(rect->height, rect->width);
sys/dev/drm/amd/display/dc/core/dc_resource.c
529
clip.width = stream->src.x + stream->src.width <
sys/dev/drm/amd/display/dc/core/dc_resource.c
530
plane_state->clip_rect.x + plane_state->clip_rect.width ?
sys/dev/drm/amd/display/dc/core/dc_resource.c
531
stream->src.x + stream->src.width - clip.x :
sys/dev/drm/amd/display/dc/core/dc_resource.c
532
plane_state->clip_rect.x + plane_state->clip_rect.width - clip.x ;
sys/dev/drm/amd/display/dc/core/dc_resource.c
546
surf_src.width / plane_state->dst_rect.width;
sys/dev/drm/amd/display/dc/core/dc_resource.c
547
data->viewport.width = clip.width *
sys/dev/drm/amd/display/dc/core/dc_resource.c
548
surf_src.width / plane_state->dst_rect.width;
sys/dev/drm/amd/display/dc/core/dc_resource.c
569
data->viewport.x = surf_src.width - data->viewport.x - data->viewport.width;
sys/dev/drm/amd/display/dc/core/dc_resource.c
574
data->viewport.x = surf_src.width - data->viewport.x - data->viewport.width;
sys/dev/drm/amd/display/dc/core/dc_resource.c
578
data->viewport.x = surf_src.width - data->viewport.x - data->viewport.width;
sys/dev/drm/amd/display/dc/core/dc_resource.c
591
data->viewport_c.width = (data->viewport.width + vpc_div - 1) / vpc_div;
sys/dev/drm/amd/display/dc/core/dc_resource.c
596
data->viewport.x += data->viewport.width / 2;
sys/dev/drm/amd/display/dc/core/dc_resource.c
597
data->viewport_c.x += data->viewport_c.width / 2;
sys/dev/drm/amd/display/dc/core/dc_resource.c
599
data->viewport.width = (data->viewport.width + 1) / 2;
sys/dev/drm/amd/display/dc/core/dc_resource.c
600
data->viewport_c.width = (data->viewport_c.width + 1) / 2;
sys/dev/drm/amd/display/dc/core/dc_resource.c
602
if (data->viewport.width > 1)
sys/dev/drm/amd/display/dc/core/dc_resource.c
603
data->viewport.width /= 2;
sys/dev/drm/amd/display/dc/core/dc_resource.c
604
if (data->viewport_c.width > 1)
sys/dev/drm/amd/display/dc/core/dc_resource.c
605
data->viewport_c.width /= 2;
sys/dev/drm/amd/display/dc/core/dc_resource.c
634
- stream->src.x) * stream->dst.width
sys/dev/drm/amd/display/dc/core/dc_resource.c
635
/ stream->src.width;
sys/dev/drm/amd/display/dc/core/dc_resource.c
637
pipe_ctx->plane_res.scl_data.recout.width = surf_clip.width *
sys/dev/drm/amd/display/dc/core/dc_resource.c
638
stream->dst.width / stream->src.width;
sys/dev/drm/amd/display/dc/core/dc_resource.c
639
if (pipe_ctx->plane_res.scl_data.recout.width + pipe_ctx->plane_res.scl_data.recout.x >
sys/dev/drm/amd/display/dc/core/dc_resource.c
640
stream->dst.x + stream->dst.width)
sys/dev/drm/amd/display/dc/core/dc_resource.c
641
pipe_ctx->plane_res.scl_data.recout.width =
sys/dev/drm/amd/display/dc/core/dc_resource.c
642
stream->dst.x + stream->dst.width
sys/dev/drm/amd/display/dc/core/dc_resource.c
680
pipe_ctx->plane_res.scl_data.recout.width / 2;
sys/dev/drm/amd/display/dc/core/dc_resource.c
682
pipe_ctx->plane_res.scl_data.recout.width =
sys/dev/drm/amd/display/dc/core/dc_resource.c
683
(pipe_ctx->plane_res.scl_data.recout.width + 1) / 2;
sys/dev/drm/amd/display/dc/core/dc_resource.c
685
if (pipe_ctx->plane_res.scl_data.recout.width > 1)
sys/dev/drm/amd/display/dc/core/dc_resource.c
686
pipe_ctx->plane_res.scl_data.recout.width /= 2;
sys/dev/drm/amd/display/dc/core/dc_resource.c
694
* stream->dst.width / stream->src.width -
sys/dev/drm/amd/display/dc/core/dc_resource.c
695
surf_src.x * plane_state->dst_rect.width / surf_src.width
sys/dev/drm/amd/display/dc/core/dc_resource.c
696
* stream->dst.width / stream->src.width;
sys/dev/drm/amd/display/dc/core/dc_resource.c
702
recout_full->width = plane_state->dst_rect.width
sys/dev/drm/amd/display/dc/core/dc_resource.c
703
* stream->dst.width / stream->src.width;
sys/dev/drm/amd/display/dc/core/dc_resource.c
713
const int in_w = stream->src.width;
sys/dev/drm/amd/display/dc/core/dc_resource.c
715
const int out_w = stream->dst.width;
sys/dev/drm/amd/display/dc/core/dc_resource.c
723
surf_src.width,
sys/dev/drm/amd/display/dc/core/dc_resource.c
724
plane_state->dst_rect.width);
sys/dev/drm/amd/display/dc/core/dc_resource.c
813
if ((data->viewport.x + data->viewport.width) < (src.x + src.width)) {
sys/dev/drm/amd/display/dc/core/dc_resource.c
814
int vp_clip = src.x + src.width - data->viewport.width - data->viewport.x;
sys/dev/drm/amd/display/dc/core/dc_resource.c
819
data->viewport.width += int_part < vp_clip ? int_part : vp_clip;
sys/dev/drm/amd/display/dc/core/dc_resource.c
821
if ((data->viewport_c.x + data->viewport_c.width) < (src.x + src.width) / vpc_div) {
sys/dev/drm/amd/display/dc/core/dc_resource.c
822
int vp_clip = (src.x + src.width) / vpc_div -
sys/dev/drm/amd/display/dc/core/dc_resource.c
823
data->viewport_c.width - data->viewport_c.x;
sys/dev/drm/amd/display/dc/core/dc_resource.c
828
data->viewport_c.width += int_part < vp_clip ? int_part : vp_clip;
sys/dev/drm/amd/display/dc/core/dc_resource.c
842
data->viewport.width += int_adj;
sys/dev/drm/amd/display/dc/core/dc_resource.c
846
data->viewport.width -= int_part - data->taps.h_taps;
sys/dev/drm/amd/display/dc/core/dc_resource.c
863
data->viewport_c.width += int_adj;
sys/dev/drm/amd/display/dc/core/dc_resource.c
867
data->viewport_c.width -= int_part - data->taps.h_taps_c;
sys/dev/drm/amd/display/dc/core/dc_resource.c
880
data->viewport.width += int_part < data->viewport.x ? int_part : data->viewport.x;
sys/dev/drm/amd/display/dc/core/dc_resource.c
888
data->viewport_c.width += int_part < data->viewport_c.x ? int_part : data->viewport_c.x;
sys/dev/drm/amd/display/dc/core/dc_resource.c
893
if ((data->viewport.x + data->viewport.width) < (src.x + src.width)) {
sys/dev/drm/amd/display/dc/core/dc_resource.c
895
int end_offset = src.x + src.width
sys/dev/drm/amd/display/dc/core/dc_resource.c
896
- data->viewport.x - data->viewport.width;
sys/dev/drm/amd/display/dc/core/dc_resource.c
912
data->viewport.width += int_adj;
sys/dev/drm/amd/display/dc/core/dc_resource.c
915
data->viewport.width += int_part - data->taps.h_taps;
sys/dev/drm/amd/display/dc/core/dc_resource.c
922
if ((data->viewport_c.x + data->viewport_c.width) < (src.x + src.width) / vpc_div) {
sys/dev/drm/amd/display/dc/core/dc_resource.c
924
int end_offset = (src.x + src.width) / vpc_div
sys/dev/drm/amd/display/dc/core/dc_resource.c
925
- data->viewport_c.x - data->viewport_c.width;
sys/dev/drm/amd/display/dc/core/dc_resource.c
941
data->viewport_c.width += int_adj;
sys/dev/drm/amd/display/dc/core/dc_resource.c
944
data->viewport_c.width += int_part - data->taps.h_taps_c;
sys/dev/drm/amd/display/dc/core/dc_stream.c
329
stream->src.width,
sys/dev/drm/amd/display/dc/core/dc_stream.c
333
stream->dst.width,
sys/dev/drm/amd/display/dc/dc_hw_types.h
103
int width;
sys/dev/drm/amd/display/dc/dc_hw_types.h
110
int width;
sys/dev/drm/amd/display/dc/dc_hw_types.h
494
uint32_t width;
sys/dev/drm/amd/display/dc/dc_types.h
230
uint32_t width;
sys/dev/drm/amd/display/dc/dce/dce_ipp.c
118
CURSOR_WIDTH, attributes->width-1,
sys/dev/drm/amd/display/dc/dce/dce_mem_input.c
409
hw_rect.height = in_rect->width;
sys/dev/drm/amd/display/dc/dce/dce_mem_input.c
410
hw_rect.width = in_rect->height;
sys/dev/drm/amd/display/dc/dce/dce_mem_input.c
420
GRPH_X_END, hw_rect.width);
sys/dev/drm/amd/display/dc/dce/dce_transform.c
154
- data->recout.x - data->recout.width;
sys/dev/drm/amd/display/dc/dce/dce_transform.c
245
VIEWPORT_WIDTH, view_port->width);
sys/dev/drm/amd/display/dc/dce/dce_transform.c
897
int pixel_width = scl_data->viewport.width;
sys/dev/drm/amd/display/dc/dce/dce_transform.c
901
(scl_data->viewport.width > scl_data->recout.width))
sys/dev/drm/amd/display/dc/dce/dce_transform.c
902
pixel_width = scl_data->recout.width;
sys/dev/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
2440
cfg->src_width = stream->src.width;
sys/dev/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
2695
pipe_ctx->plane_state->src_rect.width,
sys/dev/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
2699
pipe_ctx->plane_state->dst_rect.width,
sys/dev/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
2703
pipe_ctx->plane_state->clip_rect.width,
sys/dev/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
2711
pipe_ctx->plane_res.scl_data.viewport.width,
sys/dev/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
2715
pipe_ctx->plane_res.scl_data.recout.width,
sys/dev/drm/amd/display/dc/dce110/dce110_mem_input_v.c
244
swap(local_size.video.luma_size.width,
sys/dev/drm/amd/display/dc/dce110/dce110_mem_input_v.c
248
swap(local_size.video.chroma_size.width,
sys/dev/drm/amd/display/dc/dce110/dce110_mem_input_v.c
303
local_size.video.luma_size.width,
sys/dev/drm/amd/display/dc/dce110/dce110_mem_input_v.c
312
local_size.video.chroma_size.width,
sys/dev/drm/amd/display/dc/dce110/dce110_resource.c
934
if (((plane_state->dst_rect.width * 2) < plane_state->src_rect.width) ||
sys/dev/drm/amd/display/dc/dce110/dce110_resource.c
960
if ((plane->src_rect.width > 1920 ||
sys/dev/drm/amd/display/dc/dce110/dce110_timing_generator.c
2044
bool dce110_arm_vert_intr(struct timing_generator *tg, uint8_t width)
sys/dev/drm/amd/display/dc/dce110/dce110_timing_generator.c
2071
v_blank_start + width,
sys/dev/drm/amd/display/dc/dce110/dce110_timing_generator.h
277
struct timing_generator *tg, uint8_t width);
sys/dev/drm/amd/display/dc/dce110/dce110_transform_v.c
110
luma_view_port->width,
sys/dev/drm/amd/display/dc/dce110/dce110_transform_v.c
116
if (chroma_view_port->width != 0 && chroma_view_port->height != 0) {
sys/dev/drm/amd/display/dc/dce110/dce110_transform_v.c
140
chroma_view_port->width,
sys/dev/drm/amd/display/dc/dce110/dce110_transform_v.c
235
int overscan_right = data->h_active - data->recout.x - data->recout.width;
sys/dev/drm/amd/display/dc/dce110/dce110_transform_v.c
55
luma_viewport->width =
sys/dev/drm/amd/display/dc/dce110/dce110_transform_v.c
56
scl_data->viewport.width - scl_data->viewport.width % 2;
sys/dev/drm/amd/display/dc/dce110/dce110_transform_v.c
62
chroma_viewport->width = luma_viewport->width;
sys/dev/drm/amd/display/dc/dce110/dce110_transform_v.c
66
luma_viewport->width += luma_viewport->width % 2;
sys/dev/drm/amd/display/dc/dce110/dce110_transform_v.c
73
chroma_viewport->width = luma_viewport->width / 2;
sys/dev/drm/amd/display/dc/dce110/dce110_transform_v.c
86
if (luma_view_port->width != 0 && luma_view_port->height != 0) {
sys/dev/drm/amd/display/dc/dce120/dce120_timing_generator.c
1121
uint8_t width)
sys/dev/drm/amd/display/dc/dce120/dce120_timing_generator.c
1139
CRTC_VERTICAL_INTERRUPT0_LINE_END, v_blank_start + width);
sys/dev/drm/amd/display/dc/dcn10/dcn10_dpp.c
148
if (scl_data->viewport.width > scl_data->recout.width)
sys/dev/drm/amd/display/dc/dcn10/dcn10_dpp.c
149
pixel_width = scl_data->recout.width;
sys/dev/drm/amd/display/dc/dcn10/dcn10_dpp.c
151
pixel_width = scl_data->viewport.width;
sys/dev/drm/amd/display/dc/dcn10/dcn10_dpp.c
160
if (scl_data->viewport.width > scl_data->h_active &&
sys/dev/drm/amd/display/dc/dcn10/dcn10_dpp.c
162
scl_data->viewport.width > dpp->ctx->dc->debug.max_downscale_src_width)
sys/dev/drm/amd/display/dc/dcn10/dcn10_dpp.c
451
uint32_t width,
sys/dev/drm/amd/display/dc/dcn10/dcn10_dpp.c
459
if (src_x_offset >= (int)param->viewport.width)
sys/dev/drm/amd/display/dc/dcn10/dcn10_dpp.c
462
if (src_x_offset + (int)width <= 0)
sys/dev/drm/amd/display/dc/dcn10/dcn10_dpp.h
1377
uint32_t width,
sys/dev/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c
411
int line_size = scl_data->viewport.width < scl_data->recout.width ?
sys/dev/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c
412
scl_data->viewport.width : scl_data->recout.width;
sys/dev/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c
413
int line_size_c = scl_data->viewport_c.width < scl_data->recout.width ?
sys/dev/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c
414
scl_data->viewport_c.width : scl_data->recout.width;
sys/dev/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c
640
RECOUT_WIDTH, recout->width,
sys/dev/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c
96
int right = data->h_active - data->recout.x - data->recout.width;
sys/dev/drm/amd/display/dc/dcn10/dcn10_hubbub.c
726
unsigned int width,
sys/dev/drm/amd/display/dc/dcn10/dcn10_hubbub.c
740
swath_bytes_vert_wc = width * blk256_width * bpe;
sys/dev/drm/amd/display/dc/dcn10/dcn10_hubbub.c
774
hubbub1_det_request_size(input->surface_size.height, input->surface_size.width,
sys/dev/drm/amd/display/dc/dcn10/dcn10_hubp.c
1058
attr->width, attr->color_format);
sys/dev/drm/amd/display/dc/dcn10/dcn10_hubp.c
1068
CURSOR_WIDTH, attr->width,
sys/dev/drm/amd/display/dc/dcn10/dcn10_hubp.c
1113
x_hotspot = param->viewport.width - x_hotspot;
sys/dev/drm/amd/display/dc/dcn10/dcn10_hubp.c
1114
src_x_offset = param->viewport.x + param->viewport.width - src_x_offset;
sys/dev/drm/amd/display/dc/dcn10/dcn10_hubp.c
1128
if (src_x_offset >= (int)param->viewport.width)
sys/dev/drm/amd/display/dc/dcn10/dcn10_hubp.c
1131
if (src_x_offset + (int)hubp->curs_attr.width <= 0)
sys/dev/drm/amd/display/dc/dcn10/dcn10_hubp.c
792
PRI_VIEWPORT_WIDTH, viewport->width,
sys/dev/drm/amd/display/dc/dcn10/dcn10_hubp.c
801
SEC_VIEWPORT_WIDTH, viewport->width,
sys/dev/drm/amd/display/dc/dcn10/dcn10_hubp.c
810
PRI_VIEWPORT_WIDTH_C, viewport_c->width,
sys/dev/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
2669
dpp->funcs->set_cursor_position(dpp, &pos_cpy, &param, hubp->curs_attr.width, hubp->curs_attr.height);
sys/dev/drm/amd/display/dc/dcn10/dcn10_resource.c
1135
&& plane_state->src_rect.width > caps->max_video_width)
sys/dev/drm/amd/display/dc/inc/hw/dpp.h
150
uint32_t width,
sys/dev/drm/amd/display/dc/inc/hw/timing_generator.h
198
bool (*arm_vert_intr)(struct timing_generator *tg, uint8_t width);
sys/dev/drm/amd/display/include/grph_object_defs.h
170
unsigned int width;
sys/dev/drm/drm_atomic.c
574
fb_width = state->fb->width << 16;
sys/dev/drm/drm_atomic.c
589
state->fb->width, state->fb->height);
sys/dev/drm/drm_atomic_helper.c
775
drm_rect_rotate(src, fb->width << 16, fb->height << 16, rotation);
sys/dev/drm/drm_atomic_helper.c
792
drm_rect_rotate_inv(src, fb->width << 16, fb->height << 16, rotation);
sys/dev/drm/drm_connector.c
1606
struct drm_connector *connector, int width, int height)
sys/dev/drm/drm_connector.c
1613
orientation_quirk = drm_get_panel_orientation_quirk(width, height);
sys/dev/drm/drm_dumb_buffers.c
64
if (!args->width || !args->height || !args->bpp)
sys/dev/drm/drm_dumb_buffers.c
71
if (cpp > U32_MAX / args->width)
sys/dev/drm/drm_dumb_buffers.c
73
stride = cpp * args->width;
sys/dev/drm/drm_edid.c
2746
int width = 0, height;
sys/dev/drm/drm_edid.c
2755
width = height * 4 / 3;
sys/dev/drm/drm_edid.c
2758
width = height * 16 / 9;
sys/dev/drm/drm_edid.c
2761
width = height * 16 / 10;
sys/dev/drm/drm_edid.c
2764
width = height * 15 / 9;
sys/dev/drm/drm_edid.c
2770
newmode = drm_cvt_mode(dev, width, height,
sys/dev/drm/drm_edid.c
3343
int width, height, vrefresh;
sys/dev/drm/drm_edid.c
3366
return mode->hdisplay == stereo_mode->width &&
sys/dev/drm/drm_fb_helper.c
1041
u32 width, u32 height)
sys/dev/drm/drm_fb_helper.c
1053
clip->x2 = max_t(u32, clip->x2, x + width);
sys/dev/drm/drm_fb_helper.c
1187
rect->width, rect->height);
sys/dev/drm/drm_fb_helper.c
1203
area->width, area->height);
sys/dev/drm/drm_fb_helper.c
1219
image->width, image->height);
sys/dev/drm/drm_fb_helper.c
1235
rect->width, rect->height);
sys/dev/drm/drm_fb_helper.c
1251
area->width, area->height);
sys/dev/drm/drm_fb_helper.c
1267
image->width, image->height);
sys/dev/drm/drm_fb_helper.c
1741
var->xres > fb->width || var->yres > fb->height ||
sys/dev/drm/drm_fb_helper.c
1742
var->xres_virtual > fb->width || var->yres_virtual > fb->height) {
sys/dev/drm/drm_fb_helper.c
1747
fb->width, fb->height, fb->format->cpp[0] * 8);
sys/dev/drm/drm_fb_helper.c
2080
info->var.xres_virtual = fb->width;
sys/dev/drm/drm_fb_helper.c
2111
struct drm_display_mode *drm_has_preferred_mode(struct drm_fb_helper_connector *fb_connector, int width, int height)
sys/dev/drm/drm_fb_helper.c
2116
if (mode->hdisplay > width ||
sys/dev/drm/drm_fb_helper.c
2226
bool *enabled, int width, int height)
sys/dev/drm/drm_fb_helper.c
2339
bool *enabled, int width, int height)
sys/dev/drm/drm_fb_helper.c
2389
modes[i] = drm_has_preferred_mode(fb_helper_conn, width, height);
sys/dev/drm/drm_fb_helper.c
2425
int n, int width, int height)
sys/dev/drm/drm_fb_helper.c
2440
best_score = drm_pick_crtcs(fb_helper, best_crtcs, modes, n+1, width, height);
sys/dev/drm/drm_fb_helper.c
2454
if (drm_has_preferred_mode(fb_helper_conn, width, height))
sys/dev/drm/drm_fb_helper.c
2484
width, height);
sys/dev/drm/drm_fb_helper.c
2554
u32 width, u32 height)
sys/dev/drm/drm_fb_helper.c
2581
if (drm_fb_helper_probe_connector_modes(fb_helper, width, height) == 0)
sys/dev/drm/drm_fb_helper.c
2588
enabled, width, height))) {
sys/dev/drm/drm_fb_helper.c
2594
enabled, width, height) &&
sys/dev/drm/drm_fb_helper.c
2596
enabled, width, height))
sys/dev/drm/drm_fb_helper.c
2600
width, height);
sys/dev/drm/drm_fb_helper.c
2602
drm_pick_crtcs(fb_helper, crtcs, modes, 0, width, height);
sys/dev/drm/drm_fb_helper.c
2671
info->var.width = connector->display_info.width_mm;
sys/dev/drm/drm_fb_helper.c
2711
unsigned int width, height;
sys/dev/drm/drm_fb_helper.c
2714
width = dev->mode_config.max_width;
sys/dev/drm/drm_fb_helper.c
2717
drm_setup_crtcs(fb_helper, width, height);
sys/dev/drm/drm_fb_helper.c
2870
drm_setup_crtcs(fb_helper, fb_helper->fb->width, fb_helper->fb->height);
sys/dev/drm/drm_fourcc.c
365
int drm_format_plane_width(int width, uint32_t format, int plane)
sys/dev/drm/drm_fourcc.c
374
return width;
sys/dev/drm/drm_fourcc.c
376
return width / info->hsub;
sys/dev/drm/drm_framebuffer.c
1017
int drm_framebuffer_plane_width(int width,
sys/dev/drm/drm_framebuffer.c
1023
return fb_plane_width(width, fb->format, plane);
sys/dev/drm/drm_framebuffer.c
1058
drm_printf_indent(p, indent, "size=%ux%u\n", fb->width, fb->height);
sys/dev/drm/drm_framebuffer.c
1063
drm_framebuffer_plane_width(fb->width, fb, i),
sys/dev/drm/drm_framebuffer.c
127
r.width = or->width;
sys/dev/drm/drm_framebuffer.c
147
static int fb_plane_width(int width,
sys/dev/drm/drm_framebuffer.c
151
return width;
sys/dev/drm/drm_framebuffer.c
153
return DIV_ROUND_UP(width, format->hsub);
sys/dev/drm/drm_framebuffer.c
185
if (r->width == 0) {
sys/dev/drm/drm_framebuffer.c
186
DRM_DEBUG_KMS("bad framebuffer width %u\n", r->width);
sys/dev/drm/drm_framebuffer.c
196
unsigned int width = fb_plane_width(r->width, info, i);
sys/dev/drm/drm_framebuffer.c
205
if ((uint64_t) width * cpp > UINT_MAX)
sys/dev/drm/drm_framebuffer.c
211
if (r->pitches[i] < width * cpp) {
sys/dev/drm/drm_framebuffer.c
236
width % 128 || height % 32 ||
sys/dev/drm/drm_framebuffer.c
291
if ((config->min_width > r->width) || (r->width > config->max_width)) {
sys/dev/drm/drm_framebuffer.c
293
r->width, config->min_width, config->max_width);
sys/dev/drm/drm_framebuffer.c
350
r->fb_id, r->height, r->width, r->pixel_format, r->flags,
sys/dev/drm/drm_framebuffer.c
367
r->fb_id, r->height, r->width, r->pixel_format, r->flags,
sys/dev/drm/drm_framebuffer.c
539
r->width = fb->width;
sys/dev/drm/drm_framebuffer.c
75
fb_width = fb->width << 16;
sys/dev/drm/drm_framebuffer.c
89
fb->width, fb->height);
sys/dev/drm/drm_gem_framebuffer_helper.c
162
unsigned int width = mode_cmd->width / (i ? info->hsub : 1);
sys/dev/drm/drm_gem_framebuffer_helper.c
174
+ width * info->cpp[i]
sys/dev/drm/drm_gem_framebuffer_helper.c
312
mode_cmd.width = sizes->surface_width;
sys/dev/drm/drm_modeset_helper.c
85
fb->width = mode_cmd->width;
sys/dev/drm/drm_panel_orientation_quirks.c
164
int drm_get_panel_orientation_quirk(int width, int height)
sys/dev/drm/drm_panel_orientation_quirks.c
176
if (data->width != width ||
sys/dev/drm/drm_panel_orientation_quirks.c
199
int drm_get_panel_orientation_quirk(int width, int height)
sys/dev/drm/drm_panel_orientation_quirks.c
27
int width;
sys/dev/drm/drm_panel_orientation_quirks.c
34
.width = 800,
sys/dev/drm/drm_panel_orientation_quirks.c
40
.width = 800,
sys/dev/drm/drm_panel_orientation_quirks.c
46
.width = 1200,
sys/dev/drm/drm_panel_orientation_quirks.c
54
.width = 720,
sys/dev/drm/drm_panel_orientation_quirks.c
63
.width = 800,
sys/dev/drm/drm_panel_orientation_quirks.c
70
.width = 800,
sys/dev/drm/drm_plane.c
835
.width = req->width,
sys/dev/drm/drm_plane.c
838
.pitches = { req->width * 4 },
sys/dev/drm/drm_plane.c
886
crtc_w = fb->width;
sys/dev/drm/drm_plane.c
888
src_w = fb->width << 16;
sys/dev/drm/drm_plane.c
959
req->width, req->height, req->hot_x, req->hot_y);
sys/dev/drm/drm_plane.c
962
req->width, req->height);
sys/dev/drm/drm_rect.c
350
int width, int height,
sys/dev/drm/drm_rect.c
359
r->x1 = width - tmp.x2;
sys/dev/drm/drm_rect.c
360
r->x2 = width - tmp.x1;
sys/dev/drm/drm_rect.c
376
r->y1 = width - tmp.x2;
sys/dev/drm/drm_rect.c
377
r->y2 = width - tmp.x1;
sys/dev/drm/drm_rect.c
381
r->x1 = width - tmp.x2;
sys/dev/drm/drm_rect.c
382
r->x2 = width - tmp.x1;
sys/dev/drm/drm_rect.c
424
int width, int height,
sys/dev/drm/drm_rect.c
434
r->x1 = width - tmp.y2;
sys/dev/drm/drm_rect.c
435
r->x2 = width - tmp.y1;
sys/dev/drm/drm_rect.c
441
r->x1 = width - tmp.x2;
sys/dev/drm/drm_rect.c
442
r->x2 = width - tmp.x1;
sys/dev/drm/drm_rect.c
461
r->x1 = width - tmp.x2;
sys/dev/drm/drm_rect.c
462
r->x2 = width - tmp.x1;
sys/dev/drm/i915/dvo_ivch.c
177
u16 width, height;
sys/dev/drm/i915/dvo_ivch.c
292
ivch_read(dvo, VR20, &priv->width);
sys/dev/drm/i915/i915_drv.c
1139
skl_is_16gb_dimm(enum dram_rank rank, u8 size, u8 width)
sys/dev/drm/i915/i915_drv.c
1141
if (rank == I915_DRAM_RANK_SINGLE && width == 8 && size == 16)
sys/dev/drm/i915/i915_drv.c
1143
else if (rank == I915_DRAM_RANK_DUAL && width == 8 && size == 32)
sys/dev/drm/i915/i915_drv.c
1145
else if (rank == SKL_DRAM_RANK_SINGLE && width == 16 && size == 8)
sys/dev/drm/i915/i915_drv.c
1147
else if (rank == SKL_DRAM_RANK_DUAL && width == 16 && size == 16)
sys/dev/drm/i915/i915_drv.c
1173
ch->l_info.width = (1 << tmp_l) * 8;
sys/dev/drm/i915/i915_drv.c
1174
ch->s_info.width = (1 << tmp_s) * 8;
sys/dev/drm/i915/i915_drv.c
1191
ch->l_info.width) ||
sys/dev/drm/i915/i915_drv.c
1193
ch->s_info.width);
sys/dev/drm/i915/i915_drv.c
1196
ch->l_info.size, ch->l_info.width,
sys/dev/drm/i915/i915_drv.c
1198
ch->s_info.size, ch->s_info.width,
sys/dev/drm/i915/i915_drv.c
1211
ch0->l_info.width == ch0->s_info.width &&
sys/dev/drm/i915/i915_drv.c
1320
u8 size, width;
sys/dev/drm/i915/i915_drv.c
1353
width = (1 << tmp) * 8;
sys/dev/drm/i915/i915_drv.c
1355
width, rank == I915_DRAM_RANK_SINGLE ? "single" :
sys/dev/drm/i915/i915_drv.h
1253
uint32_t width;
sys/dev/drm/i915/i915_drv.h
2184
u8 size, width;
sys/dev/drm/i915/i915_gem.c
772
args->pitch = ALIGN(args->width * DIV_ROUND_UP(args->bpp, 8), 64);
sys/dev/drm/i915/i915_gem_gtt.c
3742
unsigned int width, unsigned int height,
sys/dev/drm/i915/i915_gem_gtt.c
3749
for (column = 0; column < width; column++) {
sys/dev/drm/i915/i915_gem_gtt.c
3809
rot_info->plane[i].width, rot_info->plane[i].height,
sys/dev/drm/i915/i915_gem_gtt.c
3823
obj->base.size, rot_info->plane[0].width, rot_info->plane[0].height, size);
sys/dev/drm/i915/i915_gem_gtt.h
172
unsigned int width, height, stride, offset;
sys/dev/drm/i915/i915_reg.h
5361
#define DP_PORT_WIDTH(width) (((width) - 1) << 19)
sys/dev/drm/i915/i915_reg.h
8101
#define FDI_DP_PORT_WIDTH(width) (((width) - 1) << FDI_DP_PORT_WIDTH_SHIFT)
sys/dev/drm/i915/i915_reg.h
9099
#define DDI_PORT_WIDTH(width) (((width) - 1) << 1)
sys/dev/drm/i915/intel_ddi.c
2358
int width, rate, ln;
sys/dev/drm/i915/intel_ddi.c
2362
width = 4;
sys/dev/drm/i915/intel_ddi.c
2367
width = intel_dp->lane_count;
sys/dev/drm/i915/intel_ddi.c
2394
if ((rate <= 600000 && width == 4 && ln >= 1) ||
sys/dev/drm/i915/intel_ddi.c
2395
(rate <= 600000 && width < 4 && (ln == 1 || ln == 2))) {
sys/dev/drm/i915/intel_ddi.c
2484
int width = 0;
sys/dev/drm/i915/intel_ddi.c
2490
width = 4;
sys/dev/drm/i915/intel_ddi.c
2495
width = intel_dp->lane_count;
sys/dev/drm/i915/intel_ddi.c
2522
if ((rate <= 600000 && width == 4 && ln >= 1) ||
sys/dev/drm/i915/intel_ddi.c
2523
(rate <= 600000 && width < 4 && (ln == 1 || ln == 2))) {
sys/dev/drm/i915/intel_display.c
10060
int width = plane_state->base.crtc_w;
sys/dev/drm/i915/intel_display.c
10067
switch (width) {
sys/dev/drm/i915/intel_display.c
10084
if (height < 8 || height > width)
sys/dev/drm/i915/intel_display.c
10087
if (height != width)
sys/dev/drm/i915/intel_display.c
11190
fb->base.id, fb->width, fb->height,
sys/dev/drm/i915/intel_display.c
14712
(fb->width < SKL_MIN_YUV_420_SRC_W ||
sys/dev/drm/i915/intel_display.c
14714
(fb->width % 4) != 0 || (fb->height % 4) != 0)) {
sys/dev/drm/i915/intel_display.c
14738
if (IS_GEN9(dev_priv) && i == 0 && fb->width > 3840 &&
sys/dev/drm/i915/intel_display.c
2004
size += rot_info->plane[i].width * rot_info->plane[i].height;
sys/dev/drm/i915/intel_display.c
2500
unsigned int width, height;
sys/dev/drm/i915/intel_display.c
2507
width = drm_framebuffer_plane_width(fb->width, fb, i);
sys/dev/drm/i915/intel_display.c
2558
(x + width) * cpp > fb->pitches[i]) {
sys/dev/drm/i915/intel_display.c
2586
rot_info->plane[i].width = DIV_ROUND_UP(x + width, tile_width);
sys/dev/drm/i915/intel_display.c
2604
r.x2 = x + width;
sys/dev/drm/i915/intel_display.c
2607
rot_info->plane[i].width * tile_width,
sys/dev/drm/i915/intel_display.c
2626
gtt_offset_rotated += rot_info->plane[i].width * rot_info->plane[i].height;
sys/dev/drm/i915/intel_display.c
2758
mode_cmd.width = fb->width;
sys/dev/drm/i915/intel_display.c
2920
plane_state->src_w = fb->width << 16;
sys/dev/drm/i915/intel_display.c
2925
plane_state->crtc_w = fb->width;
sys/dev/drm/i915/intel_display.c
3194
fb->width << 16, fb->height << 16,
sys/dev/drm/i915/intel_display.c
7914
fb->width = ((val >> 16) & 0xfff) + 1;
sys/dev/drm/i915/intel_display.c
7925
crtc->base.name, plane->base.name, fb->width, fb->height,
sys/dev/drm/i915/intel_display.c
8993
fb->width = ((val >> 0) & 0x1fff) + 1;
sys/dev/drm/i915/intel_display.c
9004
crtc->base.name, plane->base.name, fb->width, fb->height,
sys/dev/drm/i915/intel_display.c
9793
int width = plane_state->base.crtc_w;
sys/dev/drm/i915/intel_display.c
9796
return width > 0 && width <= config->cursor_width &&
sys/dev/drm/i915/intel_display.c
9884
int width = plane_state->base.crtc_w;
sys/dev/drm/i915/intel_display.c
9890
return intel_cursor_size_ok(plane_state) && IS_ALIGNED(width, 64);
sys/dev/drm/i915/intel_display.c
9944
unsigned int width = plane_state->base.crtc_w;
sys/dev/drm/i915/intel_display.c
9948
size = (height << 12) | width;
sys/dev/drm/i915/intel_fbc.c
73
int *width, int *height)
sys/dev/drm/i915/intel_fbc.c
75
if (width)
sys/dev/drm/i915/intel_fbc.c
76
*width = cache->plane.src_w;
sys/dev/drm/i915/intel_fbdev.c
133
mode_cmd.width = sizes->surface_width;
sys/dev/drm/i915/intel_fbdev.c
136
mode_cmd.pitches[0] = ALIGN(mode_cmd.width *
sys/dev/drm/i915/intel_fbdev.c
197
(sizes->fb_width > intel_fb->base.width ||
sys/dev/drm/i915/intel_fbdev.c
201
intel_fb->base.width, intel_fb->base.height,
sys/dev/drm/i915/intel_fbdev.c
215
sizes->fb_width = intel_fb->base.width;
sys/dev/drm/i915/intel_fbdev.c
249
info->width = sizes->fb_width;
sys/dev/drm/i915/intel_fbdev.c
299
fb->width, fb->height, i915_ggtt_offset(vma));
sys/dev/drm/i915/intel_fbdev.c
359
bool *enabled, int width, int height)
sys/dev/drm/i915/intel_fbdev.c
456
modes[i] = drm_has_preferred_mode(fb_conn, width,
sys/dev/drm/i915/intel_overlay.c
504
static int packed_width_bytes(u32 format, short width)
sys/dev/drm/i915/intel_overlay.c
508
return width << 1;
sys/dev/drm/i915/intel_overlay.c
542
static u32 calc_swidthsw(struct drm_i915_private *dev_priv, u32 offset, u32 width)
sys/dev/drm/i915/intel_overlay.c
547
sw = ALIGN((offset & 31) + width, 32);
sys/dev/drm/i915/intel_overlay.c
549
sw = ALIGN((offset & 63) + width, 64);
sys/dev/drm/i915/intel_panel.c
109
int x = 0, y = 0, width = 0, height = 0;
sys/dev/drm/i915/intel_panel.c
119
width = pipe_config->pipe_src_w;
sys/dev/drm/i915/intel_panel.c
121
x = (adjusted_mode->crtc_hdisplay - width + 1)/2;
sys/dev/drm/i915/intel_panel.c
133
width = scaled_height / pipe_config->pipe_src_h;
sys/dev/drm/i915/intel_panel.c
134
if (width & 1)
sys/dev/drm/i915/intel_panel.c
135
width++;
sys/dev/drm/i915/intel_panel.c
136
x = (adjusted_mode->crtc_hdisplay - width + 1) / 2;
sys/dev/drm/i915/intel_panel.c
145
width = adjusted_mode->crtc_hdisplay;
sys/dev/drm/i915/intel_panel.c
148
width = adjusted_mode->crtc_hdisplay;
sys/dev/drm/i915/intel_panel.c
156
width = adjusted_mode->crtc_hdisplay;
sys/dev/drm/i915/intel_panel.c
167
pipe_config->pch_pfit.size = (width << 16) | height;
sys/dev/drm/i915/intel_panel.c
173
int width)
sys/dev/drm/i915/intel_panel.c
182
border = (adjusted_mode->crtc_hdisplay - width + 1) / 2;
sys/dev/drm/i915/intel_panel.c
185
adjusted_mode->crtc_hdisplay = width;
sys/dev/drm/i915/intel_panel.c
186
adjusted_mode->crtc_hblank_start = width + border;
sys/dev/drm/i915/intel_pm.c
1099
unsigned int clock, htotal, cpp, width, wm;
sys/dev/drm/i915/intel_pm.c
1128
width = plane_state->base.crtc_w;
sys/dev/drm/i915/intel_pm.c
1130
width = drm_rect_width(&plane_state->base.dst);
sys/dev/drm/i915/intel_pm.c
1133
wm = intel_wm_method2(clock, htotal, width, cpp, latency);
sys/dev/drm/i915/intel_pm.c
1141
large = intel_wm_method2(clock, htotal, width, cpp, latency);
sys/dev/drm/i915/intel_pm.c
1147
width, cpp);
sys/dev/drm/i915/intel_pm.c
1572
unsigned int width,
sys/dev/drm/i915/intel_pm.c
1579
width, cpp, latency);
sys/dev/drm/i915/intel_pm.c
1608
unsigned int clock, htotal, cpp, width, wm;
sys/dev/drm/i915/intel_pm.c
1619
width = crtc_state->pipe_src_w;
sys/dev/drm/i915/intel_pm.c
1630
wm = vlv_wm_method2(clock, htotal, width, cpp,
sys/dev/drm/i915/intel_pm.c
2445
unsigned int width,
sys/dev/drm/i915/intel_pm.c
2452
width, cpp, latency);
sys/dev/drm/i915/intel_pm.c
4186
uint32_t width = 0, height = 0;
sys/dev/drm/i915/intel_pm.c
4207
width = drm_rect_width(&intel_pstate->base.src) >> 16;
sys/dev/drm/i915/intel_pm.c
4212
width /= 2;
sys/dev/drm/i915/intel_pm.c
4216
data_rate = width * height * fb->format->cpp[plane];
sys/dev/drm/i915/intel_pm.c
4590
wp->width = intel_pstate->base.crtc_w;
sys/dev/drm/i915/intel_pm.c
4597
wp->width = drm_rect_width(&intel_pstate->base.src) >> 16;
sys/dev/drm/i915/intel_pm.c
4601
wp->width /= 2;
sys/dev/drm/i915/intel_pm.c
4636
wp->plane_bytes_per_line = wp->width * wp->cpp;
sys/dev/drm/i915/intel_pm.c
708
unsigned int width,
sys/dev/drm/i915/intel_pm.c
722
ret = (ret + 1) * width * cpp;
sys/dev/drm/i915/intel_pm.c
921
static unsigned int g4x_tlb_miss_wa(int fifo_size, int width, int cpp)
sys/dev/drm/i915/intel_pm.c
923
int tlb_miss = fifo_size * 64 - width * cpp * 8;
sys/dev/drm/i915/intel_sdvo.c
757
uint16_t width,
sys/dev/drm/i915/intel_sdvo.c
764
args.width = width;
sys/dev/drm/i915/intel_sdvo.c
769
(intel_sdvo->sdvo_lvds_fixed_mode->hdisplay != width ||
sys/dev/drm/i915/intel_sdvo.c
797
uint16_t width, height;
sys/dev/drm/i915/intel_sdvo.c
804
width = mode->hdisplay;
sys/dev/drm/i915/intel_sdvo.c
821
dtd->part1.h_active = width & 0xff;
sys/dev/drm/i915/intel_sdvo.c
823
dtd->part1.h_high = (((width >> 8) & 0xf) << 4) |
sys/dev/drm/i915/intel_sdvo_regs.h
106
u16 width;
sys/dev/drm/include/drm/drm_client.h
138
drm_client_framebuffer_create(struct drm_client_dev *client, u32 width, u32 height, u32 format);
sys/dev/drm/include/drm/drm_connector.h
1270
struct drm_connector *connector, int width, int height);
sys/dev/drm/include/drm/drm_crtc.h
403
uint32_t handle, uint32_t width, uint32_t height);
sys/dev/drm/include/drm/drm_crtc.h
425
uint32_t handle, uint32_t width, uint32_t height,
sys/dev/drm/include/drm/drm_fb_helper.h
128
bool *enabled, int width, int height);
sys/dev/drm/include/drm/drm_fb_helper.h
337
int width, int height);
sys/dev/drm/include/drm/drm_fb_helper.h
540
int width, int height)
sys/dev/drm/include/drm/drm_fb_helper.h
547
int width, int height)
sys/dev/drm/include/drm/drm_fourcc.h
97
int drm_format_plane_width(int width, uint32_t format, int plane);
sys/dev/drm/include/drm/drm_framebuffer.h
173
unsigned int width;
sys/dev/drm/include/drm/drm_framebuffer.h
312
int drm_framebuffer_plane_width(int width,
sys/dev/drm/include/drm/drm_rect.h
194
int width, int height,
sys/dev/drm/include/drm/drm_rect.h
197
int width, int height,
sys/dev/drm/include/drm/drm_utils.h
13
int drm_get_panel_orientation_quirk(int width, int height);
sys/dev/drm/include/uapi/drm/drm_mode.h
468
__u32 width;
sys/dev/drm/include/uapi/drm/drm_mode.h
482
__u32 width;
sys/dev/drm/include/uapi/drm/drm_mode.h
586
__u32 width;
sys/dev/drm/include/uapi/drm/drm_mode.h
597
__u32 width;
sys/dev/drm/include/uapi/drm/drm_mode.h
706
__u32 width;
sys/dev/drm/include/uapi/drm/drm_sarea.h
68
unsigned int width;
sys/dev/drm/include/uapi/drm/i915_drm.h
186
int width, height; /* screen size in pixels */
sys/dev/drm/include/uapi/drm/radeon_drm.h
672
unsigned int width, height;
sys/dev/drm/include/uapi/drm/radeon_drm.h
680
int width; /* Texture image coordinates */
sys/dev/drm/radeon/atombios_crtc.c
1410
WREG32(EVERGREEN_GRPH_X_END + radeon_crtc->crtc_offset, target_fb->width);
sys/dev/drm/radeon/atombios_crtc.c
1611
WREG32(AVIVO_D1GRPH_X_END + radeon_crtc->crtc_offset, target_fb->width);
sys/dev/drm/radeon/evergreen_cs.c
758
unsigned dim, llevel, mslice, width, height, depth, i;
sys/dev/drm/radeon/evergreen_cs.c
773
width = G_030000_TEX_WIDTH(texdw[0]) + 1;
sys/dev/drm/radeon/evergreen_cs.c
874
w = r600_mip_minify(width, i);
sys/dev/drm/radeon/evergreen_cs.c
917
width, height, depth);
sys/dev/drm/radeon/r100.c
1806
track->textures[i].width = (idx_value & RADEON_TEX_USIZE_MASK) + 1;
sys/dev/drm/radeon/r100.c
1839
track->textures[i].width = 1 << ((idx_value & RADEON_TXFORMAT_WIDTH_MASK) >> RADEON_TXFORMAT_WIDTH_SHIFT);
sys/dev/drm/radeon/r100.c
1880
track->textures[i].cube_info[4].width = 1 << ((idx_value >> 16) & 0xf);
sys/dev/drm/radeon/r100.c
1890
track->textures[i].cube_info[face].width = 1 << ((tmp >> (face * 8)) & 0xf);
sys/dev/drm/radeon/r100.c
2091
DRM_ERROR("width %d\n", t->width);
sys/dev/drm/radeon/r100.c
2144
w = track->textures[idx].cube_info[face].width;
sys/dev/drm/radeon/r100.c
2191
w = track->textures[u].width;
sys/dev/drm/radeon/r100.c
2432
track->textures[i].width = 16536;
sys/dev/drm/radeon/r100.c
2454
track->textures[i].cube_info[face].width = 16536;
sys/dev/drm/radeon/r100_track.h
27
unsigned width;
sys/dev/drm/radeon/r100_track.h
39
unsigned width;
sys/dev/drm/radeon/r200.c
398
track->textures[i].width = (idx_value & RADEON_TEX_USIZE_MASK) + 1;
sys/dev/drm/radeon/r200.c
479
track->textures[i].width = 1 << ((idx_value & RADEON_TXFORMAT_WIDTH_MASK) >> RADEON_TXFORMAT_WIDTH_SHIFT);
sys/dev/drm/radeon/r200.c
521
track->textures[i].cube_info[4].width = 1 << ((idx_value >> 16) & 0xf);
sys/dev/drm/radeon/r200.c
534
track->textures[i].cube_info[face].width = 1 << ((tmp >> (face * 8)) & 0xf);
sys/dev/drm/radeon/r300.c
1062
track->textures[i].width = tmp + 1;
sys/dev/drm/radeon/r600_cs.c
1415
unsigned width, height, depth, size;
sys/dev/drm/radeon/r600_cs.c
1427
width = r600_mip_minify(w0, i);
sys/dev/drm/radeon/r600_cs.c
1428
nbx = r600_fmt_get_nblocksx(format, width);
sys/dev/drm/radeon/radeon_cursor.c
277
uint32_t width,
sys/dev/drm/radeon/radeon_cursor.c
295
if ((width > radeon_crtc->max_cursor_width) ||
sys/dev/drm/radeon/radeon_cursor.c
297
DRM_ERROR("bad cursor width or height %d x %d\n", width, height);
sys/dev/drm/radeon/radeon_cursor.c
326
if (width != radeon_crtc->cursor_width ||
sys/dev/drm/radeon/radeon_cursor.c
335
radeon_crtc->cursor_width = width;
sys/dev/drm/radeon/radeon_fb.c
149
mode_cmd->pitches[0] = radeon_align_pitch(rdev, mode_cmd->width, cpp,
sys/dev/drm/radeon/radeon_fb.c
230
mode_cmd.width = sizes->surface_width;
sys/dev/drm/radeon/radeon_fb.c
271
info->width = sizes->fb_width;
sys/dev/drm/radeon/radeon_fb.c
94
int radeon_align_pitch(struct radeon_device *rdev, int width, int cpp, bool tiled)
sys/dev/drm/radeon/radeon_fb.c
96
int aligned = width;
sys/dev/drm/radeon/radeon_gem.c
764
args->pitch = radeon_align_pitch(rdev, args->width,
sys/dev/drm/radeon/radeon_mode.h
871
uint32_t width,
sys/dev/drm/radeon/radeon_mode.h
989
int radeon_align_pitch(struct radeon_device *rdev, int width, int bpp, bool tiled);
sys/dev/drm/radeon/radeon_uvd.c
357
unsigned width = msg[6];
sys/dev/drm/radeon/radeon_uvd.c
362
unsigned width_in_mb = width / 16;
sys/dev/drm/radeon/radeon_uvd.c
367
image_size = width * height;
sys/dev/drm/radeon/radeon_uvd.c
426
if (width > pitch) {
sys/dev/drm/radeon/si_dpm.c
3210
u32 tmp, width, row, column, bank, density;
sys/dev/drm/radeon/si_dpm.c
3219
width = ((RREG32(MC_SEQ_IO_DEBUG_DATA) >> 1) & 1) ? 16 : 32;
sys/dev/drm/radeon/si_dpm.c
3226
density = (1 << (row + column - 20 + bank)) * width;
sys/dev/misc/coremctl/coremctl.c
393
coremctl_pci_read_config(device_t dev, device_t child, int reg, int width)
sys/dev/misc/coremctl/coremctl.c
395
return pci_read_config(dev, reg, width);
sys/dev/misc/coremctl/coremctl.c
400
int width)
sys/dev/misc/coremctl/coremctl.c
402
pci_write_config(dev, reg, val, width);
sys/dev/misc/ecc/ecc_e5.c
206
const char *width;
sys/dev/misc/ecc/ecc_e5.c
244
width = "x4";
sys/dev/misc/ecc/ecc_e5.c
247
width = "x8";
sys/dev/misc/ecc/ecc_e5.c
250
width = "x16";
sys/dev/misc/ecc/ecc_e5.c
284
rank_cnt, width, density);
sys/dev/misc/syscons/sckmsrndr.c
402
fill_rect32(scr_stat *scp, vm_offset_t draw_pos, int width, int height,
sys/dev/misc/syscons/sckmsrndr.c
408
for (j = 0; j < width; j++)
sys/dev/misc/syscons/sckmsrndr.c
415
fill_rect24(scr_stat *scp, vm_offset_t draw_pos, int width, int height,
sys/dev/misc/syscons/sckmsrndr.c
420
d = line_width - width * 3;
sys/dev/misc/syscons/sckmsrndr.c
424
(width & 0x3) == 0) {
sys/dev/misc/syscons/sckmsrndr.c
429
for (j = 0; j < width; j += 4) {
sys/dev/misc/syscons/sckmsrndr.c
439
for (j = 0; j < width; j++) {
sys/dev/misc/syscons/sckmsrndr.c
451
fill_rect16(scr_stat *scp, vm_offset_t draw_pos, int width, int height,
sys/dev/misc/syscons/sckmsrndr.c
457
for (j = 0; j < width; j++)
sys/dev/misc/syscons/sckmsrndr.c
478
rightpixel = sc->fbi->width - scp->xsize * scp->blk_width;
sys/dev/misc/syscons/sckmsrndr.c
498
fill_rect16(scp, draw_pos, sc->fbi->width,
sys/dev/misc/syscons/sckmsrndr.c
502
fill_rect24(scp, draw_pos, sc->fbi->width,
sys/dev/misc/syscons/sckmsrndr.c
506
fill_rect32(scp, draw_pos, sc->fbi->width,
sys/dev/misc/syscons/scvidctl.c
638
((struct fbtype *)data)->fb_width = scp->sc->fbi->width;
sys/dev/misc/syscons/scvidctl.c
929
scp->xpixel = scp->sc->fbi->width;
sys/dev/misc/syscons/syscons.c
3635
scp->xpixel = sc->fbi->width;
sys/dev/misc/syscons/syscons.c
380
sc->fbi->width, sc->fbi->height, sc->fbi->depth);
sys/dev/netif/ath/ath/if_ath_tx_ht.c
393
int width, half_gi;
sys/dev/netif/ath/ath/if_ath_tx_ht.c
460
width = !! (flags & ATH_RC_CW40_FLAG);
sys/dev/netif/ath/ath/if_ath_tx_ht.c
475
nsymbits = bits_per_symbol[HT_RC_2_MCS(rc)][width];
sys/dev/netif/ath/ath/if_ath_tx_ht.c
489
__func__, pktlen, minlen, rix, rc, width, half_gi, ndelim);
sys/dev/netif/ig_hal/e1000_82542.c
181
hw->bus.width = e1000_bus_width_unknown;
sys/dev/netif/ig_hal/e1000_hw.h
903
enum e1000_bus_width width;
sys/dev/netif/ig_hal/e1000_ich8lan.c
4926
if (bus->width == e1000_bus_width_unknown)
sys/dev/netif/ig_hal/e1000_ich8lan.c
4927
bus->width = e1000_bus_width_pcie_x1;
sys/dev/netif/ig_hal/e1000_mac.c
221
bus->width = (status & E1000_STATUS_BUS64)
sys/dev/netif/ig_hal/e1000_mac.c
253
bus->width = e1000_bus_width_unknown;
sys/dev/netif/ig_hal/e1000_mac.c
268
bus->width = (enum e1000_bus_width)((pcie_link_status &
sys/dev/netif/iwm/if_iwm_phy_ctxt.c
201
cmd->ci.width = IWM_PHY_VHT_CHANNEL_MODE20;
sys/dev/netif/iwm/if_iwmreg.h
3090
uint8_t width;
sys/dev/netif/iwm/if_iwmreg.h
3106
uint8_t width;
sys/dev/netif/ix/if_ix.c
3319
hw->bus.width == ixgbe_bus_width_pcie_x8 ? "Width x8" :
sys/dev/netif/ix/if_ix.c
3320
hw->bus.width == ixgbe_bus_width_pcie_x4 ? "Width x4" :
sys/dev/netif/ix/if_ix.c
3321
hw->bus.width == ixgbe_bus_width_pcie_x1 ? "Width x1" : "Unknown");
sys/dev/netif/ix/if_ix.c
3325
hw->bus.width <= ixgbe_bus_width_pcie_x4 &&
sys/dev/netif/ix/if_ix.c
3334
hw->bus.width <= ixgbe_bus_width_pcie_x8 &&
sys/dev/netif/ix/ixgbe_common.c
1013
hw->bus.width = ixgbe_bus_width_pcie_x1;
sys/dev/netif/ix/ixgbe_common.c
1016
hw->bus.width = ixgbe_bus_width_pcie_x2;
sys/dev/netif/ix/ixgbe_common.c
1019
hw->bus.width = ixgbe_bus_width_pcie_x4;
sys/dev/netif/ix/ixgbe_common.c
1022
hw->bus.width = ixgbe_bus_width_pcie_x8;
sys/dev/netif/ix/ixgbe_common.c
1025
hw->bus.width = ixgbe_bus_width_unknown;
sys/dev/netif/ix/ixgbe_type.h
3777
enum ixgbe_bus_width width;
sys/dev/netif/ix/ixgbe_x550.c
3696
hw->bus.width = ixgbe_bus_width_unknown;
sys/dev/pccard/exca/exca.c
444
exca_setb(sc, EXCA_IOCTL, map->ioctlbits[io->width]);
sys/dev/pccard/exca/exca.c
462
exca_io_map(struct exca_softc *sc, int width, struct resource *r)
sys/dev/pccard/exca/exca.c
482
sc->io[win].width = width;
sys/dev/pccard/exca/exca.c
484
win, width_names[width], sc->io[win].addr,
sys/dev/pccard/exca/exca.c
506
sc->io[window].width = 0;
sys/dev/pccard/exca/excavar.h
109
int exca_io_map(struct exca_softc *sc, int width, struct resource *r);
sys/dev/pccard/pccbb/pccbb.c
1511
cbb_read_config(device_t brdev, int b, int s, int f, int reg, int width)
sys/dev/pccard/pccbb/pccbb.c
1519
b, s, f, reg, width);
sys/dev/pccard/pccbb/pccbb.c
1525
int width)
sys/dev/pccard/pccbb/pccbb.c
1531
b, s, f, reg, val, width);
sys/dev/pccard/pccbb/pccbbvar.h
139
int reg, int width);
sys/dev/pccard/pccbb/pccbbvar.h
153
int reg, uint32_t val, int width);
sys/dev/raid/mly/mly.c
930
btl.mb_width = pdi->width;
sys/dev/raid/mly/mlyreg.h
263
u_int8_t width;
sys/dev/raid/mly/mlyreg.h
745
u_int8_t width;
sys/dev/video/bktr/bktr_core.c
1391
video->width = bktr->video.width;
sys/dev/video/bktr/bktr_core.c
1399
bktr->video.width = video->width;
sys/dev/video/bktr/bktr_core.c
2465
static bool_t notclipped (bktr_reg_t * bktr, int x, int width) {
sys/dev/video/bktr/bktr_core.c
2471
bktr->y2 = width;
sys/dev/video/bktr/bktr_core.c
2472
bktr->line_length = width;
sys/dev/video/bktr/bktr_core.c
2536
static bool_t split(bktr_reg_t * bktr, volatile uint32_t **dma_prog, int width ,
sys/dev/video/bktr/bktr_core.c
2555
if ((width * pixel_width) < DMA_BT848_SPLIT ) {
sys/dev/video/bktr/bktr_core.c
2556
if ( width == cols) {
sys/dev/video/bktr/bktr_core.c
2571
*(*dma_prog)++ = operation | flag | (width * pixel_width - skip);
sys/dev/video/bktr/bktr_core.c
2575
*target_buffer += width * pixel_width;
sys/dev/video/bktr/bktr_core.c
2576
bktr->current_col += width;
sys/dev/video/bktr/bktr_core.c
2580
if (bktr->current_col == 0 && width == cols) {
sys/dev/video/bktr/bktr_core.c
2602
(width * pixel_width / 2 - skip);
sys/dev/video/bktr/bktr_core.c
2605
*target_buffer += (width * pixel_width / 2) ;
sys/dev/video/bktr/bktr_core.c
2610
(width * pixel_width / 2);
sys/dev/video/bktr/bktr_core.c
2611
*target_buffer += (width * pixel_width / 2) ;
sys/dev/video/bktr/bktr_core.c
2612
bktr->current_col += width;
sys/dev/video/bktr/bktr_core.c
2626
volatile uint32_t target_buffer, buffer, target,width;
sys/dev/video/bktr/bktr_core.c
2672
pitch = bktr->video.width;
sys/dev/video/bktr/bktr_core.c
2704
width = cols;
sys/dev/video/bktr/bktr_core.c
2707
if ( notclipped(bktr, i, width)) {
sys/dev/video/bktr/bktr_core.c
2760
width = cols;
sys/dev/video/bktr/bktr_core.c
2763
if ( notclipped(bktr, i, width)) {
sys/dev/video/bktr/bktr_core.c
2806
volatile uint32_t target_buffer, buffer, target,width;
sys/dev/video/bktr/bktr_core.c
2842
pitch = bktr->video.width;
sys/dev/video/bktr/bktr_core.c
2856
width = cols;
sys/dev/video/bktr/bktr_core.c
2859
if ( notclipped(bktr, i, width)) {
sys/dev/video/bktr/bktr_core.c
2922
width = cols;
sys/dev/video/bktr/bktr_core.c
2925
if ( notclipped(bktr, i, width)) {
sys/dev/video/bktr/bktr_core.c
931
bktr->video.width = 0;
sys/dev/video/cxm/cxm.c
1263
words_per_line = sc->profile->width / sizeof(*ptr);
sys/dev/video/cxm/cxm.c
1265
= sc->profile->width / CXM_MACROBLOCK_WIDTH;
sys/dev/video/cxm/cxm.c
1434
macroblocks_per_line = sc->profile->width
sys/dev/video/cxm/cxm.c
2577
cap->x_size = sc->profile->width;
sys/dev/video/cxm/cxm.c
2597
if (codec_profiles[i]->width == cap->x_size
sys/dev/video/cxm/cxm.c
840
&& codec_profiles[i]->width == sc->profile->width)
sys/dev/video/cxm/cxm.c
852
cpp->width, cpp->source_height, fps,
sys/dev/video/cxm/cxm.c
896
parameters[1] = cpp->width;
sys/dev/video/cxm/cxm.h
119
uint32_t width;
sys/dev/video/cxm/cxm.h
665
unsigned int width;
sys/dev/video/cxm/cxm.h
676
unsigned int width, unsigned int height,
sys/dev/video/cxm/cxm_saa7115.c
816
unsigned int width, unsigned int height,
sys/dev/video/cxm/cxm_saa7115.c
826
if (saa7115_scalings[i].width == width
sys/dev/video/fb/bmp/splash_bmp.c
227
int width,height; /* image dimensions */
sys/dev/video/fb/bmp/splash_bmp.c
268
x += (info->swidth - info->width) / 2;
sys/dev/video/fb/bmp/splash_bmp.c
436
for (x = 0; x < info->width; x++, info->index++)
sys/dev/video/fb/bmp/splash_bmp.c
442
for (x = 0; x < info->width; x++) {
sys/dev/video/fb/bmp/splash_bmp.c
457
for (x = 0; x < info->width; x++) {
sys/dev/video/fb/bmp/splash_bmp.c
519
bmp_info.width = bmf->bmfi.bmiHeader.biWidth;
sys/dev/video/fb/bmp/splash_bmp.c
541
(bmp_info.width > bmp_info.swidth) ||
sys/dev/video/fb/bmp/splash_bmp.c
545
bmp_info.width, bmp_info.height, bmp_info.ncols);
sys/dev/video/fb/pcx/splash_pcx.c
103
if (info.vi_width >= pcx_info.width
sys/dev/video/fb/pcx/splash_pcx.c
176
pcx_info.width = hdr->xmax - hdr->xmin + 1;
sys/dev/video/fb/pcx/splash_pcx.c
214
x = (swidth - pcx_info.width) / 2;
sys/dev/video/fb/pcx/splash_pcx.c
245
if (pos + pcx_info.width > banksize) {
sys/dev/video/fb/pcx/splash_pcx.c
252
bcopy(line + j, vidmem, pcx_info.width - j);
sys/dev/video/fb/pcx/splash_pcx.c
254
bcopy(line, vidmem + pos, pcx_info.width);
sys/dev/video/fb/pcx/splash_pcx.c
62
int width, height, bpsl;
sys/dev/video/fb/pcx/splash_pcx.c
88
pcx_info.width, pcx_info.height,
sys/dev/video/fb/vga.c
410
#define ISMAPPED(pa, width) \
sys/dev/video/fb/vga.c
411
(((pa) <= (u_long)0x1000 - (width)) \
sys/dev/video/fb/vga.c
412
|| ((pa) >= ISA_HOLE_START && (pa) <= 0x100000 - (width)))
sys/dev/video/meteor/ioctl_meteor.h
66
u_long width; /* Width of memory area */
sys/dev/virtual/amazon/ena/ena-com/ena_com.c
1499
int width;
sys/dev/virtual/amazon/ena/ena-com/ena_com.c
1506
width = (caps & ENA_REGS_CAPS_DMA_ADDR_WIDTH_MASK) >>
sys/dev/virtual/amazon/ena/ena-com/ena_com.c
1509
ena_trc_dbg("ENA dma width: %d\n", width);
sys/dev/virtual/amazon/ena/ena-com/ena_com.c
1511
if ((width < 32) || width > ENA_MAX_PHYS_ADDR_SIZE_BITS) {
sys/dev/virtual/amazon/ena/ena-com/ena_com.c
1512
ena_trc_err("DMA width illegal value: %d\n", width);
sys/dev/virtual/amazon/ena/ena-com/ena_com.c
1516
ena_dev->dma_addr_bits = width;
sys/dev/virtual/amazon/ena/ena-com/ena_com.c
1518
return width;
sys/kern/subr_prf.c
559
int base, tmp, width, ladjust, sharpflag, spaceflag, neg, sign, dot;
sys/kern/subr_prf.c
603
width = 0;
sys/kern/subr_prf.c
636
width = __va_arg(ap, int);
sys/kern/subr_prf.c
637
if (width < 0) {
sys/kern/subr_prf.c
639
width = -width;
sys/kern/subr_prf.c
661
width = n;
sys/kern/subr_prf.c
734
sharpflag = (width == 0);
sys/kern/subr_prf.c
760
width -= n;
sys/kern/subr_prf.c
762
if (!ladjust && width > 0)
sys/kern/subr_prf.c
763
while (width--)
sys/kern/subr_prf.c
767
if (ladjust && width > 0)
sys/kern/subr_prf.c
768
while (width--)
sys/kern/subr_prf.c
839
dwidth = width - tmp;
sys/kern/subr_prf.c
840
width -= tmp + imax(dwidth, n);
sys/kern/subr_prf.c
843
while (width-- > 0)
sys/kern/subr_prf.c
865
while (width-- > 0)
sys/kern/subr_scanf.c
106
size_t width; /* field width, or 0 */
sys/kern/subr_scanf.c
141
width = 0;
sys/kern/subr_scanf.c
178
width = width * 10 + c - '0';
sys/kern/subr_scanf.c
287
if (width == 0)
sys/kern/subr_scanf.c
288
width = 1;
sys/kern/subr_scanf.c
292
if ((n = inr) < width) {
sys/kern/subr_scanf.c
294
width -= n;
sys/kern/subr_scanf.c
300
sum += width;
sys/kern/subr_scanf.c
301
inr -= width;
sys/kern/subr_scanf.c
302
inp += width;
sys/kern/subr_scanf.c
308
bcopy(inp, __va_arg(ap, char *), width);
sys/kern/subr_scanf.c
309
inr -= width;
sys/kern/subr_scanf.c
310
inp += width;
sys/kern/subr_scanf.c
311
nread += width;
sys/kern/subr_scanf.c
319
if (width == 0)
sys/kern/subr_scanf.c
320
width = (size_t)~0; /* `infinity' */
sys/kern/subr_scanf.c
326
if (--width == 0)
sys/kern/subr_scanf.c
341
if (--width == 0)
sys/kern/subr_scanf.c
361
if (width == 0)
sys/kern/subr_scanf.c
362
width = (size_t)~0;
sys/kern/subr_scanf.c
367
if (--width == 0)
sys/kern/subr_scanf.c
378
if (--width == 0)
sys/kern/subr_scanf.c
393
if (width == 0 || width > sizeof(buf) - 1)
sys/kern/subr_scanf.c
394
width = sizeof(buf) - 1;
sys/kern/subr_scanf.c
397
if (--width > sizeof(buf) - 2)
sys/kern/subr_scanf.c
398
width = sizeof(buf) - 2;
sys/kern/subr_scanf.c
399
width++;
sys/kern/subr_scanf.c
402
for (p = buf; width; width--) {
sys/netgraph/frame_relay/ng_frame_relay.c
106
u_char width;
sys/netgraph/frame_relay/ng_frame_relay.c
116
(dlci) <<= (segment)->width; \
sys/netgraph/frame_relay/ng_frame_relay.c
124
(dlci) >>= (segment)->width; \
sys/netgraph7/frame_relay/ng_frame_relay.c
106
u_char width;
sys/netgraph7/frame_relay/ng_frame_relay.c
116
(dlci) <<= (segment)->width; \
sys/netgraph7/frame_relay/ng_frame_relay.c
124
(dlci) >>= (segment)->width; \
sys/netgraph7/ng_source.c
469
!(embed->width == 1 || embed->width == 2 ||
sys/netgraph7/ng_source.c
470
embed->width == 4)) {
sys/netgraph7/ng_source.c
848
cp = (caddr_t)&val + sizeof(val) - cnt->width;
sys/netgraph7/ng_source.c
849
ng_source_packet_mod(sc, m, cnt->offset, cnt->width, cp, cnt->flags);
sys/netgraph7/ng_source.h
103
uint8_t width; /* in bytes (1, 2, 4) */
sys/netproto/802_11/wlan/ieee80211_radiotap.c
296
size_t align, width;
sys/netproto/802_11/wlan/ieee80211_radiotap.c
300
.width = sizeof(uint64_t),
sys/netproto/802_11/wlan/ieee80211_radiotap.c
304
.width = sizeof(uint8_t),
sys/netproto/802_11/wlan/ieee80211_radiotap.c
308
.width = sizeof(uint8_t),
sys/netproto/802_11/wlan/ieee80211_radiotap.c
312
.width = 2*sizeof(uint16_t),
sys/netproto/802_11/wlan/ieee80211_radiotap.c
316
.width = sizeof(uint16_t),
sys/netproto/802_11/wlan/ieee80211_radiotap.c
320
.width = sizeof(uint8_t),
sys/netproto/802_11/wlan/ieee80211_radiotap.c
324
.width = sizeof(uint8_t),
sys/netproto/802_11/wlan/ieee80211_radiotap.c
328
.width = sizeof(uint16_t),
sys/netproto/802_11/wlan/ieee80211_radiotap.c
332
.width = sizeof(uint16_t),
sys/netproto/802_11/wlan/ieee80211_radiotap.c
336
.width = sizeof(uint16_t),
sys/netproto/802_11/wlan/ieee80211_radiotap.c
340
.width = sizeof(uint8_t),
sys/netproto/802_11/wlan/ieee80211_radiotap.c
344
.width = sizeof(uint8_t),
sys/netproto/802_11/wlan/ieee80211_radiotap.c
348
.width = sizeof(uint8_t),
sys/netproto/802_11/wlan/ieee80211_radiotap.c
352
.width = sizeof(uint8_t),
sys/netproto/802_11/wlan/ieee80211_radiotap.c
356
.width = 2*sizeof(uint32_t),
sys/netproto/802_11/wlan/ieee80211_radiotap.c
360
.width = 3*sizeof(uint8_t),
sys/netproto/802_11/wlan/ieee80211_radiotap.c
379
if (off + items[i].width > le16toh(rh->it_len)) {
sys/netproto/802_11/wlan/ieee80211_radiotap.c
383
off, items[i].width, le16toh(rh->it_len));
sys/netproto/802_11/wlan/ieee80211_radiotap.c
388
off += items[i].width;
sys/platform/pc64/include/framebuffer.h
53
uint16_t width;
sys/platform/pc64/x86_64/machdep.c
2211
efi_fb_info.width = efifb->fb_width;
sys/vfs/hammer2/zlib/hammer2_zlib_trees.c
325
# define SEPARATOR(i, last, width) \
sys/vfs/hammer2/zlib/hammer2_zlib_trees.c
327
((i) % (width) == (width)-1 ? ",\n" : ", "))
test/debug/kwrite.c
30
unsigned long addr, width = 1, i;
test/debug/kwrite.c
47
width = strtoul(endptr, &endptr2, 0);
test/debug/kwrite.c
62
for (i = 0; i < width; i++) {
test/debug/kwrite.c
71
if (argc < width + 2)
test/debug/kwrite.c
72
errx(1, "too few values for width %ld", width);
test/debug/kwrite.c
73
width = argc - 2;
test/debug/kwrite.c
74
for (i = 0; i < width; i++) {
tools/tools/ath/athstats/athstats.c
956
int i, width;
tools/tools/ath/athstats/athstats.c
958
width = 0;
tools/tools/ath/athstats/athstats.c
961
if (!isphyerr(i) && f->width > width)
tools/tools/ath/athstats/athstats.c
962
width = f->width;
tools/tools/ath/athstats/athstats.c
970
fprintf(fd, "%s%-*s %s\n", indent, width, s, athstats[i].desc);
tools/tools/ath/athstats/statfoo.c
113
fprintf(fd, "%*s", f->width, buf);
tools/tools/ath/athstats/statfoo.c
130
fprintf(fd, "%*s", f->width, buf);
tools/tools/ath/athstats/statfoo.c
142
int i, width;
tools/tools/ath/athstats/statfoo.c
144
width = 0;
tools/tools/ath/athstats/statfoo.c
147
if (f->width > width)
tools/tools/ath/athstats/statfoo.c
148
width = f->width;
tools/tools/ath/athstats/statfoo.c
153
fprintf(fd, "%-*s %s\n", width, s, f->desc);
tools/tools/ath/athstats/statfoo.c
160
int i, w, width;
tools/tools/ath/athstats/statfoo.c
162
width = 0;
tools/tools/ath/athstats/statfoo.c
165
if (w > width)
tools/tools/ath/athstats/statfoo.c
166
width = w;
tools/tools/ath/athstats/statfoo.c
170
if (f->width != 0)
tools/tools/ath/athstats/statfoo.c
171
fprintf(fd, "%-*s %s\n", width, f->name, f->desc);
tools/tools/ath/athstats/statfoo.c
96
fprintf(fd, "%*s", f->width, f->label);
tools/tools/ath/athstats/statfoo.h
44
int width; /* printed field width */
tools/tools/net80211/wlanstats/statfoo.c
103
fprintf(fd, "%*s", f->width, f->label);
tools/tools/net80211/wlanstats/statfoo.c
121
fprintf(fd, "%*s", f->width, buf);
tools/tools/net80211/wlanstats/statfoo.c
139
fprintf(fd, "%*s", f->width, buf);
tools/tools/net80211/wlanstats/statfoo.c
151
int i, width;
tools/tools/net80211/wlanstats/statfoo.c
153
width = 0;
tools/tools/net80211/wlanstats/statfoo.c
156
if (f->width > width)
tools/tools/net80211/wlanstats/statfoo.c
157
width = f->width;
tools/tools/net80211/wlanstats/statfoo.c
162
fprintf(fd, "%-*s %s\n", width, s, f->desc);
tools/tools/net80211/wlanstats/statfoo.c
169
int i, w, width;
tools/tools/net80211/wlanstats/statfoo.c
171
width = 0;
tools/tools/net80211/wlanstats/statfoo.c
174
if (w > width)
tools/tools/net80211/wlanstats/statfoo.c
175
width = w;
tools/tools/net80211/wlanstats/statfoo.c
179
if (f->width != 0)
tools/tools/net80211/wlanstats/statfoo.c
180
fprintf(fd, "%-*s %s\n", width, f->name, f->desc);
tools/tools/net80211/wlanstats/statfoo.h
44
int width; /* printed field width */
usr.bin/chat/chat.c
1350
int width, prec, fillch;
usr.bin/chat/chat.c
1376
width = prec = 0;
usr.bin/chat/chat.c
1383
width = va_arg(args, int);
usr.bin/chat/chat.c
1387
width = width * 10 + c - '0';
usr.bin/chat/chat.c
1518
if (width > 0) {
usr.bin/chat/chat.c
1519
if (width > buflen)
usr.bin/chat/chat.c
1520
width = buflen;
usr.bin/chat/chat.c
1521
if ((n = width - len) > 0) {
usr.bin/col/col.c
124
int adjust, opt, warned, width;
usr.bin/col/col.c
228
if ((width = wcwidth(ch)) > 0)
usr.bin/col/col.c
229
cur_col += width;
usr.bin/colrm/colrm.c
106
if ((width = wcwidth(ch)) > 0)
usr.bin/colrm/colrm.c
107
column += width;
usr.bin/colrm/colrm.c
55
int ch, width;
usr.bin/column/column.c
152
chcnt += width(*lp);
usr.bin/column/column.c
185
chcnt += width(list[base]);
usr.bin/column/column.c
251
t->len[coloff] = width(cols[coloff]);
usr.bin/column/column.c
288
len = width(buf);
usr.bin/column/column.c
57
static int width(const wchar_t *);
usr.bin/evtranalyze/evtranalyze.c
408
fontsize_for_rect(double width, double height, int textlen)
usr.bin/evtranalyze/evtranalyze.c
421
wpc = width / textlen;
usr.bin/evtranalyze/evtranalyze.c
468
double width;
usr.bin/evtranalyze/evtranalyze.c
758
y + ctx->thread_rows_yoff, ctx->width, height);
usr.bin/evtranalyze/evtranalyze.c
884
double height, width;
usr.bin/evtranalyze/evtranalyze.c
948
width = 700.0;
usr.bin/evtranalyze/evtranalyze.c
949
td_ctx.width = width;
usr.bin/evtranalyze/evtranalyze.c
978
td_ctx.xscale = width / (td_ctx.firstlast.end - td_ctx.firstlast.start);
usr.bin/expand/expand.c
138
if ((width = wcwidth(wc)) > 0)
usr.bin/expand/expand.c
139
column += width;
usr.bin/expand/expand.c
60
int width;
usr.bin/fmt/fmt.c
530
size_t width;
usr.bin/fmt/fmt.c
534
for (p = word, width = 0; p < &word[length]; p++)
usr.bin/fmt/fmt.c
535
width += (cwidth = wcwidth(*p)) > 0 ? cwidth : 1;
usr.bin/fmt/fmt.c
537
new_x = x + pending_spaces + width;
usr.bin/fmt/fmt.c
555
x0 += width; x += width; output_buffer_length += length;
usr.bin/fmt/fmt.c
575
if (indent+width > max_length) {
usr.bin/fmt/fmt.c
585
x0 = width; x = width+indent1; pending_spaces = spaces;
usr.bin/fmt/fmt.c
601
size_t width;
usr.bin/fmt/fmt.c
607
for (p = line, width = 0; p < &line[length]; p++)
usr.bin/fmt/fmt.c
608
width += (cwidth = wcwidth(*p)) > 0 ? cwidth : 1;
usr.bin/fmt/fmt.c
609
l = width;
usr.bin/fold/fold.c
111
if (width == -1)
usr.bin/fold/fold.c
112
width = DEFLINEWIDTH;
usr.bin/fold/fold.c
115
fold(width);
usr.bin/fold/fold.c
121
fold(width);
usr.bin/fold/fold.c
144
fold(int width)
usr.bin/fold/fold.c
158
if ((col = newpos(col, ch)) > width) {
usr.bin/fold/fold.c
60
int rval, width;
usr.bin/fold/fold.c
64
width = -1;
usr.bin/fold/fold.c
75
if ((width = atoi(optarg)) <= 0) {
usr.bin/fold/fold.c
89
width = width * 10 + (ch - '0');
usr.bin/fold/fold.c
98
if (width == -1)
usr.bin/fold/fold.c
99
width = ch - '0';
usr.bin/hexdump/odsyntax.c
310
int digits, width;
usr.bin/hexdump/odsyntax.c
339
width = digits + 7; /* -x.*e[+-]xx */
usr.bin/hexdump/odsyntax.c
343
width = digits + 8; /* -x.*e[+-]xxx */
usr.bin/hexdump/odsyntax.c
348
width = digits + 9; /* -x.*e[+-]xxxx */
usr.bin/hexdump/odsyntax.c
356
16UL / (u_long)isize, (u_long)isize, width, digits);
usr.bin/kdump/kdump.c
845
int width;
usr.bin/kdump/kdump.c
898
width = 8 - (col&07);
usr.bin/kdump/kdump.c
901
width = strlen(cp);
usr.bin/kdump/kdump.c
903
if (col + width > (screenwidth-2)) {
usr.bin/kdump/kdump.c
907
col += width;
usr.bin/localedef/ctype.c
231
add_width(int wc, int width)
usr.bin/localedef/ctype.c
240
switch (width) {
usr.bin/localedef/ctype.c
257
add_width_range(int start, int end, int width)
usr.bin/localedef/ctype.c
260
add_width(start, width);
usr.bin/localedef/wide.c
483
int width = 2;
usr.bin/localedef/wide.c
505
width = 2;
usr.bin/localedef/wide.c
507
width = cs2width;
usr.bin/localedef/wide.c
509
width = cs3width;
usr.bin/localedef/wide.c
512
if ((int)n < width) {
usr.bin/localedef/wide.c
517
for (i = 1; i < width; i++) {
usr.bin/localedef/wide.c
524
return (width);
usr.bin/m4/gnum4.c
516
long width;
usr.bin/m4/gnum4.c
543
width = strtol(argv[pos++], NULL, 10);
usr.bin/m4/gnum4.c
545
width = strtol(format, __DECONST(char **, &format), 10);
usr.bin/m4/gnum4.c
547
if (width < 0) {
usr.bin/m4/gnum4.c
549
width = -width;
usr.bin/m4/gnum4.c
587
while ((long)l < width--)
usr.bin/m4/gnum4.c
592
while ((long)l < width--)
usr.bin/ministat/ministat.c
278
int width;
usr.bin/ministat/ministat.c
291
SetupPlot(int width, int separate, int num_datasets)
usr.bin/ministat/ministat.c
296
pl->width = width;
usr.bin/ministat/ministat.c
317
pl->dx = pl->span / (pl->width - 1.0);
usr.bin/ministat/ministat.c
350
pl->bar[bar] = malloc(pl->width);
usr.bin/ministat/ministat.c
351
memset(pl->bar[bar], 0, pl->width);
usr.bin/ministat/ministat.c
370
pl->data = realloc(pl->data, pl->width * m);
usr.bin/ministat/ministat.c
371
memset(pl->data + pl->height * pl->width, 0,
usr.bin/ministat/ministat.c
372
(m - pl->height) * pl->width);
usr.bin/ministat/ministat.c
384
pl->data[j * pl->width + x] |= val;
usr.bin/ministat/ministat.c
414
for (i = 0; i < pl->width; i++)
usr.bin/ministat/ministat.c
420
for (j = 0; j < pl->width; j++) {
usr.bin/ministat/ministat.c
421
k = pl->data[(pl->height - i) * pl->width + j];
usr.bin/ministat/ministat.c
434
for (j = 0; j < pl->width; j++) {
usr.bin/ministat/ministat.c
444
for (i = 0; i < pl->width; i++)
usr.bin/mkcsmapper/ldef.h
35
u_int32_t width;
usr.bin/mkcsmapper/yacc.y
253
table_size = p->width;
usr.bin/mkcsmapper/yacc.y
256
table_size *= p->width;
usr.bin/mkcsmapper/yacc.y
593
ofs = (ofs * p->width) + n;
usr.bin/mkcsmapper/yacc.y
595
n = lz->width;
usr.bin/mkcsmapper/yacc.y
615
p->width = end - begin + 1;
usr.bin/mkcsmapper/yacc.y
631
lz->width = end - begin + 1;
usr.bin/ncal/ncal.c
961
int i, len, width = 0;
usr.bin/ncal/ncal.c
971
if ((width = wcswidth(buf, len)) <= 2)
usr.bin/ncal/ncal.c
975
if (width == 1)
usr.bin/netstat/if.c
73
show_stat(const char *fmt, int width, u_long value, short showvalue)
usr.bin/netstat/if.c
79
sprintf(newfmt, "%%%ds", width);
usr.bin/netstat/if.c
89
sprintf(newfmt, "%%%ds", width);
usr.bin/netstat/if.c
92
sprintf(newfmt, "%%%d%s", width, fmt);
usr.bin/netstat/inet.c
931
int width;
usr.bin/netstat/inet.c
944
width = (Aflag && !Wflag) ? 17 : 21;
usr.bin/netstat/inet.c
946
printf("%-*s ", width, line);
usr.bin/netstat/inet.c
948
printf("%-*.*s ", width, width, line);
usr.bin/netstat/inet6.c
1041
int width;
usr.bin/netstat/inet6.c
1052
width = Wflag ? 45 : Aflag ? 17 : 21;
usr.bin/netstat/inet6.c
1053
printf("%-*.*s ", width, width, line);
usr.bin/netstat/route.c
593
p_sockaddr(struct sockaddr *sa, struct sockaddr *mask, int flags, int width)
usr.bin/netstat/route.c
599
if (width < 0 )
usr.bin/netstat/route.c
603
printf("%-*s ", width, cp);
usr.bin/netstat/route.c
605
printf("%-*.*s ", width, width, cp);
usr.bin/nl/nl.c
121
static int width = 6;
usr.bin/nl/nl.c
220
width = (int)val;
usr.bin/nl/nl.c
221
if (!(width > 0))
usr.bin/nl/nl.c
224
width);
usr.bin/nl/nl.c
254
intbuffersize = max(INT_STRLEN_MAXIMUM, width) + 1; /* NUL */
usr.bin/nl/nl.c
328
consumed = sprintf(intbuffer, format, width, line);
usr.bin/nl/nl.c
330
intbuffer + max(0, consumed - width));
usr.bin/nl/nl.c
333
(void)printf("%*s", width, "");
usr.bin/rwho/rwho.c
137
width = 0;
usr.bin/rwho/rwho.c
141
if (j > width)
usr.bin/rwho/rwho.c
142
width = j;
usr.bin/rwho/rwho.c
158
width,
usr.bin/rwho/rwho.c
76
int width, d_first, aflg;
usr.bin/sdiff/sdiff.c
373
width = (wval - 3) / 2;
usr.bin/sdiff/sdiff.c
375
if (width > (SIZE_MAX - 3) / 2)
usr.bin/sdiff/sdiff.c
376
errx(2, "width is too large: %zu", width);
usr.bin/sdiff/sdiff.c
377
line_width = width * 2 + 3;
usr.bin/sdiff/sdiff.c
648
printcol(s1, &col, width);
usr.bin/sdiff/sdiff.c
653
for (; col < width; ++col)
usr.bin/sdiff/sdiff.c
69
static size_t width; /* width of each column */
usr.bin/sed/process.c
589
int c, col, width;
usr.bin/sed/process.c
629
width = wcwidth(wc);
usr.bin/sed/process.c
630
if (col + width >= termwidth) {
usr.bin/sed/process.c
635
col += width;
usr.bin/sockstat/sockstat.c
366
printproto(int width, int af, const char *protoname)
usr.bin/sockstat/sockstat.c
380
if (width > 0 && width > n)
usr.bin/sockstat/sockstat.c
381
xprintf("%*s", width - n, "");
usr.bin/sockstat/sockstat.c
385
printaddr(int width, int af, struct sockaddr_storage *ss)
usr.bin/sockstat/sockstat.c
396
if (width > 0 && width > n)
usr.bin/sockstat/sockstat.c
397
xprintf("%*s", width - n, "");
usr.bin/sockstat/sockstat.c
424
if (width > 0 && width > n)
usr.bin/sockstat/sockstat.c
425
xprintf("%*s", width - n, "");
usr.bin/tabs/tabs.c
230
int width;
usr.bin/tabs/tabs.c
233
width = ws.ws_col;
usr.bin/tabs/tabs.c
234
else if ((width = tgetnum("co")) == 0) {
usr.bin/tabs/tabs.c
235
width = 80;
usr.bin/tabs/tabs.c
236
warnx("cannot find terminal width; defaulted to %d", width);
usr.bin/tabs/tabs.c
239
return (width);
usr.bin/ul/ul.c
492
outc(wint_t c, int width)
usr.bin/ul/ul.c
498
for (i = 0; i < width; i++)
usr.bin/ul/ul.c
500
for (i = 0; i < width; i++)
usr.bin/unexpand/unexpand.c
108
int dcol, doneline, limit, n, ocol, width;
usr.bin/unexpand/unexpand.c
171
if ((width = wcwidth(ch)) > 0)
usr.bin/unexpand/unexpand.c
172
ocol += width, dcol += width;
usr.bin/vmstat/vmstat.c
157
static const char *formatnum(intmax_t value, int width, int do10s);
usr.bin/vmstat/vmstat.c
582
formatnum(intmax_t value, int width, int do10s)
usr.bin/vmstat/vmstat.c
595
switch(width) {
usr.bin/vmstat/vmstat.c
612
switch(width) {
usr.bin/vmstat/vmstat.c
669
fprintf(stderr, "formatnum: unsupported width %d\n", width);
usr.sbin/btconfig/btconfig.c
339
if (width > 0)
usr.sbin/btconfig/btconfig.c
342
width = 0;
usr.sbin/btconfig/btconfig.c
344
width += printf("%*s%s",
usr.sbin/btconfig/btconfig.c
345
(width == 0 ? (lflag ? 0 : 8) : 1),
usr.sbin/btconfig/btconfig.c
348
if (width > MAX_WIDTH) {
usr.sbin/btconfig/btconfig.c
350
width = 0;
usr.sbin/btconfig/btconfig.c
651
width = printf("\toptions:");
usr.sbin/btconfig/btconfig.c
688
width = printf("\tptype: [0x%04x]", ptype);
usr.sbin/btconfig/btconfig.c
742
width = printf("%s", str);
usr.sbin/btconfig/btconfig.c
821
width = printf("%sclass: [0x%6.6x]", str, class);
usr.sbin/btconfig/btconfig.c
85
static int width = 0;
usr.sbin/installer/dfuife_curses/curses_bar.c
110
spaces = b->width - strlen(text);
usr.sbin/installer/dfuife_curses/curses_bar.c
51
unsigned int width, unsigned int height,
usr.sbin/installer/dfuife_curses/curses_bar.c
59
width = xmax;
usr.sbin/installer/dfuife_curses/curses_bar.c
65
b->width = width;
usr.sbin/installer/dfuife_curses/curses_bar.c
69
if ((b->win = newwin(height, width, y, x)) == NULL) {
usr.sbin/installer/dfuife_curses/curses_bar.h
50
unsigned int width;
usr.sbin/installer/dfuife_curses/curses_form.c
154
w->x = (cf->width - w->width) / 2;
usr.sbin/installer/dfuife_curses/curses_form.c
161
w->x, w->width, cf->width);
usr.sbin/installer/dfuife_curses/curses_form.c
162
if ((w->x + w->width + 1) > cf->width)
usr.sbin/installer/dfuife_curses/curses_form.c
163
cf->width = w->x + w->width + 1;
usr.sbin/installer/dfuife_curses/curses_form.c
164
dfui_debug("new cf->width=%d\n", cf->width);
usr.sbin/installer/dfuife_curses/curses_form.c
176
unsigned int width, widget_t type,
usr.sbin/installer/dfuife_curses/curses_form.c
182
w = curses_widget_new(x, y, width, type, text, size, flags);
usr.sbin/installer/dfuife_curses/curses_form.c
203
unsigned int width, widget_t type,
usr.sbin/installer/dfuife_curses/curses_form.c
209
w = curses_widget_new(x, y, width, type, text, size, flags);
usr.sbin/installer/dfuife_curses/curses_form.c
247
unsigned int width)
usr.sbin/installer/dfuife_curses/curses_form.c
253
line = aura_malloc(width + 1, "descriptive line");
usr.sbin/installer/dfuife_curses/curses_form.c
255
done = extract_wrapped_line(text, line, width, &pos);
usr.sbin/installer/dfuife_curses/curses_form.c
257
line, done, width, cf->width);
usr.sbin/installer/dfuife_curses/curses_form.c
260
dfui_debug("now %d\n", cf->width);
usr.sbin/installer/dfuife_curses/curses_form.c
272
cf->want_x = cf->widget_focus->x + cf->widget_focus->width / 2;
usr.sbin/installer/dfuife_curses/curses_form.c
278
cf->left = (xmax - cf->width) / 2;
usr.sbin/installer/dfuife_curses/curses_form.c
285
cf->int_width = cf->width;
usr.sbin/installer/dfuife_curses/curses_form.c
291
if (cf->width > (xmax - 2)) {
usr.sbin/installer/dfuife_curses/curses_form.c
292
cf->width = xmax - 2;
usr.sbin/installer/dfuife_curses/curses_form.c
304
cf->win = newwin(cf->height + 2, cf->width + 2, cf->top - 1, cf->left - 1);
usr.sbin/installer/dfuife_curses/curses_form.c
307
cf->width + 2, cf->height + 2, cf->left - 1, cf->top - 1);
usr.sbin/installer/dfuife_curses/curses_form.c
340
mvwvline(cf->win, 1, cf->width + 1, ACS_CKBOARD, cf->height);
usr.sbin/installer/dfuife_curses/curses_form.c
342
mvwvline(cf->win, 1 + sb_off, cf->width + 1, ACS_BLOCK, sb_size);
usr.sbin/installer/dfuife_curses/curses_form.c
345
if (cf->int_width > cf->width) {
usr.sbin/installer/dfuife_curses/curses_form.c
346
sb_factor = (float)cf->width / (float)cf->int_width;
usr.sbin/installer/dfuife_curses/curses_form.c
347
sb_size = cf->width * sb_factor;
usr.sbin/installer/dfuife_curses/curses_form.c
351
mvwhline(cf->win, cf->height + 1, 1, ACS_CKBOARD, cf->width);
usr.sbin/installer/dfuife_curses/curses_form.c
361
wmove(cf->win, 0, (cf->width - strlen(cf->title)) / 2 - 1);
usr.sbin/installer/dfuife_curses/curses_form.c
377
(cf->width - strlen(help_msg)) / 2 - 1);
usr.sbin/installer/dfuife_curses/curses_form.c
447
cf->want_x = cf->widget_focus->x + cf->widget_focus->width / 2;
usr.sbin/installer/dfuife_curses/curses_form.c
468
cf->want_x = cf->widget_focus->x + cf->widget_focus->width / 2;
usr.sbin/installer/dfuife_curses/curses_form.c
489
if (y == w->y && x >= w->x && x <= (w->x + w->width))
usr.sbin/installer/dfuife_curses/curses_form.c
565
dist = (w->x + w->width / 2) - x;
usr.sbin/installer/dfuife_curses/curses_form.c
692
if (x_off > (cf->int_width - cf->width))
usr.sbin/installer/dfuife_curses/curses_form.c
693
x_off = cf->int_width - cf->width;
usr.sbin/installer/dfuife_curses/curses_form.c
716
cf->want_x = w->x + w->width / 2;
usr.sbin/installer/dfuife_curses/curses_form.c
745
if (w->curpos - w->offset >= w->width - 2)
usr.sbin/installer/dfuife_curses/curses_form.c
746
w->offset = w->curpos - (w->width - 3);
usr.sbin/installer/dfuife_curses/curses_form.c
82
cf->width = strlen(title) + 4;
usr.sbin/installer/dfuife_curses/curses_form.h
58
unsigned int width; /* width of form in columns, not incl border */
usr.sbin/installer/dfuife_curses/curses_util.c
173
curses_frame_draw(int x, int y, int width, int height)
usr.sbin/installer/dfuife_curses/curses_util.c
178
hline(ACS_HLINE, width - 2);
usr.sbin/installer/dfuife_curses/curses_util.c
179
mvaddch(y, x + width - 1, ACS_URCORNER);
usr.sbin/installer/dfuife_curses/curses_util.c
182
hline(ACS_HLINE, width - 2);
usr.sbin/installer/dfuife_curses/curses_util.c
183
mvaddch(y + height - 1, x + width - 1, ACS_LRCORNER);
usr.sbin/installer/dfuife_curses/curses_util.c
188
move(y + 1, x + width - 1);
usr.sbin/installer/dfuife_curses/curses_util.c
193
hline(' ', width - 2);
usr.sbin/installer/dfuife_curses/curses_util.c
281
extract_wrapped_line(const char *text, char *line, int width, int *spos)
usr.sbin/installer/dfuife_curses/curses_util.c
312
dpos < width) {
usr.sbin/installer/dfuife_curses/curses_util.c
322
} else if (dpos >= width) {
usr.sbin/installer/dfuife_curses/curses_util.c
326
if (dpos - saved_dpos >= width) {
usr.sbin/installer/dfuife_curses/curses_util.c
331
line[width - 1] = '\0';
usr.sbin/installer/dfuife_curses/curses_widget.c
174
waddnstr(cf->win, w->text, w->width);
usr.sbin/installer/dfuife_curses/curses_widget.c
182
for (x = 0; x < w->width - 2; x++) {
usr.sbin/installer/dfuife_curses/curses_widget.c
197
if (w->curpos - w->offset < w->width - 2) {
usr.sbin/installer/dfuife_curses/curses_widget.c
202
w->x + 2 - cf->x_offset + w->width - 2);
usr.sbin/installer/dfuife_curses/curses_widget.c
208
waddnstr(cf->win, w->text, w->width - 4);
usr.sbin/installer/dfuife_curses/curses_widget.c
226
cutoff = (w->amount * (w->width - 2)) / 100;
usr.sbin/installer/dfuife_curses/curses_widget.c
227
fchpos = ((w->width - 2) / 2) - 2;
usr.sbin/installer/dfuife_curses/curses_widget.c
228
for (x = 0; x < w->width - 2; x++) {
usr.sbin/installer/dfuife_curses/curses_widget.c
304
if ((w->curpos - w->offset) >= (w->width - 2))
usr.sbin/installer/dfuife_curses/curses_widget.c
343
while ((w->curpos - w->offset) >= (w->width - 2)) {
usr.sbin/installer/dfuife_curses/curses_widget.c
367
if ((w->curpos - w->offset) >= (w->width - 2))
usr.sbin/installer/dfuife_curses/curses_widget.c
65
unsigned int width, widget_t type,
usr.sbin/installer/dfuife_curses/curses_widget.c
78
width = strlen(text) + 2;
usr.sbin/installer/dfuife_curses/curses_widget.c
81
width = strlen(text) + 4;
usr.sbin/installer/dfuife_curses/curses_widget.c
84
width = strlen(text);
usr.sbin/installer/dfuife_curses/curses_widget.c
91
w->width = width;
usr.sbin/installer/dfuife_curses/curses_widget.h
61
unsigned int width; /* width of widget */
usr.sbin/installer/dfuife_curses/curses_xlat.c
331
left += button->width + 1;
usr.sbin/installer/dfuife_curses/curses_xlat.c
408
row_width += w->width + 2;
usr.sbin/installer/dfuife_curses/curses_xlat.c
415
row_offset = (cf->width - row_width) / 2;
usr.sbin/installer/dfuife_curses/curses_xlat.c
449
name, strlen(name), left_acc, cf->width);
usr.sbin/installer/dfuife_curses/curses_xlat.c
458
((left_acc + strlen(name) + 6) > cf->width &&
usr.sbin/installer/dfuife_curses/curses_xlat.c
479
left_acc += (w->width + 2);
usr.sbin/installer/dfuife_curses/curses_xlat.c
585
dfui_debug("form width: %d\n", cf->width);
usr.sbin/installer/dfuife_curses/curses_xlat.c
591
dfui_debug("form width now: %d\n", cf->width);
usr.sbin/installer/dfuife_curses/curses_xlat.c
721
dfui_debug("form width: %d\n", cf->width);
usr.sbin/installer/dfuife_curses/curses_xlat.c
727
dfui_debug("form width now: %d\n", cf->width);
usr.sbin/installer/dfuife_curses/curses_xlat.c
752
cfu->widths[col++] = label->width + 2;
usr.sbin/installer/dfuife_curses/curses_xlat.c
753
left_acc += (label->width + 2);
usr.sbin/installer/dfuife_curses/curses_xlat.c
834
cf->width = 60;
usr.sbin/installer/dfuife_curses/curses_xlat.c
903
wmove(pcan->form->win, pcan->y + 1, pcan->x + pcan->width + 1);
usr.sbin/lpr/filters/lpf.c
161
if (col >= width || (!literal && ch < ' ')) {
usr.sbin/lpr/filters/lpf.c
57
int width = 132; /* default line length */
usr.sbin/lpr/filters/lpf.c
91
width = i;
usr.sbin/lpr/lpc/lpc.c
289
int columns, width = 0, lines;
usr.sbin/lpr/lpc/lpc.c
295
if (len > width)
usr.sbin/lpr/lpc/lpc.c
296
width = len;
usr.sbin/lpr/lpc/lpc.c
298
width = (width + 8) &~ 7;
usr.sbin/lpr/lpc/lpc.c
299
columns = 80 / width;
usr.sbin/lpr/lpc/lpc.c
313
while (w < width) {
usr.sbin/lpr/lpd/printjob.c
1038
av[++narg] = width;
usr.sbin/lpr/lpd/printjob.c
1051
av[++narg] = width;
usr.sbin/lpr/lpd/printjob.c
108
static char width[10] = "-w"; /* page width in static characters */
usr.sbin/lpr/lpd/printjob.c
1592
sprintf(&width[2], "%ld", pp->page_width);
usr.sbin/lpr/lpd/printjob.c
1677
execl(pp->filters[LPF_OUTPUT], cp, width, length,
usr.sbin/lpr/lpd/printjob.c
379
sprintf(&width[2], "%ld", pp->page_width);
usr.sbin/lpr/lpd/printjob.c
498
strlcpy(width+2, line + 1, sizeof(width) - 2);
usr.sbin/lpr/lpd/printjob.c
638
av[i++] = width;
usr.sbin/lpr/lpd/printjob.c
655
execl(_PATH_PR, "pr", width, length,
usr.sbin/lpr/lpd/printjob.c
672
av[1] = width;
usr.sbin/lpr/lpd/printjob.c
691
av[2] = width;
usr.sbin/lpr/lpd/printjob.c
698
av[1] = width;
usr.sbin/lpr/lpr/lpr.c
247
width = optarg;
usr.sbin/lpr/lpr/lpr.c
349
if (width != NULL)
usr.sbin/lpr/lpr/lpr.c
350
card('W', width);
usr.sbin/lpr/lpr/lpr.c
94
static char *width; /* width for versatec printing */
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_trees.c
325
# define SEPARATOR(i, last, width) \
usr.sbin/makefs/hammer2/zlib/hammer2_zlib_trees.c
327
((i) % (width) == (width)-1 ? ",\n" : ", "))
usr.sbin/pciconf/pciconf.c
733
read_config(int fd, struct pcisel *sel, long reg, int width)
usr.sbin/pciconf/pciconf.c
739
pi.pi_width = width;
usr.sbin/pciconf/pciconf.c
787
readone(int fd, struct pcisel *sel, long reg, int width)
usr.sbin/pciconf/pciconf.c
790
printf("%0*x", width*2, read_config(fd, sel, reg, width));
usr.sbin/pciconf/pciconf.c
794
readit(const char *name, const char *reg, int width)
usr.sbin/pciconf/pciconf.c
814
for (i = 1, r = rstart; r <= rend; i++, r += width) {
usr.sbin/pciconf/pciconf.c
815
readone(fd, &sel, r, width);
usr.sbin/pciconf/pciconf.c
818
putchar(i % (16/width) ? ' ' : '\n');
usr.sbin/pciconf/pciconf.c
820
if (i % (16/width) != 1)
usr.sbin/pciconf/pciconf.c
826
writeit(const char *name, const char *reg, const char *data, int width)
usr.sbin/pciconf/pciconf.c
833
pi.pi_width = width;
usr.sbin/pciconf/pciconf.h
38
uint32_t read_config(int fd, struct pcisel *sel, long reg, int width);
usr.sbin/ppp/filter.c
248
int action, family, ruleno, val, width;
usr.sbin/ppp/filter.c
315
if (!ncprange_getwidth(&fe.f_src, &width))
usr.sbin/ppp/filter.c
316
width = 0;
usr.sbin/ppp/filter.c
317
if (width == 0)
usr.sbin/ppp/filter.c
331
if (!ncprange_getwidth(&fe.f_dst, &width))
usr.sbin/ppp/filter.c
332
width = 0;
usr.sbin/ppp/filter.c
333
if (width == 0)
usr.sbin/ppp/iface.c
647
int scopeid, width;
usr.sbin/ppp/iface.c
693
ncprange_getwidth(&iface->addr[f].ifa, &width);
usr.sbin/ppp/iface.c
695
prompt_Printf(arg->prompt, " prefixlen %d", width);
usr.sbin/ppp/ncpaddr.c
591
ncprange_set(struct ncprange *range, const struct ncpaddr *addr, int width)
usr.sbin/ppp/ncpaddr.c
594
ncprange_setwidth(range, width);
usr.sbin/ppp/ncpaddr.c
642
ncprange_setwidth(struct ncprange *range, int width)
usr.sbin/ppp/ncpaddr.c
646
if (width < 0 || width > 32)
usr.sbin/ppp/ncpaddr.c
648
range->ncprange_ip4width = width;
usr.sbin/ppp/ncpaddr.c
649
range->ncprange_ip4mask = bits2mask4(width);
usr.sbin/ppp/ncpaddr.c
654
if (width < 0 || width > 128)
usr.sbin/ppp/ncpaddr.c
656
range->ncprange_ip6width = width;
usr.sbin/ppp/ncpaddr.c
73
#define ncprange_ip4width u.ip4.width
usr.sbin/ppp/ncpaddr.c
77
#define ncprange_ip6width u.ip6.width
usr.sbin/ppp/ncpaddr.c
834
ncprange_getwidth(const struct ncprange *range, int *width)
usr.sbin/ppp/ncpaddr.c
838
*width = range->ncprange_ip4width;
usr.sbin/ppp/ncpaddr.c
842
*width = range->ncprange_ip6width;
usr.sbin/ppp/ncpaddr.h
39
int width;
usr.sbin/ppp/ncpaddr.h
44
int width;
usr.sbin/ppp/radius.c
226
int argc, addrs, res, width;
usr.sbin/ppp/radius.c
369
ncprange_getwidth(&dest, &width);
usr.sbin/ppp/radius.c
370
if (width == 32 && strchr(argv[0], '/') == NULL) {
usr.sbin/ppp/route.c
114
prompt_Printf(prompt, "%-*s ", width - 1, "default");
usr.sbin/ppp/route.c
116
prompt_Printf(prompt, "%-*s ", width - 1, ncprange_ntoa(&range));
usr.sbin/ppp/route.c
147
prompt_Printf(prompt, "%-*s ", width-1, buf);
usr.sbin/ppp/route.c
87
struct sockaddr *pmask, int width)
usr.sbin/tzsetup/tzsetup.c
130
xdialog_menu(const char *title, const char *cprompt, int height, int width,
usr.sbin/tzsetup/tzsetup.c
155
if (width < 0) {
usr.sbin/tzsetup/tzsetup.c
167
width = MAX(xdialog_count_columns(cprompt), title != NULL ?
usr.sbin/tzsetup/tzsetup.c
169
width = MAX(width, tag_x + 4) + 4;
usr.sbin/tzsetup/tzsetup.c
171
width = MAX(width, 24);
usr.sbin/tzsetup/tzsetup.c
172
if (width > COLS)
usr.sbin/tzsetup/tzsetup.c
173
width = COLS;
usr.sbin/tzsetup/tzsetup.c
177
result = dlg_menu(title, cprompt, height, width,