Home
last modified time | relevance | path

Searched refs:ctl (Results 1 – 25 of 126) sorted by relevance

123456

/dragonfly/usr.sbin/dntpd/
H A Dlog.c45 logerr(const char *ctl, ...) in logerr() argument
51 va_start(va, ctl); in logerr()
52 vlogline(0, 0, ctl, va); in logerr()
59 logerrstr(const char *ctl, ...) in logerrstr() argument
63 va_start(va, ctl); in logerrstr()
64 vlogline(0, 1, ctl, va); in logerrstr()
79 va_start(va, ctl); in _logdebug()
80 vlogline(level, 0, ctl, va); in _logdebug()
93 va_start(va, ctl); in _logdebuginfo()
95 vasprintf(&str, ctl, va); in _logdebuginfo()
[all …]
H A Ddefs.h63 #define logdebug(level, ctl, varargs...) \ argument
64 if (level <= debug_level) _logdebug(level, ctl, ##varargs);
65 #define logdebuginfo(info, level, ctl, varargs...) \ argument
66 if (level <= debug_level) _logdebuginfo(info, level, ctl, ##varargs);
96 void logerr(const char *ctl, ...) __printflike(1, 2);
97 void logerrstr(const char *ctl, ...) __printflike(1, 2);
98 void _logdebug(int level, const char *ctl, ...) __printflike(2, 3);
99 void _logdebuginfo(server_info_t info, int level, const char *ctl, ...)
/dragonfly/sys/dev/sound/pci/hda/
H A Dhdaa.h210 struct hdaa_audio_ctl *ctl; member
244 #define MINQDB(ctl) \ argument
245 ((0 - (ctl)->offset) * ((ctl)->size + 1))
247 #define MAXQDB(ctl) \ argument
248 (((ctl)->step - (ctl)->offset) * ((ctl)->size + 1))
250 #define RANGEQDB(ctl) \ argument
251 ((ctl)->step * ((ctl)->size + 1))
253 #define VAL2QDB(ctl, val) \ argument
254 (((ctl)->size + 1) * ((int)(val) - (ctl)->offset))
256 #define QDB2VAL(ctl, qdb) \ argument
[all …]
H A Dhdaa.c229 ctl->dir == ctl->ndir && ctl->index != index) in hdaa_audio_ctl_amp_get()
408 if (ctl != NULL && ctl->mute) { in hdaa_hpredir_handler()
460 if (ctl != NULL && ctl->mute) { in hdaa_hpredir_handler()
2376 *left -= VAL2QDB(ctl, lval) - VAL2QDB(ctl, QDB2VAL(ctl, zleft)); in hdaa_audio_ctl_dev_set()
2377 *right -= VAL2QDB(ctl, rval) - VAL2QDB(ctl, QDB2VAL(ctl, zright)); in hdaa_audio_ctl_dev_set()
4356 if (ctl && ctl->enable) { in hdaa_audio_disable_unas()
4366 if (ctl && ctl->enable) { in hdaa_audio_disable_unas()
4391 if (ctl && ctl->enable) { in hdaa_audio_disable_unas()
4525 ctl->widget->connsenable[ctl->index] = 0; in hdaa_audio_disable_crossas()
5629 if (ctl->ndir == HDAA_CTL_IN && ctl->ndir == ctl->dir) in hdaa_dump_ctls()
[all …]
H A Dhdac.c1440 uint32_t ctl; in sysctl_hdac_polling() local
1466 ctl |= HDAC_INTCTL_GIE; in sysctl_hdac_polling()
1922 uint32_t ctl; in hdac_stream_start() local
1947 ctl |= HDAC_SDCTL2_DIR; in hdac_stream_start()
1949 ctl &= ~HDAC_SDCTL2_DIR; in hdac_stream_start()
1959 ctl |= 1 << ss; in hdac_stream_start()
1980 uint32_t ctl; in hdac_stream_stop() local
1993 ctl &= ~(1 << ss); in hdac_stream_stop()
2007 uint32_t ctl; in hdac_stream_reset() local
2015 ctl |= HDAC_SDCTL_SRST; in hdac_stream_reset()
[all …]
/dragonfly/bin/cpdup/
H A Dmisc.c8 logstd(const char *ctl, ...) in logstd() argument
12 va_start(va, ctl); in logstd()
13 vprintf(ctl, va); in logstd()
18 logerr(const char *ctl, ...) in logerr() argument
22 va_start(va, ctl); in logerr()
23 vfprintf(stderr, ctl, va); in logerr()
28 mprintf(const char *ctl, ...) in mprintf() argument
35 va_start(va, ctl); in mprintf()
164 fatal(const char *ctl, ...) in fatal() argument
168 if (ctl == NULL) { in fatal()
[all …]
H A Dcpdup.h54 void logstd(const char *ctl, ...) __printflike(1, 2);
55 void logerr(const char *ctl, ...) __printflike(1, 2);
56 char *mprintf(const char *ctl, ...) __printflike(1, 2);
57 void fatal(const char *ctl, ...) __dead2 __printf0like(1, 2);
/dragonfly/lib/libc/db/test/hash.tests/
H A Dtverify.c56 HASHINFO ctl; in main() local
62 ctl.nelem = INITIAL; in main()
63 ctl.hash = NULL; in main()
64 ctl.bsize = 64; in main()
65 ctl.ffactor = 1; in main()
66 ctl.cachesize = 1024 * 1024; /* 1 MEG */ in main()
67 ctl.lorder = 0; in main()
68 if (!(dbp = dbopen( "hashtest", O_RDONLY, 0400, DB_HASH, &ctl))) { in main()
H A Dtread2.c56 HASHINFO ctl; in main() local
61 ctl.nelem = INITIAL; in main()
62 ctl.hash = NULL; in main()
63 ctl.bsize = 64; in main()
64 ctl.ffactor = 1; in main()
65 ctl.cachesize = atoi(*argv++); in main()
66 ctl.lorder = 0; in main()
67 if (!(dbp = dbopen( "hashtest", O_RDONLY, 0400, DB_HASH, &ctl))) { in main()
H A Dtdel.c53 HASHINFO ctl; in main() local
60 ctl.nelem = INITIAL; in main()
61 ctl.hash = NULL; in main()
62 ctl.bsize = atoi(*argv++); in main()
63 ctl.ffactor = atoi(*argv++); in main()
64 ctl.cachesize = 1024 * 1024; /* 1 MEG */ in main()
65 ctl.lorder = 0; in main()
67 if (!(dbp = dbopen( NULL, O_CREAT|O_RDWR, 0400, DB_HASH, &ctl))) { in main()
H A Dthash4.c55 HASHINFO ctl; in main() local
63 ctl.hash = NULL; in main()
64 ctl.bsize = atoi(*argv++); in main()
65 ctl.ffactor = atoi(*argv++); in main()
66 ctl.nelem = atoi(*argv++); in main()
67 ctl.cachesize = atoi(*argv++); in main()
68 ctl.lorder = 0; in main()
69 if (!(dbp = dbopen( NULL, O_CREAT|O_RDWR, 0400, DB_HASH, &ctl))) { in main()
H A Dtcreat3.c52 HASHINFO ctl; in main() local
59 ctl.hash = NULL; in main()
60 ctl.bsize = atoi(*argv++); in main()
61 ctl.ffactor = atoi(*argv++); in main()
62 ctl.nelem = atoi(*argv++); in main()
63 ctl.lorder = 0; in main()
65 O_CREAT|O_TRUNC|O_RDWR, 0600, DB_HASH, &ctl))){ in main()
/dragonfly/test/sysperf/
H A Dblib.c26 stop_timing(long long count, const char *ctl, ...) in stop_timing() argument
34 if (ctl == NULL) /* dummy call to pre-cache */ in stop_timing()
37 va_start(va, ctl); in stop_timing()
38 vfprintf(stderr, ctl, va); in stop_timing()
54 stop_timing2(long long count, long long us, const char *ctl, ...) in stop_timing2() argument
58 va_start(va, ctl); in stop_timing2()
59 vfprintf(stderr, ctl, va); in stop_timing2()
H A Dmemzero.c9 void test_using(const char *ctl, char *buf, int bytes, void (*zerof)(void *d, size_t bytes));
78 test_using(const char *ctl, char *buf, int bytes, void (*zerof)(void *d, size_t bytes)) in test_using() argument
97 stop_timing(loops, ctl); in test_using()
99 printf("%s %d %5.2f MBytes/sec\n", ctl, bytes, in test_using()
H A Dmemcpy.c9 void test_using(const char *ctl, char *buf, int bytes, void (*copyf)(const void *s1, void *d, size_…
79 test_using(const char *ctl, char *buf, int bytes, void (*copyf)(const void *s1, void *d, size_t byt… in test_using() argument
98 stop_timing(loops, ctl); in test_using()
100 printf("%s %d %5.2f MBytes/sec\n", ctl, bytes, in test_using()
/dragonfly/usr.sbin/bthcid/
H A Dclient.c83 int ctl; in init_control() local
94 ctl = socket(PF_LOCAL, SOCK_STREAM, 0); in init_control()
95 if (ctl < 0) in init_control()
102 if (bind(ctl, (struct sockaddr *)&un, sizeof(un)) < 0) { in init_control()
103 close(ctl); in init_control()
108 close(ctl); in init_control()
113 if (listen(ctl, 10) < 0) { in init_control()
114 close(ctl); in init_control()
119 EV_SET(&change, ctl, EVFILT_READ, EV_ADD, 0, 0, NULL); in init_control()
121 close(ctl); in init_control()
[all …]
/dragonfly/tools/tools/net80211/wesside/dics/
H A Ddics.c115 } ctl; in check_signal() local
121 memset(&ctl, 0, sizeof(ctl)); in check_signal()
126 msg.msg_control = &ctl; in check_signal()
127 msg.msg_controllen = sizeof(ctl); in check_signal()
138 if ( ctl.hdr.cmsg_level != IPPROTO_IP || in check_signal()
140 ctl.hdr.cmsg_type != IP_TTL in check_signal()
142 ctl.hdr.cmsg_type != IP_RECVTTL in check_signal()
147 ctl.hdr.cmsg_len, ctl.hdr.cmsg_level, ctl.hdr.cmsg_type); in check_signal()
155 *ttl = ctl.ttl; in check_signal()
/dragonfly/stand/boot/pc32/libi386/
H A Dvidconsole.c126 v86.ctl = 0; in vidc_biosputchar()
199 v86.ctl = 0; in get_pos()
213 v86.ctl = 0; in curs_move()
224 v86.ctl = 0; in curs_move()
245 v86.ctl = 0; in scroll_up()
259 v86.ctl = 0; in write_char()
281 v86.ctl = 0; in CD()
293 v86.ctl = 0; in CD()
500 v86.ctl = 0; in vidc_getchar()
514 v86.ctl = V86_FLAGS; in vidc_ischar()
H A Dbiosmem.c56 v86.ctl = V86_FLAGS; in bios_getmem()
86 v86.ctl = 0; in bios_getmem()
96 v86.ctl = V86_FLAGS; in bios_getmem()
109 v86.ctl = 0; in bios_getmem()
/dragonfly/usr.sbin/pciconf/
H A Dcap.c369 uint16_t ctl, flags, sta; in cap_express() local
416 if (ctl & PCIEM_DEVCTL_RELAX_ORDER) in cap_express()
418 if (ctl & PCIEM_DEVCTL_NOSNOOP) in cap_express()
420 if (ctl & PCIEM_DEVCTL_COR_ENABLE) in cap_express()
422 if (ctl & PCIEM_DEVCTL_NFER_ENABLE) in cap_express()
424 if (ctl & PCIEM_DEVCTL_FER_ENABLE) in cap_express()
426 if (ctl & PCIEM_DEVCTL_URR_ENABLE) in cap_express()
431 ctl = read_config(fd, &p->pc_sel, in cap_express()
440 (ctl & PCIEM_DEVCTL2_LTR_ENABLE) ? in cap_express()
454 aspm_string(ctl & PCIEM_LNKCTL_ASPM_MASK), in cap_express()
[all …]
/dragonfly/sbin/rconfig/
H A Dsubs.c80 char **bufp, int *lenp, const char *ctl, ...) in udp_transact() argument
118 va_start(va, ctl); in udp_transact()
119 vsnprintf(buf, sizeof(buf), ctl, va); in udp_transact()
156 int *lenp, const char *ctl, ...) in tcp_transact() argument
199 if (ctl) { in tcp_transact()
200 va_start(va, ctl); in tcp_transact()
201 vfprintf(*pfo, ctl, va); in tcp_transact()
/dragonfly/lib/libdmsg/
H A Ddmsg.h54 #define dm_printf(level, ctl, ...) \ argument
56 fprintf(stderr, "libdmsg: " ctl, __VA_ARGS__)
57 #define dmx_printf(level, ctl, ...) \ argument
59 fprintf(stderr, ctl, __VA_ARGS__)
60 #define dmio_printf(iocom, level, ctl, ...) \ argument
62 fprintf(stderr, "libdmsg: " ctl, __VA_ARGS__)
407 void dmsg_iocom_label(dmsg_iocom_t *iocom, const char *ctl, ...);
461 void dmsg_printf(dmsg_iocom_t *iocom, const char *ctl, ...) __printflike(2, 3);
/dragonfly/usr.bin/dsynth/
H A Dsubs.c72 int do_errno, const char *ctl, ...) in _dfatal() argument
77 va_start(va, ctl); in _dfatal()
78 vfprintf(stderr, ctl, va); in _dfatal()
97 va_start(va, ctl); in _ddprintf()
98 vfprintf(stdout, ctl, va); in _ddprintf()
164 _dlog(int which, const char *ctl, ...) in _dlog() argument
177 va_start(va, ctl); in _dlog()
178 vasprintf(&buf, ctl, va); in _dlog()
368 askyn(const char *ctl, ...) in askyn() argument
378 va_start(va, ctl); in askyn()
[all …]
/dragonfly/contrib/libarchive/libarchive/
H A Darchive_write_set_format_iso9660.c2622 ctl->bp = bp; in extra_open_record()
2628 ctl->cur_len = ctl->dr_len = dr_len; in extra_open_record()
2643 ctl->cur_len++; in extra_close_record()
2645 ctl->bp[ctl->cur_len] = 0; in extra_close_record()
2650 set_SUSP_CE(ctl->ce_ptr, ctl->extr_loc, in extra_close_record()
2651 ctl->extr_off, ctl->cur_len - padding); in extra_close_record()
2653 ctl->dr_len = ctl->cur_len; in extra_close_record()
2656 #define extra_space(ctl) ((ctl)->limit - (ctl)->cur_len) argument
2674 ctl->ce_ptr = &ctl->bp[cur_len+1]; in extra_next_record()
2676 &ctl->limit, &ctl->extr_off, &ctl->extr_loc); in extra_next_record()
[all …]
/dragonfly/sys/dev/drm/include/linux/
H A Dpci.h167 u16 ctl; in pcie_get_readrq() local
174 ctl = pci_read_config(pdev->dev.bsddev, cap, 2); in pcie_get_readrq()
176 return 128 << ((ctl & PCIEM_DEVCTL_MAX_READRQ_MASK) >> 12); in pcie_get_readrq()
183 u16 ctl; in pcie_set_readrq() local
195 ctl = pci_read_config(pdev->dev.bsddev, cap, 2); in pcie_set_readrq()
196 ctl &= ~PCIEM_DEVCTL_MAX_READRQ_MASK; in pcie_set_readrq()
197 ctl |= ((ffs(rq) - 8) << 12); in pcie_set_readrq()
198 pci_write_config(pdev->dev.bsddev, cap, ctl, 2); in pcie_set_readrq()

123456