Home
last modified time | relevance | path

Searched refs:ac (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/illumos-gate/usr/src/uts/common/io/audio/ac97/
H A Dac97_cmi.c71 ac97_t *ac = actrl->actrl_ac97; in cmi_set_micboost() local
73 ac_wr(ac, AC97_INTERRUPT_PAGING_REGISTER, 0); /* select page 0 */ in cmi_set_micboost()
77 ac_clr(ac, AC97_MIC_VOLUME_REGISTER, MICVR_20dB_BOOST); in cmi_set_micboost()
78 ac_clr(ac, CMI_MULTICH_REGISTER, CMR_BSTSEL); in cmi_set_micboost()
82 ac_set(ac, AC97_MIC_VOLUME_REGISTER, MICVR_20dB_BOOST); in cmi_set_micboost()
83 ac_clr(ac, CMI_MULTICH_REGISTER, CMR_BSTSEL); in cmi_set_micboost()
87 ac_set(ac, AC97_MIC_VOLUME_REGISTER, MICVR_20dB_BOOST); in cmi_set_micboost()
88 ac_set(ac, CMI_MULTICH_REGISTER, CMR_BSTSEL); in cmi_set_micboost()
96 ac97_t *ac = actrl->actrl_ac97; in cmi_set_linein_func() local
98 ac_wr(ac, AC97_INTERRUPT_PAGING_REGISTER, 0); /* select page 0 */ in cmi_set_linein_func()
[all …]
H A Dac97.c65 #define SHADOW(ac, reg) ((ac)->shadow[((reg) / sizeof (uint16_t))]) argument
270 ac_get_dev(ac97_t *ac) in ac_get_dev() argument
272 return (ac->d); in ac_get_dev()
276 ac_get_prop(ac97_t *ac, char *prop, int defval) in ac_get_prop() argument
280 rv = ddi_prop_get_int(DDI_DEV_T_ANY, ac->dip, DDI_PROP_DONTPASS, in ac_get_prop()
289 #define WR(r, v) (ac)->wr((ac)->private, (r), (v))
290 #define RD(r) (ac)->rd((ac)->private, (r))
312 ac_probe_reg(ac97_t *ac, uint8_t reg) in ac_probe_reg() argument
332 ac_probe_tone(ac97_t *ac) in ac_probe_tone() argument
335 if (ac->caps & RR_BASS_TREBLE) in ac_probe_tone()
[all …]
H A Dac97_ad.c136 ac97_t *ac = actrl->actrl_ac97; in ads_set_micboost() local
139 ac_wr(ac, AC97_INTERRUPT_PAGING_REGISTER, 0); /* select page 0 */ in ads_set_micboost()
143 ac_clr(ac, AC97_MIC_VOLUME_REGISTER, MICVR_20dB_BOOST); in ads_set_micboost()
147 ac_set(ac, AC97_MIC_VOLUME_REGISTER, MICVR_20dB_BOOST); in ads_set_micboost()
148 v = ac_rd(ac, ADS_MISC_CFG_REGISTER); in ads_set_micboost()
151 ac_wr(ac, ADS_MISC_CFG_REGISTER, v); in ads_set_micboost()
155 ac_set(ac, AC97_MIC_VOLUME_REGISTER, MICVR_20dB_BOOST); in ads_set_micboost()
156 v = ac_rd(ac, ADS_MISC_CFG_REGISTER); in ads_set_micboost()
159 ac_wr(ac, ADS_MISC_CFG_REGISTER, v); in ads_set_micboost()
163 ac_set(ac, AC97_MIC_VOLUME_REGISTER, MICVR_20dB_BOOST); in ads_set_micboost()
[all …]
H A Dac97_alc.c79 ac97_t *ac = actrl->actrl_ac97; in alc650_set_linein_func() local
81 ac_wr(ac, AC97_INTERRUPT_PAGING_REGISTER, 0); /* select page 0 */ in alc650_set_linein_func()
83 ac_set(ac, ALC_DATA_FLOW_CTRL_REGISTER, ADFC_SURROUND); in alc650_set_linein_func()
85 ac_clr(ac, ALC_DATA_FLOW_CTRL_REGISTER, ADFC_SURROUND); in alc650_set_linein_func()
92 ac97_t *ac = actrl->actrl_ac97; in alc650_set_mic_func() local
94 ac_wr(ac, AC97_INTERRUPT_PAGING_REGISTER, 0); /* select page 0 */ in alc650_set_mic_func()
96 ac_set(ac, ALC_MISC_CTRL_REGISTER, AMC_VREFOUT_DIS); in alc650_set_mic_func()
97 ac_set(ac, ALC_DATA_FLOW_CTRL_REGISTER, ADFC_CENTER_LFE); in alc650_set_mic_func()
99 ac_clr(ac, ALC_MISC_CTRL_REGISTER, AMC_VREFOUT_DIS); in alc650_set_mic_func()
100 ac_clr(ac, ALC_DATA_FLOW_CTRL_REGISTER, ADFC_CENTER_LFE); in alc650_set_mic_func()
[all …]
/illumos-gate/usr/src/uts/intel/io/amr/
H A Damr.c143 static int amr_enquiry_mapcmd(struct amr_command *ac, uint32_t data_size);
144 static void amr_enquiry_unmapcmd(struct amr_command *ac);
145 static int amr_mapcmd(struct amr_command *ac, int (*callback)(), caddr_t arg);
146 static void amr_unmapcmd(struct amr_command *ac);
156 static int amr_poll_command(struct amr_command *ac);
716 register struct amr_command *ac; in amr_periodic() local
744 ac = softs->busycmd[i]; in amr_periodic()
745 ac->ac_next = NULL; in amr_periodic()
756 pkt = ac->pkt; in amr_periodic()
929 struct amr_command ac; in amr_enquiry() local
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dstrcasecmp.c39 register int ac;
45 ac = *a++;
46 if (isupper(ac))
47 ac = tolower(ac);
51 if (d = ac - bc)
53 if (!ac)
H A Dstrncasecmp.c40 register int ac;
49 ac = *a++;
50 if (isupper(ac))
51 ac = tolower(ac);
55 if (d = ac - bc)
57 if (!ac)
H A Dwordexp.c69 register int c,quoted=0,literal=0,ac=0; in wordexp() local
115 else if(!quoted && strchr("|&\n;<>"+ac,c)) in wordexp()
121 ac=2; in wordexp()
132 ac = 0; in wordexp()
139 ac++; in wordexp()
152 c = ac+2; in wordexp()
178 wdarg->we_wordc += ac; in wordexp()
182 while(ac-- > 0) in wordexp()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dauth_con.c197 krb5_auth_con_setsendsubkey(krb5_context ctx, krb5_auth_context ac, krb5_keyblock *keyblock) in krb5_auth_con_setsendsubkey() argument
199 if (ac->send_subkey != NULL) in krb5_auth_con_setsendsubkey()
200 krb5_free_keyblock(ctx, ac->send_subkey); in krb5_auth_con_setsendsubkey()
201 ac->send_subkey = NULL; in krb5_auth_con_setsendsubkey()
203 return krb5_copy_keyblock(ctx, keyblock, &ac->send_subkey); in krb5_auth_con_setsendsubkey()
209 krb5_auth_con_setrecvsubkey(krb5_context ctx, krb5_auth_context ac, krb5_keyblock *keyblock) in krb5_auth_con_setrecvsubkey() argument
211 if (ac->recv_subkey != NULL) in krb5_auth_con_setrecvsubkey()
212 krb5_free_keyblock(ctx, ac->recv_subkey); in krb5_auth_con_setrecvsubkey()
213 ac->recv_subkey = NULL; in krb5_auth_con_setrecvsubkey()
215 return krb5_copy_keyblock(ctx, keyblock, &ac->recv_subkey); in krb5_auth_con_setrecvsubkey()
[all …]
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-misc.c128 int ac, rc = -1, fds[2]; in lpd_open() local
140 ac = 1; in lpd_open()
143 av[ac++] = "-H"; in lpd_open()
144 av[ac++] = svc->uri->host; in lpd_open()
149 av[ac++] = "-t"; in lpd_open()
150 av[ac++] = strdup(buf); in lpd_open()
155 av[ac++] = buf; in lpd_open()
166 av[ac++] = tmp; in lpd_open()
170 while ((*args != NULL) && (ac < 62)) in lpd_open()
171 av[ac++] = *args++; in lpd_open()
[all …]
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dexec.c206 int ac = 0; in exec() local
640 av[ac++] = arg_string(TRUSTED, "%s/%s", Lp_A_Interfaces, in exec()
714 av[ac++] = arg_string(TRUSTED, "%s", in exec()
746 av[ac++] = arg_string(TRUSTED, in exec()
750 av[ac++] = arg_string(TRUSTED, "%s", in exec()
754 av[ac++] = arg_string(TRUSTED, "%s", in exec()
764 av[ac++] = arg_string(UNTRUSTED, "%s", request->request->user); in exec()
765 av[ac++] = arg_string(TRUSTED, "%s", clean_title); in exec()
766 av[ac++] = arg_string(TRUSTED, "%d", request->copies); in exec()
868 av[ac++] = arg_string(UNTRUSTED, "%s", argbuf); in exec()
[all …]
/illumos-gate/usr/src/cmd/mandoc/
H A Dmdoc_macro.c479 enum margserr ac; in append_delims() local
486 ac = mdoc_args(mdoc, line, pos, buf, TOKEN_NONE, &p); in append_delims()
487 if (ac == ARGS_EOLN) in append_delims()
505 if (ac == ARGS_ALLOC) in append_delims()
553 enum margserr ac; in blk_exp_close() local
728 ac = mdoc_args(mdoc, line, pos, buf, tok, &p); in blk_exp_close()
729 if (ac == ARGS_PUNCT || ac == ARGS_EOLN) in blk_exp_close()
737 if (ac == ARGS_ALLOC) in blk_exp_close()
741 if (ac == ARGS_ALLOC) in blk_exp_close()
772 enum margserr ac; in in_line() local
[all …]
/illumos-gate/usr/src/boot/common/
H A Dinterp_parse.c86 int ac; in parse() local
92 ac = *argc = 0; in parse()
131 PARSE_FAIL(insert(&ac, buf)); in parse()
182 PARSE_FAIL(insert(&ac, buf)); in parse()
184 args[ac] = NULL; in parse()
185 *argc = ac; in parse()
186 *argv = malloc((sizeof (char *) * ac + 1)); in parse()
187 bcopy(args, *argv, sizeof (char *) * ac + 1); in parse()
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Dlpc.c455 process(int ac, char **av) in process() argument
468 if (((ac == 0) && (num_args == 1)) || in process()
471 else if (num_args < ac) { in process()
480 for (i = 2; i <= ac; i++) { in process()
485 for (i = 1; i <= ac; i++) { in process()
517 int ac = 0; in lpc_shell() local
527 for (ac = 0; av[ac] != NULL; ac++); in lpc_shell()
531 if (ac > 0) in lpc_shell()
532 (void) process(ac - 1, av); in lpc_shell()
538 main(int ac, char *av[]) in main() argument
[all …]
H A Dcommon.c63 match_job(int id, char *user, int ac, char *av[]) in match_job() argument
67 for (i = 0; i < ac; i++) in match_job()
83 match_job_rid(int id, int ac, char *av[]) in match_job_rid() argument
87 for (i = 0; i < ac; i++) in match_job_rid()
206 print_job_line(FILE *fp, int count, papi_job_t job, int fmt, int ac, char *av[]) in print_job_line() argument
225 if ((ac > 0) && (match_job(id, user, ac, av) < 0)) in print_job_line()
259 int ac, char *av[]) in cancel_job() argument
277 if ((ac > 0) && (match_job(id, user, ac, av) < 0) && in cancel_job()
278 (match_job(rid, user, ac, av) < 0)) in cancel_job()
286 if (match_job_rid(rid, ac, av) == -1) in cancel_job()
[all …]
H A Dlp.c65 main(int ac, char *av[]) in main() argument
94 while ((c = getopt(ac, av, "DEH:P:S:T:cd:f:i:mn:o:pq:rst:Vwy:")) != EOF) in main()
231 if (((optind + 1) == ac) && (strcmp(av[optind], "-") == 0)) in main()
232 optind = ac; in main()
237 if (optind != ac) { in main()
280 else if (optind == ac) /* no file list, use stdin */ in main()
318 if (ac != optind) in main()
319 printf("(%d file(s))\n", ac - optind); in main()
H A Dlpr.c64 main(int ac, char *av[]) in main() argument
84 while ((c = getopt(ac, av, in main()
203 if (((optind + 1) == ac) && (strcmp(av[optind], "-") == 0)) in main()
204 optind = ac; in main()
206 if (optind != ac) { in main()
242 else if (optind == ac) /* no file list, use stdin */ in main()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfvscanf.c134 static char* _sfsetclass(const char* form, Accept_t* ac, int flags) in _sfsetclass() argument
136 static char* _sfsetclass(form, ac, flags) in _sfsetclass()
138 Accept_t* ac; /* values of accepted characters */
146 { ac->yes = 0;
149 else ac->yes = 1;
152 ac->ok[c] = !ac->yes;
155 { ac->ok[*form] = ac->yes;
158 ac->form = (char*)form;
173 ac->ok[c] = ac->yes;
183 ac->ok[c] = ac->yes;
[all …]
/illumos-gate/usr/src/cmd/streams/log/
H A Dstrace.c50 static int getid(int ac, char **av, struct trace_ids *tp);
115 getid(int ac, char **av, struct trace_ids *tp) in getid() argument
144 if (index >= ac) in getid()
160 if ((index+2) >= ac) in getid()
173 main(int ac, char *av[]) in main() argument
201 if (ac == 1) { in main()
207 while (getid(ac, av, tp)) { in main()
/illumos-gate/usr/src/lib/libresolv2/common/dst/
H A Dsupport.c97 u_int32_t ac; in dst_s_id_calc() local
104 for (ac = 0; size > 1; size -= 2, kp += 2) in dst_s_id_calc()
105 ac += ((*kp) << 8) + *(kp + 1); in dst_s_id_calc()
108 ac += ((*kp) << 8); in dst_s_id_calc()
109 ac += (ac >> 16) & 0xffff; in dst_s_id_calc()
111 return (ac & 0xffff); in dst_s_id_calc()
/illumos-gate/usr/src/test/util-tests/tests/dis/i386/
H A D64.vbmi2.out11 libdis_test+0x27: 62 f3 dd 8c 70 ac vpshldw $0x42,0x23(%rbx,%rcx,4),%xmm4,%xmm5{%k4}{z}
23 libdis_test+0x5a: 62 f3 dd ac 70 ac vpshldw $0x42,0x23(%rbx,%rcx,4),%ymm4,%ymm5{%k4}{z}
35 libdis_test+0x8d: 62 f3 dd cc 70 ac vpshldw $0x42,0x23(%rbx,%rcx,4),%zmm4,%zmm5{%k4}{z}
47 libdis_test+0xc0: 62 f3 5d 8c 71 ac vpshldd $0x42,0x23(%rbx,%rcx,4),%xmm4,%xmm5{%k4}{z}
63 libdis_test+0x105: 62 f3 5d ac 71 ac vpshldd $0x42,0x23(%rbx,%rcx,4),%ymm4,%ymm5{%k4}{z}
79 libdis_test+0x14a: 62 f3 5d cc 71 ac vpshldd $0x42,0x23(%rbx,%rcx,4),%zmm4,%zmm5{%k4}{z}
95 libdis_test+0x18f: 62 f3 dd 8c 71 ac vpshldq $0x42,0x23(%rbx,%rcx,4),%xmm4,%xmm5{%k4}{z}
111 libdis_test+0x1d4: 62 f3 dd ac 71 ac vpshldq $0x42,0x23(%rbx,%rcx,4),%ymm4,%ymm5{%k4}{z}
127 libdis_test+0x219: 62 f3 dd cc 71 ac vpshldq $0x42,0x23(%rbx,%rcx,4),%zmm4,%zmm5{%k4}{z}
143 libdis_test+0x25e: 62 f3 dd 8c 72 ac vpshrdw $0x42,0x23(%rbx,%rcx,4),%xmm4,%xmm5{%k4}{z}
[all …]
H A D32.vbmi2.out11 libdis_test+0x27: 62 f3 dd 8c 70 ac vpshldw $0x42,0x23(%ebx,%ecx,4),%xmm4,%xmm5{%k4}{z}
23 libdis_test+0x5a: 62 f3 dd ac 70 ac vpshldw $0x42,0x23(%ebx,%ecx,4),%ymm4,%ymm5{%k4}{z}
35 libdis_test+0x8d: 62 f3 dd cc 70 ac vpshldw $0x42,0x23(%ebx,%ecx,4),%zmm4,%zmm5{%k4}{z}
47 libdis_test+0xc0: 62 f3 5d 8c 71 ac vpshldd $0x42,0x23(%ebx,%ecx,4),%xmm4,%xmm5{%k4}{z}
63 libdis_test+0x105: 62 f3 5d ac 71 ac vpshldd $0x42,0x23(%ebx,%ecx,4),%ymm4,%ymm5{%k4}{z}
79 libdis_test+0x14a: 62 f3 5d cc 71 ac vpshldd $0x42,0x23(%ebx,%ecx,4),%zmm4,%zmm5{%k4}{z}
95 libdis_test+0x18f: 62 f3 dd 8c 71 ac vpshldq $0x42,0x23(%ebx,%ecx,4),%xmm4,%xmm5{%k4}{z}
111 libdis_test+0x1d4: 62 f3 dd ac 71 ac vpshldq $0x42,0x23(%ebx,%ecx,4),%ymm4,%ymm5{%k4}{z}
127 libdis_test+0x219: 62 f3 dd cc 71 ac vpshldq $0x42,0x23(%ebx,%ecx,4),%zmm4,%zmm5{%k4}{z}
143 libdis_test+0x25e: 62 f3 dd 8c 72 ac vpshrdw $0x42,0x23(%ebx,%ecx,4),%xmm4,%xmm5{%k4}{z}
[all …]
/illumos-gate/usr/src/cmd/sh/
H A Dtest.c41 int ap, ac; variable
47 ac = argn; in test()
52 if (!eq(com[--ac], "]")) in test()
55 com[ac] = 0; in test()
56 if (ac <= 1) in test()
64 if (ap >= ac) in nxtarg()
175 if (ap >= ac) /* no args */ in e3()
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dac_stat.c65 struct ac_soft_state *ac; in ac_mem_stat() local
97 ac = pkt->softsp; in ac_mem_stat()
98 mem_info = &ac->bank[pkt->bank]; in ac_mem_stat()
106 statp->board = ac->board; in ac_mem_stat()
109 statp->ac_memctl = *(ac->ac_memctl); in ac_mem_stat()
110 statp->ac_decode0 = *(ac->ac_memdecode0); in ac_mem_stat()
111 statp->ac_decode1 = *(ac->ac_memdecode1); in ac_mem_stat()
126 *(ac->ac_memdecode0) : *(ac->ac_memdecode1); in ac_mem_stat()
/illumos-gate/usr/src/ucbcmd/test/
H A Dtest.c41 static int ac; variable
49 ac = argc; av = argv; ap = 1; in main()
51 if (!EQ(argv[--ac], "]")) in main()
54 argv[ac] = 0; in main()
55 if (ac <= 1) in main()
66 if (ap >= ac) { in nxtarg()
182 if (ap >= ac) in e3()

12345678910>>...12