Symbol: ctl
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tcreat3.c
62
HASHINFO ctl;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tcreat3.c
69
ctl.hash = NULL;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tcreat3.c
70
ctl.bsize = atoi(*argv++);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tcreat3.c
71
ctl.ffactor = atoi(*argv++);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tcreat3.c
72
ctl.nelem = atoi(*argv++);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tcreat3.c
73
ctl.lorder = 0;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tcreat3.c
75
O_CREAT|O_TRUNC|O_RDWR|O_BINARY, 0600, DB_HASH, &ctl))){
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tdel.c
63
HASHINFO ctl;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tdel.c
70
ctl.nelem = INITIAL;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tdel.c
71
ctl.hash = NULL;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tdel.c
72
ctl.bsize = atoi(*argv++);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tdel.c
73
ctl.ffactor = atoi(*argv++);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tdel.c
74
ctl.cachesize = 1024 * 1024; /* 1 MEG */
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tdel.c
75
ctl.lorder = 0;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tdel.c
77
if (!(dbp = dbopen( NULL, O_CREAT|O_RDWR|O_BINARY, 0400, DB_HASH, &ctl))) {
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/thash4.c
64
HASHINFO ctl;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/thash4.c
72
ctl.hash = NULL;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/thash4.c
73
ctl.bsize = atoi(*argv++);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/thash4.c
74
ctl.ffactor = atoi(*argv++);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/thash4.c
75
ctl.nelem = atoi(*argv++);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/thash4.c
76
ctl.cachesize = atoi(*argv++);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/thash4.c
77
ctl.lorder = 0;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/thash4.c
78
if (!(dbp = dbopen( NULL, O_CREAT|O_RDWR|O_BINARY, 0400, DB_HASH, &ctl))) {
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tread2.c
66
HASHINFO ctl;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tread2.c
71
ctl.nelem = INITIAL;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tread2.c
72
ctl.hash = NULL;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tread2.c
73
ctl.bsize = 64;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tread2.c
74
ctl.ffactor = 1;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tread2.c
75
ctl.cachesize = atoi(*argv++);
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tread2.c
76
ctl.lorder = 0;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tread2.c
77
if (!(dbp = dbopen( "hashtest", O_RDONLY|O_BINARY, 0400, DB_HASH, &ctl))) {
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tverify.c
66
HASHINFO ctl;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tverify.c
72
ctl.nelem = INITIAL;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tverify.c
73
ctl.hash = NULL;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tverify.c
74
ctl.bsize = 64;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tverify.c
75
ctl.ffactor = 1;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tverify.c
76
ctl.cachesize = 1024 * 1024; /* 1 MEG */
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tverify.c
77
ctl.lorder = 0;
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tverify.c
78
if (!(dbp = dbopen( "hashtest", O_RDONLY|O_BINARY, 0400, DB_HASH, &ctl))) {
lib/libc/db/test/hash.tests/tcreat3.c
50
HASHINFO ctl;
lib/libc/db/test/hash.tests/tcreat3.c
57
ctl.hash = NULL;
lib/libc/db/test/hash.tests/tcreat3.c
58
ctl.bsize = atoi(*argv++);
lib/libc/db/test/hash.tests/tcreat3.c
59
ctl.ffactor = atoi(*argv++);
lib/libc/db/test/hash.tests/tcreat3.c
60
ctl.nelem = atoi(*argv++);
lib/libc/db/test/hash.tests/tcreat3.c
61
ctl.lorder = 0;
lib/libc/db/test/hash.tests/tcreat3.c
63
O_CREAT|O_TRUNC|O_RDWR, 0600, DB_HASH, &ctl))){
lib/libc/db/test/hash.tests/tdel.c
51
HASHINFO ctl;
lib/libc/db/test/hash.tests/tdel.c
58
ctl.nelem = INITIAL;
lib/libc/db/test/hash.tests/tdel.c
59
ctl.hash = NULL;
lib/libc/db/test/hash.tests/tdel.c
60
ctl.bsize = atoi(*argv++);
lib/libc/db/test/hash.tests/tdel.c
61
ctl.ffactor = atoi(*argv++);
lib/libc/db/test/hash.tests/tdel.c
62
ctl.cachesize = 1024 * 1024; /* 1 MEG */
lib/libc/db/test/hash.tests/tdel.c
63
ctl.lorder = 0;
lib/libc/db/test/hash.tests/tdel.c
65
if (!(dbp = dbopen( NULL, O_CREAT|O_RDWR, 0400, DB_HASH, &ctl))) {
lib/libc/db/test/hash.tests/thash4.c
53
HASHINFO ctl;
lib/libc/db/test/hash.tests/thash4.c
61
ctl.hash = NULL;
lib/libc/db/test/hash.tests/thash4.c
62
ctl.bsize = atoi(*argv++);
lib/libc/db/test/hash.tests/thash4.c
63
ctl.ffactor = atoi(*argv++);
lib/libc/db/test/hash.tests/thash4.c
64
ctl.nelem = atoi(*argv++);
lib/libc/db/test/hash.tests/thash4.c
65
ctl.cachesize = atoi(*argv++);
lib/libc/db/test/hash.tests/thash4.c
66
ctl.lorder = 0;
lib/libc/db/test/hash.tests/thash4.c
67
if (!(dbp = dbopen( NULL, O_CREAT|O_RDWR, 0400, DB_HASH, &ctl))) {
lib/libc/db/test/hash.tests/tread2.c
54
HASHINFO ctl;
lib/libc/db/test/hash.tests/tread2.c
59
ctl.nelem = INITIAL;
lib/libc/db/test/hash.tests/tread2.c
60
ctl.hash = NULL;
lib/libc/db/test/hash.tests/tread2.c
61
ctl.bsize = 64;
lib/libc/db/test/hash.tests/tread2.c
62
ctl.ffactor = 1;
lib/libc/db/test/hash.tests/tread2.c
63
ctl.cachesize = atoi(*argv++);
lib/libc/db/test/hash.tests/tread2.c
64
ctl.lorder = 0;
lib/libc/db/test/hash.tests/tread2.c
65
if (!(dbp = dbopen( "hashtest", O_RDONLY, 0400, DB_HASH, &ctl))) {
lib/libc/db/test/hash.tests/tverify.c
54
HASHINFO ctl;
lib/libc/db/test/hash.tests/tverify.c
60
ctl.nelem = INITIAL;
lib/libc/db/test/hash.tests/tverify.c
61
ctl.hash = NULL;
lib/libc/db/test/hash.tests/tverify.c
62
ctl.bsize = 64;
lib/libc/db/test/hash.tests/tverify.c
63
ctl.ffactor = 1;
lib/libc/db/test/hash.tests/tverify.c
64
ctl.cachesize = 1024 * 1024; /* 1 MEG */
lib/libc/db/test/hash.tests/tverify.c
65
ctl.lorder = 0;
lib/libc/db/test/hash.tests/tverify.c
66
if (!(dbp = dbopen( "hashtest", O_RDONLY, 0400, DB_HASH, &ctl))) {
lib/libmixer/mixer.c
216
mix_ctl_t *ctl, *cp;
lib/libmixer/mixer.c
223
if ((ctl = calloc(1, sizeof(mix_ctl_t))) == NULL)
lib/libmixer/mixer.c
225
ctl->parent_dev = parent_dev;
lib/libmixer/mixer.c
226
ctl->id = id;
lib/libmixer/mixer.c
228
(void)strlcpy(ctl->name, name, sizeof(ctl->name));
lib/libmixer/mixer.c
229
ctl->mod = mod;
lib/libmixer/mixer.c
230
ctl->print = print;
lib/libmixer/mixer.c
231
dp = ctl->parent_dev;
lib/libmixer/mixer.c
239
TAILQ_INSERT_TAIL(&dp->ctls, ctl, ctls);
lib/libmixer/mixer.c
249
mixer_add_ctl_s(mix_ctl_t *ctl)
lib/libmixer/mixer.c
251
if (ctl == NULL)
lib/libmixer/mixer.c
254
return (mixer_add_ctl(ctl->parent_dev, ctl->id, ctl->name,
lib/libmixer/mixer.c
255
ctl->mod, ctl->print));
lib/libmixer/mixer.c
262
mixer_remove_ctl(mix_ctl_t *ctl)
lib/libmixer/mixer.c
266
if (ctl == NULL) {
lib/libmixer/mixer.c
270
p = ctl->parent_dev;
lib/libmixer/mixer.c
272
TAILQ_REMOVE(&p->ctls, ctl, ctls);
lib/libmixer/mixer.c
273
free(ctl);
lib/libpmc/libpmc.c
711
uint64_t ctl, ctl2, ldlat, fetchlat;
lib/libpmc/libpmc.c
746
ctl = 0;
lib/libpmc/libpmc.c
754
ctl |= IBS_FETCH_CTL_L3MISSONLY;
lib/libpmc/libpmc.c
756
ctl |= IBS_FETCH_CTL_RANDOMIZE;
lib/libpmc/libpmc.c
797
ctl |= IBS_FETCH_INTERVAL_TO_CTL(pmc_config->pm_count);
lib/libpmc/libpmc.c
801
ctl |= IBS_OP_CTL_L3MISSONLY;
lib/libpmc/libpmc.c
829
ctl &= ~IBS_OP_CTL_LDLATTRSHMASK;
lib/libpmc/libpmc.c
830
ctl |= IBS_OP_CTL_LDLAT_TO_CTL(ldlat);
lib/libpmc/libpmc.c
831
ctl |= IBS_OP_CTL_L3MISSONLY | IBS_OP_CTL_LATFLTEN;
lib/libpmc/libpmc.c
836
ctl |= IBS_OP_CTL_COUNTERCONTROL;
lib/libpmc/libpmc.c
865
ctl |= IBS_OP_INTERVAL_TO_CTL(pmc_config->pm_count);
lib/libpmc/libpmc.c
868
pmc_config->pm_md.pm_ibs.ibs_ctl |= ctl;
sbin/ipf/ipsend/dlcommon.c
101
if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
sbin/ipf/ipsend/dlcommon.c
110
struct strbuf ctl;
sbin/ipf/ipsend/dlcommon.c
121
ctl.maxlen = 0;
sbin/ipf/ipsend/dlcommon.c
122
ctl.len = sizeof (dl_enabmulti_req_t) + length;
sbin/ipf/ipsend/dlcommon.c
123
ctl.buf = (char*) buf;
sbin/ipf/ipsend/dlcommon.c
127
if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
sbin/ipf/ipsend/dlcommon.c
136
struct strbuf ctl;
sbin/ipf/ipsend/dlcommon.c
147
ctl.maxlen = 0;
sbin/ipf/ipsend/dlcommon.c
148
ctl.len = sizeof (dl_disabmulti_req_t) + length;
sbin/ipf/ipsend/dlcommon.c
149
ctl.buf = (char*) buf;
sbin/ipf/ipsend/dlcommon.c
153
if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
sbin/ipf/ipsend/dlcommon.c
161
struct strbuf ctl;
sbin/ipf/ipsend/dlcommon.c
167
ctl.maxlen = 0;
sbin/ipf/ipsend/dlcommon.c
168
ctl.len = sizeof (promiscon_req);
sbin/ipf/ipsend/dlcommon.c
169
ctl.buf = (char *) &promiscon_req;
sbin/ipf/ipsend/dlcommon.c
173
if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
sbin/ipf/ipsend/dlcommon.c
182
struct strbuf ctl;
sbin/ipf/ipsend/dlcommon.c
188
ctl.maxlen = 0;
sbin/ipf/ipsend/dlcommon.c
189
ctl.len = sizeof (promiscoff_req);
sbin/ipf/ipsend/dlcommon.c
190
ctl.buf = (char *) &promiscoff_req;
sbin/ipf/ipsend/dlcommon.c
194
if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
sbin/ipf/ipsend/dlcommon.c
202
struct strbuf ctl;
sbin/ipf/ipsend/dlcommon.c
208
ctl.maxlen = 0;
sbin/ipf/ipsend/dlcommon.c
209
ctl.len = sizeof (phys_addr_req);
sbin/ipf/ipsend/dlcommon.c
210
ctl.buf = (char *) &phys_addr_req;
sbin/ipf/ipsend/dlcommon.c
214
if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
sbin/ipf/ipsend/dlcommon.c
223
struct strbuf ctl;
sbin/ipf/ipsend/dlcommon.c
234
ctl.maxlen = 0;
sbin/ipf/ipsend/dlcommon.c
235
ctl.len = sizeof (dl_set_phys_addr_req_t) + length;
sbin/ipf/ipsend/dlcommon.c
236
ctl.buf = (char*) buf;
sbin/ipf/ipsend/dlcommon.c
240
if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
sbin/ipf/ipsend/dlcommon.c
248
struct strbuf ctl;
sbin/ipf/ipsend/dlcommon.c
253
ctl.maxlen = 0;
sbin/ipf/ipsend/dlcommon.c
254
ctl.len = sizeof (detach_req);
sbin/ipf/ipsend/dlcommon.c
255
ctl.buf = (char *) &detach_req;
sbin/ipf/ipsend/dlcommon.c
259
if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
sbin/ipf/ipsend/dlcommon.c
268
struct strbuf ctl;
sbin/ipf/ipsend/dlcommon.c
278
ctl.maxlen = 0;
sbin/ipf/ipsend/dlcommon.c
279
ctl.len = sizeof (bind_req);
sbin/ipf/ipsend/dlcommon.c
280
ctl.buf = (char *) &bind_req;
sbin/ipf/ipsend/dlcommon.c
284
if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
sbin/ipf/ipsend/dlcommon.c
294
struct strbuf data, ctl;
sbin/ipf/ipsend/dlcommon.c
306
ctl.maxlen = 0;
sbin/ipf/ipsend/dlcommon.c
307
ctl.len = sizeof (dl_unitdata_req_t) + addrlen;
sbin/ipf/ipsend/dlcommon.c
308
ctl.buf = (char *) buf;
sbin/ipf/ipsend/dlcommon.c
314
if (putmsg(fd, &ctl, &data, 0) < 0)
sbin/ipf/ipsend/dlcommon.c
322
struct strbuf ctl;
sbin/ipf/ipsend/dlcommon.c
327
ctl.maxlen = 0;
sbin/ipf/ipsend/dlcommon.c
328
ctl.len = sizeof (unbind_req);
sbin/ipf/ipsend/dlcommon.c
329
ctl.buf = (char *) &unbind_req;
sbin/ipf/ipsend/dlcommon.c
333
if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
sbin/ipf/ipsend/dlcommon.c
341
struct strbuf ctl;
sbin/ipf/ipsend/dlcommon.c
344
ctl.maxlen = MAXDLBUF;
sbin/ipf/ipsend/dlcommon.c
345
ctl.len = 0;
sbin/ipf/ipsend/dlcommon.c
346
ctl.buf = bufp;
sbin/ipf/ipsend/dlcommon.c
348
strgetmsg(fd, &ctl, (struct strbuf*)NULL, &flags, "dlokack");
sbin/ipf/ipsend/dlcommon.c
350
dlp = (union DL_primitives *) ctl.buf;
sbin/ipf/ipsend/dlcommon.c
354
if (ctl.len < sizeof (dl_ok_ack_t))
sbin/ipf/ipsend/dlcommon.c
355
err("dlokack: response ctl.len too short: %d", ctl.len);
sbin/ipf/ipsend/dlcommon.c
360
if (ctl.len < sizeof (dl_ok_ack_t))
sbin/ipf/ipsend/dlcommon.c
361
err("dlokack: short response ctl.len: %d", ctl.len);
sbin/ipf/ipsend/dlcommon.c
368
struct strbuf ctl;
sbin/ipf/ipsend/dlcommon.c
371
ctl.maxlen = MAXDLBUF;
sbin/ipf/ipsend/dlcommon.c
372
ctl.len = 0;
sbin/ipf/ipsend/dlcommon.c
373
ctl.buf = bufp;
sbin/ipf/ipsend/dlcommon.c
375
strgetmsg(fd, &ctl, (struct strbuf*)NULL, &flags, "dlerrorack");
sbin/ipf/ipsend/dlcommon.c
377
dlp = (union DL_primitives *) ctl.buf;
sbin/ipf/ipsend/dlcommon.c
381
if (ctl.len < sizeof (dl_error_ack_t))
sbin/ipf/ipsend/dlcommon.c
382
err("dlerrorack: response ctl.len too short: %d", ctl.len);
sbin/ipf/ipsend/dlcommon.c
387
if (ctl.len < sizeof (dl_error_ack_t))
sbin/ipf/ipsend/dlcommon.c
388
err("dlerrorack: short response ctl.len: %d", ctl.len);
sbin/ipf/ipsend/dlcommon.c
395
struct strbuf ctl;
sbin/ipf/ipsend/dlcommon.c
398
ctl.maxlen = MAXDLBUF;
sbin/ipf/ipsend/dlcommon.c
399
ctl.len = 0;
sbin/ipf/ipsend/dlcommon.c
400
ctl.buf = bufp;
sbin/ipf/ipsend/dlcommon.c
402
strgetmsg(fd, &ctl, (struct strbuf*)NULL, &flags, "dlbindack");
sbin/ipf/ipsend/dlcommon.c
404
dlp = (union DL_primitives *) ctl.buf;
sbin/ipf/ipsend/dlcommon.c
411
if (ctl.len < sizeof (dl_bind_ack_t))
sbin/ipf/ipsend/dlcommon.c
412
err("dlbindack: short response ctl.len: %d", ctl.len);
sbin/ipf/ipsend/dlcommon.c
419
struct strbuf ctl;
sbin/ipf/ipsend/dlcommon.c
422
ctl.maxlen = MAXDLBUF;
sbin/ipf/ipsend/dlcommon.c
423
ctl.len = 0;
sbin/ipf/ipsend/dlcommon.c
424
ctl.buf = bufp;
sbin/ipf/ipsend/dlcommon.c
426
strgetmsg(fd, &ctl, (struct strbuf*)NULL, &flags, "dlphysaddrack");
sbin/ipf/ipsend/dlcommon.c
428
dlp = (union DL_primitives *) ctl.buf;
sbin/ipf/ipsend/dlcommon.c
43
struct strbuf ctl;
sbin/ipf/ipsend/dlcommon.c
435
if (ctl.len < sizeof (dl_phys_addr_ack_t))
sbin/ipf/ipsend/dlcommon.c
436
err("dlphysaddrack: short response ctl.len: %d", ctl.len);
sbin/ipf/ipsend/dlcommon.c
48
ctl.maxlen = 0;
sbin/ipf/ipsend/dlcommon.c
49
ctl.len = sizeof (info_req);
sbin/ipf/ipsend/dlcommon.c
50
ctl.buf = (char *) &info_req;
sbin/ipf/ipsend/dlcommon.c
54
if (putmsg(fd, &ctl, (struct strbuf*) NULL, flags) < 0)
sbin/ipf/ipsend/dlcommon.c
62
struct strbuf ctl;
sbin/ipf/ipsend/dlcommon.c
65
ctl.maxlen = MAXDLBUF;
sbin/ipf/ipsend/dlcommon.c
66
ctl.len = 0;
sbin/ipf/ipsend/dlcommon.c
67
ctl.buf = bufp;
sbin/ipf/ipsend/dlcommon.c
69
strgetmsg(fd, &ctl, (struct strbuf*)NULL, &flags, "dlinfoack");
sbin/ipf/ipsend/dlcommon.c
71
dlp = (union DL_primitives *) ctl.buf;
sbin/ipf/ipsend/dlcommon.c
75
if (ctl.len < sizeof (dl_info_ack_t))
sbin/ipf/ipsend/dlcommon.c
76
err("dlinfoack: response ctl.len too short: %d", ctl.len);
sbin/ipf/ipsend/dlcommon.c
81
if (ctl.len < sizeof (dl_info_ack_t))
sbin/ipf/ipsend/dlcommon.c
82
err("dlinfoack: short response ctl.len: %d", ctl.len);
sbin/ipf/ipsend/dlcommon.c
89
struct strbuf ctl;
sbin/ipf/ipsend/dlcommon.c
95
ctl.maxlen = 0;
sbin/ipf/ipsend/dlcommon.c
96
ctl.len = sizeof (attach_req);
sbin/ipf/ipsend/dlcommon.c
97
ctl.buf = (char *) &attach_req;
stand/i386/boot2/boot2.c
206
v86.ctl = V86_FLAGS;
stand/i386/boot2/boot2.c
589
v86.ctl = V86_ADDR | V86_CALLF | V86_FLAGS;
stand/i386/boot2/boot2.c
597
v86.ctl = V86_FLAGS;
stand/i386/btx/lib/btxv86.h
38
uint32_t ctl; /* Control flags */
stand/i386/common/cons.c
36
v86.ctl = V86_FLAGS;
stand/i386/common/cons.c
56
v86.ctl = V86_FLAGS;
stand/i386/common/cons.c
92
v86.ctl = V86_FLAGS;
stand/i386/common/drv.c
33
v86.ctl = V86_FLAGS;
stand/i386/common/drv.c
61
v86.ctl = V86_FLAGS;
stand/i386/common/drv.c
86
v86.ctl = V86_FLAGS;
stand/i386/gptboot/gptboot.c
144
v86.ctl = V86_FLAGS;
stand/i386/gptboot/gptboot.c
188
v86.ctl = 0;
stand/i386/gptboot/gptboot.c
200
v86.ctl = V86_FLAGS;
stand/i386/gptboot/gptboot.c
210
v86.ctl = 0;
stand/i386/gptboot/gptboot.c
280
v86.ctl = V86_FLAGS;
stand/i386/isoboot/isoboot.c
127
v86.ctl = V86_FLAGS;
stand/i386/isoboot/isoboot.c
171
v86.ctl = 0;
stand/i386/isoboot/isoboot.c
183
v86.ctl = V86_FLAGS;
stand/i386/isoboot/isoboot.c
193
v86.ctl = 0;
stand/i386/isoboot/isoboot.c
231
v86.ctl = V86_FLAGS;
stand/i386/libi386/biosdisk.c
1151
v86.ctl = V86_FLAGS;
stand/i386/libi386/biosdisk.c
1191
v86.ctl = V86_FLAGS;
stand/i386/libi386/biosdisk.c
283
v86.ctl = V86_FLAGS;
stand/i386/libi386/biosdisk.c
391
v86.ctl = V86_FLAGS;
stand/i386/libi386/biosdisk.c
482
v86.ctl = V86_FLAGS;
stand/i386/libi386/biosdisk.c
504
v86.ctl = V86_FLAGS;
stand/i386/libi386/biosdisk.c
518
v86.ctl = V86_FLAGS;
stand/i386/libi386/biosdisk.c
563
v86.ctl = V86_FLAGS;
stand/i386/libi386/biosdisk.c
635
v86.ctl = V86_FLAGS;
stand/i386/libi386/biosmem.c
100
v86.ctl = V86_FLAGS;
stand/i386/libi386/biosmem.c
154
v86.ctl = 0;
stand/i386/libi386/biosmem.c
167
v86.ctl = V86_FLAGS;
stand/i386/libi386/biosmem.c
199
v86.ctl = 0;
stand/i386/libi386/biospci.c
224
v86.ctl = V86_FLAGS;
stand/i386/libi386/biospci.c
325
v86.ctl = V86_FLAGS;
stand/i386/libi386/biospci.c
343
v86.ctl = V86_FLAGS;
stand/i386/libi386/biospci.c
365
v86.ctl = V86_FLAGS;
stand/i386/libi386/biospci.c
383
v86.ctl = V86_FLAGS;
stand/i386/libi386/biospnp.c
284
v86.ctl = V86_ADDR | V86_CALLF;
stand/i386/libi386/biossmap.c
67
v86.ctl = V86_FLAGS;
stand/i386/libi386/pxe.c
314
v86.ctl = V86_ADDR | V86_CALLF | V86_FLAGS;
stand/i386/libi386/pxe.c
320
v86.ctl = V86_FLAGS;
stand/i386/libi386/pxe.c
336
v86.ctl = V86_ADDR | V86_CALLF | V86_FLAGS;
stand/i386/libi386/pxe.c
342
v86.ctl = V86_FLAGS;
stand/i386/libi386/textvidc.c
122
v86.ctl = 0;
stand/i386/libi386/textvidc.c
200
v86.ctl = 0;
stand/i386/libi386/textvidc.c
216
v86.ctl = 0;
stand/i386/libi386/textvidc.c
227
v86.ctl = 0;
stand/i386/libi386/textvidc.c
248
v86.ctl = 0;
stand/i386/libi386/textvidc.c
262
v86.ctl = 0;
stand/i386/libi386/textvidc.c
284
v86.ctl = 0;
stand/i386/libi386/textvidc.c
296
v86.ctl = 0;
stand/i386/libi386/textvidc.c
510
v86.ctl = 0;
stand/i386/libi386/textvidc.c
524
v86.ctl = V86_FLAGS;
stand/i386/libi386/time.c
109
v86.ctl = 0;
stand/i386/libi386/time.c
45
v86.ctl = 0;
stand/i386/libi386/vbe.c
264
v86.ctl = V86_FLAGS;
stand/i386/libi386/vbe.c
303
v86.ctl = V86_FLAGS;
stand/i386/libi386/vbe.c
335
v86.ctl = V86_FLAGS;
stand/i386/libi386/vbe.c
370
v86.ctl = V86_FLAGS;
stand/i386/libi386/vbe.c
394
v86.ctl = V86_FLAGS;
stand/i386/libi386/vbe.c
406
v86.ctl = V86_FLAGS;
stand/i386/libi386/vbe.c
419
v86.ctl = V86_FLAGS;
stand/i386/libi386/vbe.c
440
v86.ctl = V86_FLAGS;
stand/i386/libi386/vbe.c
457
v86.ctl = V86_FLAGS;
stand/i386/libi386/vbe.c
471
v86.ctl = V86_FLAGS;
stand/i386/libi386/vidconsole.c
1033
v86.ctl = 0;
stand/i386/libi386/vidconsole.c
1065
v86.ctl = 0;
stand/i386/libi386/vidconsole.c
1110
v86.ctl = V86_FLAGS;
sys/arm/allwinner/aw_i2s.c
422
uint32_t ctl, fat0, chsel;
sys/arm/allwinner/aw_i2s.c
430
ctl = I2S_READ(sc, DA_CTL);
sys/arm/allwinner/aw_i2s.c
448
ctl &= ~DA_CTL_PCM;
sys/arm/allwinner/aw_i2s.c
450
ctl &= ~DA_CTL_MODE_SEL_MASK;
sys/arm/allwinner/aw_i2s.c
453
ctl |= DA_CTL_MODE_SEL_LJ;
sys/arm/allwinner/aw_i2s.c
457
ctl |= DA_CTL_MODE_SEL_LJ;
sys/arm/allwinner/aw_i2s.c
461
ctl |= DA_CTL_MODE_SEL_RJ;
sys/arm/allwinner/aw_i2s.c
465
ctl |= DA_CTL_MODE_SEL_PCM;
sys/arm/allwinner/aw_i2s.c
469
ctl |= DA_CTL_MODE_SEL_PCM;
sys/arm/allwinner/aw_i2s.c
503
I2S_WRITE(sc, DA_CTL, ctl);
sys/arm/ti/ti_pruss.c
103
struct ctl ctl;
sys/arm/ti/ti_pruss.c
182
struct ctl* irqs;
sys/arm/ti/ti_pruss.c
186
irqs = malloc(sizeof(struct ctl), M_DEVBUF, M_WAITOK);
sys/arm/ti/ti_pruss.c
187
irqs->cnt = sc->tstamps.ctl.cnt;
sys/arm/ti/ti_pruss.c
188
irqs->idx = sc->tstamps.ctl.idx;
sys/arm/ti/ti_pruss.c
202
struct ctl* irqs;
sys/arm/ti/ti_pruss.c
209
if (sc->tstamps.ctl.cnt != irqs->cnt)
sys/arm/ti/ti_pruss.c
222
struct ctl* priv;
sys/arm/ti/ti_pruss.c
238
if (irq->tstamps.ctl.cnt - priv->cnt > TI_TS_ARRAY)
sys/arm/ti/ti_pruss.c
240
priv->cnt = irq->tstamps.ctl.cnt;
sys/arm/ti/ti_pruss.c
241
priv->idx = irq->tstamps.ctl.idx;
sys/arm/ti/ti_pruss.c
248
level = irq->tstamps.ctl.idx - idx;
sys/arm/ti/ti_pruss.c
334
sc->sc_irq_devs[irq].tstamps.ctl.idx = 0;
sys/arm/ti/ti_pruss.c
656
sc->sc_irq_devs[i].tstamps.ctl.idx = 0;
sys/arm/ti/ti_pruss.c
753
size_t wr = irq->tstamps.ctl.idx;
sys/arm/ti/ti_pruss.c
761
atomic_add_32(&irq->tstamps.ctl.cnt, 1);
sys/arm/ti/ti_pruss.c
763
irq->tstamps.ctl.idx = wr;
sys/arm64/vmm/io/vtimer.c
57
#define timer_enabled(ctl) \
sys/arm64/vmm/io/vtimer.c
58
(!((ctl) & CNTP_CTL_IMASK) && ((ctl) & CNTP_CTL_ENABLE))
sys/arm64/vmm/io/vtimer.c
62
#define timer_condition_met(ctl) ((ctl) & CNTP_CTL_ISTATUS)
sys/cam/ctl/ctl.c
341
SYSCTL_NODE(_kern_cam, OID_AUTO, ctl, CTLFLAG_RD | CTLFLAG_MPSAFE, 0,
sys/cam/ctl/ctl.c
531
DECLARE_MODULE(ctl, ctl_moduledata, SI_SUB_CONFIGURE, SI_ORDER_THIRD);
sys/cam/ctl/ctl.c
532
MODULE_VERSION(ctl, 1);
sys/cam/ctl/ctl_backend.h
79
MODULE_DEPEND(name, ctl, 1, 1, 1); \
sys/cam/ctl/ctl_frontend.h
84
MODULE_DEPEND(name, ctl, 1, 1, 1); \
sys/cam/scsi/scsi_sa.c
263
#define SAMINOR(ctl, access) \
sys/cam/scsi/scsi_sa.c
264
((ctl << 4) | (access & 0x3))
sys/cddl/dev/fbt/fbt.c
1149
modctl_t *ctl = fbt->fbtp_ctl;
sys/cddl/dev/fbt/fbt.c
1166
if (linker_ctf_get(ctl, &lc) != 0)
sys/cddl/dev/fbt/fbt.c
1176
if (fbt_ctfoff_init(ctl, &lc) != 0)
sys/cddl/dev/fbt/fbt.c
263
modctl_t *ctl;
sys/cddl/dev/fbt/fbt.c
266
ctl = fbt->fbtp_ctl;
sys/cddl/dev/fbt/fbt.c
267
ctl->fbt_nentries--;
sys/cddl/dev/fbt/fbt.c
279
modctl_t *ctl = fbt->fbtp_ctl;
sys/cddl/dev/fbt/fbt.c
281
ctl->nenabled++;
sys/cddl/dev/fbt/fbt.c
288
if (ctl->loadcnt != fbt->fbtp_loadcnt) {
sys/cddl/dev/fbt/fbt.c
292
fbt->fbtp_name, ctl->filename);
sys/cddl/dev/fbt/fbt.c
308
modctl_t *ctl = fbt->fbtp_ctl;
sys/cddl/dev/fbt/fbt.c
310
ASSERT(ctl->nenabled > 0);
sys/cddl/dev/fbt/fbt.c
311
ctl->nenabled--;
sys/cddl/dev/fbt/fbt.c
313
if ((ctl->loadcnt != fbt->fbtp_loadcnt))
sys/cddl/dev/fbt/fbt.c
337
modctl_t *ctl = fbt->fbtp_ctl;
sys/cddl/dev/fbt/fbt.c
339
ASSERT(ctl->nenabled > 0);
sys/cddl/dev/fbt/fbt.c
341
if ((ctl->loadcnt != fbt->fbtp_loadcnt))
sys/cddl/dev/fbt/fbt.c
352
modctl_t *ctl = fbt->fbtp_ctl;
sys/cddl/dev/fbt/fbt.c
354
ASSERT(ctl->nenabled > 0);
sys/cddl/dev/fbt/fbt.c
356
if ((ctl->loadcnt != fbt->fbtp_loadcnt))
sys/compat/linuxkpi/common/include/linux/pci.h
1539
u16 ctl;
sys/compat/linuxkpi/common/include/linux/pci.h
1541
if (pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &ctl))
sys/compat/linuxkpi/common/include/linux/pci.h
1544
return (128 << ((ctl & PCI_EXP_DEVCTL_READRQ) >> 12));
sys/dev/alc/if_alc.c
1274
uint32_t cap, ctl, val;
sys/dev/alc/if_alc.c
1300
ctl = CSR_READ_2(sc, sc->alc_expcap + PCIER_LINK_CTL);
sys/dev/alc/if_alc.c
1301
if ((ctl & PCIEM_LINK_CTL_RCB) != 0)
sys/dev/alc/if_alc.c
1306
state = ctl & PCIEM_LINK_CTL_ASPMC;
sys/dev/alc/if_alc.c
1348
uint32_t ctl, mod;
sys/dev/alc/if_alc.c
1357
ctl = CSR_READ_4(sc, ALC_MSI_RETRANS_TIMER);
sys/dev/alc/if_alc.c
1358
ctl &= ~MSI_RETRANS_TIMER_MASK;
sys/dev/alc/if_alc.c
1359
ctl &= ~MSI_RETRANS_MASK_SEL_LINE;
sys/dev/alc/if_alc.c
1363
ctl |= mod;
sys/dev/alc/if_alc.c
1365
CSR_WRITE_4(sc, ALC_MSI_RETRANS_TIMER, ctl |
sys/dev/alc/if_alc.c
1368
CSR_WRITE_4(sc, ALC_MSI_RETRANS_TIMER, ctl |
sys/dev/ath/ath_hal/ah_regdomain.c
932
u_int ctl;
sys/dev/ath/ath_hal/ah_regdomain.c
936
ctl = SD_NO_CTL;
sys/dev/ath/ath_hal/ah_regdomain.c
938
ctl = AH_PRIVATE(ah)->ah_rd2GHz->conformanceTestLimit;
sys/dev/ath/ath_hal/ah_regdomain.c
940
ctl = AH_PRIVATE(ah)->ah_rd5GHz->conformanceTestLimit;
sys/dev/ath/ath_hal/ah_regdomain.c
942
return ctl | CTL_11B;
sys/dev/ath/ath_hal/ah_regdomain.c
944
return ctl | CTL_11G;
sys/dev/ath/ath_hal/ah_regdomain.c
946
return ctl | CTL_108G;
sys/dev/ath/ath_hal/ah_regdomain.c
948
return ctl | CTL_TURBO;
sys/dev/ath/ath_hal/ah_regdomain.c
950
return ctl | CTL_11A;
sys/dev/ath/ath_hal/ah_regdomain.c
951
return ctl;
sys/dev/bce/if_bce.c
10086
u32 cmd, ctl, cur_depth, max_depth, valid_cnt, val;
sys/dev/bce/if_bce.c
10125
ctl = REG_RD(sc, BCE_RLUP_FTQ_CTL);
sys/dev/bce/if_bce.c
10126
cur_depth = (ctl & BCE_RLUP_FTQ_CTL_CUR_DEPTH) >> 22;
sys/dev/bce/if_bce.c
10127
max_depth = (ctl & BCE_RLUP_FTQ_CTL_MAX_DEPTH) >> 12;
sys/dev/bce/if_bce.c
10130
cmd, ctl, cur_depth, max_depth, valid_cnt);
sys/dev/bce/if_bce.c
10134
ctl = REG_RD_IND(sc, BCE_RXP_FTQ_CTL);
sys/dev/bce/if_bce.c
10135
cur_depth = (ctl & BCE_RXP_FTQ_CTL_CUR_DEPTH) >> 22;
sys/dev/bce/if_bce.c
10136
max_depth = (ctl & BCE_RXP_FTQ_CTL_MAX_DEPTH) >> 12;
sys/dev/bce/if_bce.c
10139
cmd, ctl, cur_depth, max_depth, valid_cnt);
sys/dev/bce/if_bce.c
10143
ctl = REG_RD_IND(sc, BCE_RXP_CFTQ_CTL);
sys/dev/bce/if_bce.c
10144
cur_depth = (ctl & BCE_RXP_CFTQ_CTL_CUR_DEPTH) >> 22;
sys/dev/bce/if_bce.c
10145
max_depth = (ctl & BCE_RXP_CFTQ_CTL_MAX_DEPTH) >> 12;
sys/dev/bce/if_bce.c
10148
cmd, ctl, cur_depth, max_depth, valid_cnt);
sys/dev/bce/if_bce.c
10152
ctl = REG_RD(sc, BCE_RV2P_PFTQ_CTL);
sys/dev/bce/if_bce.c
10153
cur_depth = (ctl & BCE_RV2P_PFTQ_CTL_CUR_DEPTH) >> 22;
sys/dev/bce/if_bce.c
10154
max_depth = (ctl & BCE_RV2P_PFTQ_CTL_MAX_DEPTH) >> 12;
sys/dev/bce/if_bce.c
10157
cmd, ctl, cur_depth, max_depth, valid_cnt);
sys/dev/bce/if_bce.c
10161
ctl = REG_RD(sc, BCE_RV2P_MFTQ_CTL);
sys/dev/bce/if_bce.c
10162
cur_depth = (ctl & BCE_RV2P_MFTQ_CTL_CUR_DEPTH) >> 22;
sys/dev/bce/if_bce.c
10163
max_depth = (ctl & BCE_RV2P_MFTQ_CTL_MAX_DEPTH) >> 12;
sys/dev/bce/if_bce.c
10166
cmd, ctl, cur_depth, max_depth, valid_cnt);
sys/dev/bce/if_bce.c
10170
ctl = REG_RD(sc, BCE_RV2P_TFTQ_CTL);
sys/dev/bce/if_bce.c
10171
cur_depth = (ctl & BCE_RV2P_TFTQ_CTL_CUR_DEPTH) >> 22;
sys/dev/bce/if_bce.c
10172
max_depth = (ctl & BCE_RV2P_TFTQ_CTL_MAX_DEPTH) >> 12;
sys/dev/bce/if_bce.c
10175
cmd, ctl, cur_depth, max_depth, valid_cnt);
sys/dev/bce/if_bce.c
10179
ctl = REG_RD(sc, BCE_RDMA_FTQ_CTL);
sys/dev/bce/if_bce.c
10180
cur_depth = (ctl & BCE_RDMA_FTQ_CTL_CUR_DEPTH) >> 22;
sys/dev/bce/if_bce.c
10181
max_depth = (ctl & BCE_RDMA_FTQ_CTL_MAX_DEPTH) >> 12;
sys/dev/bce/if_bce.c
10184
cmd, ctl, cur_depth, max_depth, valid_cnt);
sys/dev/bce/if_bce.c
10188
ctl = REG_RD(sc, BCE_TSCH_FTQ_CTL);
sys/dev/bce/if_bce.c
10189
cur_depth = (ctl & BCE_TSCH_FTQ_CTL_CUR_DEPTH) >> 22;
sys/dev/bce/if_bce.c
10190
max_depth = (ctl & BCE_TSCH_FTQ_CTL_MAX_DEPTH) >> 12;
sys/dev/bce/if_bce.c
10193
cmd, ctl, cur_depth, max_depth, valid_cnt);
sys/dev/bce/if_bce.c
10197
ctl = REG_RD(sc, BCE_TBDR_FTQ_CTL);
sys/dev/bce/if_bce.c
10198
cur_depth = (ctl & BCE_TBDR_FTQ_CTL_CUR_DEPTH) >> 22;
sys/dev/bce/if_bce.c
10199
max_depth = (ctl & BCE_TBDR_FTQ_CTL_MAX_DEPTH) >> 12;
sys/dev/bce/if_bce.c
10202
cmd, ctl, cur_depth, max_depth, valid_cnt);
sys/dev/bce/if_bce.c
10206
ctl = REG_RD_IND(sc, BCE_TXP_FTQ_CTL);
sys/dev/bce/if_bce.c
10207
cur_depth = (ctl & BCE_TXP_FTQ_CTL_CUR_DEPTH) >> 22;
sys/dev/bce/if_bce.c
10208
max_depth = (ctl & BCE_TXP_FTQ_CTL_MAX_DEPTH) >> 12;
sys/dev/bce/if_bce.c
10211
cmd, ctl, cur_depth, max_depth, valid_cnt);
sys/dev/bce/if_bce.c
10215
ctl = REG_RD(sc, BCE_TDMA_FTQ_CTL);
sys/dev/bce/if_bce.c
10216
cur_depth = (ctl & BCE_TDMA_FTQ_CTL_CUR_DEPTH) >> 22;
sys/dev/bce/if_bce.c
10217
max_depth = (ctl & BCE_TDMA_FTQ_CTL_MAX_DEPTH) >> 12;
sys/dev/bce/if_bce.c
10220
cmd, ctl, cur_depth, max_depth, valid_cnt);
sys/dev/bce/if_bce.c
10224
ctl = REG_RD_IND(sc, BCE_TPAT_FTQ_CTL);
sys/dev/bce/if_bce.c
10225
cur_depth = (ctl & BCE_TPAT_FTQ_CTL_CUR_DEPTH) >> 22;
sys/dev/bce/if_bce.c
10226
max_depth = (ctl & BCE_TPAT_FTQ_CTL_MAX_DEPTH) >> 12;
sys/dev/bce/if_bce.c
10229
cmd, ctl, cur_depth, max_depth, valid_cnt);
sys/dev/bce/if_bce.c
10233
ctl = REG_RD_IND(sc, BCE_TAS_FTQ_CTL);
sys/dev/bce/if_bce.c
10234
cur_depth = (ctl & BCE_TAS_FTQ_CTL_CUR_DEPTH) >> 22;
sys/dev/bce/if_bce.c
10235
max_depth = (ctl & BCE_TAS_FTQ_CTL_MAX_DEPTH) >> 12;
sys/dev/bce/if_bce.c
10238
cmd, ctl, cur_depth, max_depth, valid_cnt);
sys/dev/bce/if_bce.c
10242
ctl = REG_RD_IND(sc, BCE_COM_COMXQ_FTQ_CTL);
sys/dev/bce/if_bce.c
10243
cur_depth = (ctl & BCE_COM_COMXQ_FTQ_CTL_CUR_DEPTH) >> 22;
sys/dev/bce/if_bce.c
10244
max_depth = (ctl & BCE_COM_COMXQ_FTQ_CTL_MAX_DEPTH) >> 12;
sys/dev/bce/if_bce.c
10247
cmd, ctl, cur_depth, max_depth, valid_cnt);
sys/dev/bce/if_bce.c
10251
ctl = REG_RD_IND(sc, BCE_COM_COMTQ_FTQ_CTL);
sys/dev/bce/if_bce.c
10252
cur_depth = (ctl & BCE_COM_COMTQ_FTQ_CTL_CUR_DEPTH) >> 22;
sys/dev/bce/if_bce.c
10253
max_depth = (ctl & BCE_COM_COMTQ_FTQ_CTL_MAX_DEPTH) >> 12;
sys/dev/bce/if_bce.c
10256
cmd, ctl, cur_depth, max_depth, valid_cnt);
sys/dev/bce/if_bce.c
10260
ctl = REG_RD_IND(sc, BCE_COM_COMQ_FTQ_CTL);
sys/dev/bce/if_bce.c
10261
cur_depth = (ctl & BCE_COM_COMQ_FTQ_CTL_CUR_DEPTH) >> 22;
sys/dev/bce/if_bce.c
10262
max_depth = (ctl & BCE_COM_COMQ_FTQ_CTL_MAX_DEPTH) >> 12;
sys/dev/bce/if_bce.c
10265
cmd, ctl, cur_depth, max_depth, valid_cnt);
sys/dev/bce/if_bce.c
10280
ctl = REG_RD_IND(sc, BCE_MCP_MCPQ_FTQ_CTL);
sys/dev/bce/if_bce.c
10281
cur_depth = (ctl & BCE_MCP_MCPQ_FTQ_CTL_CUR_DEPTH) >> 22;
sys/dev/bce/if_bce.c
10282
max_depth = (ctl & BCE_MCP_MCPQ_FTQ_CTL_MAX_DEPTH) >> 12;
sys/dev/bce/if_bce.c
10285
cmd, ctl, cur_depth, max_depth, valid_cnt);
sys/dev/bce/if_bce.c
10289
ctl = REG_RD_IND(sc, BCE_CP_CPQ_FTQ_CTL);
sys/dev/bce/if_bce.c
10290
cur_depth = (ctl & BCE_CP_CPQ_FTQ_CTL_CUR_DEPTH) >> 22;
sys/dev/bce/if_bce.c
10291
max_depth = (ctl & BCE_CP_CPQ_FTQ_CTL_MAX_DEPTH) >> 12;
sys/dev/bce/if_bce.c
10294
cmd, ctl, cur_depth, max_depth, valid_cnt);
sys/dev/bce/if_bce.c
10298
ctl = REG_RD(sc, BCE_CSCH_CH_FTQ_CTL);
sys/dev/bce/if_bce.c
10299
cur_depth = (ctl & BCE_CSCH_CH_FTQ_CTL_CUR_DEPTH) >> 22;
sys/dev/bce/if_bce.c
10300
max_depth = (ctl & BCE_CSCH_CH_FTQ_CTL_MAX_DEPTH) >> 12;
sys/dev/bce/if_bce.c
10303
cmd, ctl, cur_depth, max_depth, valid_cnt);
sys/dev/bce/if_bce.c
10308
ctl = REG_RD(sc, BCE_RV2PCSR_FTQ_CTL);
sys/dev/bce/if_bce.c
10309
cur_depth = (ctl & 0xFFC00000) >> 22;
sys/dev/bce/if_bce.c
10310
max_depth = (ctl & 0x003FF000) >> 12;
sys/dev/bce/if_bce.c
10313
cmd, ctl, cur_depth, max_depth, valid_cnt);
sys/dev/bhnd/cores/chipc/chipc_spi.c
196
uint32_t ctl;
sys/dev/bhnd/cores/chipc/chipc_spi.c
198
ctl = CHIPC_SPI_FLASHCTL_START | CHIPC_SPI_FLASHCTL_CSACTIVE | out;
sys/dev/bhnd/cores/chipc/chipc_spi.c
200
SPI_WRITE(sc, CHIPC_SPI_FLASHCTL, ctl);
sys/dev/bhnd/cores/pci/bhnd_pci.c
273
uint32_t ctl;
sys/dev/bhnd/cores/pci/bhnd_pci.c
277
ctl = BHND_PCI_READ_4(sc, BHND_PCIE_MDIO_CTL);
sys/dev/bhnd/cores/pci/bhnd_pci.c
278
if ((ctl & BHND_PCIE_MDIOCTL_DONE))
sys/dev/bhnd/cores/pci/bhnd_pci.c
306
uint32_t ctl;
sys/dev/bhnd/cores/pci/bhnd_pci.c
311
ctl = BHND_PCIE_MDIOCTL_PREAM_EN|BHND_PCIE_MDIOCTL_DIVISOR_VAL;
sys/dev/bhnd/cores/pci/bhnd_pci.c
312
return (bhnd_pcie_mdio_ioctl(sc, ctl));
sys/dev/bhnd/cores/pci/bhnd_pci_hostb.c
405
uint32_t ctl;
sys/dev/bhnd/cores/pci/bhnd_pci_hostb.c
407
ctl = BHND_PCI_READ_4(sc, BHND_PCI_CLKRUN_CTL);
sys/dev/bhnd/cores/pci/bhnd_pci_hostb.c
408
ctl |= BHND_PCI_CLKRUN_DSBL;
sys/dev/bhnd/cores/pci/bhnd_pci_hostb.c
409
BHND_PCI_WRITE_4(sc, BHND_PCI_CLKRUN_CTL, ctl);
sys/dev/bwn/if_bwn.c
1510
uint32_t ctl;
sys/dev/bwn/if_bwn.c
1560
ctl = BWN_READ_4(mac, BWN_MACCTL) & ~BWN_MACCTL_GMODE;
sys/dev/bwn/if_bwn.c
1562
ctl |= BWN_MACCTL_GMODE;
sys/dev/bwn/if_bwn.c
1563
BWN_WRITE_4(mac, BWN_MACCTL, ctl | BWN_MACCTL_IHR_ON);
sys/dev/bwn/if_bwn.c
2619
uint16_t ctl;
sys/dev/bwn/if_bwn.c
2621
ctl = (BWN_TX_PHY_ENC_CCK | BWN_TX_PHY_ANT01AUTO |
sys/dev/bwn/if_bwn.c
2623
bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_BEACON_PHYCTL, ctl);
sys/dev/bwn/if_bwn.c
2624
bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_ACKCTS_PHYCTL, ctl);
sys/dev/bwn/if_bwn.c
2625
bwn_shm_write_2(mac, BWN_SHARED, BWN_SHARED_PROBE_RESP_PHYCTL, ctl);
sys/dev/bwn/if_bwn.c
2744
uint32_t ctl;
sys/dev/bwn/if_bwn.c
2749
ctl = BWN_READ_4(mac, base + BWN_DMA64_RXCTL);
sys/dev/bwn/if_bwn.c
2750
ctl &= ~BWN_DMA64_RXDIRECTFIFO;
sys/dev/bwn/if_bwn.c
2752
ctl |= BWN_DMA64_RXDIRECTFIFO;
sys/dev/bwn/if_bwn.c
2753
BWN_WRITE_4(mac, base + BWN_DMA64_RXCTL, ctl);
sys/dev/bwn/if_bwn.c
2755
ctl = BWN_READ_4(mac, base + BWN_DMA32_RXCTL);
sys/dev/bwn/if_bwn.c
2756
ctl &= ~BWN_DMA32_RXDIRECTFIFO;
sys/dev/bwn/if_bwn.c
2758
ctl |= BWN_DMA32_RXDIRECTFIFO;
sys/dev/bwn/if_bwn.c
2759
BWN_WRITE_4(mac, base + BWN_DMA32_RXCTL, ctl);
sys/dev/bwn/if_bwn.c
3045
uint32_t addr, addrext, ctl;
sys/dev/bwn/if_bwn.c
3058
ctl = bufsize & BWN_DMA32_DCTL_BYTECNT;
sys/dev/bwn/if_bwn.c
3060
ctl |= BWN_DMA32_DCTL_DTABLEEND;
sys/dev/bwn/if_bwn.c
3062
ctl |= BWN_DMA32_DCTL_FRAMESTART;
sys/dev/bwn/if_bwn.c
3064
ctl |= BWN_DMA32_DCTL_FRAMEEND;
sys/dev/bwn/if_bwn.c
3066
ctl |= BWN_DMA32_DCTL_IRQ;
sys/dev/bwn/if_bwn.c
3067
ctl |= (addrext << BWN_DMA32_DCTL_ADDREXT_SHIFT)
sys/dev/bwn/if_bwn.c
3070
desc->dma.dma32.control = htole32(ctl);
sys/dev/bwn/if_bwn.c
3796
uint32_t ctl;
sys/dev/bwn/if_bwn.c
3799
ctl = BWN_READ_4(mac, BWN_MACCTL);
sys/dev/bwn/if_bwn.c
3800
ctl &= ~(BWN_MACCTL_HOSTAP | BWN_MACCTL_PASS_CTL |
sys/dev/bwn/if_bwn.c
3803
ctl |= BWN_MACCTL_STA;
sys/dev/bwn/if_bwn.c
3807
ctl |= BWN_MACCTL_HOSTAP;
sys/dev/bwn/if_bwn.c
3809
ctl &= ~BWN_MACCTL_STA;
sys/dev/bwn/if_bwn.c
3810
ctl |= sc->sc_filters;
sys/dev/bwn/if_bwn.c
3813
ctl |= BWN_MACCTL_PROMISC;
sys/dev/bwn/if_bwn.c
3815
BWN_WRITE_4(mac, BWN_MACCTL, ctl);
sys/dev/bwn/if_bwn.c
3818
if ((ctl & BWN_MACCTL_STA) && !(ctl & BWN_MACCTL_HOSTAP)) {
sys/dev/bwn/if_bwn.c
4355
uint32_t ctl;
sys/dev/bwn/if_bwn.c
4359
ctl = BWN_READ_4(mac, BWN_MACCTL);
sys/dev/bwn/if_bwn.c
4360
ctl |= BWN_MACCTL_MCODE_JMP0;
sys/dev/bwn/if_bwn.c
4361
KASSERT(!(ctl & BWN_MACCTL_MCODE_RUN), ("%s:%d: fail", __func__,
sys/dev/bwn/if_bwn.c
4363
BWN_WRITE_4(mac, BWN_MACCTL, ctl);
sys/dev/bwn/if_bwn.c
6743
uint32_t ctl, const void *_data, int len)
sys/dev/bwn/if_bwn.c
6749
ctl |= BWN_PIO8_TXCTL_0_7 | BWN_PIO8_TXCTL_8_15 |
sys/dev/bwn/if_bwn.c
6751
bwn_pio_write_4(mac, tq, BWN_PIO8_TXCTL, ctl);
sys/dev/bwn/if_bwn.c
6756
ctl &= ~(BWN_PIO8_TXCTL_8_15 | BWN_PIO8_TXCTL_16_23 |
sys/dev/bwn/if_bwn.c
6761
ctl |= BWN_PIO8_TXCTL_16_23;
sys/dev/bwn/if_bwn.c
6765
ctl |= BWN_PIO8_TXCTL_8_15;
sys/dev/bwn/if_bwn.c
6771
bwn_pio_write_4(mac, tq, BWN_PIO8_TXCTL, ctl);
sys/dev/bwn/if_bwn.c
6775
return (ctl);
sys/dev/bwn/if_bwn.c
6788
uint16_t ctl, const void *_data, int len)
sys/dev/bwn/if_bwn.c
6793
ctl |= BWN_PIO_TXCTL_WRITELO | BWN_PIO_TXCTL_WRITEHI;
sys/dev/bwn/if_bwn.c
6794
BWN_PIO_WRITE_2(mac, tq, BWN_PIO_TXCTL, ctl);
sys/dev/bwn/if_bwn.c
6799
ctl &= ~BWN_PIO_TXCTL_WRITEHI;
sys/dev/bwn/if_bwn.c
6800
BWN_PIO_WRITE_2(mac, tq, BWN_PIO_TXCTL, ctl);
sys/dev/bwn/if_bwn.c
6804
return (ctl);
sys/dev/bwn/if_bwn.c
6809
uint16_t ctl, struct mbuf *m0)
sys/dev/bwn/if_bwn.c
6816
ctl |= BWN_PIO_TXCTL_WRITELO | BWN_PIO_TXCTL_WRITEHI;
sys/dev/bwn/if_bwn.c
6817
BWN_PIO_WRITE_2(mac, tq, BWN_PIO_TXCTL, ctl);
sys/dev/bwn/if_bwn.c
6832
ctl &= ~BWN_PIO_TXCTL_WRITEHI;
sys/dev/bwn/if_bwn.c
6833
BWN_PIO_WRITE_2(mac, tq, BWN_PIO_TXCTL, ctl);
sys/dev/bwn/if_bwn.c
6837
return (ctl);
sys/dev/bwn/if_bwn_phy_g.c
1908
bwn_lo_write(struct bwn_mac *mac, struct bwn_loctl *ctl)
sys/dev/bwn/if_bwn_phy_g.c
1915
value = (uint8_t) (ctl->q);
sys/dev/bwn/if_bwn_phy_g.c
1916
value |= ((uint8_t) (ctl->i)) << 8;
sys/dev/bwn/if_bwn_phy_g.c
2538
memcpy(&cal->ctl, &loctl, sizeof(loctl));
sys/dev/bwn/if_bwn_phy_g.c
2610
val = (uint8_t)(cal->ctl.q);
sys/dev/bwn/if_bwn_phy_g.c
2611
val |= ((uint8_t)(cal->ctl.i)) << 4;
sys/dev/bwn/if_bwn_phy_g.c
2653
bwn_lo_write(mac, &cal->ctl);
sys/dev/bwn/if_bwn_phy_g.c
792
cal->ctl.i, cal->ctl.q);
sys/dev/bwn/if_bwn_phy_g.c
806
bwn_lo_write(mac, &cal->ctl);
sys/dev/bwn/if_bwn_phy_lp.c
1104
uint16_t ctl;
sys/dev/bwn/if_bwn_phy_lp.c
1106
ctl = BWN_PHY_READ(mac, BWN_PHY_TX_PWR_CTL_CMD);
sys/dev/bwn/if_bwn_phy_lp.c
1107
switch (ctl & BWN_PHY_TX_PWR_CTL_CMD_MODE) {
sys/dev/bwn/if_bwn_phy_lp.c
1128
uint16_t ctl;
sys/dev/bwn/if_bwn_phy_lp.c
1164
ctl = BWN_PHY_TX_PWR_CTL_CMD_MODE_OFF;
sys/dev/bwn/if_bwn_phy_lp.c
1167
ctl = BWN_PHY_TX_PWR_CTL_CMD_MODE_HW;
sys/dev/bwn/if_bwn_phy_lp.c
1170
ctl = BWN_PHY_TX_PWR_CTL_CMD_MODE_SW;
sys/dev/bwn/if_bwn_phy_lp.c
1173
ctl = 0;
sys/dev/bwn/if_bwn_phy_lp.c
1177
(uint16_t)~BWN_PHY_TX_PWR_CTL_CMD_MODE, ctl);
sys/dev/bwn/if_bwn_phy_lp.c
3655
uint16_t ctl;
sys/dev/bwn/if_bwn_phy_lp.c
3657
ctl = BWN_PHY_READ(mac, BWN_PHY_AFE_DAC_CTL) & 0xc7f;
sys/dev/bwn/if_bwn_phy_lp.c
3658
ctl |= dac << 7;
sys/dev/bwn/if_bwn_phy_lp.c
3659
BWN_PHY_SETMASK(mac, BWN_PHY_AFE_DAC_CTL, 0xf000, ctl);
sys/dev/bwn/if_bwnvar.h
245
struct bwn_loctl ctl;
sys/dev/bxe/bxe.c
16501
uint32_t data, ctl, cnt = 100;
sys/dev/bxe/bxe.c
16519
ctl = ((addr_encode << IGU_CTRL_REG_ADDRESS_SHIFT) |
sys/dev/bxe/bxe.c
16532
ctl, igu_addr_ctl);
sys/dev/bxe/bxe.c
16533
REG_WR(sc, igu_addr_ctl, ctl);
sys/dev/cadence/if_cgem.c
1188
sc->txring[i].ctl = CGEM_TXDESC_USED;
sys/dev/cadence/if_cgem.c
1200
sc->txring[CGEM_NUM_TX_DESCS - 1].ctl |= CGEM_TXDESC_WRAP;
sys/dev/cadence/if_cgem.c
395
tx_desc->ctl = CGEM_TXDESC_USED | CGEM_TXDESC_WRAP;
sys/dev/cadence/if_cgem.c
463
sc->rxring[i].ctl = 0;
sys/dev/cadence/if_cgem.c
480
sc->txring[i].ctl = CGEM_TXDESC_USED;
sys/dev/cadence/if_cgem.c
484
sc->txring[CGEM_NUM_TX_DESCS - 1].ctl |= CGEM_TXDESC_WRAP;
sys/dev/cadence/if_cgem.c
546
sc->rxring[sc->rxring_hd_ptr].ctl = 0;
sys/dev/cadence/if_cgem.c
567
uint32_t ctl;
sys/dev/cadence/if_cgem.c
576
ctl = sc->rxring[sc->rxring_tl_ptr].ctl;
sys/dev/cadence/if_cgem.c
604
if ((ctl & CGEM_RXDESC_BAD_FCS) != 0 ||
sys/dev/cadence/if_cgem.c
605
(ctl & (CGEM_RXDESC_SOF | CGEM_RXDESC_EOF)) !=
sys/dev/cadence/if_cgem.c
615
m->m_len = (ctl & CGEM_RXDESC_LENGTH_MASK);
sys/dev/cadence/if_cgem.c
625
if ((ctl & CGEM_RXDESC_CKSUM_STAT_MASK) ==
sys/dev/cadence/if_cgem.c
627
(ctl & CGEM_RXDESC_CKSUM_STAT_MASK) ==
sys/dev/cadence/if_cgem.c
633
} else if ((ctl & CGEM_RXDESC_CKSUM_STAT_MASK) ==
sys/dev/cadence/if_cgem.c
667
uint32_t ctl;
sys/dev/cadence/if_cgem.c
673
((ctl = sc->txring[sc->txring_tl_ptr].ctl) &
sys/dev/cadence/if_cgem.c
693
if ((ctl & CGEM_TXDESC_AHB_ERR) != 0) {
sys/dev/cadence/if_cgem.c
705
} else if ((ctl & (CGEM_TXDESC_RETRY_ERR |
sys/dev/cadence/if_cgem.c
716
while ((ctl & CGEM_TXDESC_LAST_BUF) == 0) {
sys/dev/cadence/if_cgem.c
717
if ((ctl & CGEM_TXDESC_WRAP) != 0)
sys/dev/cadence/if_cgem.c
723
ctl = sc->txring[sc->txring_tl_ptr].ctl;
sys/dev/cadence/if_cgem.c
725
sc->txring[sc->txring_tl_ptr].ctl =
sys/dev/cadence/if_cgem.c
726
ctl | CGEM_TXDESC_USED;
sys/dev/cadence/if_cgem.c
730
if ((ctl & CGEM_TXDESC_WRAP) != 0)
sys/dev/cadence/if_cgem.c
747
uint32_t ctl;
sys/dev/cadence/if_cgem.c
837
ctl = segs[i].ds_len;
sys/dev/cadence/if_cgem.c
839
ctl |= CGEM_TXDESC_LAST_BUF;
sys/dev/cadence/if_cgem.c
841
ctl |= CGEM_TXDESC_WRAP;
sys/dev/cadence/if_cgem.c
843
sc->txring[sc->txring_hd_ptr + i].ctl = ctl;
sys/dev/cadence/if_cgem_hw.h
380
uint32_t ctl;
sys/dev/cadence/if_cgem_hw.h
415
uint32_t ctl;
sys/dev/ciss/ciss.c
3125
ctl->ccb_h.target_id);
sys/dev/cxgb/common/cxgb_t3_hw.c
396
unsigned int ctl;
sys/dev/cxgb/common/cxgb_t3_hw.c
403
err = mdio_read(phy, mmd, MII_BMCR, &ctl);
sys/dev/cxgb/common/cxgb_t3_hw.c
406
ctl &= BMCR_RESET;
sys/dev/cxgb/common/cxgb_t3_hw.c
407
if (ctl)
sys/dev/cxgb/common/cxgb_t3_hw.c
409
} while (ctl && --wait);
sys/dev/cxgb/common/cxgb_t3_hw.c
411
return ctl ? -1 : 0;
sys/dev/cxgb/common/cxgb_t3_hw.c
492
unsigned int ctl;
sys/dev/cxgb/common/cxgb_t3_hw.c
494
err = mdio_read(phy, 0, MII_BMCR, &ctl);
sys/dev/cxgb/common/cxgb_t3_hw.c
499
ctl &= ~(BMCR_SPEED100 | BMCR_SPEED1000 | BMCR_ANENABLE);
sys/dev/cxgb/common/cxgb_t3_hw.c
501
ctl |= BMCR_SPEED100;
sys/dev/cxgb/common/cxgb_t3_hw.c
503
ctl |= BMCR_SPEED1000;
sys/dev/cxgb/common/cxgb_t3_hw.c
506
ctl &= ~(BMCR_FULLDPLX | BMCR_ANENABLE);
sys/dev/cxgb/common/cxgb_t3_hw.c
508
ctl |= BMCR_FULLDPLX;
sys/dev/cxgb/common/cxgb_t3_hw.c
510
if (ctl & BMCR_SPEED1000) /* auto-negotiation required for GigE */
sys/dev/cxgb/common/cxgb_t3_hw.c
511
ctl |= BMCR_ANENABLE;
sys/dev/cxgb/common/cxgb_t3_hw.c
512
return mdio_write(phy, 0, MII_BMCR, ctl);
sys/dev/cxgbe/common/t4_hw.c
382
u32 ctl;
sys/dev/cxgbe/common/t4_hw.c
419
ctl = t4_read_reg(adap, ctl_reg);
sys/dev/cxgbe/common/t4_hw.c
420
v = G_MBOWNER(ctl);
sys/dev/cxgbe/common/t4_hw.c
445
if (ctl & F_MBMSGVALID) {
sys/dev/cxgbe/cudbg/cudbg_lib.c
3514
u32 ctl, data2;
sys/dev/cxgbe/cudbg/cudbg_lib.c
3537
ctl = (V_CTLREQID(1) |
sys/dev/cxgbe/cudbg/cudbg_lib.c
3540
ctl |= V_CTLTCAMINDEX(i) | V_CTLTCAMSEL(0);
sys/dev/cxgbe/cudbg/cudbg_lib.c
3542
ctl |= V_CTLTCAMINDEX(i - 256) |
sys/dev/cxgbe/cudbg/cudbg_lib.c
3545
t4_write_reg(padap, A_MPS_CLS_TCAM_DATA2_CTL, ctl);
sys/dev/cxgbe/cudbg/cudbg_lib.c
3572
ctl |= V_CTLXYBITSEL(1);
sys/dev/cxgbe/cudbg/cudbg_lib.c
3573
t4_write_reg(padap, A_MPS_CLS_TCAM_DATA2_CTL, ctl);
sys/dev/cxgbe/firmware/t4fw_interface.h
10440
} ctl;
sys/dev/cxgbe/firmware/t4fw_interface.h
8219
} ctl;
sys/dev/cxgbe/firmware/t4fw_interface.h
9205
} ctl;
sys/dev/cxgbe/firmware/t4fw_interface.h
9322
} ctl;
sys/dev/cxgbe/t4_main.c
11001
uint32_t cls_lo, cls_hi, ctl, data2, vnix, vniy;
sys/dev/cxgbe/t4_main.c
11004
ctl = V_CTLREQID(1) | V_CTLCMDTYPE(0) | V_CTLXYBITSEL(0);
sys/dev/cxgbe/t4_main.c
11006
ctl |= V_CTLTCAMINDEX(i) | V_CTLTCAMSEL(0);
sys/dev/cxgbe/t4_main.c
11008
ctl |= V_CTLTCAMINDEX(i - 256) | V_CTLTCAMSEL(1);
sys/dev/cxgbe/t4_main.c
11013
t4_write_reg(sc, A_MPS_CLS_TCAM_DATA2_CTL, ctl);
sys/dev/cxgbe/t4_main.c
11038
ctl |= V_CTLXYBITSEL(1);
sys/dev/cxgbe/t4_main.c
11043
t4_write_reg(sc, A_MPS_CLS_TCAM_DATA2_CTL, ctl);
sys/dev/cxgbe/t4_main.c
11181
uint32_t cls_lo, cls_hi, ctl, data2, vnix, vniy;
sys/dev/cxgbe/t4_main.c
11185
ctl = (V_CTLREQID(1) | V_CTLCMDTYPE(0) | V_CTLXYBITSEL(0));
sys/dev/cxgbe/t4_main.c
11188
ctl |= V_CTLTCAMINDEX(i) | V_T7_CTLTCAMSEL(0);
sys/dev/cxgbe/t4_main.c
11190
ctl |= V_CTLTCAMINDEX(i - 256) | V_T7_CTLTCAMSEL(1);
sys/dev/cxgbe/t4_main.c
11193
ctl = (V_CTLREQID(1) | V_CTLCMDTYPE(0) | V_CTLXYBITSEL(0));
sys/dev/cxgbe/t4_main.c
11196
ctl |= V_CTLTCAMINDEX(i) | V_T7_CTLTCAMSEL(0);
sys/dev/cxgbe/t4_main.c
11198
ctl |= V_CTLTCAMINDEX(i - 512) | V_T7_CTLTCAMSEL(1);
sys/dev/cxgbe/t4_main.c
11200
ctl |= V_CTLTCAMINDEX(i - 1024) | V_T7_CTLTCAMSEL(2);
sys/dev/cxgbe/t4_main.c
11207
t4_write_reg(sc, A_MPS_CLS_TCAM_DATA2_CTL, ctl);
sys/dev/cxgbe/t4_main.c
11232
ctl |= V_CTLXYBITSEL(1);
sys/dev/cxgbe/t4_main.c
11237
t4_write_reg(sc, A_MPS_CLS_TCAM_DATA2_CTL, ctl);
sys/dev/dc/if_dc.c
2975
uint32_t ctl, txstat;
sys/dev/dc/if_dc.c
2993
ctl = le32toh(cur_tx->dc_ctl);
sys/dev/dc/if_dc.c
3001
if (ctl & DC_TXCTL_SETUP) {
sys/dev/dc/if_dc.c
3002
cur_tx->dc_ctl = htole32(ctl & ~DC_TXCTL_SETUP);
sys/dev/dc/if_dc.c
3954
uint32_t ctl, netcfg;
sys/dev/dc/if_dc.c
4003
ctl = le32toh(ld->dc_tx_list[i].dc_ctl);
sys/dev/dc/if_dc.c
4004
if (ctl & DC_TXCTL_SETUP) {
sys/dev/dpaa/fman_xmdio.c
188
uint32_t ctl;
sys/dev/dpaa/fman_xmdio.c
195
ctl = (phy << 5) | reg;
sys/dev/dpaa/fman_xmdio.c
196
MDIO_WRITE4(sc, MDIO_CTL, ctl | CTL_READ);
sys/dev/dpaa/fman_xmdio.c
237
uint32_t ctl;
sys/dev/dpaa/fman_xmdio.c
244
ctl = (phy << 5) | devad;
sys/dev/dpaa/fman_xmdio.c
245
MDIO_WRITE4(sc, MDIO_CTL, ctl);
sys/dev/dpaa/fman_xmdio.c
248
MDIO_WRITE4(sc, MDIO_CTL, ctl | CTL_READ);
sys/dev/dpaa2/memac_mdio_common.c
192
uint32_t cfg, ctl, val;
sys/dev/dpaa2/memac_mdio_common.c
205
ctl = MDIO_CTL_PORT_ADDR(phy) | MDIO_CTL_DEV_ADDR(reg);
sys/dev/dpaa2/memac_mdio_common.c
207
memac_write_4(sc, MDIO_CTL, ctl | MDIO_CTL_READ);
sys/dev/dpaa2/memac_mdio_common.c
230
uint32_t cfg, ctl, val;
sys/dev/dpaa2/memac_mdio_common.c
247
ctl = MDIO_CTL_PORT_ADDR(phy) | MDIO_CTL_DEV_ADDR(reg);
sys/dev/dpaa2/memac_mdio_common.c
248
memac_write_4(sc, MDIO_CTL, ctl);
sys/dev/drm2/drm_irq.c
418
struct drm_control *ctl = data;
sys/dev/drm2/drm_irq.c
425
switch (ctl->func) {
sys/dev/drm2/drm_irq.c
432
ctl->irq != drm_dev_to_irq(dev))
sys/dev/ichiic/ig4_iic.c
239
set_controller(ig4iic_softc_t *sc, uint32_t ctl)
sys/dev/ichiic/ig4_iic.c
250
if (ctl & IG4_I2C_ENABLE)
sys/dev/ichiic/ig4_iic.c
253
reg_write(sc, IG4_REG_I2C_EN, ctl);
sys/dev/ichiic/ig4_iic.c
258
if (((v ^ ctl) & IG4_I2C_ENABLE) == 0) {
sys/dev/ichiic/ig4_iic.c
340
uint32_t ctl;
sys/dev/ichiic/ig4_iic.c
357
ctl = reg_read(sc, IG4_REG_CTL);
sys/dev/ichiic/ig4_iic.c
358
ctl &= ~IG4_CTL_10BIT;
sys/dev/ichiic/ig4_iic.c
359
ctl |= IG4_CTL_RESTARTEN;
sys/dev/ichiic/ig4_iic.c
364
ctl |= IG4_CTL_10BIT;
sys/dev/ichiic/ig4_iic.c
366
reg_write(sc, IG4_REG_CTL, ctl);
sys/dev/ichwd/ichwd.c
627
uint32_t ctl;
sys/dev/ichwd/ichwd.c
678
ctl = pci_read_config(smb, ICH_TCOCTL, 4);
sys/dev/ichwd/ichwd.c
679
if ((ctl & ICH_TCOCTL_TCO_BASE_EN) == 0) {
sys/dev/isp/isp.c
2996
isp_control(ispsoftc_t *isp, ispctl_t ctl, ...)
sys/dev/isp/isp.c
3007
switch (ctl) {
sys/dev/isp/isp.c
3020
va_start(ap, ctl);
sys/dev/isp/isp.c
3063
va_start(ap, ctl);
sys/dev/isp/isp.c
3108
va_start(ap, ctl);
sys/dev/isp/isp.c
3118
va_start(ap, ctl);
sys/dev/isp/isp.c
3125
va_start(ap, ctl);
sys/dev/isp/isp.c
3132
va_start(ap, ctl);
sys/dev/isp/isp.c
3143
va_start(ap, ctl);
sys/dev/isp/isp.c
3153
va_start(ap, ctl);
sys/dev/isp/isp.c
3178
va_start(ap, ctl);
sys/dev/isp/isp.c
3189
va_start(ap, ctl);
sys/dev/isp/isp.c
3211
va_start(ap, ctl);
sys/dev/isp/isp.c
3218
isp_prt(isp, ISP_LOGERR, "Unknown Control Opcode 0x%x", ctl);
sys/dev/iwi/if_iwi.c
2416
uint32_t sentinel, ctl, src, dst, sum, len, mlen, tmp;
sys/dev/iwi/if_iwi.c
2448
ctl = IWI_CB_DEFAULT_CTL | mlen;
sys/dev/iwi/if_iwi.c
2449
sum = ctl ^ src ^ dst;
sys/dev/iwi/if_iwi.c
2452
CSR_WRITE_4(sc, IWI_CSR_AUTOINC_DATA, ctl);
sys/dev/iwn/if_iwnreg.h
830
uint16_t ctl;
sys/dev/mgb/if_mgb.c
1089
rxd.ctl = le32toh(rxd.ctl);
sys/dev/mgb/if_mgb.c
1090
rxd.addr.low = le32toh(rxd.ctl);
sys/dev/mgb/if_mgb.c
1091
rxd.addr.high = le32toh(rxd.ctl);
sys/dev/mgb/if_mgb.c
1092
rxd.sts = le32toh(rxd.ctl);
sys/dev/mgb/if_mgb.c
1094
if ((rxd.ctl & MGB_DESC_CTL_OWN) != 0) {
sys/dev/mgb/if_mgb.c
1100
if ((rxd.ctl & MGB_RX_DESC_CTL_FS) == 0) {
sys/dev/mgb/if_mgb.c
1108
if ((rxd.ctl & MGB_RX_DESC_CTL_LS) == 0) {
sys/dev/mgb/if_mgb.c
1158
rxd->ctl = htole32(MGB_DESC_CTL_OWN |
sys/dev/mgb/if_mgb.c
688
i, sc->tx_ring_data.ring[i].ctl,
sys/dev/mgb/if_mgb.c
981
txd->ctl = htole32(
sys/dev/mgb/if_mgb.h
177
(((_desc)->ctl & MGB_DESC_FRAME_LEN_MASK) >> 16)
sys/dev/mgb/if_mgb.h
271
uint32_t ctl; /* data0 */
sys/dev/nfe/if_nfe.c
1049
uint32_t ctl;
sys/dev/nfe/if_nfe.c
1060
ctl = NFE_PHY_WRITE | (phy << NFE_PHYADD_SHIFT) | reg;
sys/dev/nfe/if_nfe.c
1061
NFE_WRITE(sc, NFE_PHY_CTL, ctl);
sys/dev/ocs_fc/ocs_fabric.c
1917
if (gidpt->port_list[i].ctl & FCCT_GID_PT_LAST_ID)
sys/dev/ocs_fc/ocs_fabric.c
1967
if (gidpt->port_list[i].ctl & FCCT_GID_PT_LAST_ID) {
sys/dev/ocs_fc/ocs_fcp.h
631
uint32_t ctl:8,
sys/dev/ocs_fc/ocs_fcp.h
639
uint32_t ctl:8,
sys/dev/pci/pci.c
3640
uint32_t ctl;
sys/dev/pci/pci.c
3649
ctl = bus_read_4(res, OHCI_CONTROL);
sys/dev/pci/pci.c
3650
if (ctl & OHCI_IR) {
sys/dev/pci/pci.c
3655
for (i = 0; (i < 100) && (ctl & OHCI_IR); i++) {
sys/dev/pci/pci.c
3657
ctl = bus_read_4(res, OHCI_CONTROL);
sys/dev/pci/pci.c
3659
if (ctl & OHCI_IR) {
sys/dev/pci/pci.c
6737
uint16_t cmd, ctl;
sys/dev/pci/pci.c
6780
ctl = pci_read_config(dev, cap + PCIER_DEVICE_CTL, 2);
sys/dev/pci/pci.c
6781
pci_write_config(dev, cap + PCIER_DEVICE_CTL, ctl |
sys/dev/pci/pci_pci.c
894
uint16_t ctl, new;
sys/dev/pci/pci_pci.c
901
ctl = pcie_read_config(dev, PCIER_SLOT_CTL, 2);
sys/dev/pci/pci_pci.c
902
new = (ctl & ~mask) | val;
sys/dev/pci/pci_pci.c
903
if (new == ctl)
sys/dev/pci/pci_pci.c
906
device_printf(dev, "HotPlug command: %04x -> %04x\n", ctl, new);
sys/dev/pci/pci_pci.c
909
(ctl & new) & PCIEM_SLOT_CTL_CCIE) {
sys/dev/re/if_re.c
1226
u_int32_t cap, ctl;
sys/dev/re/if_re.c
1385
ctl = pci_read_config(dev, sc->rl_expcap +
sys/dev/re/if_re.c
1387
if ((ctl & (PCIEM_LINK_CTL_ECPM |
sys/dev/re/if_re.c
1389
ctl &= ~(PCIEM_LINK_CTL_ECPM |
sys/dev/re/if_re.c
1392
PCIER_LINK_CTL, ctl, 2);
sys/dev/re/if_re.c
3675
uint16_t ctl;
sys/dev/re/if_re.c
3677
ctl = pci_read_config(sc->rl_dev,
sys/dev/re/if_re.c
3679
if ((ctl & (PCIEM_LINK_CTL_ECPM | PCIEM_LINK_CTL_ASPMC)) != 0) {
sys/dev/re/if_re.c
3680
ctl &= ~(PCIEM_LINK_CTL_ECPM | PCIEM_LINK_CTL_ASPMC);
sys/dev/re/if_re.c
3682
sc->rl_expcap + PCIER_LINK_CTL, ctl, 2);
sys/dev/sge/if_sge.c
381
uint32_t ctl, speed;
sys/dev/sge/if_sge.c
415
ctl = CSR_READ_4(sc, StationControl);
sys/dev/sge/if_sge.c
416
ctl &= ~(0x0f000000 | SC_FDX | SC_SPEED_MASK);
sys/dev/sge/if_sge.c
418
ctl |= 0x07000000;
sys/dev/sge/if_sge.c
421
ctl |= 0x04000000;
sys/dev/sge/if_sge.c
426
ctl |= 0x03000000;
sys/dev/sge/if_sge.c
428
ctl |= speed;
sys/dev/sge/if_sge.c
430
ctl |= SC_FDX;
sys/dev/sge/if_sge.c
434
CSR_WRITE_4(sc, StationControl, ctl);
sys/dev/sound/pci/hda/hdaa.c
1702
hdaa_audio_ctl_amp_set(struct hdaa_audio_ctl *ctl, uint32_t mute,
sys/dev/sound/pci/hda/hdaa.c
1708
nid = ctl->widget->nid;
sys/dev/sound/pci/hda/hdaa.c
1712
ctl->muted = mute;
sys/dev/sound/pci/hda/hdaa.c
1714
ctl->left = left;
sys/dev/sound/pci/hda/hdaa.c
1716
ctl->right = right;
sys/dev/sound/pci/hda/hdaa.c
1718
if (ctl->forcemute) {
sys/dev/sound/pci/hda/hdaa.c
1724
lmute = HDAA_AMP_LEFT_MUTED(ctl->muted);
sys/dev/sound/pci/hda/hdaa.c
1725
rmute = HDAA_AMP_RIGHT_MUTED(ctl->muted);
sys/dev/sound/pci/hda/hdaa.c
1726
left = ctl->left;
sys/dev/sound/pci/hda/hdaa.c
1727
right = ctl->right;
sys/dev/sound/pci/hda/hdaa.c
1730
if (ctl->dir & HDAA_CTL_OUT)
sys/dev/sound/pci/hda/hdaa.c
1731
hdaa_audio_ctl_amp_set_internal(ctl->widget->devinfo, nid, ctl->index,
sys/dev/sound/pci/hda/hdaa.c
1733
if (ctl->dir & HDAA_CTL_IN)
sys/dev/sound/pci/hda/hdaa.c
1734
hdaa_audio_ctl_amp_set_internal(ctl->widget->devinfo, nid, ctl->index,
sys/dev/sound/pci/hda/hdaa.c
202
index == NULL || devinfo->ctl == NULL ||
sys/dev/sound/pci/hda/hdaa.c
206
return (&devinfo->ctl[(*index)++]);
sys/dev/sound/pci/hda/hdaa.c
213
struct hdaa_audio_ctl *ctl;
sys/dev/sound/pci/hda/hdaa.c
216
if (devinfo == NULL || devinfo->ctl == NULL)
sys/dev/sound/pci/hda/hdaa.c
220
while ((ctl = hdaa_audio_ctl_each(devinfo, &i)) != NULL) {
sys/dev/sound/pci/hda/hdaa.c
221
if (ctl->enable == 0)
sys/dev/sound/pci/hda/hdaa.c
223
if (ctl->widget->nid != nid)
sys/dev/sound/pci/hda/hdaa.c
225
if (dir && ctl->ndir != dir)
sys/dev/sound/pci/hda/hdaa.c
227
if (index >= 0 && ctl->ndir == HDAA_CTL_IN &&
sys/dev/sound/pci/hda/hdaa.c
228
ctl->dir == ctl->ndir && ctl->index != index)
sys/dev/sound/pci/hda/hdaa.c
232
return (ctl);
sys/dev/sound/pci/hda/hdaa.c
2350
hdaa_audio_ctl_dev_set(struct hdaa_audio_ctl *ctl, int ossdev,
sys/dev/sound/pci/hda/hdaa.c
2355
ctl->devleft[ossdev] = *left;
sys/dev/sound/pci/hda/hdaa.c
2356
ctl->devright[ossdev] = *right;
sys/dev/sound/pci/hda/hdaa.c
2357
ctl->devmute[ossdev] = mute;
sys/dev/sound/pci/hda/hdaa.c
2360
sleft += ctl->devleft[i];
sys/dev/sound/pci/hda/hdaa.c
2361
sright += ctl->devright[i];
sys/dev/sound/pci/hda/hdaa.c
2362
smute |= ctl->devmute[i];
sys/dev/sound/pci/hda/hdaa.c
2365
zleft += ctl->devleft[i];
sys/dev/sound/pci/hda/hdaa.c
2366
zright += ctl->devright[i];
sys/dev/sound/pci/hda/hdaa.c
2368
lval = QDB2VAL(ctl, sleft);
sys/dev/sound/pci/hda/hdaa.c
2369
rval = QDB2VAL(ctl, sright);
sys/dev/sound/pci/hda/hdaa.c
2370
hdaa_audio_ctl_amp_set(ctl, smute, lval, rval);
sys/dev/sound/pci/hda/hdaa.c
2371
*left -= VAL2QDB(ctl, lval) - VAL2QDB(ctl, QDB2VAL(ctl, zleft));
sys/dev/sound/pci/hda/hdaa.c
2372
*right -= VAL2QDB(ctl, rval) - VAL2QDB(ctl, QDB2VAL(ctl, zright));
sys/dev/sound/pci/hda/hdaa.c
2384
struct hdaa_audio_ctl *ctl;
sys/dev/sound/pci/hda/hdaa.c
2407
ctl = hdaa_audio_ctl_amp_get(devinfo, w->nid, HDAA_CTL_IN,
sys/dev/sound/pci/hda/hdaa.c
2409
if (ctl)
sys/dev/sound/pci/hda/hdaa.c
2410
hdaa_audio_ctl_dev_set(ctl, ossdev, mute, &left, &right);
sys/dev/sound/pci/hda/hdaa.c
2433
ctl = hdaa_audio_ctl_amp_get(devinfo, w->nid, HDAA_CTL_OUT, -1, 1);
sys/dev/sound/pci/hda/hdaa.c
2434
if (ctl)
sys/dev/sound/pci/hda/hdaa.c
2435
hdaa_audio_ctl_dev_set(ctl, ossdev, mute, &left, &right);
sys/dev/sound/pci/hda/hdaa.c
2461
struct hdaa_audio_ctl *ctl;
sys/dev/sound/pci/hda/hdaa.c
2495
ctl = hdaa_audio_ctl_amp_get(devinfo, w->nid,
sys/dev/sound/pci/hda/hdaa.c
2497
if (ctl)
sys/dev/sound/pci/hda/hdaa.c
2498
hdaa_audio_ctl_dev_set(ctl, ossdev, mute, &left, &right);
sys/dev/sound/pci/hda/hdaa.c
2513
ctl = hdaa_audio_ctl_amp_get(devinfo, w->nid,
sys/dev/sound/pci/hda/hdaa.c
2515
if (ctl)
sys/dev/sound/pci/hda/hdaa.c
2516
hdaa_audio_ctl_dev_set(ctl, ossdev, mute, &cleft, &cright);
sys/dev/sound/pci/hda/hdaa.c
2711
struct hdaa_audio_ctl *ctl;
sys/dev/sound/pci/hda/hdaa.c
2740
ctl = hdaa_audio_ctl_amp_get(devinfo,
sys/dev/sound/pci/hda/hdaa.c
2742
if (ctl == NULL)
sys/dev/sound/pci/hda/hdaa.c
2747
if (muted != ctl->forcemute) {
sys/dev/sound/pci/hda/hdaa.c
2748
ctl->forcemute = muted;
sys/dev/sound/pci/hda/hdaa.c
2749
hdaa_audio_ctl_amp_set(ctl,
sys/dev/sound/pci/hda/hdaa.c
2787
struct hdaa_audio_ctl *ctl;
sys/dev/sound/pci/hda/hdaa.c
2825
while ((ctl = hdaa_audio_ctl_each(devinfo, &i)) != NULL) {
sys/dev/sound/pci/hda/hdaa.c
2826
if (ctl->enable == 0 ||
sys/dev/sound/pci/hda/hdaa.c
2827
!(ctl->ossmask & pdevinfo->recsrc))
sys/dev/sound/pci/hda/hdaa.c
2830
ctl->widget->bindas == pdevinfo->playas) ||
sys/dev/sound/pci/hda/hdaa.c
2832
ctl->widget->bindas == pdevinfo->recas) ||
sys/dev/sound/pci/hda/hdaa.c
2834
ctl->widget->bindas == -2)))
sys/dev/sound/pci/hda/hdaa.c
2838
ctl->devleft[j] = 0;
sys/dev/sound/pci/hda/hdaa.c
2839
ctl->devright[j] = 0;
sys/dev/sound/pci/hda/hdaa.c
2840
ctl->devmute[j] = 0;
sys/dev/sound/pci/hda/hdaa.c
3182
devinfo->ctl = ctls;
sys/dev/sound/pci/hda/hdaa.c
384
struct hdaa_audio_ctl *ctl;
sys/dev/sound/pci/hda/hdaa.c
395
ctl = hdaa_audio_ctl_amp_get(devinfo,
sys/dev/sound/pci/hda/hdaa.c
397
if (ctl != NULL && ctl->mute) {
sys/dev/sound/pci/hda/hdaa.c
400
if (val != ctl->forcemute) {
sys/dev/sound/pci/hda/hdaa.c
401
ctl->forcemute = val;
sys/dev/sound/pci/hda/hdaa.c
402
hdaa_audio_ctl_amp_set(ctl,
sys/dev/sound/pci/hda/hdaa.c
4219
struct hdaa_audio_ctl *ctl;
sys/dev/sound/pci/hda/hdaa.c
425
ctl = hdaa_audio_ctl_amp_get(devinfo,
sys/dev/sound/pci/hda/hdaa.c
4254
while ((ctl = hdaa_audio_ctl_each(devinfo, &i)) != NULL) {
sys/dev/sound/pci/hda/hdaa.c
4255
if (ctl->enable == 0)
sys/dev/sound/pci/hda/hdaa.c
4257
if (ctl->widget->enable == 0 ||
sys/dev/sound/pci/hda/hdaa.c
4258
(ctl->childwidget != NULL &&
sys/dev/sound/pci/hda/hdaa.c
4259
ctl->childwidget->enable == 0)) {
sys/dev/sound/pci/hda/hdaa.c
4260
ctl->forcemute = 1;
sys/dev/sound/pci/hda/hdaa.c
4261
ctl->muted = HDAA_AMP_MUTE_ALL;
sys/dev/sound/pci/hda/hdaa.c
4262
ctl->left = 0;
sys/dev/sound/pci/hda/hdaa.c
4263
ctl->right = 0;
sys/dev/sound/pci/hda/hdaa.c
4264
ctl->enable = 0;
sys/dev/sound/pci/hda/hdaa.c
4265
if (ctl->ndir == HDAA_CTL_IN)
sys/dev/sound/pci/hda/hdaa.c
4266
ctl->widget->connsenable[ctl->index] = 0;
sys/dev/sound/pci/hda/hdaa.c
427
if (ctl != NULL && ctl->mute) {
sys/dev/sound/pci/hda/hdaa.c
4272
ctl->widget->nid,
sys/dev/sound/pci/hda/hdaa.c
4273
(ctl->childwidget != NULL)?
sys/dev/sound/pci/hda/hdaa.c
4274
ctl->childwidget->nid:-1);
sys/dev/sound/pci/hda/hdaa.c
430
if (val == ctl->forcemute)
sys/dev/sound/pci/hda/hdaa.c
432
ctl->forcemute = val;
sys/dev/sound/pci/hda/hdaa.c
433
hdaa_audio_ctl_amp_set(ctl,
sys/dev/sound/pci/hda/hdaa.c
4353
struct hdaa_audio_ctl *ctl;
sys/dev/sound/pci/hda/hdaa.c
4392
ctl = hdaa_audio_ctl_amp_get(devinfo, w->nid,
sys/dev/sound/pci/hda/hdaa.c
4394
if (ctl && ctl->enable) {
sys/dev/sound/pci/hda/hdaa.c
4395
ctl->forcemute = 1;
sys/dev/sound/pci/hda/hdaa.c
4396
ctl->muted = HDAA_AMP_MUTE_ALL;
sys/dev/sound/pci/hda/hdaa.c
4397
ctl->left = 0;
sys/dev/sound/pci/hda/hdaa.c
4398
ctl->right = 0;
sys/dev/sound/pci/hda/hdaa.c
4399
ctl->enable = 0;
sys/dev/sound/pci/hda/hdaa.c
4402
ctl = hdaa_audio_ctl_amp_get(devinfo, w->nid,
sys/dev/sound/pci/hda/hdaa.c
4404
if (ctl && ctl->enable) {
sys/dev/sound/pci/hda/hdaa.c
4405
ctl->forcemute = 1;
sys/dev/sound/pci/hda/hdaa.c
4406
ctl->muted = HDAA_AMP_MUTE_ALL;
sys/dev/sound/pci/hda/hdaa.c
4407
ctl->left = 0;
sys/dev/sound/pci/hda/hdaa.c
4408
ctl->right = 0;
sys/dev/sound/pci/hda/hdaa.c
4409
ctl->enable = 0;
sys/dev/sound/pci/hda/hdaa.c
4427
ctl = hdaa_audio_ctl_amp_get(devinfo, k,
sys/dev/sound/pci/hda/hdaa.c
4429
if (ctl && ctl->enable) {
sys/dev/sound/pci/hda/hdaa.c
4430
ctl->forcemute = 1;
sys/dev/sound/pci/hda/hdaa.c
4431
ctl->muted = HDAA_AMP_MUTE_ALL;
sys/dev/sound/pci/hda/hdaa.c
4432
ctl->left = 0;
sys/dev/sound/pci/hda/hdaa.c
4433
ctl->right = 0;
sys/dev/sound/pci/hda/hdaa.c
4434
ctl->enable = 0;
sys/dev/sound/pci/hda/hdaa.c
4482
struct hdaa_audio_ctl *ctl;
sys/dev/sound/pci/hda/hdaa.c
4532
while ((ctl = hdaa_audio_ctl_each(devinfo, &i)) != NULL) {
sys/dev/sound/pci/hda/hdaa.c
4533
if (ctl->enable == 0 || ctl->childwidget == NULL)
sys/dev/sound/pci/hda/hdaa.c
4536
if (ctl->widget->bindas == -2)
sys/dev/sound/pci/hda/hdaa.c
4539
if (ctl->childwidget->bindas == -2 &&
sys/dev/sound/pci/hda/hdaa.c
4540
ctl->widget->bindas >= 0 &&
sys/dev/sound/pci/hda/hdaa.c
4541
ases[ctl->widget->bindas].dir == HDAA_CTL_OUT)
sys/dev/sound/pci/hda/hdaa.c
4544
if (ctl->childwidget->bindas == -2 &&
sys/dev/sound/pci/hda/hdaa.c
4545
ctl->widget->bindas >= 0 &&
sys/dev/sound/pci/hda/hdaa.c
4546
ases[ctl->widget->bindas].mixed)
sys/dev/sound/pci/hda/hdaa.c
4549
if ((ctl->widget->pflags & HDAA_ADC_MONITOR) &&
sys/dev/sound/pci/hda/hdaa.c
4550
ctl->childwidget->bindas >= 0 &&
sys/dev/sound/pci/hda/hdaa.c
4551
ases[ctl->childwidget->bindas].dir == HDAA_CTL_IN)
sys/dev/sound/pci/hda/hdaa.c
4554
if (ctl->widget->bindas == ctl->childwidget->bindas &&
sys/dev/sound/pci/hda/hdaa.c
4555
(ctl->widget->bindseqmask & ctl->childwidget->bindseqmask) != 0)
sys/dev/sound/pci/hda/hdaa.c
4557
ctl->forcemute = 1;
sys/dev/sound/pci/hda/hdaa.c
4558
ctl->muted = HDAA_AMP_MUTE_ALL;
sys/dev/sound/pci/hda/hdaa.c
4559
ctl->left = 0;
sys/dev/sound/pci/hda/hdaa.c
4560
ctl->right = 0;
sys/dev/sound/pci/hda/hdaa.c
4561
ctl->enable = 0;
sys/dev/sound/pci/hda/hdaa.c
4562
if (ctl->ndir == HDAA_CTL_IN)
sys/dev/sound/pci/hda/hdaa.c
4563
ctl->widget->connsenable[ctl->index] = 0;
sys/dev/sound/pci/hda/hdaa.c
4568
ctl->widget->nid,
sys/dev/sound/pci/hda/hdaa.c
4569
ctl->childwidget->nid);
sys/dev/sound/pci/hda/hdaa.c
4584
struct hdaa_audio_ctl *ctl;
sys/dev/sound/pci/hda/hdaa.c
4607
ctl = hdaa_audio_ctl_amp_get(devinfo, w->nid, HDAA_CTL_IN,
sys/dev/sound/pci/hda/hdaa.c
4609
if (ctl) {
sys/dev/sound/pci/hda/hdaa.c
4610
ctl->ossmask |= (1 << ossdev);
sys/dev/sound/pci/hda/hdaa.c
4613
*minamp += MINQDB(ctl);
sys/dev/sound/pci/hda/hdaa.c
4614
*maxamp += MAXQDB(ctl);
sys/dev/sound/pci/hda/hdaa.c
4642
ctl = hdaa_audio_ctl_amp_get(devinfo, w->nid, HDAA_CTL_OUT, -1, 1);
sys/dev/sound/pci/hda/hdaa.c
4643
if (ctl) {
sys/dev/sound/pci/hda/hdaa.c
4644
ctl->ossmask |= (1 << ossdev);
sys/dev/sound/pci/hda/hdaa.c
4647
*minamp += MINQDB(ctl);
sys/dev/sound/pci/hda/hdaa.c
4648
*maxamp += MAXQDB(ctl);
sys/dev/sound/pci/hda/hdaa.c
4691
struct hdaa_audio_ctl *ctl;
sys/dev/sound/pci/hda/hdaa.c
4725
ctl = hdaa_audio_ctl_amp_get(devinfo, w->nid,
sys/dev/sound/pci/hda/hdaa.c
4727
if (ctl) {
sys/dev/sound/pci/hda/hdaa.c
4728
ctl->ossmask |= (1 << ossdev);
sys/dev/sound/pci/hda/hdaa.c
4731
*minamp += MINQDB(ctl);
sys/dev/sound/pci/hda/hdaa.c
4732
*maxamp += MAXQDB(ctl);
sys/dev/sound/pci/hda/hdaa.c
4749
ctl = hdaa_audio_ctl_amp_get(devinfo, w->nid,
sys/dev/sound/pci/hda/hdaa.c
4751
if (ctl) {
sys/dev/sound/pci/hda/hdaa.c
4752
ctl->ossmask |= (1 << ossdev);
sys/dev/sound/pci/hda/hdaa.c
4755
tminamp += MINQDB(ctl);
sys/dev/sound/pci/hda/hdaa.c
4756
tmaxamp += MAXQDB(ctl);
sys/dev/sound/pci/hda/hdaa.c
5174
struct hdaa_audio_ctl *ctl;
sys/dev/sound/pci/hda/hdaa.c
5178
while ((ctl = hdaa_audio_ctl_each(devinfo, &i)) != NULL) {
sys/dev/sound/pci/hda/hdaa.c
5179
if (ctl->enable == 0 || ctl->ossmask != 0) {
sys/dev/sound/pci/hda/hdaa.c
5183
hdaa_audio_ctl_amp_set(ctl, HDAA_AMP_MUTE_ALL, 0, 0);
sys/dev/sound/pci/hda/hdaa.c
5187
z = ctl->offset;
sys/dev/sound/pci/hda/hdaa.c
5188
if (z > ctl->step)
sys/dev/sound/pci/hda/hdaa.c
5189
z = ctl->step;
sys/dev/sound/pci/hda/hdaa.c
5190
hdaa_audio_ctl_amp_set(ctl, HDAA_AMP_MUTE_NONE, z, z);
sys/dev/sound/pci/hda/hdaa.c
5617
struct hdaa_audio_ctl *ctl;
sys/dev/sound/pci/hda/hdaa.c
5633
while ((ctl = hdaa_audio_ctl_each(devinfo, &i)) != NULL) {
sys/dev/sound/pci/hda/hdaa.c
5634
if (ctl->enable == 0 ||
sys/dev/sound/pci/hda/hdaa.c
5635
ctl->widget->enable == 0)
sys/dev/sound/pci/hda/hdaa.c
5638
ctl->widget->bindas == pdevinfo->playas) ||
sys/dev/sound/pci/hda/hdaa.c
5640
ctl->widget->bindas == pdevinfo->recas) ||
sys/dev/sound/pci/hda/hdaa.c
5641
(ctl->widget->bindas == -2 && pdevinfo->index == 0)))
sys/dev/sound/pci/hda/hdaa.c
5643
if ((ctl->ossmask & (1 << j)) == 0)
sys/dev/sound/pci/hda/hdaa.c
5664
ctl->widget->nid,
sys/dev/sound/pci/hda/hdaa.c
5665
(ctl->ndir == HDAA_CTL_IN)?"in ":"out");
sys/dev/sound/pci/hda/hdaa.c
5666
if (ctl->ndir == HDAA_CTL_IN && ctl->ndir == ctl->dir)
sys/dev/sound/pci/hda/hdaa.c
5667
printf(" %2d): ", ctl->index);
sys/dev/sound/pci/hda/hdaa.c
5670
if (ctl->step > 0) {
sys/dev/sound/pci/hda/hdaa.c
5672
MINQDB(ctl) / 4,
sys/dev/sound/pci/hda/hdaa.c
5673
MAXQDB(ctl) / 4,
sys/dev/sound/pci/hda/hdaa.c
5674
ctl->step + 1,
sys/dev/sound/pci/hda/hdaa.c
5675
ctl->mute?" + mute":"");
sys/dev/sound/pci/hda/hdaa.c
5677
printf("%s\n", ctl->mute?"mute":"");
sys/dev/sound/pci/hda/hdaa.c
6177
struct hdaa_audio_ctl *ctl;
sys/dev/sound/pci/hda/hdaa.c
6301
while ((ctl = hdaa_audio_ctl_each(devinfo, &i)) != NULL) {
sys/dev/sound/pci/hda/hdaa.c
6303
(ctl->widget != NULL) ? ctl->widget->nid : -1,
sys/dev/sound/pci/hda/hdaa.c
6304
(ctl->ndir == HDAA_CTL_IN)?"in ":"out",
sys/dev/sound/pci/hda/hdaa.c
6305
(ctl->dir == HDAA_CTL_IN)?"in ":"out",
sys/dev/sound/pci/hda/hdaa.c
6306
ctl->index);
sys/dev/sound/pci/hda/hdaa.c
6307
if (ctl->childwidget != NULL)
sys/dev/sound/pci/hda/hdaa.c
6308
printf(" cnid %3d", ctl->childwidget->nid);
sys/dev/sound/pci/hda/hdaa.c
6312
ctl->ossmask);
sys/dev/sound/pci/hda/hdaa.c
6315
ctl->mute, ctl->step, ctl->size, ctl->offset,
sys/dev/sound/pci/hda/hdaa.c
6316
(ctl->enable == 0) ? " [DISABLED]" :
sys/dev/sound/pci/hda/hdaa.c
6317
((ctl->ossmask == 0) ? " [UNUSED]" : ""));
sys/dev/sound/pci/hda/hdaa.c
6334
free(devinfo->ctl, M_HDAA);
sys/dev/sound/pci/hda/hdaa.c
6335
devinfo->ctl = NULL;
sys/dev/sound/pci/hda/hdaa.h
209
struct hdaa_audio_ctl *ctl;
sys/dev/sound/pci/hda/hdaa.h
244
#define MINQDB(ctl) \
sys/dev/sound/pci/hda/hdaa.h
245
((0 - (ctl)->offset) * ((ctl)->size + 1))
sys/dev/sound/pci/hda/hdaa.h
247
#define MAXQDB(ctl) \
sys/dev/sound/pci/hda/hdaa.h
248
(((ctl)->step - (ctl)->offset) * ((ctl)->size + 1))
sys/dev/sound/pci/hda/hdaa.h
250
#define RANGEQDB(ctl) \
sys/dev/sound/pci/hda/hdaa.h
251
((ctl)->step * ((ctl)->size + 1))
sys/dev/sound/pci/hda/hdaa.h
253
#define VAL2QDB(ctl, val) \
sys/dev/sound/pci/hda/hdaa.h
254
(((ctl)->size + 1) * ((int)(val) - (ctl)->offset))
sys/dev/sound/pci/hda/hdaa.h
256
#define QDB2VAL(ctl, qdb) \
sys/dev/sound/pci/hda/hdaa.h
257
imax(imin((((qdb) + (ctl)->size / 2 * ((qdb) > 0 ? 1 : -1)) / \
sys/dev/sound/pci/hda/hdaa.h
258
((ctl)->size + 1) + (ctl)->offset), (ctl)->step), 0)
sys/dev/sound/pci/hda/hdac.c
1501
uint32_t ctl;
sys/dev/sound/pci/hda/hdac.c
1526
ctl = HDAC_READ_4(&sc->mem, HDAC_INTCTL);
sys/dev/sound/pci/hda/hdac.c
1527
ctl |= HDAC_INTCTL_GIE;
sys/dev/sound/pci/hda/hdac.c
1528
HDAC_WRITE_4(&sc->mem, HDAC_INTCTL, ctl);
sys/dev/sound/pci/hda/hdac.c
1530
ctl = HDAC_READ_4(&sc->mem, HDAC_INTCTL);
sys/dev/sound/pci/hda/hdac.c
1531
ctl &= ~HDAC_INTCTL_GIE;
sys/dev/sound/pci/hda/hdac.c
1532
HDAC_WRITE_4(&sc->mem, HDAC_INTCTL, ctl);
sys/dev/sound/pci/hda/hdac.c
2030
uint32_t ctl;
sys/dev/sound/pci/hda/hdac.c
2056
ctl = HDAC_READ_1(&sc->mem, off + HDAC_SDCTL2);
sys/dev/sound/pci/hda/hdac.c
2058
ctl |= HDAC_SDCTL2_DIR;
sys/dev/sound/pci/hda/hdac.c
2060
ctl &= ~HDAC_SDCTL2_DIR;
sys/dev/sound/pci/hda/hdac.c
2061
ctl &= ~HDAC_SDCTL2_STRM_MASK;
sys/dev/sound/pci/hda/hdac.c
2062
ctl |= stream << HDAC_SDCTL2_STRM_SHIFT;
sys/dev/sound/pci/hda/hdac.c
2063
ctl &= ~HDAC_SDCTL2_STRIPE_MASK;
sys/dev/sound/pci/hda/hdac.c
2064
ctl |= sc->streams[ss].stripe << HDAC_SDCTL2_STRIPE_SHIFT;
sys/dev/sound/pci/hda/hdac.c
2065
HDAC_WRITE_1(&sc->mem, off + HDAC_SDCTL2, ctl);
sys/dev/sound/pci/hda/hdac.c
2069
ctl = HDAC_READ_4(&sc->mem, HDAC_INTCTL);
sys/dev/sound/pci/hda/hdac.c
2070
ctl |= 1 << ss;
sys/dev/sound/pci/hda/hdac.c
2071
HDAC_WRITE_4(&sc->mem, HDAC_INTCTL, ctl);
sys/dev/sound/pci/hda/hdac.c
2075
ctl = HDAC_READ_1(&sc->mem, off + HDAC_SDCTL0);
sys/dev/sound/pci/hda/hdac.c
2076
ctl |= HDAC_SDCTL_IOCE | HDAC_SDCTL_FEIE | HDAC_SDCTL_DEIE |
sys/dev/sound/pci/hda/hdac.c
2078
HDAC_WRITE_1(&sc->mem, off + HDAC_SDCTL0, ctl);
sys/dev/sound/pci/hda/hdac.c
2091
uint32_t ctl;
sys/dev/sound/pci/hda/hdac.c
2101
ctl = HDAC_READ_1(&sc->mem, off + HDAC_SDCTL0);
sys/dev/sound/pci/hda/hdac.c
2102
ctl &= ~(HDAC_SDCTL_IOCE | HDAC_SDCTL_FEIE | HDAC_SDCTL_DEIE |
sys/dev/sound/pci/hda/hdac.c
2104
HDAC_WRITE_1(&sc->mem, off + HDAC_SDCTL0, ctl);
sys/dev/sound/pci/hda/hdac.c
2106
ctl = HDAC_READ_4(&sc->mem, HDAC_INTCTL);
sys/dev/sound/pci/hda/hdac.c
2107
ctl &= ~(1 << ss);
sys/dev/sound/pci/hda/hdac.c
2108
HDAC_WRITE_4(&sc->mem, HDAC_INTCTL, ctl);
sys/dev/sound/pci/hda/hdac.c
2121
uint32_t ctl;
sys/dev/sound/pci/hda/hdac.c
2128
ctl = HDAC_READ_1(&sc->mem, off + HDAC_SDCTL0);
sys/dev/sound/pci/hda/hdac.c
2129
ctl |= HDAC_SDCTL_SRST;
sys/dev/sound/pci/hda/hdac.c
2130
HDAC_WRITE_1(&sc->mem, off + HDAC_SDCTL0, ctl);
sys/dev/sound/pci/hda/hdac.c
2132
ctl = HDAC_READ_1(&sc->mem, off + HDAC_SDCTL0);
sys/dev/sound/pci/hda/hdac.c
2133
if (ctl & HDAC_SDCTL_SRST)
sys/dev/sound/pci/hda/hdac.c
2137
if (!(ctl & HDAC_SDCTL_SRST))
sys/dev/sound/pci/hda/hdac.c
2139
ctl &= ~HDAC_SDCTL_SRST;
sys/dev/sound/pci/hda/hdac.c
2140
HDAC_WRITE_1(&sc->mem, off + HDAC_SDCTL0, ctl);
sys/dev/sound/pci/hda/hdac.c
2143
ctl = HDAC_READ_1(&sc->mem, off + HDAC_SDCTL0);
sys/dev/sound/pci/hda/hdac.c
2144
if (!(ctl & HDAC_SDCTL_SRST))
sys/dev/sound/pci/hda/hdac.c
2148
if (ctl & HDAC_SDCTL_SRST)
sys/dev/sound/pci/maestro3.c
1108
uint32_t status, ctl, i, delta;
sys/dev/sound/pci/maestro3.c
1144
ctl = m3_rd_1(sc, ASSP_CONTROL_B);
sys/dev/sound/pci/maestro3.c
1145
if (!(ctl & STOP_ASSP_CLOCK)) {
sys/dev/sound/pci/maestro3.c
1146
ctl = m3_rd_1(sc, ASSP_HOST_INT_STATUS);
sys/dev/sound/pci/maestro3.c
1147
if (ctl & DSP2HOST_REQ_TIMER) {
sys/dev/sound/usb/uaudio.c
183
uint32_t ctl;
sys/dev/sound/usb/uaudio.c
3169
MIX(sc).ctl = SOUND_MIXER_NRDEVICES;
sys/dev/sound/usb/uaudio.c
3186
MIX(sc).ctl = SOUND_MIXER_NRDEVICES;
sys/dev/sound/usb/uaudio.c
3198
MIX(sc).ctl = SOUND_MIXER_NRDEVICES;
sys/dev/sound/usb/uaudio.c
3214
MIX(sc).ctl = SOUND_MIXER_NRDEVICES;
sys/dev/sound/usb/uaudio.c
3230
MIX(sc).ctl = SOUND_MIXER_NRDEVICES;
sys/dev/sound/usb/uaudio.c
3246
MIX(sc).ctl = SOUND_MIXER_NRDEVICES;
sys/dev/sound/usb/uaudio.c
3263
MIX(sc).ctl = SOUND_MIXER_NRDEVICES;
sys/dev/sound/usb/uaudio.c
3279
MIX(sc).ctl = SOUND_MIXER_NRDEVICES;
sys/dev/sound/usb/uaudio.c
3290
MIX(sc).ctl = SOUND_MIXER_NRDEVICES;
sys/dev/sound/usb/uaudio.c
3310
if (pmc->ctl == SOUND_MIXER_NRDEVICES)
sys/dev/sound/usb/uaudio.c
3358
DPRINTF("adding %d\n", mc->ctl);
sys/dev/sound/usb/uaudio.c
3403
mc->wIndex, mc->type, mc->ctl,
sys/dev/sound/usb/uaudio.c
3634
MIX(sc).ctl = SOUND_MIXER_NRDEVICES;
sys/dev/sound/usb/uaudio.c
3681
MIX(sc).ctl = SOUND_MIXER_NRDEVICES;
sys/dev/sound/usb/uaudio.c
3742
uint8_t ctl;
sys/dev/sound/usb/uaudio.c
3778
for (ctl = 1; ctl <= LOUDNESS_CONTROL; ctl++) {
sys/dev/sound/usb/uaudio.c
3779
fumask = FU_MASK(ctl);
sys/dev/sound/usb/uaudio.c
3782
ctl, fumask);
sys/dev/sound/usb/uaudio.c
3786
MIX(sc).wValue[0] = MAKE_WORD(ctl, 0);
sys/dev/sound/usb/uaudio.c
3791
MIX(sc).wValue[i - 1] = MAKE_WORD(ctl, i);
sys/dev/sound/usb/uaudio.c
3801
switch (ctl) {
sys/dev/sound/usb/uaudio.c
3804
MIX(sc).ctl = SOUND_MIXER_MUTE;
sys/dev/sound/usb/uaudio.c
3810
MIX(sc).ctl = mixernumber;
sys/dev/sound/usb/uaudio.c
3816
MIX(sc).ctl = SOUND_MIXER_BASS;
sys/dev/sound/usb/uaudio.c
3822
MIX(sc).ctl = SOUND_MIXER_NRDEVICES; /* XXXXX */
sys/dev/sound/usb/uaudio.c
3828
MIX(sc).ctl = SOUND_MIXER_TREBLE;
sys/dev/sound/usb/uaudio.c
3837
MIX(sc).ctl = SOUND_MIXER_NRDEVICES; /* XXXXX */
sys/dev/sound/usb/uaudio.c
3843
MIX(sc).ctl = SOUND_MIXER_NRDEVICES; /* XXXXX */
sys/dev/sound/usb/uaudio.c
3849
MIX(sc).ctl = SOUND_MIXER_NRDEVICES; /* XXXXX */
sys/dev/sound/usb/uaudio.c
3855
MIX(sc).ctl = SOUND_MIXER_LOUD; /* Is this correct ? */
sys/dev/sound/usb/uaudio.c
3874
uint32_t ctl;
sys/dev/sound/usb/uaudio.c
3912
for (ctl = 3; ctl != 0; ctl <<= 2) {
sys/dev/sound/usb/uaudio.c
3915
switch (ctl) {
sys/dev/sound/usb/uaudio.c
3918
MIX(sc).ctl = SOUND_MIXER_MUTE;
sys/dev/sound/usb/uaudio.c
3924
MIX(sc).ctl = mixernumber;
sys/dev/sound/usb/uaudio.c
3930
MIX(sc).ctl = SOUND_MIXER_BASS;
sys/dev/sound/usb/uaudio.c
3936
MIX(sc).ctl = SOUND_MIXER_NRDEVICES; /* XXXXX */
sys/dev/sound/usb/uaudio.c
3942
MIX(sc).ctl = SOUND_MIXER_TREBLE;
sys/dev/sound/usb/uaudio.c
3948
MIX(sc).ctl = SOUND_MIXER_NRDEVICES; /* XXXXX */
sys/dev/sound/usb/uaudio.c
3954
MIX(sc).ctl = SOUND_MIXER_NRDEVICES; /* XXXXX */
sys/dev/sound/usb/uaudio.c
3960
MIX(sc).ctl = SOUND_MIXER_NRDEVICES; /* XXXXX */
sys/dev/sound/usb/uaudio.c
3966
MIX(sc).ctl = SOUND_MIXER_LOUD; /* Is this correct ? */
sys/dev/sound/usb/uaudio.c
3972
MIX(sc).ctl = mixernumber;
sys/dev/sound/usb/uaudio.c
3978
MIX(sc).ctl = mixernumber;
sys/dev/sound/usb/uaudio.c
3986
if ((mmask & ctl) == ctl) {
sys/dev/sound/usb/uaudio.c
3989
} else if ((cmask & ctl) == ctl) {
sys/dev/sound/usb/uaudio.c
3992
if ((UGETDW(d->bmaControls[i]) & ctl) == ctl)
sys/dev/sound/usb/uaudio.c
5500
if (mc->ctl != SOUND_MIXER_NRDEVICES) {
sys/dev/sound/usb/uaudio.c
5505
sc->sc_child[index].mix_info |= 1U << mc->ctl;
sys/dev/sound/usb/uaudio.c
5507
if ((mc->ctl == SOUND_MIXER_NRDEVICES) &&
sys/dev/sound/usb/uaudio.c
5579
if (mc->ctl == type) {
sys/dev/sound/usb/uaudio.c
5600
if ((mc->ctl == SOUND_MIXER_NRDEVICES) &&
sys/dev/ste/if_ste.c
1683
uint32_t ctl;
sys/dev/ste/if_ste.c
1686
ctl = CSR_READ_4(sc, STE_ASICCTL);
sys/dev/ste/if_ste.c
1687
ctl |= STE_ASICCTL_GLOBAL_RESET | STE_ASICCTL_RX_RESET |
sys/dev/ste/if_ste.c
1692
CSR_WRITE_4(sc, STE_ASICCTL, ctl);
sys/dev/usb/controller/ohci.c
175
uint32_t ctl;
sys/dev/usb/controller/ohci.c
183
ctl = OREAD4(sc, OHCI_CONTROL);
sys/dev/usb/controller/ohci.c
184
if (ctl & OHCI_IR) {
sys/dev/usb/controller/ohci.c
188
for (i = 0; (i < 100) && (ctl & OHCI_IR); i++) {
sys/dev/usb/controller/ohci.c
190
ctl = OREAD4(sc, OHCI_CONTROL);
sys/dev/usb/controller/ohci.c
192
if (ctl & OHCI_IR) {
sys/dev/usb/controller/ohci.c
259
ctl = OREAD4(sc, OHCI_CONTROL);
sys/dev/usb/controller/ohci.c
260
ctl &= ~(OHCI_CBSR_MASK | OHCI_LES | OHCI_HCFS_MASK | OHCI_IR);
sys/dev/usb/controller/ohci.c
261
ctl |= OHCI_PLE | OHCI_IE | OHCI_CLE | OHCI_BLE |
sys/dev/usb/controller/ohci.c
264
OWRITE4(sc, OHCI_CONTROL, ctl);
sys/dev/usb/net/if_mos.c
626
uint8_t ctl;
sys/dev/usb/net/if_mos.c
628
ctl = mos_reg_read_1(sc, MOS_CTL);
sys/dev/usb/net/if_mos.c
629
ctl &= ~(MOS_CTL_RX_PROMISC | MOS_CTL_ALLMULTI | MOS_CTL_TX_ENB |
sys/dev/usb/net/if_mos.c
632
mos_reg_write_1(sc, MOS_CTL, ctl);
sys/dev/usb/serial/uslcom.c
564
uint16_t ctl;
sys/dev/usb/serial/uslcom.c
568
ctl = onoff ? USLCOM_MHS_DTR_ON : 0;
sys/dev/usb/serial/uslcom.c
569
ctl |= USLCOM_MHS_DTR_SET;
sys/dev/usb/serial/uslcom.c
573
USETW(req.wValue, ctl);
sys/dev/usb/serial/uslcom.c
588
uint16_t ctl;
sys/dev/usb/serial/uslcom.c
592
ctl = onoff ? USLCOM_MHS_RTS_ON : 0;
sys/dev/usb/serial/uslcom.c
593
ctl |= USLCOM_MHS_RTS_SET;
sys/dev/usb/serial/uslcom.c
597
USETW(req.wValue, ctl);
sys/kern/uipc_usrreq.c
1403
u_int ctl, space, datalen, mbcnt, partlen;
sys/kern/uipc_usrreq.c
1471
ctl = 0;
sys/kern/uipc_usrreq.c
1478
ctl += first->m_len;
sys/kern/uipc_usrreq.c
1529
MPASS(sb->sb_ctl >= ctl);
sys/kern/uipc_usrreq.c
1530
sb->sb_ctl -= ctl;
sys/kern/uipc_usrreq.c
1971
u_int cc, ctl, mbcnt;
sys/kern/uipc_usrreq.c
2093
ctl = f->m_len + cmc.mc_len;
sys/kern/uipc_usrreq.c
2107
MPASS(dctl == ctl);
sys/kern/uipc_usrreq.c
2110
f->m_pkthdr.len = cc + ctl;
sys/kern/uipc_usrreq.c
2112
f->m_pkthdr.ctllen = ctl;
sys/kern/uipc_usrreq.c
2141
if (uipc_dgram_sbspace(sb, cc + ctl, mbcnt)) {
sys/kern/uipc_usrreq.c
2146
sb->uxdg_cc += cc + ctl;
sys/kern/uipc_usrreq.c
2147
sb->uxdg_ctl += ctl;
sys/kern/uipc_usrreq.c
2149
so2->so_rcv.sb_acc += cc + ctl;
sys/kern/uipc_usrreq.c
2150
so2->so_rcv.sb_ccc += cc + ctl;
sys/kern/uipc_usrreq.c
2151
so2->so_rcv.sb_ctl += ctl;
sys/kern/vfs_subr.c
6632
SYSCTL_PROC(_vfs, OID_AUTO, ctl, CTLTYPE_OPAQUE | CTLFLAG_MPSAFE | CTLFLAG_WR,
sys/net/route/nhgrp.c
137
find_nhgrp(struct nh_control *ctl, const struct nhgrp_priv *key)
sys/net/route/nhgrp.c
141
NHOPS_RLOCK(ctl);
sys/net/route/nhgrp.c
142
CHT_SLIST_FIND_BYOBJ(&ctl->gr_head, mpath, key, priv_ret);
sys/net/route/nhgrp.c
149
NHOPS_RUNLOCK(ctl);
sys/net/route/nhgrp.c
155
link_nhgrp(struct nh_control *ctl, struct nhgrp_priv *grp_priv)
sys/net/route/nhgrp.c
160
NHOPS_WLOCK(ctl);
sys/net/route/nhgrp.c
162
new_num_buckets = CHT_SLIST_GET_RESIZE_BUCKETS(&ctl->gr_head);
sys/net/route/nhgrp.c
163
new_num_items = bitmask_get_resize_items(&ctl->nh_idx_head);
sys/net/route/nhgrp.c
165
if (bitmask_alloc_idx(&ctl->nh_idx_head, &idx) != 0) {
sys/net/route/nhgrp.c
166
NHOPS_WUNLOCK(ctl);
sys/net/route/nhgrp.c
167
FIB_RH_LOG(LOG_DEBUG, ctl->ctl_rh, "Unable to allocate nhg index");
sys/net/route/nhgrp.c
168
consider_resize(ctl, new_num_buckets, new_num_items);
sys/net/route/nhgrp.c
173
grp_priv->nh_control = ctl;
sys/net/route/nhgrp.c
174
CHT_SLIST_INSERT_HEAD(&ctl->gr_head, mpath, grp_priv);
sys/net/route/nhgrp.c
176
NHOPS_WUNLOCK(ctl);
sys/net/route/nhgrp.c
180
FIB_RH_LOG(LOG_DEBUG2, ctl->ctl_rh, "linked %s",
sys/net/route/nhgrp.c
183
consider_resize(ctl, new_num_buckets, new_num_items);
sys/net/route/nhgrp.c
189
unlink_nhgrp(struct nh_control *ctl, struct nhgrp_priv *key)
sys/net/route/nhgrp.c
194
NHOPS_WLOCK(ctl);
sys/net/route/nhgrp.c
196
CHT_SLIST_REMOVE(&ctl->gr_head, mpath, key, nhg_priv_ret);
sys/net/route/nhgrp.c
199
FIB_RH_LOG(LOG_DEBUG, ctl->ctl_rh, "Unable to find nhg");
sys/net/route/nhgrp.c
200
NHOPS_WUNLOCK(ctl);
sys/net/route/nhgrp.c
205
bitmask_free_idx(&ctl->nh_idx_head, idx);
sys/net/route/nhgrp.c
209
NHOPS_WUNLOCK(ctl);
sys/net/route/nhgrp.c
214
FIB_RH_LOG(LOG_DEBUG2, ctl->ctl_rh, "unlinked idx#%d %s", idx,
sys/net/route/nhgrp.c
226
consider_resize(struct nh_control *ctl, uint32_t new_gr_bucket, uint32_t new_idx_items)
sys/net/route/nhgrp.c
249
FIB_RH_LOG(LOG_DEBUG, ctl->ctl_rh,
sys/net/route/nhgrp.c
255
NHOPS_WLOCK(ctl);
sys/net/route/nhgrp.c
257
CHT_SLIST_RESIZE(&ctl->gr_head, mpath, gr_ptr, new_gr_bucket);
sys/net/route/nhgrp.c
260
if (bitmask_copy(&ctl->nh_idx_head, gr_idx_ptr, new_idx_items) == 0)
sys/net/route/nhgrp.c
261
bitmask_swap(&ctl->nh_idx_head, gr_idx_ptr, new_idx_items, &old_idx_ptr);
sys/net/route/nhgrp.c
263
NHOPS_WUNLOCK(ctl);
sys/net/route/nhgrp.c
275
nhgrp_ctl_alloc_default(struct nh_control *ctl, int malloc_flags)
sys/net/route/nhgrp.c
288
FIB_RH_LOG(LOG_WARNING, ctl->ctl_rh, "multipath init failed");
sys/net/route/nhgrp.c
292
NHOPS_WLOCK(ctl);
sys/net/route/nhgrp.c
294
if (ctl->gr_head.hash_size == 0) {
sys/net/route/nhgrp.c
296
CHT_SLIST_INIT(&ctl->gr_head, cht_ptr, num_buckets);
sys/net/route/nhgrp.c
297
NHOPS_WUNLOCK(ctl);
sys/net/route/nhgrp.c
300
NHOPS_WUNLOCK(ctl);
sys/net/route/nhgrp.c
304
FIB_RH_LOG(LOG_DEBUG, ctl->ctl_rh, "multipath init done");
sys/net/route/nhgrp.c
310
nhgrp_ctl_init(struct nh_control *ctl)
sys/net/route/nhgrp.c
317
CHT_SLIST_INIT(&ctl->gr_head, NULL, 0);
sys/net/route/nhgrp.c
322
nhgrp_ctl_free(struct nh_control *ctl)
sys/net/route/nhgrp.c
324
if (ctl->gr_head.ptr != NULL)
sys/net/route/nhgrp.c
325
free(ctl->gr_head.ptr, M_NHOP);
sys/net/route/nhgrp.c
329
nhgrp_ctl_unlink_all(struct nh_control *ctl)
sys/net/route/nhgrp.c
333
NHOPS_WLOCK_ASSERT(ctl);
sys/net/route/nhgrp.c
335
CHT_SLIST_FOREACH(&ctl->gr_head, mpath, nhg_priv) {
sys/net/route/nhgrp.c
338
FIB_RH_LOG(LOG_DEBUG2, ctl->ctl_rh, "marking %s unlinked",
sys/net/route/nhgrp.c
86
static void consider_resize(struct nh_control *ctl, uint32_t new_gr_buckets,
sys/net/route/nhgrp_ctl.c
1076
struct nh_control *ctl;
sys/net/route/nhgrp_ctl.c
1079
ctl = rh->nh_control;
sys/net/route/nhgrp_ctl.c
1081
NHOPS_RLOCK(ctl);
sys/net/route/nhgrp_ctl.c
1082
count = ctl->gr_head.items_count;
sys/net/route/nhgrp_ctl.c
1083
NHOPS_RUNLOCK(ctl);
sys/net/route/nhgrp_ctl.c
1110
struct nh_control *ctl = rh->nh_control;
sys/net/route/nhgrp_ctl.c
1113
NHOPS_WLOCK_ASSERT(ctl);
sys/net/route/nhgrp_ctl.c
1115
if (ctl->gr_head.items_count == 0)
sys/net/route/nhgrp_ctl.c
1118
CHT_SLIST_FOREACH(&ctl->gr_head, mpath, nhg_priv) {
sys/net/route/nhgrp_ctl.c
1126
struct nh_control *ctl = rh->nh_control;
sys/net/route/nhgrp_ctl.c
1133
if (ctl->gr_head.items_count == 0)
sys/net/route/nhgrp_ctl.c
1145
NHOPS_RLOCK(ctl);
sys/net/route/nhgrp_ctl.c
1146
CHT_SLIST_FOREACH(&ctl->gr_head, mpath, nhg_priv) {
sys/net/route/nhgrp_ctl.c
1151
NHOPS_RUNLOCK(ctl);
sys/net/route/nhgrp_ctl.c
377
struct nh_control *ctl;
sys/net/route/nhgrp_ctl.c
413
ctl = nhg_priv->nh_control;
sys/net/route/nhgrp_ctl.c
414
if (unlink_nhgrp(ctl, nhg_priv) == NULL) {
sys/net/route/nhgrp_ctl.c
505
struct nh_control *ctl;
sys/net/route/nhgrp_ctl.c
514
ctl = rh->nh_control;
sys/net/route/nhgrp_ctl.c
521
if (ctl->gr_head.hash_size == 0) {
sys/net/route/nhgrp_ctl.c
523
if (nhgrp_ctl_alloc_default(ctl, M_NOWAIT) == 0) {
sys/net/route/nhgrp_ctl.c
540
if (wn[i].nh->nh_priv->nh_control != ctl) {
sys/net/route/nhgrp_ctl.c
558
nhg_priv->nh_control = ctl;
sys/net/route/nhgrp_ctl.c
572
struct nh_control *ctl = key->nh_control;
sys/net/route/nhgrp_ctl.c
574
nhg_priv = find_nhgrp(ctl, key);
sys/net/route/nhgrp_ctl.c
596
if (link_nhgrp(ctl, key) == 0) {
sys/net/route/nhgrp_ctl.c
616
get_nhgrp(struct nh_control *ctl, struct weightened_nhop *wn, int num_nhops,
sys/net/route/nhgrp_ctl.c
621
nhg = nhgrp_alloc(ctl->ctl_rh->rib_fibnum, ctl->ctl_rh->rib_family,
sys/net/route/nhgrp_ctl.c
643
append_nhops(struct nh_control *ctl, const struct nhgrp_object *gr_orig,
sys/net/route/nhgrp_ctl.c
676
nhg_priv = get_nhgrp(ctl, pnhops, curr_nhops, 0, perror);
sys/net/route/nhgrp_ctl.c
697
merge_nhgrps(struct nh_control *ctl, const struct nhgrp_object *gr_orig,
sys/net/route/nhgrp_ctl.c
733
nhg_priv = get_nhgrp(ctl, pnhops, curr_nhops, 0, perror);
sys/net/route/nhgrp_ctl.c
756
struct nh_control *ctl = rh->nh_control;
sys/net/route/nhgrp_ctl.c
760
nhg_priv = get_nhgrp(ctl, wn, num_nhops, uidx, &error);
sys/net/route/nhgrp_ctl.c
778
struct nh_control *ctl = rh->nh_control;
sys/net/route/nhgrp_ctl.c
79
static struct nhgrp_priv *get_nhgrp(struct nh_control *ctl,
sys/net/route/nhgrp_ctl.c
814
mp_priv = get_nhgrp(ctl, pnhops, num_nhops, 0, &error);
sys/net/route/nhgrp_ctl.c
835
struct nh_control *ctl = rh->nh_control;
sys/net/route/nhgrp_ctl.c
857
nhg_priv = get_nhgrp(ctl, wn, 2, 0, &error);
sys/net/route/nhgrp_ctl.c
860
nhg_priv = append_nhops(ctl, rnd_orig->rnd_nhgrp, &wn[0], 1,
sys/net/route/nhgrp_ctl.c
881
struct nh_control *ctl = rh->nh_control;
sys/net/route/nhgrp_ctl.c
896
nhg_priv = append_nhops(ctl, rnd_add->rnd_nhgrp, &wn, 1,
sys/net/route/nhgrp_ctl.c
900
nhg_priv = merge_nhgrps(ctl, rnd_orig->rnd_nhgrp, rnd_add->rnd_nhgrp,
sys/net/route/nhgrp_var.h
66
bool nhgrp_ctl_alloc_default(struct nh_control *ctl, int malloc_flags);
sys/net/route/nhgrp_var.h
67
struct nhgrp_priv *find_nhgrp(struct nh_control *ctl, const struct nhgrp_priv *key);
sys/net/route/nhgrp_var.h
68
int link_nhgrp(struct nh_control *ctl, struct nhgrp_priv *grp_priv);
sys/net/route/nhgrp_var.h
69
struct nhgrp_priv *unlink_nhgrp(struct nh_control *ctl, struct nhgrp_priv *key);
sys/net/route/nhop.c
100
NHOPS_LOCK_INIT(ctl);
sys/net/route/nhop.c
102
rh->nh_control = ctl;
sys/net/route/nhop.c
103
ctl->ctl_rh = rh;
sys/net/route/nhop.c
105
FIB_CTL_LOG(LOG_DEBUG2, ctl, "nhops init: ctl %p rh %p", ctl, rh);
sys/net/route/nhop.c
111
destroy_ctl(struct nh_control *ctl)
sys/net/route/nhop.c
114
NHOPS_LOCK_DESTROY(ctl);
sys/net/route/nhop.c
115
free(ctl->nh_head.ptr, M_NHOP);
sys/net/route/nhop.c
116
free(ctl->nh_idx_head.idx, M_NHOP);
sys/net/route/nhop.c
117
nhgrp_ctl_free(ctl);
sys/net/route/nhop.c
118
free(ctl, M_NHOP);
sys/net/route/nhop.c
127
struct nh_control *ctl;
sys/net/route/nhop.c
129
ctl = __containerof(ctx, struct nh_control, ctl_epoch_ctx);
sys/net/route/nhop.c
131
destroy_ctl(ctl);
sys/net/route/nhop.c
137
struct nh_control *ctl;
sys/net/route/nhop.c
140
ctl = rh->nh_control;
sys/net/route/nhop.c
155
NHOPS_WLOCK(ctl);
sys/net/route/nhop.c
156
CHT_SLIST_FOREACH(&ctl->nh_head, nhops, nh_priv) {
sys/net/route/nhop.c
160
nhgrp_ctl_unlink_all(ctl);
sys/net/route/nhop.c
161
NHOPS_WUNLOCK(ctl);
sys/net/route/nhop.c
167
NET_EPOCH_CALL(destroy_ctl_epoch, &ctl->ctl_epoch_ctx);
sys/net/route/nhop.c
228
consider_resize(struct nh_control *ctl, uint32_t new_nh_buckets, uint32_t new_idx_items)
sys/net/route/nhop.c
251
FIB_CTL_LOG(LOG_DEBUG, ctl,
sys/net/route/nhop.c
257
NHOPS_WLOCK(ctl);
sys/net/route/nhop.c
259
CHT_SLIST_RESIZE(&ctl->nh_head, nhops, nh_ptr, new_nh_buckets);
sys/net/route/nhop.c
262
if (bitmask_copy(&ctl->nh_idx_head, nh_idx_ptr, new_idx_items) == 0)
sys/net/route/nhop.c
263
bitmask_swap(&ctl->nh_idx_head, nh_idx_ptr, new_idx_items, &old_idx_ptr);
sys/net/route/nhop.c
265
NHOPS_WUNLOCK(ctl);
sys/net/route/nhop.c
279
link_nhop(struct nh_control *ctl, struct nhop_priv *nh_priv)
sys/net/route/nhop.c
285
NHOPS_WLOCK(ctl);
sys/net/route/nhop.c
292
num_buckets_new = CHT_SLIST_GET_RESIZE_BUCKETS(&ctl->nh_head);
sys/net/route/nhop.c
293
num_items_new = bitmask_get_resize_items(&ctl->nh_idx_head);
sys/net/route/nhop.c
295
if (bitmask_alloc_idx(&ctl->nh_idx_head, &idx) != 0) {
sys/net/route/nhop.c
296
NHOPS_WUNLOCK(ctl);
sys/net/route/nhop.c
297
FIB_CTL_LOG(LOG_INFO, ctl, "Unable to allocate nhop index");
sys/net/route/nhop.c
299
consider_resize(ctl, num_buckets_new, num_items_new);
sys/net/route/nhop.c
304
nh_priv->nh_control = ctl;
sys/net/route/nhop.c
307
CHT_SLIST_INSERT_HEAD(&ctl->nh_head, nhops, nh_priv);
sys/net/route/nhop.c
309
NHOPS_WUNLOCK(ctl);
sys/net/route/nhop.c
311
FIB_RH_LOG(LOG_DEBUG2, ctl->ctl_rh,
sys/net/route/nhop.c
313
nh_priv, idx, hash_priv(nh_priv), ctl);
sys/net/route/nhop.c
314
consider_resize(ctl, num_buckets_new, num_items_new);
sys/net/route/nhop.c
325
unlink_nhop(struct nh_control *ctl, struct nhop_priv *nh_priv_del)
sys/net/route/nhop.c
333
NHOPS_WLOCK(ctl);
sys/net/route/nhop.c
334
CHT_SLIST_REMOVE(&ctl->nh_head, nhops, nh_priv_del, priv_ret);
sys/net/route/nhop.c
341
if ((bitmask_free_idx(&ctl->nh_idx_head, idx)) != 0) {
sys/net/route/nhop.c
342
FIB_CTL_LOG(LOG_DEBUG, ctl,
sys/net/route/nhop.c
344
idx, ctl->ctl_rh->rib_fibnum, ctl->ctl_rh->rib_family);
sys/net/route/nhop.c
349
num_buckets_new = CHT_SLIST_GET_RESIZE_BUCKETS(&ctl->nh_head);
sys/net/route/nhop.c
350
num_items_new = bitmask_get_resize_items(&ctl->nh_idx_head);
sys/net/route/nhop.c
352
NHOPS_WUNLOCK(ctl);
sys/net/route/nhop.c
355
FIB_CTL_LOG(LOG_INFO, ctl,
sys/net/route/nhop.c
357
nh_priv_del, hash_priv(nh_priv_del), ctl);
sys/net/route/nhop.c
359
FIB_CTL_LOG(LOG_DEBUG2, ctl, "Unlinked nhop %p priv idx %d",
sys/net/route/nhop.c
363
consider_resize(ctl, num_buckets_new, num_items_new);
sys/net/route/nhop.c
373
find_nhop(struct nh_control *ctl, const struct nhop_priv *nh_priv)
sys/net/route/nhop.c
377
NHOPS_RLOCK(ctl);
sys/net/route/nhop.c
378
CHT_SLIST_FIND_BYOBJ(&ctl->nh_head, nhops, nh_priv, nh_priv_ret);
sys/net/route/nhop.c
385
NHOPS_RUNLOCK(ctl);
sys/net/route/nhop.c
77
struct nh_control *ctl;
sys/net/route/nhop.c
82
ctl = malloc(sizeof(struct nh_control), M_NHOP, M_WAITOK | M_ZERO);
sys/net/route/nhop.c
91
CHT_SLIST_INIT(&ctl->nh_head, ptr, num_buckets);
sys/net/route/nhop.c
98
bitmask_init(&ctl->nh_idx_head, ptr, num_items);
sys/net/route/nhop_ctl.c
1091
struct nh_control *ctl;
sys/net/route/nhop_ctl.c
1095
ctl = rh->nh_control;
sys/net/route/nhop_ctl.c
1097
NHOPS_WLOCK(ctl);
sys/net/route/nhop_ctl.c
1098
CHT_SLIST_FOREACH(&ctl->nh_head, nhops, nh_priv) {
sys/net/route/nhop_ctl.c
1108
NHOPS_WUNLOCK(ctl);
sys/net/route/nhop_ctl.c
1118
struct nh_control *ctl = iter->rh->nh_control;
sys/net/route/nhop_ctl.c
1121
NHOPS_WLOCK(ctl);
sys/net/route/nhop_ctl.c
1123
NHOPS_RLOCK(ctl);
sys/net/route/nhop_ctl.c
1126
iter->_next = CHT_FIRST(&ctl->nh_head, iter->_i);
sys/net/route/nhop_ctl.c
1143
struct nh_control *ctl = iter->rh->nh_control;
sys/net/route/nhop_ctl.c
1144
while (++iter->_i < ctl->nh_head.hash_size) {
sys/net/route/nhop_ctl.c
1145
nh_priv = CHT_FIRST(&ctl->nh_head, iter->_i);
sys/net/route/nhop_ctl.c
1159
struct nh_control *ctl = iter->rh->nh_control;
sys/net/route/nhop_ctl.c
1162
NHOPS_WUNLOCK(ctl);
sys/net/route/nhop_ctl.c
1164
NHOPS_RUNLOCK(ctl);
sys/net/route/nhop_ctl.c
1300
struct nh_control *ctl;
sys/net/route/nhop_ctl.c
1303
ctl = rh->nh_control;
sys/net/route/nhop_ctl.c
1305
NHOPS_RLOCK(ctl);
sys/net/route/nhop_ctl.c
1306
count = ctl->nh_head.items_count;
sys/net/route/nhop_ctl.c
1307
NHOPS_RUNLOCK(ctl);
sys/net/route/nhop_ctl.c
1315
struct nh_control *ctl;
sys/net/route/nhop_ctl.c
1319
ctl = rh->nh_control;
sys/net/route/nhop_ctl.c
1321
NHOPS_RLOCK(ctl);
sys/net/route/nhop_ctl.c
1322
FIB_RH_LOG(LOG_DEBUG, rh, "dump %u items", ctl->nh_head.items_count);
sys/net/route/nhop_ctl.c
1323
CHT_SLIST_FOREACH(&ctl->nh_head, nhops, nh_priv) {
sys/net/route/nhop_ctl.c
1326
NHOPS_RUNLOCK(ctl);
sys/net/route/nhop_ctl.c
1330
NHOPS_RUNLOCK(ctl);
sys/net/route/nhop_ctl.c
515
finalize_nhop(struct nh_control *ctl, struct nhop_object *nh, bool link)
sys/net/route/nhop_ctl.c
541
MPASS(nh->nh_priv->nh_fibnum == ctl->ctl_rh->rib_fibnum);
sys/net/route/nhop_ctl.c
545
NHOPS_WLOCK(ctl);
sys/net/route/nhop_ctl.c
547
NHOPS_WUNLOCK(ctl);
sys/net/route/nhop_ctl.c
548
} else if (link_nhop(ctl, nh->nh_priv) == 0) {
sys/net/route/nhop_ctl.c
615
struct nh_control *ctl;
sys/net/route/nhop_ctl.c
655
ctl = nh_priv->nh_control;
sys/net/route/nhop_ctl.c
656
if (unlink_nhop(ctl, nh_priv) == NULL) {
sys/net/route/nhop_ctl.c
88
static int finalize_nhop(struct nh_control *ctl, struct nhop_object *nh, bool link);
sys/net/route/nhop_var.h
104
struct nhop_priv *find_nhop(struct nh_control *ctl,
sys/net/route/nhop_var.h
106
int link_nhop(struct nh_control *ctl, struct nhop_priv *nh_priv);
sys/net/route/nhop_var.h
107
struct nhop_priv *unlink_nhop(struct nh_control *ctl, struct nhop_priv *nh_priv);
sys/net/route/nhop_var.h
63
#define NHOPS_WLOCK(ctl) rw_wlock(&(ctl)->ctl_lock)
sys/net/route/nhop_var.h
64
#define NHOPS_RLOCK(ctl) rw_rlock(&(ctl)->ctl_lock)
sys/net/route/nhop_var.h
65
#define NHOPS_WUNLOCK(ctl) rw_wunlock(&(ctl)->ctl_lock)
sys/net/route/nhop_var.h
66
#define NHOPS_RUNLOCK(ctl) rw_runlock(&(ctl)->ctl_lock)
sys/net/route/nhop_var.h
67
#define NHOPS_LOCK_INIT(ctl) rw_init(&(ctl)->ctl_lock, "nhop_ctl")
sys/net/route/nhop_var.h
68
#define NHOPS_LOCK_DESTROY(ctl) rw_destroy(&(ctl)->ctl_lock)
sys/net/route/nhop_var.h
69
#define NHOPS_WLOCK_ASSERT(ctl) rw_assert(&(ctl)->ctl_lock, RA_WLOCKED)
sys/net/route/route_var.h
296
int nhgrp_ctl_init(struct nh_control *ctl);
sys/net/route/route_var.h
297
void nhgrp_ctl_free(struct nh_control *ctl);
sys/net/route/route_var.h
298
void nhgrp_ctl_unlink_all(struct nh_control *ctl);
sys/netgraph/bluetooth/l2cap/ng_l2cap_main.c
175
h = &l2cap->ctl;
sys/netgraph/bluetooth/l2cap/ng_l2cap_main.c
200
if (hook == l2cap->l2c || hook == l2cap->ctl) {
sys/netgraph/bluetooth/l2cap/ng_l2cap_main.c
236
if (hook == l2cap->ctl)
sys/netgraph/bluetooth/l2cap/ng_l2cap_main.c
237
h = &l2cap->ctl;
sys/netgraph/bluetooth/l2cap/ng_l2cap_main.c
291
l2cap->ctl, NULL, 0);
sys/netgraph/bluetooth/l2cap/ng_l2cap_main.c
503
(l2cap->ctl != NULL)?
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
1565
if (l2cap->ctl == NULL || NG_HOOK_NOT_VALID(l2cap->ctl)) {
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
1593
NG_SEND_MSG_HOOK(error, l2cap->node, msg, l2cap->ctl, 0);
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
1686
if (l2cap->ctl == NULL || NG_HOOK_NOT_VALID(l2cap->ctl)) {
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
1713
NG_SEND_MSG_HOOK(error, l2cap->node, msg, l2cap->ctl, 0);
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
1815
* if (l2cap->ctl != NULL && NG_HOOK_IS_VALID(l2cap->ctl))
sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
1816
* NG_SEND_MSG_HOOK(error, l2cap->node, msg, l2cap->ctl, 0);
sys/netgraph/bluetooth/l2cap/ng_l2cap_var.h
92
hook_p ctl; /* control hook */
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
452
ng_btsocket_hci_raw_savctl(ng_btsocket_hci_raw_pcb_p pcb, struct mbuf **ctl,
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
462
*ctl = sbcreatecontrol(&dir, sizeof(dir),
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
464
if (*ctl != NULL)
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
465
ctl = &((*ctl)->m_next);
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
470
*ctl = sbcreatecontrol(&tv, sizeof(tv), SCM_TIMESTAMP,
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
472
if (*ctl != NULL)
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
473
ctl = &((*ctl)->m_next);
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
528
struct mbuf *ctl = NULL;
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
530
ng_btsocket_hci_raw_savctl(pcb, &ctl, m);
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
533
(struct sockaddr *) sa, m, ctl))
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
540
NG_FREE_M(ctl);
sys/netinet/ip_input.c
894
ipproto_register(uint8_t proto, ipproto_input_t input, ipproto_ctlinput_t ctl)
sys/netinet/ip_input.c
905
ip_ctlprotox[proto] = ctl;
sys/netinet/ip_var.h
246
#define IPPROTO_REGISTER(prot, input, ctl) do { \
sys/netinet/ip_var.h
248
error = ipproto_register(prot, input, ctl); \
sys/netinet/sctp_input.c
3809
struct sctp_queued_to_read *ctl, *nctl;
sys/netinet/sctp_input.c
3847
TAILQ_FOREACH_SAFE(ctl, &oldstrm[i].inqueue, next_instrm, nctl) {
sys/netinet/sctp_input.c
3848
TAILQ_REMOVE(&oldstrm[i].inqueue, ctl, next_instrm);
sys/netinet/sctp_input.c
3849
TAILQ_INSERT_TAIL(&stcb->asoc.strmin[i].inqueue, ctl, next_instrm);
sys/netinet/sctp_input.c
3851
TAILQ_FOREACH_SAFE(ctl, &oldstrm[i].uno_inqueue, next_instrm, nctl) {
sys/netinet/sctp_input.c
3852
TAILQ_REMOVE(&oldstrm[i].uno_inqueue, ctl, next_instrm);
sys/netinet/sctp_input.c
3853
TAILQ_INSERT_TAIL(&stcb->asoc.strmin[i].uno_inqueue, ctl, next_instrm);
sys/netinet/sctp_var.h
197
#define sctp_sbfree(ctl, stcb, sb, m) { \
sys/netinet/sctp_var.h
200
if (((ctl)->do_not_ref_stcb == 0) && stcb) {\
sys/netinet/sctputil.c
5533
struct sctp_queued_to_read *control = NULL, *ctl = NULL, *nxt = NULL;
sys/netinet/sctputil.c
5790
ctl = TAILQ_NEXT(control, next);
sys/netinet/sctputil.c
5791
while (ctl) {
sys/netinet/sctputil.c
5792
if ((ctl->stcb != control->stcb) && (ctl->length) &&
sys/netinet/sctputil.c
5793
(ctl->some_taken ||
sys/netinet/sctputil.c
5794
(ctl->spec_flags & M_NOTIFICATION) ||
sys/netinet/sctputil.c
5795
((ctl->do_not_ref_stcb == 0) &&
sys/netinet/sctputil.c
5796
(ctl->stcb->asoc.strmin[ctl->sinfo_stream].delivery_started == 0)))
sys/netinet/sctputil.c
5805
control = ctl;
sys/netinet/sctputil.c
5808
(ctl->length) &&
sys/netinet/sctputil.c
5809
((ctl->some_taken) ||
sys/netinet/sctputil.c
5810
((ctl->do_not_ref_stcb == 0) &&
sys/netinet/sctputil.c
5811
((ctl->spec_flags & M_NOTIFICATION) == 0) &&
sys/netinet/sctputil.c
5812
(ctl->stcb->asoc.strmin[ctl->sinfo_stream].delivery_started == 0)))) {
sys/netinet/sctputil.c
5821
control = ctl;
sys/netinet/sctputil.c
5824
ctl = TAILQ_NEXT(ctl, next);
sys/netinet/tcp_stacks/rack.c
14055
rack_init_retransmit_value(struct tcp_rack *rack, int ctl)
sys/netinet/tcp_stacks/rack.c
14081
if (ctl == 1) {
sys/netinet/tcp_stacks/rack.c
14084
} else if (ctl == 2) {
sys/netinet/tcp_subr.c
3389
tcp6_ctlinput(struct ip6ctlparam *ctl)
sys/netinet/tcp_subr.c
3391
tcp6_ctlinput_with_port(ctl, htons(0));
sys/netinet6/ip6_input.c
327
ip6proto_ctlinput_t ctl)
sys/netinet6/ip6_input.c
334
ip6_ctlprotox[proto] = ctl;
sys/netinet6/ip6_var.h
485
#define IP6PROTO_REGISTER(prot, input, ctl) do { \
sys/netinet6/ip6_var.h
487
error = ip6proto_register(prot, input, ctl); \
sys/netinet6/udp6_usrreq.c
607
udp6_ctlinput(struct ip6ctlparam *ctl)
sys/netinet6/udp6_usrreq.c
610
return (udp6_common_ctlinput(ctl, &V_udbinfo));
sys/netinet6/udp6_usrreq.c
614
udplite6_ctlinput(struct ip6ctlparam *ctl)
sys/netinet6/udp6_usrreq.c
617
return (udp6_common_ctlinput(ctl, &V_ulitecbinfo));
sys/netlink/netlink_module.c
165
struct nl_control *ctl;
sys/netlink/netlink_module.c
170
CK_LIST_FOREACH(ctl, &vnets_head, ctl_next) {
sys/netlink/netlink_module.c
171
NL_LOG(LOG_DEBUG2, "Iterating VNET head %p", ctl);
sys/netlink/netlink_module.c
172
if (!CK_LIST_EMPTY(&ctl->ctl_pcb_head)) {
sys/netlink/netlink_module.c
173
NL_LOG(LOG_NOTICE, "non-empty socket list in ctl %p", ctl);
sys/netlink/route/nexthop.c
1003
error = delete_unhop(ctl, hdr, attrs.nha_id);
sys/netlink/route/nexthop.c
1044
struct unhop_ctl *ctl = atomic_load_ptr(&V_un_ctl);
sys/netlink/route/nexthop.c
1047
if (__predict_false(ctl == NULL))
sys/netlink/route/nexthop.c
1051
UN_RLOCK(ctl);
sys/netlink/route/nexthop.c
1052
CHT_SLIST_FIND_BYOBJ(&ctl->un_head, unhop, &key, unhop);
sys/netlink/route/nexthop.c
1053
UN_RUNLOCK(ctl);
sys/netlink/route/nexthop.c
1092
struct unhop_ctl *ctl = atomic_load_ptr(&V_un_ctl);
sys/netlink/route/nexthop.c
1094
if (__predict_false(ctl == NULL))
sys/netlink/route/nexthop.c
1098
UN_RLOCK(ctl);
sys/netlink/route/nexthop.c
1100
CHT_SLIST_FOREACH(&ctl->un_head, unhop, unhop) {
sys/netlink/route/nexthop.c
1104
UN_RUNLOCK(ctl);
sys/netlink/route/nexthop.c
115
static void consider_resize(struct unhop_ctl *ctl, uint32_t new_size);
sys/netlink/route/nexthop.c
155
struct unhop_ctl *ctl = atomic_load_ptr(&V_un_ctl);
sys/netlink/route/nexthop.c
158
if (__predict_false(ctl == NULL))
sys/netlink/route/nexthop.c
172
UN_RLOCK(ctl);
sys/netlink/route/nexthop.c
173
CHT_SLIST_FIND_BYOBJ(&ctl->un_head, unhop, &key, unhop);
sys/netlink/route/nexthop.c
176
UN_RUNLOCK(ctl);
sys/netlink/route/nexthop.c
186
CHT_SLIST_FIND_BYOBJ(&ctl->un_head, unhop, &key, unhop);
sys/netlink/route/nexthop.c
188
UN_RUNLOCK(ctl);
sys/netlink/route/nexthop.c
193
UN_RUNLOCK(ctl);
sys/netlink/route/nexthop.c
214
UN_WLOCK(ctl);
sys/netlink/route/nexthop.c
217
CHT_SLIST_FIND_BYOBJ(&ctl->un_head, unhop, &key, unhop);
sys/netlink/route/nexthop.c
220
UN_WUNLOCK(ctl);
sys/netlink/route/nexthop.c
227
CHT_SLIST_FIND_BYOBJ(&ctl->un_head, unhop, un_new, un_tmp);
sys/netlink/route/nexthop.c
235
CHT_SLIST_INSERT_HEAD(&ctl->un_head, unhop, un_new);
sys/netlink/route/nexthop.c
242
UN_WUNLOCK(ctl);
sys/netlink/route/nexthop.c
253
nl_find_base_unhop(struct unhop_ctl *ctl, uint32_t uidx)
sys/netlink/route/nexthop.c
259
UN_RLOCK(ctl);
sys/netlink/route/nexthop.c
260
CHT_SLIST_FIND_BYOBJ(&ctl->un_head, unhop, &key, unhop);
sys/netlink/route/nexthop.c
261
UN_RUNLOCK(ctl);
sys/netlink/route/nexthop.c
352
find_spare_uidx(struct unhop_ctl *ctl)
sys/netlink/route/nexthop.c
358
UN_RLOCK(ctl);
sys/netlink/route/nexthop.c
362
CHT_SLIST_FIND_BYOBJ(&ctl->un_head, unhop, &key, unhop);
sys/netlink/route/nexthop.c
368
UN_RUNLOCK(ctl);
sys/netlink/route/nexthop.c
502
delete_unhop(struct unhop_ctl *ctl, struct nlmsghdr *hdr, uint32_t uidx)
sys/netlink/route/nexthop.c
508
UN_WLOCK(ctl);
sys/netlink/route/nexthop.c
510
CHT_SLIST_FIND_BYOBJ(&ctl->un_head, unhop, &key, unhop_base);
sys/netlink/route/nexthop.c
513
CHT_SLIST_REMOVE(&ctl->un_head, unhop, unhop_base, unhop_ret);
sys/netlink/route/nexthop.c
523
CHT_SLIST_REMOVE(&ctl->un_head, unhop, unhop_chain,
sys/netlink/route/nexthop.c
537
UN_WUNLOCK(ctl);
sys/netlink/route/nexthop.c
571
consider_resize(struct unhop_ctl *ctl, uint32_t new_size)
sys/netlink/route/nexthop.c
586
NL_LOG(LOG_DEBUG, "resizing hash: %u -> %u", ctl->un_head.hash_size, new_size);
sys/netlink/route/nexthop.c
587
UN_WLOCK(ctl);
sys/netlink/route/nexthop.c
589
CHT_SLIST_RESIZE(&ctl->un_head, unhop, new_ptr, new_size);
sys/netlink/route/nexthop.c
591
UN_WUNLOCK(ctl);
sys/netlink/route/nexthop.c
604
struct unhop_ctl *ctl = malloc(sizeof(struct unhop_ctl), M_NETLINK,
sys/netlink/route/nexthop.c
606
if (ctl == NULL)
sys/netlink/route/nexthop.c
611
free(ctl, M_NETLINK);
sys/netlink/route/nexthop.c
614
CHT_SLIST_INIT(&ctl->un_head, ptr, num_buckets);
sys/netlink/route/nexthop.c
615
UN_LOCK_INIT(ctl);
sys/netlink/route/nexthop.c
617
if (!atomic_cmpset_ptr((uintptr_t *)&V_un_ctl, (uintptr_t)NULL, (uintptr_t)ctl)) {
sys/netlink/route/nexthop.c
619
free(ctl, M_NETLINK);
sys/netlink/route/nexthop.c
633
struct unhop_ctl *ctl = atomic_load_ptr(&V_un_ctl);
sys/netlink/route/nexthop.c
636
if (ctl == NULL)
sys/netlink/route/nexthop.c
643
UN_WLOCK(ctl);
sys/netlink/route/nexthop.c
644
CHT_SLIST_FOREACH_SAFE(&ctl->un_head, unhop, unhop, tmp) {
sys/netlink/route/nexthop.c
647
UN_WUNLOCK(ctl);
sys/netlink/route/nexthop.c
649
free(ctl->un_head.ptr, M_NETLINK);
sys/netlink/route/nexthop.c
650
free(ctl, M_NETLINK);
sys/netlink/route/nexthop.c
748
newnhg(struct unhop_ctl *ctl, struct nl_parsed_nhop *attrs, struct user_nhop *unhop)
sys/netlink/route/nexthop.c
760
unhop = nl_find_base_unhop(ctl, grp[i].id);
sys/netlink/route/nexthop.c
908
struct unhop_ctl *ctl = V_un_ctl;
sys/netlink/route/nexthop.c
920
attrs.nha_id = find_spare_uidx(ctl);
sys/netlink/route/nexthop.c
938
error = newnhg(ctl, &attrs, unhop);
sys/netlink/route/nexthop.c
947
UN_WLOCK(ctl);
sys/netlink/route/nexthop.c
950
CHT_SLIST_FIND_BYOBJ(&ctl->un_head, unhop, unhop, tmp);
sys/netlink/route/nexthop.c
952
UN_WUNLOCK(ctl);
sys/netlink/route/nexthop.c
957
CHT_SLIST_INSERT_HEAD(&ctl->un_head, unhop, unhop);
sys/netlink/route/nexthop.c
958
uint32_t num_buckets_new = CHT_SLIST_GET_RESIZE_BUCKETS(&ctl->un_head);
sys/netlink/route/nexthop.c
959
UN_WUNLOCK(ctl);
sys/netlink/route/nexthop.c
978
consider_resize(ctl, num_buckets_new);
sys/netlink/route/nexthop.c
987
struct unhop_ctl *ctl = atomic_load_ptr(&V_un_ctl);
sys/netlink/route/nexthop.c
990
if (__predict_false(ctl == NULL))
sys/netpfil/ipfilter/netinet/ip_dns_pxy.c
110
if (idns->idns_namelen != ctl->apc_dsize)
sys/netpfil/ipfilter/netinet/ip_dns_pxy.c
112
if (!strncmp(ctl->apc_data, idns->idns_name,
sys/netpfil/ipfilter/netinet/ip_dns_pxy.c
117
switch (ctl->apc_cmd)
sys/netpfil/ipfilter/netinet/ip_dns_pxy.c
145
idns->idns_namelen = ctl->apc_dsize;
sys/netpfil/ipfilter/netinet/ip_dns_pxy.c
146
idns->idns_name = ctl->apc_data;
sys/netpfil/ipfilter/netinet/ip_dns_pxy.c
147
idns->idns_pass = ctl->apc_arg;
sys/netpfil/ipfilter/netinet/ip_dns_pxy.c
150
ctl->apc_data = NULL;
sys/netpfil/ipfilter/netinet/ip_dns_pxy.c
151
ctl->apc_dsize = 0;
sys/netpfil/ipfilter/netinet/ip_dns_pxy.c
96
ipf_p_dns_ctl(ipf_main_softc_t *softc, void *arg, ap_ctl_t *ctl)
sys/netpfil/ipfilter/netinet/ip_proxy.c
585
ipf_proxy_ctl(ipf_main_softc_t *softc, void *arg, ap_ctl_t *ctl)
sys/netpfil/ipfilter/netinet/ip_proxy.c
591
a = ipf_proxy_lookup(arg, ctl->apc_p, ctl->apc_label);
sys/netpfil/ipfilter/netinet/ip_proxy.c
595
ctl->apc_label, ctl->apc_p);
sys/netpfil/ipfilter/netinet/ip_proxy.c
601
ctl->apc_label, ctl->apc_p);
sys/netpfil/ipfilter/netinet/ip_proxy.c
605
error = (*a->apr_ctl)(softc, a->apr_soft, ctl);
sys/netpfil/ipfilter/netinet/ip_proxy.c
684
ap_ctl_t ctl;
sys/netpfil/ipfilter/netinet/ip_proxy.c
691
error = ipf_inobj(softc, data, NULL, &ctl, IPFOBJ_PROXYCTL);
sys/netpfil/ipfilter/netinet/ip_proxy.c
697
if (ctl.apc_dsize > 0) {
sys/netpfil/ipfilter/netinet/ip_proxy.c
698
KMALLOCS(ptr, caddr_t, ctl.apc_dsize);
sys/netpfil/ipfilter/netinet/ip_proxy.c
703
error = ipf_copyin_indirect(softc, ctl.apc_data,
sys/netpfil/ipfilter/netinet/ip_proxy.c
704
ptr, ctl.apc_dsize);
sys/netpfil/ipfilter/netinet/ip_proxy.c
706
ctl.apc_data = ptr;
sys/netpfil/ipfilter/netinet/ip_proxy.c
709
ctl.apc_data = NULL;
sys/netpfil/ipfilter/netinet/ip_proxy.c
715
&ctl);
sys/netpfil/ipfilter/netinet/ip_proxy.c
718
KFREES(ptr, ctl.apc_dsize);
sys/sys/cdrio.h
61
u_int8_t ctl:4;
sys/x86/cpufreq/powernow.c
275
uint64_t status, ctl;
sys/x86/cpufreq/powernow.c
285
ctl = rdmsr(MSR_AMDK7_FIDVID_CTL) & PN7_CTR_FIDCHRATIO;
sys/x86/cpufreq/powernow.c
287
ctl |= PN7_CTR_FID(fid);
sys/x86/cpufreq/powernow.c
288
ctl |= PN7_CTR_VID(vid);
sys/x86/cpufreq/powernow.c
289
ctl |= PN7_CTR_SGTC(sc->sgtc);
sys/x86/cpufreq/powernow.c
295
wrmsr(MSR_AMDK7_FIDVID_CTL, ctl | PN7_CTR_FIDC);
sys/x86/cpufreq/powernow.c
297
wrmsr(MSR_AMDK7_FIDVID_CTL, ctl | PN7_CTR_VIDC);
sys/x86/cpufreq/powernow.c
299
wrmsr(MSR_AMDK7_FIDVID_CTL, ctl | PN7_CTR_VIDC);
sys/x86/cpufreq/powernow.c
301
wrmsr(MSR_AMDK7_FIDVID_CTL, ctl | PN7_CTR_FIDC);
sys/x86/x86/mca.c
1007
uint64_t ctl;
sys/x86/x86/mca.c
1013
ctl = rdmsr(MSR_MC_CTL2(bank));
sys/x86/x86/mca.c
1015
cur_threshold = ctl & MC_CTL2_THRESHOLD;
sys/x86/x86/mca.c
1023
ctl &= ~MC_CTL2_THRESHOLD;
sys/x86/x86/mca.c
1024
ctl |= new_threshold;
sys/x86/x86/mca.c
1025
wrmsr(MSR_MC_CTL2(bank), ctl);
sys/x86/x86/mca.c
1384
uint64_t ctl;
sys/x86/x86/mca.c
1402
ctl = rdmsr(MSR_MC_CTL2(i));
sys/x86/x86/mca.c
1403
if (ctl & MC_CTL2_CMCI_EN)
sys/x86/x86/mca.c
1408
ctl &= ~MC_CTL2_THRESHOLD;
sys/x86/x86/mca.c
1409
ctl |= MC_CTL2_CMCI_EN | 1;
sys/x86/x86/mca.c
1410
wrmsr(MSR_MC_CTL2(i), ctl);
sys/x86/x86/mca.c
1411
ctl = rdmsr(MSR_MC_CTL2(i));
sys/x86/x86/mca.c
1412
if (!(ctl & MC_CTL2_CMCI_EN))
sys/x86/x86/mca.c
1419
ctl &= ~MC_CTL2_THRESHOLD;
sys/x86/x86/mca.c
1420
ctl |= 0x7fff;
sys/x86/x86/mca.c
1421
wrmsr(MSR_MC_CTL2(i), ctl);
sys/x86/x86/mca.c
1422
ctl = rdmsr(MSR_MC_CTL2(i));
sys/x86/x86/mca.c
1423
cc->max_threshold = ctl & MC_CTL2_THRESHOLD;
sys/x86/x86/mca.c
1426
ctl &= ~MC_CTL2_THRESHOLD;
sys/x86/x86/mca.c
1427
ctl |= 1;
sys/x86/x86/mca.c
1428
wrmsr(MSR_MC_CTL2(i), ctl);
sys/x86/x86/mca.c
1442
uint64_t ctl;
sys/x86/x86/mca.c
1456
ctl = rdmsr(MSR_MC_CTL2(i));
sys/x86/x86/mca.c
1457
ctl &= ~MC_CTL2_THRESHOLD;
sys/x86/x86/mca.c
1458
ctl |= MC_CTL2_CMCI_EN | 1;
sys/x86/x86/mca.c
1459
wrmsr(MSR_MC_CTL2(i), ctl);
sys/x86/x86/mca.c
1575
uint64_t ctl, mask;
sys/x86/x86/mca.c
1609
mca_msr_ops.ctl = mca_smca_ctl_reg;
sys/x86/x86/mca.c
1631
ctl = 0xffffffffffffffffUL;
sys/x86/x86/mca.c
1646
ctl &= ~(1UL << 10);
sys/x86/x86/mca.c
1650
wrmsr(mca_msr_ops.ctl(i), ctl);
sys/x86/x86/mca.c
240
.ctl = mca_ia32_ctl_reg,
sys/x86/x86/mca.c
93
unsigned int (*ctl)(int);
tools/tools/ath/ath_ee_9287_print/9287.c
260
eeprom_9287_ctl_edge_print(struct cal_ctl_data_ar9287 *ctl)
tools/tools/ath/ath_ee_9287_print/9287.c
268
pow = ctl->ctlEdges[i][j].tPowerFlag & 0x3f;
tools/tools/ath/ath_ee_9287_print/9287.c
269
flag = (ctl->ctlEdges[i][j].tPowerFlag & 0xc0) >> 6;
tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c
365
eeprom_v14_ctl_edge_print(CAL_CTL_DATA *ctl)
tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c
373
pow = ctl->ctlEdges[i][j].tPowerFlag & 0x3f;
tools/tools/ath/ath_ee_v14_print/ath_ee_v14_print.c
374
flag = (ctl->ctlEdges[i][j].tPowerFlag & 0xc0) >> 6;
tools/tools/ath/ath_ee_v4k_print/v4k.c
242
eeprom_v4k_ctl_edge_print(CAL_CTL_DATA_4K *ctl)
tools/tools/ath/ath_ee_v4k_print/v4k.c
250
pow = ctl->ctlEdges[i][j].tPowerFlag & 0x3f;
tools/tools/ath/ath_ee_v4k_print/v4k.c
251
flag = (ctl->ctlEdges[i][j].tPowerFlag & 0xc0) >> 6;
tools/tools/ath/athrd/athrd.c
1443
findEdgePower(struct ath_hal *ah, u_int ctl)
tools/tools/ath/athrd/athrd.c
1448
if (_ctl[i] == ctl)
tools/tools/net80211/wesside/dics/dics.c
113
} ctl;
tools/tools/net80211/wesside/dics/dics.c
119
memset(&ctl, 0, sizeof(ctl));
tools/tools/net80211/wesside/dics/dics.c
124
msg.msg_control = &ctl;
tools/tools/net80211/wesside/dics/dics.c
125
msg.msg_controllen = sizeof(ctl);
tools/tools/net80211/wesside/dics/dics.c
136
if ( ctl.hdr.cmsg_level != IPPROTO_IP ||
tools/tools/net80211/wesside/dics/dics.c
138
ctl.hdr.cmsg_type != IP_TTL
tools/tools/net80211/wesside/dics/dics.c
140
ctl.hdr.cmsg_type != IP_RECVTTL
tools/tools/net80211/wesside/dics/dics.c
145
ctl.hdr.cmsg_len, ctl.hdr.cmsg_level, ctl.hdr.cmsg_type);
tools/tools/net80211/wesside/dics/dics.c
153
*ttl = ctl.ttl;
usr.sbin/bhyve/amd64/fwctl.c
152
SET_DECLARE(ctl_set, struct ctl);
usr.sbin/bhyve/amd64/fwctl.c
156
static struct ctl *
usr.sbin/bhyve/amd64/fwctl.c
159
struct ctl *cp, **cpp;
usr.sbin/bhyve/amd64/fwctl.c
205
struct ctl *cp;
usr.sbin/bhyve/amd64/fwctl.h
45
static struct ctl __CONCAT(__ctl, __LINE__) = { \
usr.sbin/bhyve/pci_virtio_scsi_ctl.c
174
struct vtscsi_ctl_backend *ctl =
usr.sbin/bhyve/pci_virtio_scsi_ctl.c
176
union ctl_io *io = ctl_scsi_alloc_io(ctl->vcb_iid);
usr.sbin/bhyve/pci_virtio_scsi_ctl.c
200
struct vtscsi_ctl_backend *ctl;
usr.sbin/bhyve/pci_virtio_scsi_ctl.c
204
ctl = (struct vtscsi_ctl_backend *)sc->vss_backend;
usr.sbin/bhyve/pci_virtio_scsi_ctl.c
214
io->io_hdr.nexus.initid = ctl->vcb_iid;
usr.sbin/bhyve/pci_virtio_scsi_ctl.c
286
struct vtscsi_ctl_backend *ctl;
usr.sbin/bhyve/pci_virtio_scsi_ctl.c
289
ctl = (struct vtscsi_ctl_backend *)sc->vss_backend;
usr.sbin/bhyve/pci_virtio_scsi_ctl.c
291
io->io_hdr.nexus.initid = ctl->vcb_iid;
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1023
uint64_t ctl, addr;
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1028
&ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1030
printf("cr_intercept[%d]\t0x%08x\n", vcpuid, (int)ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1033
&ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1035
printf("dr_intercept[%d]\t0x%08x\n", vcpuid, (int)ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1038
&ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1040
printf("exc_intercept[%d]\t0x%08x\n", vcpuid, (int)ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1043
4, &ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1045
printf("inst1_intercept[%d]\t0x%08x\n", vcpuid, (int)ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1048
4, &ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1050
printf("inst2_intercept[%d]\t0x%08x\n", vcpuid, (int)ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1055
4, &ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1057
printf("TLB ctrl[%d]\t0x%016lx\n", vcpuid, ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1062
8, &ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1064
printf("exitinfo1[%d]\t0x%016lx\n", vcpuid, ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1066
8, &ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1068
printf("exitinfo2[%d]\t0x%016lx\n", vcpuid, ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1070
8, &ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1072
printf("exitintinfo[%d]\t0x%016lx\n", vcpuid, ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1077
8, &ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
1079
printf("v_irq/tpr[%d]\t0x%016lx\n", vcpuid, ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
790
uint64_t ctl, cr0, cr3, cr4, rsp, rip, pat, addr, u64;
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
862
error = vm_get_vmcs_field(vcpu, VMCS_PIN_BASED_CTLS, &ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
864
printf("pinbased_ctls[%d]\t0x%016lx\n", vcpuid, ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
869
VMCS_PRI_PROC_BASED_CTLS, &ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
871
printf("procbased_ctls[%d]\t0x%016lx\n", vcpuid, ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
876
VMCS_SEC_PROC_BASED_CTLS, &ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
878
printf("procbased_ctls2[%d]\t0x%016lx\n", vcpuid, ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
923
error = vm_get_vmcs_field(vcpu, VMCS_EXIT_CTLS, &ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
925
printf("exit_ctls[%d]\t\t0x%016lx\n", vcpuid, ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
929
error = vm_get_vmcs_field(vcpu, VMCS_ENTRY_CTLS, &ctl);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
931
printf("entry_ctls[%d]\t\t0x%016lx\n", vcpuid, ctl);
usr.sbin/pciconf/cap.c
1134
check_avail_and_state(u_int cap, u_int capbit, u_int ctl, u_int ctlbit)
usr.sbin/pciconf/cap.c
1138
return (ctl & ctlbit ? "enabled" : "disabled");
usr.sbin/pciconf/cap.c
579
uint16_t ctl, flags, sta;
usr.sbin/pciconf/cap.c
620
ctl = read_config(fd, &p->pc_sel, ptr + PCIER_DEVICE_CTL, 2);
usr.sbin/pciconf/cap.c
622
MAX_PAYLOAD((ctl & PCIEM_CTL_MAX_PAYLOAD) >> 5),
usr.sbin/pciconf/cap.c
626
if (ctl & PCIEM_CTL_RELAXED_ORD_ENABLE)
usr.sbin/pciconf/cap.c
628
if (ctl & PCIEM_CTL_NOSNOOP_ENABLE)
usr.sbin/pciconf/cap.c
633
ctl = read_config(fd, &p->pc_sel,
usr.sbin/pciconf/cap.c
636
(ctl & PCIEM_CTL2_ARI) ? "enabled" : "disabled");
usr.sbin/pciconf/cap.c
639
printf("\n max read %s", max_read_string((ctl &
usr.sbin/pciconf/cap.c
654
ctl = read_config(fd, &p->pc_sel, ptr + PCIER_LINK_CTL, 2);
usr.sbin/pciconf/cap.c
655
printf(" ASPM %s(%s)", aspm_string(ctl & PCIEM_LINK_CTL_ASPMC),
usr.sbin/pciconf/cap.c
659
ctl = read_config(fd, &p->pc_sel, ptr + PCIER_LINK_CTL, 2);
usr.sbin/pciconf/cap.c
660
printf(" ClockPM %s", (ctl & PCIEM_LINK_CTL_ECPM) ?
usr.sbin/pciconf/cap.c
667
ctl = read_config(fd, &p->pc_sel, ptr + PCIER_SLOT_CTL, 2);
usr.sbin/pciconf/cap.c
679
printf(" PC(%s)", ctl & PCIEM_SLOT_CTL_PCC ? "off" : "on");
usr.sbin/pmc/cmd_pmc_frontend.cc
109
if (IBS_FETCH_CTL_TO_LAT(f.ctl) == 0)
usr.sbin/pmc/cmd_pmc_frontend.cc
126
if (f.ctl & IBS_FETCH_CTL_OPCACHEMISS)
usr.sbin/pmc/cmd_pmc_frontend.cc
128
if (f.ctl & IBS_FETCH_CTL_L2MISS)
usr.sbin/pmc/cmd_pmc_frontend.cc
130
if (f.ctl & IBS_FETCH_CTL_L3MISS)
usr.sbin/pmc/cmd_pmc_frontend.cc
133
if (f.ctl & IBS_FETCH_CTL_L1TLBMISS)
usr.sbin/pmc/cmd_pmc_frontend.cc
135
if (f.ctl & IBS_FETCH_CTL_L2TLBMISS)
usr.sbin/pmc/cmd_pmc_frontend.cc
138
inst->second.latency += IBS_FETCH_CTL_TO_LAT(f.ctl);
usr.sbin/pmc/view.cc
776
ibsf.ctl = cc[PMC_MPIDX_FETCH_CTL];
usr.sbin/pmc/view.cc
783
ibso.ctl = cc[PMC_MPIDX_OP_CTL];
usr.sbin/pmc/view.cc
845
if (filter.ibs_ldlat > IBS_FETCH_CTL_TO_LAT(ibsf.ctl))
usr.sbin/pmc/view.hh
309
uint64_t ctl;
usr.sbin/pmc/view.hh
318
uint64_t ctl;
usr.sbin/pmcstat/pmcpl_calltree.c
736
struct pmcpl_ct_node *ctl[PMC_CALLCHAIN_DEPTH_MAX+1];
usr.sbin/pmcstat/pmcpl_calltree.c
777
ctl[0] = pmcpl_ct_root;
usr.sbin/pmcstat/pmcpl_calltree.c
798
ctl[i++] = ct;
usr.sbin/pmcstat/pmcpl_calltree.c
805
ct = ctl[0];
usr.sbin/pmcstat/pmcpl_calltree.c
807
pmcpl_ct_node_update(ctl[i-1], ctl[i], pmcin, 1, 1);
usr.sbin/pmcstat/pmcpl_calltree.c
812
pmcpl_ct_samples_grow(&ctl[n-1]->pct_samples);
usr.sbin/pmcstat/pmcpl_calltree.c
813
ctl[n-1]->pct_samples.sb[pmcin]++;
usr.sbin/pmcstat/pmcpl_calltree.c
817
pmcpl_ct_instr_add(ctl[n-1], pmcin, cc[0] -
usr.sbin/pmcstat/pmcstat_log.c
377
uint64_t ctl, ctl2;
usr.sbin/pmcstat/pmcstat_log.c
379
ctl = ibsbuf[PMC_MPIDX_FETCH_CTL];
usr.sbin/pmcstat/pmcstat_log.c
381
(ctl & IBS_FETCH_CTL_ICMISS) ? "icmiss " : "",
usr.sbin/pmcstat/pmcstat_log.c
382
(ctl & IBS_FETCH_CTL_L1TLBMISS) ? "l1tlbmiss " : "",
usr.sbin/pmcstat/pmcstat_log.c
383
(ctl & IBS_FETCH_CTL_OPCACHEMISS) ? "opcachemiss " : "",
usr.sbin/pmcstat/pmcstat_log.c
384
(ctl & IBS_FETCH_CTL_L3MISS) ? "l3miss" : "");
usr.sbin/pmcstat/pmcstat_log.c
386
IBS_FETCH_CTL_TO_LAT(ctl));
usr.sbin/pmcstat/pmcstat_log.c
389
if ((ctl & IBS_FETCH_CTL_PHYSADDRVALID) != 0) {
usr.sbin/sndctl/sndctl.c
1040
for (ctl = dev_ctls; ctl->name != NULL; ctl++) {
usr.sbin/sndctl/sndctl.c
1041
if (strcmp(ctl->name, propstr) != 0)
usr.sbin/sndctl/sndctl.c
1045
else if (ctl->mod != NULL && ctl->mod(dp, s) < 0)
usr.sbin/sndctl/sndctl.c
1046
xo_warnx("%s(%s) failed", ctl->name, s);
usr.sbin/sndctl/sndctl.c
1054
print_dev_ctl(dp, ctl, true, true);
usr.sbin/sndctl/sndctl.c
1060
for (ctl = chan_ctls; ctl->name != NULL; ctl++) {
usr.sbin/sndctl/sndctl.c
1061
if (strcmp(ctl->name, propstr) != 0)
usr.sbin/sndctl/sndctl.c
1063
print_chan_ctl(ch, ctl, true, true);
usr.sbin/sndctl/sndctl.c
670
print_dev_ctl(struct snd_dev *dp, struct snd_ctl *ctl, bool simple,
usr.sbin/sndctl/sndctl.c
676
if (ctl->type != GRP && xo_get_style(NULL) == XO_STYLE_TEXT) {
usr.sbin/sndctl/sndctl.c
678
printf("%s=", ctl->name);
usr.sbin/sndctl/sndctl.c
680
printf(" %-20s= ", ctl->name);
usr.sbin/sndctl/sndctl.c
683
switch (ctl->type) {
usr.sbin/sndctl/sndctl.c
685
xo_emit("{a:%s/%s}\n", ctl->name, (char *)dp + ctl->off);
usr.sbin/sndctl/sndctl.c
688
xo_emit("{a:%s/%d}\n", ctl->name, *(int *)((intptr_t)dp + ctl->off));
usr.sbin/sndctl/sndctl.c
696
len = strlen(ctl->name);
usr.sbin/sndctl/sndctl.c
697
if (strncmp(ctl->name, cp->name, len) == 0 &&
usr.sbin/sndctl/sndctl.c
706
print_chan_ctl(struct snd_chan *ch, struct snd_ctl *ctl, bool simple,
usr.sbin/sndctl/sndctl.c
713
if (ctl->type != GRP && xo_get_style(NULL) == XO_STYLE_TEXT) {
usr.sbin/sndctl/sndctl.c
715
printf("%s.%s=", ch->name, ctl->name);
usr.sbin/sndctl/sndctl.c
717
printf(" %-20s= ", ctl->name);
usr.sbin/sndctl/sndctl.c
720
switch (ctl->type) {
usr.sbin/sndctl/sndctl.c
722
xo_emit("{a:%s/%s}\n", ctl->name, (char *)ch + ctl->off);
usr.sbin/sndctl/sndctl.c
725
xo_emit("{a:%s/%d}\n", ctl->name, *(int *)((intptr_t)ch + ctl->off));
usr.sbin/sndctl/sndctl.c
728
v = *(int *)((intptr_t)ch + ctl->off);
usr.sbin/sndctl/sndctl.c
729
xo_emit("{a:%s/%.2f:%.2f}\n", ctl->name,
usr.sbin/sndctl/sndctl.c
736
len = strlen(ctl->name);
usr.sbin/sndctl/sndctl.c
737
if (strncmp(ctl->name, cp->name, len) == 0 &&
usr.sbin/sndctl/sndctl.c
749
struct snd_ctl *ctl;
usr.sbin/sndctl/sndctl.c
773
for (ctl = dev_ctls; ctl->name != NULL; ctl++)
usr.sbin/sndctl/sndctl.c
774
print_dev_ctl(dp, ctl, oflag, false);
usr.sbin/sndctl/sndctl.c
782
for (ctl = chan_ctls; ctl->name != NULL; ctl++)
usr.sbin/sndctl/sndctl.c
783
print_chan_ctl(ch, ctl, oflag, false);
usr.sbin/sndctl/sndctl.c
990
struct snd_ctl *ctl;