/illumos-gate/usr/src/uts/common/io/audio/ac97/ |
H A D | ac97_cmi.c | 178 ac_add_control(ac, &cp); in cmi_setup_jack_funcs() 185 ac_add_control(ac, &cp); in cmi_setup_jack_funcs() 232 ac_add_control(ac, &cp); in cmi_setup_jack_func_9738() 296 cmi9739_init(ac97_t *ac) in cmi9739_init() argument 298 cmi_setup_volume(ac); in cmi9739_init() 299 cmi_setup_micboost(ac); in cmi9739_init() 304 cmi9761_init(ac97_t *ac) in cmi9761_init() argument 306 cmi_setup_volume(ac); in cmi9761_init() 307 cmi_setup_micboost(ac); in cmi9761_init() 312 cmi9738_init(ac97_t *ac) in cmi9738_init() argument [all …]
|
H A D | ac97.c | 289 #define WR(r, v) (ac)->wr((ac)->private, (r), (v)) 290 #define RD(r) (ac)->rd((ac)->private, (r)) 657 ac->wr(ac->private, reg, val); in ac_wr() 672 return (ac->rd(ac->private, reg)); in ac_rd() 682 ac_wr(ac, reg, ac->rd(ac->private, reg) | val); in ac_set() 692 ac_wr(ac, reg, ac->rd(ac->private, reg) & ~val); in ac_clr() 728 ac->wr(ac->private, i, SHADOW(ac, i)); in ac_restore() 1220 ac->codec_reset(ac); in ac_hw_reset() 1582 ac->codec_init(ac); in ac_probeinit_ctrls() 1955 ac->name, ac->vid, ac->nchan, ac->caps); in ac97_probe_controls() [all …]
|
H A D | ac97_ad.c | 136 ac97_t *ac = actrl->actrl_ac97; in ads_set_micboost() local 151 ac_wr(ac, ADS_MISC_CFG_REGISTER, v); in ads_set_micboost() 175 ac97_t *ac = actrl->actrl_ac97; in ads_set_micsrc() local 195 ads_setup_micsrc(ac97_t *ac) in ads_setup_micsrc() argument 208 ac_add_control(ac, &cpt); in ads_setup_micsrc() 212 ads_setup_micboost(ac97_t *ac) in ads_setup_micboost() argument 236 ac_add_control(ac, &cpt); in ads_setup_micboost() 240 ad1981a_init(ac97_t *ac) in ad1981a_init() argument 242 ads_setup_micboost(ac); in ad1981a_init() 246 ad1981b_init(ac97_t *ac) in ad1981b_init() argument [all …]
|
H A D | ac97_alc.c | 79 ac97_t *ac = actrl->actrl_ac97; in alc650_set_linein_func() local 92 ac97_t *ac = actrl->actrl_ac97; in alc650_set_mic_func() local 108 ac97_t *ac = actrl->actrl_ac97; 122 ac97_t *ac = actrl->actrl_ac97; in alc650_set_pcm() local 164 alc_pcm_override(ac97_t *ac) in alc_pcm_override() argument 176 alc650_init(ac97_t *ac) in alc650_init() argument 186 ac_add_control(ac, &cp); in alc650_init() 193 ac_add_control(ac, &cp); in alc650_init() 195 alc_pcm_override(ac); in alc650_init() 199 alc850_init(ac97_t *ac) in alc850_init() argument [all …]
|
/illumos-gate/usr/src/uts/intel/io/amr/ |
H A D | amr.c | 948 if (amr_poll_command(&ac) || ac.ac_status != 0) { in amr_enquiry() 1198 if ((ac->current_cookie + i + 1) != ac->num_of_cookie) in amr_setup_dmamap() 1219 (void *)ac, ac->ac_flags)); in amr_enquiry_mapcmd() 1271 ac->mailbox.mb_physaddr = ac->ac_dataphys; in amr_enquiry_mapcmd() 1302 if ((ac->ac_flags & AMR_CMD_MAPPED) && ac->ac_data) { in amr_enquiry_unmapcmd() 1333 (void *)ac, ac->ac_flags)); in amr_mapcmd() 1414 amr_setup_dmamap(ac, &ac->buffer_dma_cookie, in amr_mapcmd() 1415 ac->num_of_cookie - ac->current_cookie); in amr_mapcmd() 1433 ac->ac_buf && ac->buffer_dma_handle) in amr_unmapcmd() 2000 ac->mailbox.mb_lba = (ac->cmdlen == 10) ? in amr_rw_command() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | strcasecmp.c | 39 register int ac; 45 ac = *a++; 46 if (isupper(ac)) 47 ac = tolower(ac); 51 if (d = ac - bc) 53 if (!ac)
|
H A D | strncasecmp.c | 40 register int ac; 49 ac = *a++; 50 if (isupper(ac)) 51 ac = tolower(ac); 55 if (d = ac - bc) 57 if (!ac)
|
H A D | wordexp.c | 69 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 D | auth_con.c | 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() 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() 223 if (ac->send_subkey != NULL) in krb5_auth_con_getsendsubkey() 232 if (ac->recv_subkey != NULL) in krb5_auth_con_getrecvsubkey() 485 krb5_auth_context ac, in krb5int_auth_con_chkseqnum() argument 490 exp_seq = ac->remote_seq_number; in krb5int_auth_con_chkseqnum() [all …]
|
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/ |
H A D | lpd-misc.c | 128 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 D | exec.c | 206 int ac = 0; in exec() local 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() 1001 av[ac++] = arg_string(TRUSTED, "%s", in exec() 1016 av[ac++] = arg_string(TRUSTED, "-c"); in exec() 1044 av[ac++] = arg_string(TRUSTED, "%s", in exec() 1046 av[ac++] = arg_string(TRUSTED, "%s", in exec() 1048 av[ac++] = arg_string(TRUSTED, "%s", in exec() [all …]
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | mdoc_macro.c | 479 enum margserr ac; in append_delims() local 553 enum margserr ac; in blk_exp_close() local 729 if (ac == ARGS_PUNCT || ac == ARGS_EOLN) in blk_exp_close() 772 enum margserr ac; in in_line() local 1096 ac = ARGS_EOLN; in blk_full() 1110 lac = ac; in blk_full() 1278 if (ac == ARGS_EOLN || ac == ARGS_PUNCT) in blk_part_imp() 1337 if (ac == ARGS_PUNCT || ac == ARGS_EOLN) in blk_part_exp() 1384 enum margserr ac; in in_line_argn() local 1423 if ((ac == ARGS_WORD || ac == ARGS_ALLOC) && state == -1 && in in_line_argn() [all …]
|
/illumos-gate/usr/src/boot/common/ |
H A D | interp_parse.c | 86 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 D | lpc.c | 455 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 D | common.c | 63 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() 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() 303 int ac, char *av[]) in berkeley_queue_report() argument [all …]
|
H A D | lp.c | 65 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 D | accept.c | 57 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()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfvscanf.c | 146 { ac->yes = 0; 149 else ac->yes = 1; 152 ac->ok[c] = !ac->yes; 155 { ac->ok[*form] = ac->yes; 173 ac->ok[c] = ac->yes; 183 ac->ok[c] = ac->yes; 197 Accept_t* ac; 220 return ac->yes; 224 return !ac->yes; 228 #define SFgetwc(sc,wc,fmt,ac,mbs) _sfgetwc(sc,wc,fmt,ac,(Void_t*)(mbs)) argument [all …]
|
/illumos-gate/usr/src/cmd/streams/log/ |
H A D | strace.c | 50 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 D | support.c | 97 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/cmd/sh/ |
H A D | test.c | 41 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/test/util-tests/tests/dis/i386/ |
H A D | 64.vbmi2.out | 23 libdis_test+0x5a: 62 f3 dd ac 70 ac vpshldw $0x42,0x23(%rbx,%rcx,4),%ymm4,%ymm5{%k4}{z} 63 libdis_test+0x105: 62 f3 5d ac 71 ac vpshldd $0x42,0x23(%rbx,%rcx,4),%ymm4,%ymm5{%k4}{z} 111 libdis_test+0x1d4: 62 f3 dd ac 71 ac vpshldq $0x42,0x23(%rbx,%rcx,4),%ymm4,%ymm5{%k4}{z} 155 libdis_test+0x291: 62 f3 dd ac 72 ac vpshrdw $0x42,0x23(%rbx,%rcx,4),%ymm4,%ymm5{%k4}{z} 195 libdis_test+0x33c: 62 f3 5d ac 73 ac vpshrdd $0x42,0x23(%rbx,%rcx,4),%ymm4,%ymm5{%k4}{z} 378 libdis_test+0x691: 62 f2 dd ac 70 ac vpshldvw 0x23(%rbx,%rcx,4),%ymm4,%ymm5{%k4}{z} 405 libdis_test+0x728: 62 f2 5d ac 71 ac vpshldvd 0x23(%rbx,%rcx,4),%ymm4,%ymm5{%k4}{z} 438 libdis_test+0x7df: 62 f2 dd ac 71 ac vpshldvq 0x23(%rbx,%rcx,4),%ymm4,%ymm5{%k4}{z} 468 libdis_test+0x886: 62 f2 dd ac 72 ac vpshrdvw 0x23(%rbx,%rcx,4),%ymm4,%ymm5{%k4}{z} 495 libdis_test+0x91d: 62 f2 5d ac 73 ac vpshrdvd 0x23(%rbx,%rcx,4),%ymm4,%ymm5{%k4}{z} [all …]
|
H A D | 32.vbmi2.out | 23 libdis_test+0x5a: 62 f3 dd ac 70 ac vpshldw $0x42,0x23(%ebx,%ecx,4),%ymm4,%ymm5{%k4}{z} 63 libdis_test+0x105: 62 f3 5d ac 71 ac vpshldd $0x42,0x23(%ebx,%ecx,4),%ymm4,%ymm5{%k4}{z} 111 libdis_test+0x1d4: 62 f3 dd ac 71 ac vpshldq $0x42,0x23(%ebx,%ecx,4),%ymm4,%ymm5{%k4}{z} 155 libdis_test+0x291: 62 f3 dd ac 72 ac vpshrdw $0x42,0x23(%ebx,%ecx,4),%ymm4,%ymm5{%k4}{z} 195 libdis_test+0x33c: 62 f3 5d ac 73 ac vpshrdd $0x42,0x23(%ebx,%ecx,4),%ymm4,%ymm5{%k4}{z} 378 libdis_test+0x691: 62 f2 dd ac 70 ac vpshldvw 0x23(%ebx,%ecx,4),%ymm4,%ymm5{%k4}{z} 405 libdis_test+0x728: 62 f2 5d ac 71 ac vpshldvd 0x23(%ebx,%ecx,4),%ymm4,%ymm5{%k4}{z} 438 libdis_test+0x7df: 62 f2 dd ac 71 ac vpshldvq 0x23(%ebx,%ecx,4),%ymm4,%ymm5{%k4}{z} 468 libdis_test+0x886: 62 f2 dd ac 72 ac vpshrdvw 0x23(%ebx,%ecx,4),%ymm4,%ymm5{%k4}{z} 495 libdis_test+0x91d: 62 f2 5d ac 73 ac vpshrdvd 0x23(%ebx,%ecx,4),%ymm4,%ymm5{%k4}{z} [all …]
|
/illumos-gate/usr/src/ucbcmd/test/ |
H A D | test.c | 41 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()
|
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | ac_stat.c | 65 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()
|