Home
last modified time | relevance | path

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

123456789

/titanic_41/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 …]
/titanic_41/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 …]
/titanic_41/usr/src/cmd/ssh/include/
H A Dauth-pam.h51 #define AUTHPAM_DONE(ac) (ac != NULL && \ argument
52 ac->pam != NULL && \
53 ac->pam->h != NULL && \
54 ac->pam->state == PAM_S_DONE)
56 #define AUTHPAM_RETVAL(ac, rv) ((ac != NULL && ac->pam != NULL) ? \ argument
57 ac->pam->last_pam_retval : rv)
59 #define AUTHPAM_ERROR(ac, rv) ((ac != NULL && ac->pam != NULL && \ argument
60 ac->pam->last_pam_retval != PAM_SUCCESS) ? \
61 ac->pam->last_pam_retval : rv)
/titanic_41/usr/src/cmd/ssh/ssh-add/
H A Dssh-add.c90 delete_file(AuthenticationConnection *ac, const char *filename) in delete_file() argument
101 if (ssh_remove_identity(ac, public)) { in delete_file()
117 delete_all(AuthenticationConnection *ac) in delete_all() argument
121 if (ssh_remove_all_identities(ac, 1)) in delete_all()
124 ssh_remove_all_identities(ac, 2); in delete_all()
135 add_file(AuthenticationConnection *ac, const char *filename) in add_file() argument
175 if (ssh_add_identity_constrained(ac, private, comment, lifetime)) { in add_file()
182 } else if (ssh_add_identity(ac, private, comment)) { in add_file()
198 list_identities(AuthenticationConnection *ac, int do_fp) in list_identities() argument
206 for (key = ssh_get_first_identity(ac, &comment, version); in list_identities()
[all …]
/titanic_41/usr/src/cmd/mandoc/
H A Dmdoc_macro.c658 enum margserr ac; in append_delims() local
666 ac = mdoc_zargs(mdoc, line, pos, buf, &p); in append_delims()
668 if (ARGS_ERROR == ac) in append_delims()
670 else if (ARGS_EOLN == ac) in append_delims()
705 enum margserr ac; in blk_exp_close() local
807 ac = mdoc_args(mdoc, line, pos, buf, tok, &p); in blk_exp_close()
809 if (ARGS_ERROR == ac) in blk_exp_close()
811 if (ARGS_PUNCT == ac) in blk_exp_close()
813 if (ARGS_EOLN == ac) in blk_exp_close()
816 ntok = ARGS_QWORD == ac ? MDOC_MAX : lookup(tok, p); in blk_exp_close()
[all …]
/titanic_41/usr/src/lib/libast/common/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()
/titanic_41/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 …]
/titanic_41/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-misc.c128 int ac, rc = -1, fds[2]; in lpd_open() local
139 av[0] = SUID_LPD_PORT; ac = 1; in lpd_open()
142 av[ac++] = "-H"; in lpd_open()
143 av[ac++] = svc->uri->host; in lpd_open()
148 av[ac++] = "-t"; in lpd_open()
149 av[ac++] = strdup(buf); in lpd_open()
154 av[ac++] = buf; in lpd_open()
165 av[ac++] = tmp; in lpd_open()
169 while ((*args != NULL) && (ac < 62)) in lpd_open()
170 av[ac++] = *args++; in lpd_open()
[all …]
/titanic_41/usr/src/cmd/lp/cmd/lpsched/
H A Dexec.c312 int ac = 0; in exec() local
746 av[ac++] = arg_string(TRUSTED, "%s/%s", Lp_A_Interfaces, in exec()
820 av[ac++] = arg_string(TRUSTED, "%s", in exec()
852 av[ac++] = arg_string(TRUSTED, in exec()
856 av[ac++] = arg_string(TRUSTED, "%s", in exec()
860 av[ac++] = arg_string(TRUSTED, "%s", in exec()
870 av[ac++] = arg_string(UNTRUSTED, "%s", request->request->user); in exec()
871 av[ac++] = arg_string(TRUSTED, "%s", clean_title); in exec()
872 av[ac++] = arg_string(TRUSTED, "%d", request->copies); in exec()
974 av[ac++] = arg_string(UNTRUSTED, "%s", argbuf); in exec()
[all …]
/titanic_41/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 Daccept.c57 main(int ac, char *av[]) in main() argument
68 while ((c = getopt(ac, av, "E")) != EOF) in main()
77 if (ac == optind) in main()
80 for (c = optind; c < ac; c++) { in main()
/titanic_41/usr/src/lib/libast/common/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 */
148 { ac->yes = 0;
151 else ac->yes = 1;
154 ac->ok[c] = !ac->yes;
157 { ac->ok[*form] = ac->yes;
160 ac->form = (char*)form;
175 ac->ok[c] = ac->yes;
185 ac->ok[c] = ac->yes;
[all …]
/titanic_41/usr/src/cmd/streams/log/
H A Dstrace.c52 static int getid(int ac, char **av, struct trace_ids *tp);
117 getid(int ac, char **av, struct trace_ids *tp) in getid() argument
146 if (index >= ac) in getid()
162 if ((index+2) >= ac) in getid()
175 main(int ac, char *av[]) in main() argument
203 if (ac == 1) { in main()
209 while (getid(ac, av, tp)) { in main()
/titanic_41/usr/src/lib/libresolv2/common/dst/
H A Dsupport.c100 u_int32_t ac; in dst_s_id_calc() local
107 for (ac = 0; size > 1; size -= 2, kp += 2) in dst_s_id_calc()
108 ac += ((*kp) << 8) + *(kp + 1); in dst_s_id_calc()
111 ac += ((*kp) << 8); in dst_s_id_calc()
112 ac += (ac >> 16) & 0xffff; in dst_s_id_calc()
114 return (ac & 0xffff); in dst_s_id_calc()
/titanic_41/usr/src/cmd/sh/
H A Dtest.c43 int ap, ac; variable
49 ac = argn; in test()
54 if (!eq(com[--ac], "]")) in test()
57 com[ac] = 0; in test()
58 if (ac <= 1) in test()
66 if (ap >= ac) in nxtarg()
177 if (ap >= ac) /* no args */ in e3()
/titanic_41/usr/src/ucbcmd/test/
H A Dtest.c43 static int ac; variable
51 ac = argc; av = argv; ap = 1; in main()
53 if (!EQ(argv[--ac], "]")) in main()
56 argv[ac] = 0; in main()
57 if (ac <= 1) in main()
68 if (ap >= ac) { in nxtarg()
184 if (ap >= ac) in e3()
/titanic_41/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()
/titanic_41/usr/src/lib/libast/common/include/
H A Dshcmd.h70 # define sh_run(c, ac, av) ((c)?(*sh_context(c)->shrun)(ac,av):-1) argument
80 # define cmdinit(ac,av,c,cat,flg) do { if((ac)<=0) return(0); \ argument

123456789