| /openbsd-src/sys/dev/pci/drm/amd/display/dc/dcn10/ |
| H A D | dcn10_optc.c | 64 struct timing_generator *optc, in optc1_program_global_sync() argument 70 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_program_global_sync() 93 static void optc1_disable_stereo(struct timing_generator *optc) in optc1_disable_stereo() argument 95 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_disable_stereo() 106 struct timing_generator *optc, in optc1_setup_vertical_interrupt0() argument 110 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_setup_vertical_interrupt0() 118 struct timing_generator *optc, in optc1_setup_vertical_interrupt1() argument 121 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_setup_vertical_interrupt1() 128 struct timing_generator *optc, in optc1_setup_vertical_interrupt2() argument 131 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_setup_vertical_interrupt2() [all …]
|
| H A D | dcn10_optc.h | 32 container_of(tg, struct optc, base) 567 struct optc { struct 594 void dcn10_timing_generator_init(struct optc *optc); argument 622 void optc1_read_otg_state(struct optc *optc1, 629 struct timing_generator *optc, 633 struct timing_generator *optc, 643 struct timing_generator *optc, 647 struct timing_generator *optc, 650 struct timing_generator *optc, 654 struct timing_generator *optc, [all …]
|
| /openbsd-src/sys/dev/pci/drm/amd/display/dc/dcn30/ |
| H A D | dcn30_optc.c | 45 void optc3_triplebuffer_lock(struct timing_generator *optc) in optc3_triplebuffer_lock() argument 47 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_triplebuffer_lock() 50 OTG_MASTER_UPDATE_LOCK_SEL, optc->inst); in optc3_triplebuffer_lock() 62 TRACE_OPTC_LOCK_UNLOCK_STATE(optc1, optc->inst, true); in optc3_triplebuffer_lock() 65 void optc3_lock_doublebuffer_enable(struct timing_generator *optc) in optc3_lock_doublebuffer_enable() argument 67 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_lock_doublebuffer_enable() 99 TRACE_OPTC_LOCK_UNLOCK_STATE(optc1, optc->inst, true); in optc3_lock_doublebuffer_enable() 102 void optc3_lock_doublebuffer_disable(struct timing_generator *optc) in optc3_lock_doublebuffer_disable() argument 104 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc3_lock_doublebuffer_disable() 116 TRACE_OPTC_LOCK_UNLOCK_STATE(optc1, optc->inst, true); in optc3_lock_doublebuffer_disable() [all …]
|
| H A D | dcn30_optc.h | 324 void dcn30_timing_generator_init(struct optc *optc1); 326 void optc3_set_out_mux(struct timing_generator *optc, enum otg_out_mux_dest dest); 328 void optc3_lock(struct timing_generator *optc); 330 void optc3_lock_doublebuffer_enable(struct timing_generator *optc); 332 void optc3_lock_doublebuffer_disable(struct timing_generator *optc); 334 void optc3_set_drr_trigger_window(struct timing_generator *optc, 337 void optc3_triplebuffer_lock(struct timing_generator *optc); 339 void optc3_program_blank_color(struct timing_generator *optc, 342 void optc3_set_vtotal_change_limit(struct timing_generator *optc, 345 void optc3_set_dsc_config(struct timing_generator *optc, [all …]
|
| /openbsd-src/sys/dev/pci/drm/amd/display/dc/dcn20/ |
| H A D | dcn20_optc.c | 48 bool optc2_enable_crtc(struct timing_generator *optc) in optc2_enable_crtc() argument 54 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_enable_crtc() 60 OPTC_SEG0_SRC_SEL, optc->inst); in optc2_enable_crtc() 86 void optc2_set_gsl(struct timing_generator *optc, in optc2_set_gsl() argument 89 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_set_gsl() 106 struct timing_generator *optc, in optc2_set_gsl_source_select() argument 110 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_set_gsl_source_select() 132 void optc2_set_dsc_config(struct timing_generator *optc, in optc2_set_dsc_config() argument 137 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_set_dsc_config() 152 void optc2_get_dsc_status(struct timing_generator *optc, in optc2_get_dsc_status() argument [all …]
|
| H A D | dcn20_optc.h | 82 void dcn20_timing_generator_init(struct optc *optc); 84 void optc2_get_last_used_drr_vtotal(struct timing_generator *optc, 87 bool optc2_enable_crtc(struct timing_generator *optc); 89 void optc2_set_gsl(struct timing_generator *optc, 92 void optc2_set_gsl_source_select(struct timing_generator *optc, 96 void optc2_set_dsc_config(struct timing_generator *optc, 101 void optc2_get_dsc_status(struct timing_generator *optc, 104 void optc2_set_odm_bypass(struct timing_generator *optc, 107 void optc2_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt, 110 void optc2_get_optc_source(struct timing_generator *optc, [all …]
|
| /openbsd-src/sys/dev/pci/drm/amd/display/dc/dcn32/ |
| H A D | dcn32_optc.c | 45 static void optc32_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt, in optc32_set_odm_combine() argument 48 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc32_set_odm_combine() 101 void optc32_set_h_timing_div_manual_mode(struct timing_generator *optc, bool manual_mode) in optc32_set_h_timing_div_manual_mode() argument 103 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc32_set_h_timing_div_manual_mode() 115 static bool optc32_enable_crtc(struct timing_generator *optc) in optc32_enable_crtc() argument 117 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc32_enable_crtc() 121 OPTC_SEG0_SRC_SEL, optc->inst); in optc32_enable_crtc() 141 static bool optc32_disable_crtc(struct timing_generator *optc) in optc32_disable_crtc() argument 143 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc32_disable_crtc() 172 static void optc32_phantom_crtc_post_enable(struct timing_generator *optc) in optc32_phantom_crtc_post_enable() argument [all …]
|
| /openbsd-src/sys/dev/pci/drm/amd/display/dc/dcn31/ |
| H A D | dcn31_optc.c | 43 static void optc31_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt, in optc31_set_odm_combine() argument 46 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc31_set_odm_combine() 97 static bool optc31_enable_crtc(struct timing_generator *optc) in optc31_enable_crtc() argument 99 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc31_enable_crtc() 103 OPTC_SEG0_SRC_SEL, optc->inst); in optc31_enable_crtc() 123 static bool optc31_disable_crtc(struct timing_generator *optc) in optc31_disable_crtc() argument 125 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc31_disable_crtc() 139 optc1_clear_optc_underflow(optc); in optc31_disable_crtc() 144 bool optc31_immediate_disable_crtc(struct timing_generator *optc) in optc31_immediate_disable_crtc() argument 146 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc31_immediate_disable_crtc() [all …]
|
| /openbsd-src/sys/dev/pci/drm/amd/display/dc/dcn314/ |
| H A D | dcn314_optc.c | 50 static void optc314_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt, in optc314_set_odm_combine() argument 53 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc314_set_odm_combine() 106 static bool optc314_enable_crtc(struct timing_generator *optc) in optc314_enable_crtc() argument 108 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc314_enable_crtc() 112 OPTC_SEG0_SRC_SEL, optc->inst); in optc314_enable_crtc() 132 static bool optc314_disable_crtc(struct timing_generator *optc) in optc314_disable_crtc() argument 134 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc314_disable_crtc() 153 static void optc314_phantom_crtc_post_enable(struct timing_generator *optc) in optc314_phantom_crtc_post_enable() argument 155 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc314_phantom_crtc_post_enable() 164 static void optc314_set_odm_bypass(struct timing_generator *optc, in optc314_set_odm_bypass() argument [all …]
|
| /openbsd-src/sys/dev/pci/drm/amd/display/dc/inc/hw/ |
| H A D | timing_generator.h | 173 struct timing_generator *optc, 177 struct timing_generator *optc, 180 struct timing_generator *optc, 201 bool (*get_otg_active_size)(struct timing_generator *optc, 239 void (*set_vtotal_min_max)(struct timing_generator *optc, int vtotal_min, int vtotal_max); 240 void (*get_last_used_drr_vtotal)(struct timing_generator *optc, uint32_t *refresh_rate); 268 void (*set_dwb_source)(struct timing_generator *optc, 271 void (*get_optc_source)(struct timing_generator *optc, 290 void (*program_manual_trigger)(struct timing_generator *optc); 291 void (*setup_manual_trigger)(struct timing_generator *optc); [all …]
|
| /openbsd-src/sys/dev/pci/drm/amd/display/dc/dcn301/ |
| H A D | dcn301_optc.c | 53 struct timing_generator *optc, in optc301_set_drr() argument 56 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc301_set_drr() 74 …optc->funcs->set_vtotal_min_max(optc, params->vertical_total_min - 1, params->vertical_total_max -… in optc301_set_drr() 83 optc->funcs->setup_manual_trigger(optc); in optc301_set_drr() 92 optc->funcs->set_vtotal_min_max(optc, 0, 0); in optc301_set_drr() 97 void optc301_setup_manual_trigger(struct timing_generator *optc) in optc301_setup_manual_trigger() argument 99 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc301_setup_manual_trigger() 103 OTG_TRIGA_SOURCE_PIPE_SELECT, optc->inst, in optc301_setup_manual_trigger() 173 void dcn301_timing_generator_init(struct optc *optc1) in dcn301_timing_generator_init()
|
| H A D | dcn301_optc.h | 32 void dcn301_timing_generator_init(struct optc *optc1); 33 void optc301_setup_manual_trigger(struct timing_generator *optc); 34 void optc301_set_drr(struct timing_generator *optc, const struct drr_params *params);
|
| /openbsd-src/sys/dev/pci/drm/amd/display/dc/dcn201/ |
| H A D | dcn201_optc.c | 47 static void optc201_triplebuffer_lock(struct timing_generator *optc) in optc201_triplebuffer_lock() argument 49 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc201_triplebuffer_lock() 52 OTG_MASTER_UPDATE_LOCK_SEL, optc->inst); in optc201_triplebuffer_lock() 63 static void optc201_triplebuffer_unlock(struct timing_generator *optc) in optc201_triplebuffer_unlock() argument 65 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc201_triplebuffer_unlock() 75 struct timing_generator *optc, in optc201_validate_timing() argument 81 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc201_validate_timing() 125 static void optc201_get_optc_source(struct timing_generator *optc, in optc201_get_optc_source() argument 130 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc201_get_optc_source() 190 void dcn201_timing_generator_init(struct optc *optc1) in dcn201_timing_generator_init()
|
| H A D | dcn201_optc.h | 70 void dcn201_timing_generator_init(struct optc *optc);
|
| /openbsd-src/bin/ksh/ |
| H A D | c_ksh.c | 19 int optc; in c_cd() local 32 while ((optc = ksh_getopt(wp, &builtin_opt, "LP")) != -1) in c_cd() 33 switch (optc) { in c_cd() 166 int optc; in c_pwd() local 170 while ((optc = ksh_getopt(wp, &builtin_opt, "LP")) != -1) in c_pwd() 171 switch (optc) { in c_pwd() 258 int optc; in c_print() local 260 while ((optc = ksh_getopt(wp, &builtin_opt, options)) != -1) in c_print() 261 switch (optc) { in c_print() 412 int optc; in c_whence() local [all …]
|
| H A D | c_ulimit.c | 62 int optc, all = 0; in c_ulimit() local 65 while ((optc = ksh_getopt(wp, &builtin_opt, options)) != -1) in c_ulimit() 66 switch (optc) { in c_ulimit() 89 while ((optc = ksh_getopt(wp, &builtin_opt, options)) != -1) in c_ulimit() 90 switch (optc) { in c_ulimit() 98 for (l = limits; l->name && l->option != optc; l++) in c_ulimit() 101 internal_warningf("%s: %c", __func__, optc); in c_ulimit()
|
| H A D | c_sh.c | 69 int optc; in c_umask() local 71 while ((optc = ksh_getopt(wp, &builtin_opt, "S")) != -1) in c_umask() 72 switch (optc) { in c_umask() 259 int optc; in c_read() local 265 while ((optc = ksh_getopt(wp, &builtin_opt, "prsu,")) != -1) in c_read() 266 switch (optc) { in c_read() 650 int optc, unset_var = 1; in c_unset() local 652 while ((optc = ksh_getopt(wp, &builtin_opt, "fv")) != -1) in c_unset() 653 switch (optc) { in c_unset() 795 int optc; in timex_hook() local [all …]
|
| /openbsd-src/usr.bin/less/ |
| H A D | option.c | 72 int optc; in scan_option() local 115 switch (optc = *s++) { in scan_option() 167 optc = 'z'; in scan_option() 173 optc = 'z'; in scan_option() 179 optc = 'I'; in scan_option() 185 optc = 'U'; in scan_option() 191 optc = 'E'; in scan_option() 197 optc = '?'; in scan_option() 203 optc = 'M'; in scan_option() 214 printopt = propt(optc); in scan_option() [all …]
|
| /openbsd-src/usr.bin/lex/ |
| H A D | scanopt.c | 70 int optc; /* Number of options. */ 161 s->optc = 0; 171 s->optc = 0; 172 while (options[s->optc].opt_fmt 173 || options[s->optc].r_val || options[s->optc].desc) 174 s->optc++; 177 s->aux = (struct _aux *) malloc (s->optc * sizeof (struct _aux)); 179 for (i = 0; i < s->optc; i++) { 281 store = (usg_elem *) malloc (s->optc * sizeo 71 int optc; /* Number of options. */ global() member [all...] |
| /openbsd-src/regress/bin/ksh/ |
| H A D | regress.t | 660 while getopts :a optc; do 661 echo "OPTARG=$OPTARG, OPTIND=$OPTIND, optc=$optc." 665 OPTARG=, OPTIND=2, optc=a. 666 OPTARG=, OPTIND=3, optc=a. 667 OPTARG=x, OPTIND=3, optc=?. 866 getopts kbfl optc 867 echo "line 2: ret=$?, optc=$optc, OPTIND=$OPTIND" 870 getopts kbfl optc 871 echo "line 4: ret=$?, optc=$optc, OPTIND=$OPTIND" 874 getopts kbfl optc [all …]
|
| /openbsd-src/sys/dev/pci/drm/amd/display/dc/ |
| H A D | dc_trace.h | 43 #define TRACE_OPTC_LOCK_UNLOCK_STATE(optc, inst, lock) \ argument 44 trace_dcn_optc_lock_unlock_state(optc, inst, lock, __func__, __LINE__)
|
| /openbsd-src/gnu/usr.bin/binutils/binutils/ |
| H A D | strings.c | 159 int optc; in main() local 181 while ((optc = getopt_long (argc, argv, "afhHn:ot:e:Vv0123456789", in main() 184 switch (optc) in main() 252 string_min = optc - '0'; in main() 254 string_min = string_min * 10 + optc - '0'; in main()
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/gas/ |
| H A D | as.c | 521 int optc = getopt_long_only (old_argc, old_argv, shortopts, longopts, in parse_args() local 524 if (optc == -1) in parse_args() 527 switch (optc) in parse_args() 532 if (md_parse_option (optc, optarg) != 0) in parse_args() 536 if (optc == 'v') in parse_args() 555 as_bad (_("unrecognized option -%c%s"), optc, optarg ? optarg : ""); in parse_args() 681 && md_parse_option (optc, optarg)) in parse_args() 801 if (md_parse_option (optc, optarg) != 0) in parse_args()
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/binutils/ |
| H A D | strings.c | 176 int optc; in main() local 201 while ((optc = getopt_long (argc, argv, "afhHn:ot:e:Vv0123456789", in main() 204 switch (optc) in main() 272 string_min = optc - '0'; in main() 274 string_min = string_min * 10 + optc - '0'; in main()
|
| /openbsd-src/gnu/usr.bin/binutils/gas/ |
| H A D | as.c | 490 int optc = getopt_long_only (old_argc, old_argv, shortopts, longopts, in parse_args() local 493 if (optc == -1) in parse_args() 496 switch (optc) in parse_args() 501 if (md_parse_option (optc, optarg) != 0) in parse_args() 505 if (optc == 'v') in parse_args() 737 if (md_parse_option (optc, optarg) != 0) in parse_args()
|