Home
last modified time | relevance | path

Searched refs:current_mode (Results 1 – 25 of 90) sorted by relevance

1234

/kernel/linux/linux-5.10/arch/powerpc/platforms/pasemi/
Didle.c30 static int current_mode = 0; variable
69 current_mode = 0; in pasemi_idle_init()
73 ppc_md.power_save = modes[current_mode].entry; in pasemi_idle_init()
74 pr_info("Using PA6T idle loop (%s)\n", modes[current_mode].name); in pasemi_idle_init()
85 current_mode = i; in idle_param()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_lspcon.c109 enum drm_lspcon_mode current_mode; in lspcon_get_current_mode() local
112 if (drm_lspcon_get_mode(adapter, &current_mode)) { in lspcon_get_current_mode()
116 return current_mode; in lspcon_get_current_mode()
122 enum drm_lspcon_mode current_mode; in lspcon_wait_mode() local
124 current_mode = lspcon_get_current_mode(lspcon); in lspcon_wait_mode()
125 if (current_mode == mode) in lspcon_wait_mode()
131 wait_for((current_mode = lspcon_get_current_mode(lspcon)) == mode, 400); in lspcon_wait_mode()
132 if (current_mode != mode) in lspcon_wait_mode()
137 lspcon_mode_name(current_mode)); in lspcon_wait_mode()
139 return current_mode; in lspcon_wait_mode()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
Digc_mac.c92 if (hw->fc.current_mode & igc_fc_tx_pause) { in igc_set_fc_watermarks()
139 hw->fc.current_mode = hw->fc.requested_mode; in igc_setup_link()
141 hw_dbg("After fix-ups FlowControl is now = %x\n", hw->fc.current_mode); in igc_setup_link()
200 hw_dbg("hw->fc.current_mode = %u\n", hw->fc.current_mode); in igc_force_mac_fc()
202 switch (hw->fc.current_mode) { in igc_force_mac_fc()
551 hw->fc.current_mode = igc_fc_full; in igc_config_fc_after_link_up()
554 hw->fc.current_mode = igc_fc_rx_pause; in igc_config_fc_after_link_up()
570 hw->fc.current_mode = igc_fc_tx_pause; in igc_config_fc_after_link_up()
584 hw->fc.current_mode = igc_fc_rx_pause; in igc_config_fc_after_link_up()
610 hw->fc.current_mode = igc_fc_none; in igc_config_fc_after_link_up()
[all …]
/kernel/linux/linux-5.10/arch/arm64/kernel/
Darmv8_deprecated.c54 int current_mode; member
128 bool enable = (insn->current_mode == INSN_HW); in run_all_insn_set_hw_mode()
156 switch (insn->current_mode) { in update_insn_emulation_mode()
186 insn->current_mode = INSN_EMULATE; in register_insn_emulation()
192 insn->current_mode = INSN_UNDEF; in register_insn_emulation()
211 struct insn_emulation *insn = container_of(table->data, struct insn_emulation, current_mode); in emulation_proc_handler()
212 enum insn_emulation_mode prev_mode = insn->current_mode; in emulation_proc_handler()
217 if (ret || !write || prev_mode == insn->current_mode) in emulation_proc_handler()
223 insn->current_mode = prev_mode; in emulation_proc_handler()
251 sysctl->data = &insn->current_mode; in register_insn_emulation_sysctl()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
De1000_mac.c670 hw->fc.current_mode = hw->fc.requested_mode; in igb_setup_link()
672 hw_dbg("After fix-ups FlowControl is now = %x\n", hw->fc.current_mode); in igb_setup_link()
737 if (hw->fc.current_mode & e1000_fc_tx_pause) { in igb_set_fc_watermarks()
830 hw_dbg("hw->fc.current_mode = %u\n", hw->fc.current_mode); in igb_force_mac_fc()
832 switch (hw->fc.current_mode) { in igb_force_mac_fc()
975 hw->fc.current_mode = e1000_fc_full; in igb_config_fc_after_link_up()
978 hw->fc.current_mode = e1000_fc_rx_pause; in igb_config_fc_after_link_up()
993 hw->fc.current_mode = e1000_fc_tx_pause; in igb_config_fc_after_link_up()
1007 hw->fc.current_mode = e1000_fc_rx_pause; in igb_config_fc_after_link_up()
1033 hw->fc.current_mode = e1000_fc_none; in igb_config_fc_after_link_up()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/
Dmac.c690 hw->fc.current_mode = hw->fc.requested_mode; in e1000e_setup_link_generic()
692 e_dbg("After fix-ups FlowControl is now = %x\n", hw->fc.current_mode); in e1000e_setup_link_generic()
742 switch (hw->fc.current_mode) { in e1000_commit_fc_settings_generic()
914 if (hw->fc.current_mode & e1000_fc_tx_pause) { in e1000e_set_fc_watermarks()
964 e_dbg("hw->fc.current_mode = %u\n", hw->fc.current_mode); in e1000e_force_mac_fc()
966 switch (hw->fc.current_mode) { in e1000e_force_mac_fc()
1104 hw->fc.current_mode = e1000_fc_full; in e1000e_config_fc_after_link_up()
1107 hw->fc.current_mode = e1000_fc_rx_pause; in e1000e_config_fc_after_link_up()
1122 hw->fc.current_mode = e1000_fc_tx_pause; in e1000e_config_fc_after_link_up()
1136 hw->fc.current_mode = e1000_fc_rx_pause; in e1000e_config_fc_after_link_up()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dwb_cm.c238 enum dc_lut_mode current_mode; in dwb3_program_ogam_lut() local
248 current_mode = dwb3_get_ogam_current(dwbc30); in dwb3_program_ogam_lut()
249 if (current_mode == LUT_BYPASS || current_mode == LUT_RAM_A) in dwb3_program_ogam_lut()
366 unsigned int current_mode; in dwb3_set_gamut_remap() local
373 REG_GET(DWB_GAMUT_REMAP_MODE, DWB_GAMUT_REMAP_MODE_CURRENT, &current_mode); in dwb3_set_gamut_remap()
375 if (current_mode == CM_GAMUT_REMAP_MODE_RAMA_COEFF) { in dwb3_set_gamut_remap()
Ddcn30_dpp_cm.c223 enum dc_lut_mode current_mode; in dpp3_program_gamcor_lut() local
237 current_mode = dpp30_get_gamcor_current(dpp_base); in dpp3_program_gamcor_lut()
238 if (current_mode == LUT_BYPASS || current_mode == LUT_RAM_A) in dpp3_program_gamcor_lut()
Ddcn30_dpp.c672 enum dc_lut_mode current_mode; in dpp3_program_blnd_lut() local
681 current_mode = dpp3_get_blndgam_current(dpp_base); in dpp3_program_blnd_lut()
682 if (current_mode == LUT_BYPASS || current_mode == LUT_RAM_B) in dpp3_program_blnd_lut()
1084 enum dc_lut_mode current_mode; in dpp3_program_shaper() local
1093 current_mode = dpp3_get_shaper_current(dpp_base); in dpp3_program_shaper()
1095 if (current_mode == LUT_BYPASS || current_mode == LUT_RAM_A) in dpp3_program_shaper()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dpps.h30 int current_mode; member
37 int current_mode; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dpps.h72 int current_mode; /* current mode bits */ member
80 int current_mode; /* current mode bits */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dpps.h43 int current_mode; member
50 int current_mode; member
/kernel/linux/linux-5.10/drivers/media/i2c/
Dov7251.c77 const struct ov7251_mode_info *current_mode; member
1003 const struct ov7251_mode_info *mode = ov7251->current_mode; in ov7251_find_mode_by_ival()
1077 ov7251->current_mode = new_mode; in ov7251_set_format()
1143 ov7251->current_mode->data, in ov7251_s_stream()
1144 ov7251->current_mode->data_size); in ov7251_s_stream()
1147 ov7251->current_mode->width, in ov7251_s_stream()
1148 ov7251->current_mode->height); in ov7251_s_stream()
1175 fi->interval = ov7251->current_mode->timeperframe; in ov7251_get_frame_interval()
1191 if (new_mode != ov7251->current_mode) { in ov7251_set_frame_interval()
1217 ov7251->current_mode = new_mode; in ov7251_set_frame_interval()
[all …]
Dov5645.c99 const struct ov5645_mode_info *current_mode; member
942 ov5645->current_mode = new_mode; in ov5645_set_format()
993 ov5645->current_mode->data, in ov5645_s_stream()
994 ov5645->current_mode->data_size); in ov5645_s_stream()
997 ov5645->current_mode->width, in ov5645_s_stream()
998 ov5645->current_mode->height); in ov5645_s_stream()
Dimx290.c75 const struct imx290_mode *current_mode; member
576 return imx290->current_mode->link_freq_index; in imx290_get_link_freq_index()
630 imx290->current_mode = mode; in imx290_set_fmt()
734 ret = imx290_set_register_array(imx290, imx290->current_mode->data, in imx290_start_streaming()
735 imx290->current_mode->data_size); in imx290_start_streaming()
740 ret = imx290_set_hmax(imx290, imx290->current_mode->hmax); in imx290_start_streaming()
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
Drk3066_hdmi.c103 u8 current_mode, next_mode; in rk3066_hdmi_set_power_mode() local
106 current_mode = rk3066_hdmi_get_power_mode(hdmi); in rk3066_hdmi_set_power_mode()
109 DRM_DEV_DEBUG(hdmi->dev, "current_mode :%d\n", current_mode); in rk3066_hdmi_set_power_mode()
111 if (current_mode == mode) in rk3066_hdmi_set_power_mode()
115 if (current_mode > mode) { in rk3066_hdmi_set_power_mode()
116 next_mode = current_mode / 2; in rk3066_hdmi_set_power_mode()
118 if (current_mode < HDMI_SYS_POWER_MODE_A) in rk3066_hdmi_set_power_mode()
121 next_mode = current_mode * 2; in rk3066_hdmi_set_power_mode()
141 current_mode = next_mode; in rk3066_hdmi_set_power_mode()
/kernel/linux/linux-5.10/drivers/media/usb/gspca/
Dstv0680.c32 u8 current_mode; member
98 if (sd->current_mode == mode) in stv0680_set_video_mode()
115 sd->current_mode = mode; in stv0680_set_video_mode()
185 sd->current_mode = sd->orig_mode = ret; in sd_config()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_mpc.c406 int mpcc_id, enum dc_lut_mode current_mode, in apply_DEDCN20_305_wa() argument
420 if (current_mode == LUT_BYPASS) in apply_DEDCN20_305_wa()
434 enum dc_lut_mode current_mode; in mpc2_set_output_gamma() local
448 current_mode = mpc20_get_ogam_current(mpc, mpcc_id); in mpc2_set_output_gamma()
449 if (current_mode == LUT_BYPASS || current_mode == LUT_RAM_A) in mpc2_set_output_gamma()
462 apply_DEDCN20_305_wa(mpc, mpcc_id, current_mode, next_mode); in mpc2_set_output_gamma()
Ddcn20_dpp_cm.c470 enum dc_lut_mode current_mode; in dpp20_program_blnd_lut() local
478 current_mode = dpp20_get_blndgam_current(dpp_base); in dpp20_program_blnd_lut()
479 if (current_mode == LUT_BYPASS || current_mode == LUT_RAM_A) in dpp20_program_blnd_lut()
880 enum dc_lut_mode current_mode; in dpp20_program_shaper() local
889 current_mode = dpp20_get_shaper_current(dpp_base); in dpp20_program_shaper()
891 if (current_mode == LUT_BYPASS || current_mode == LUT_RAM_A) in dpp20_program_shaper()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_dp_dual_mode_helper.c494 enum drm_lspcon_mode current_mode; in drm_lspcon_set_mode() local
513 ret = drm_lspcon_get_mode(adapter, &current_mode); in drm_lspcon_set_mode()
518 if (current_mode != mode) { in drm_lspcon_set_mode()
/kernel/linux/linux-5.10/drivers/pps/
Dpps.c196 fdata.info.current_mode = pps->current_mode; in pps_cdev_ioctl()
280 compat.info.current_mode = pps->current_mode; in pps_cdev_compat_ioctl()
/kernel/linux/linux-5.10/drivers/char/
Dlp.c283 if (lp_table[minor].current_mode != IEEE1284_MODE_COMPAT) { in lp_wait_ready()
334 lp_table[minor].current_mode = lp_negotiate(port, in lp_write()
365 lp_table[minor].current_mode = IEEE1284_MODE_COMPAT; in lp_write()
380 lp_table[minor].current_mode in lp_write()
405 lp_table[minor].current_mode = IEEE1284_MODE_COMPAT; in lp_write()
560 lp_table[minor].current_mode = IEEE1284_MODE_COMPAT; in lp_open()
572 lp_table[minor].current_mode = IEEE1284_MODE_COMPAT; in lp_release()
/kernel/linux/linux-5.10/drivers/misc/cxl/
Dnative.c110 if (afu->current_mode == 0) { in native_afu_reset()
570 afu->current_mode = CXL_MODE_DIRECTED; in activate_afu_directed()
790 afu->current_mode = 0; in deactivate_afu_directed()
850 afu->current_mode = CXL_MODE_DEDICATED; in cxl_activate_dedicated_process_psl9()
872 afu->current_mode = CXL_MODE_DEDICATED; in cxl_activate_dedicated_process_psl8()
970 afu->current_mode = 0; in deactivate_dedicated_process()
1017 if ((ctx->afu->current_mode == CXL_MODE_DIRECTED) && in native_attach_process()
1021 if ((ctx->afu->current_mode == CXL_MODE_DEDICATED) && in native_attach_process()
1054 if (ctx->afu->current_mode == CXL_MODE_DIRECTED) in native_update_ivtes()
1056 if ((ctx->afu->current_mode == CXL_MODE_DEDICATED) && in native_update_ivtes()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dlp.h64 unsigned int current_mode; member
/kernel/linux/linux-5.10/include/drm/
Ddrm_dp_dual_mode_helper.h116 enum drm_lspcon_mode *current_mode);

1234