/openbmc/u-boot/drivers/usb/common/ |
H A D | fsl-dt-fixup.c | 152 int mode_idx = -1, phy_idx = -1; in fsl_fdt_fixup_dr_usb() local 159 mode_idx = j; in fsl_fdt_fixup_dr_usb() 172 if (mode_idx < 0 && phy_idx < 0) { in fsl_fdt_fixup_dr_usb() 177 if (mode_idx > -1) in fsl_fdt_fixup_dr_usb() 178 dr_mode_type = modes[mode_idx]; in fsl_fdt_fixup_dr_usb()
|
/openbmc/linux/sound/soc/mediatek/mt8186/ |
H A D | mt8186-misc-control.c | 94 int mode_idx; in mt8186_sgen_set() local 100 mode_idx = mt8186_sgen_mode_idx[mode]; in mt8186_sgen_set() 103 __func__, mode, mode_idx); in mt8186_sgen_set() 108 if (mode_idx >= 0) { in mt8186_sgen_set() 111 mode_idx << INNER_LOOP_BACK_MODE_SFT); in mt8186_sgen_set()
|
/openbmc/linux/drivers/gpu/drm/sti/ |
H A D | sti_hda.c | 430 u32 val, i, mode_idx; in sti_hda_pre_enable() local 446 if (!hda_get_mode_idx(hda->mode, &mode_idx)) { in sti_hda_pre_enable() 451 switch (hda_supported_modes[mode_idx].vid_cat) { in sti_hda_pre_enable() 478 DRM_DEBUG_DRIVER("Using HDA mode #%d\n", mode_idx); in sti_hda_pre_enable() 505 sti_hda_configure_awg(hda, hda_supported_modes[mode_idx].awg_instr, in sti_hda_pre_enable() 506 hda_supported_modes[mode_idx].nb_instr); in sti_hda_pre_enable() 521 u32 mode_idx; in sti_hda_set_mode() local 529 if (!hda_get_mode_idx(hda->mode, &mode_idx)) { in sti_hda_set_mode() 534 switch (hda_supported_modes[mode_idx].vid_cat) { in sti_hda_set_mode()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | rt1011.c | 1120 unsigned int i, mode_idx = 0; in rt1011_bq_drc_coeff_get() local 1123 mode_idx = RT1011_ADVMODE_INITIAL_SET; in rt1011_bq_drc_coeff_get() 1125 mode_idx = RT1011_ADVMODE_SEP_BQ_COEFF; in rt1011_bq_drc_coeff_get() 1127 mode_idx = RT1011_ADVMODE_EQ_BQ_COEFF; in rt1011_bq_drc_coeff_get() 1129 mode_idx = RT1011_ADVMODE_BQ_UI_COEFF; in rt1011_bq_drc_coeff_get() 1131 mode_idx = RT1011_ADVMODE_SMARTBOOST_COEFF; in rt1011_bq_drc_coeff_get() 1136 ucontrol->id.name, mode_idx); in rt1011_bq_drc_coeff_get() 1137 bq_drc_info = rt1011->bq_drc_params[mode_idx]; in rt1011_bq_drc_coeff_get() 1157 unsigned int i, mode_idx = 0; in rt1011_bq_drc_coeff_put() local 1160 mode_idx = RT1011_ADVMODE_INITIAL_SET; in rt1011_bq_drc_coeff_put() [all …]
|
/openbmc/linux/drivers/cpufreq/ |
H A D | amd-pstate.c | 1162 int mode_idx; in amd_pstate_update_status() local 1167 mode_idx = get_mode_idx_from_str(buf, size); in amd_pstate_update_status() 1169 if (mode_idx < 0 || mode_idx >= AMD_PSTATE_MAX) in amd_pstate_update_status() 1172 if (mode_state_machine[cppc_state][mode_idx]) in amd_pstate_update_status() 1173 return mode_state_machine[cppc_state][mode_idx](mode_idx); in amd_pstate_update_status() 1599 static int __init amd_pstate_set_driver(int mode_idx) in amd_pstate_set_driver() argument 1601 if (mode_idx >= AMD_PSTATE_DISABLE && mode_idx < AMD_PSTATE_MAX) { in amd_pstate_set_driver() 1602 cppc_state = mode_idx; in amd_pstate_set_driver() 1706 int mode_idx; in amd_pstate_param() local 1712 mode_idx = get_mode_idx_from_str(str, size); in amd_pstate_param() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | dvo_ns2501.c | 555 int mode_idx, i; in ns2501_mode_set() local 592 mode_idx = MODE_640x480; in ns2501_mode_set() 594 mode_idx = MODE_800x600; in ns2501_mode_set() 596 mode_idx = MODE_1024x768; in ns2501_mode_set() 610 conf = ns2501_modes + mode_idx; in ns2501_mode_set()
|
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/ |
H A D | omapfb-ioctl.c | 514 int mode_idx = mode->mode_idx; in omapfb_get_ovl_colormode() local 525 mode_idx = mode->mode_idx; in omapfb_get_ovl_colormode() 538 mode_idx--; in omapfb_get_ovl_colormode() 539 if (mode_idx < 0) in omapfb_get_ovl_colormode()
|
/openbmc/linux/include/video/ |
H A D | uvesafb.h | 134 int mode_idx; member
|
/openbmc/linux/include/uapi/linux/ |
H A D | omapfb.h | 191 __u8 mode_idx; member
|
/openbmc/linux/drivers/video/fbdev/sis/ |
H A D | sis_main.c | 595 int mode_idx, int rate_idx, int rate) in sisfb_verify_rate() argument 603 if(mode_idx < 0) in sisfb_verify_rate() 607 switch(sisbios_mode[mode_idx].mode_no[ivideo->mni]) { in sisfb_verify_rate() 631 sisbios_mode[mode_idx].mode_no[ivideo->mni], in sisfb_verify_rate() 718 sisfb_search_refresh_rate(struct sis_video_info *ivideo, unsigned int rate, int mode_idx) in sisfb_search_refresh_rate() argument 721 u16 xres = sisbios_mode[mode_idx].xres; in sisfb_search_refresh_rate() 722 u16 yres = sisbios_mode[mode_idx].yres; in sisfb_search_refresh_rate()
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | uvesafb.c | 930 int i = par->mode_idx; in uvesafb_setpalette() 1300 par->mode_idx = i; in uvesafb_set_par()
|