| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/display/ |
| H A D | intel_lspcon.c | 109 enum drm_lspcon_mode current_mode; in lspcon_get_current_mode() local 112 if (drm_lspcon_get_mode(adapter, ¤t_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 …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/pasemi/ |
| H A D | idle.c | 30 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igc/ |
| H A D | igc_mac.c | 92 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 …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/kernel/ |
| H A D | armv8_deprecated.c | 54 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igb/ |
| H A D | e1000_mac.c | 670 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/e1000e/ |
| H A D | mac.c | 690 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 …]
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_10.0.2/ |
| H A D | 0033-backend-drm-Support-setting-interlaced-mode.patch | 22 mode = to_drm_mode(output->base.current_mode); 57 src_aspect = output->base.current_mode->aspect_ratio; 58 - if (output->base.current_mode->width == target_mode->width && 59 - output->base.current_mode->height == target_mode->height && 60 + if (!strcmp(WESTON_MODE_NAME(output->base.current_mode), 62 (output->base.current_mode->refresh == target_mode->refresh ||
|
| H A D | 0014-backend-drm-Support-virtual-screen-size.patch | 121 + mode = to_drm_mode(output->base.current_mode); 124 - scanout_state->dest_w = output->base.current_mode->width; 125 - scanout_state->dest_h = output->base.current_mode->height; 279 - (unsigned) (output->base.current_mode->width << 16)); 281 - (unsigned) (output->base.current_mode->height << 16)); 289 mode = to_drm_mode(output->base.current_mode); 407 + output->base.current_mode->width, 408 + output->base.current_mode->height);
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_11.0.1/ |
| H A D | 0036-backend-drm-Support-setting-interlaced-mode.patch | 22 mode = to_drm_mode(output->base.current_mode); 58 src_aspect = output->base.current_mode->aspect_ratio; 59 - if (output->base.current_mode->width == target_mode->width && 60 - output->base.current_mode->height == target_mode->height && 61 + if (!strcmp(WESTON_MODE_NAME(output->base.current_mode), 63 (output->base.current_mode->refresh == target_mode->refresh ||
|
| H A D | 0016-backend-drm-Support-virtual-screen-size.patch | 113 + mode = to_drm_mode(output->base.current_mode); 116 - scanout_state->dest_w = output->base.current_mode->width; 117 - scanout_state->dest_h = output->base.current_mode->height; 265 - (unsigned) (output->base.current_mode->width << 16)); 267 - (unsigned) (output->base.current_mode->height << 16)); 275 mode = to_drm_mode(output->base.current_mode); 393 + output->base.current_mode->width, 394 + output->base.current_mode->height);
|
| /OK3568_Linux_fs/buildroot/package/weston/ |
| H A D | 0036-backend-drm-Support-setting-interlaced-mode.patch | 22 mode = to_drm_mode(output->base.current_mode); 58 src_aspect = output->base.current_mode->aspect_ratio; 59 - if (output->base.current_mode->width == target_mode->width && 60 - output->base.current_mode->height == target_mode->height && 61 + if (!strcmp(WESTON_MODE_NAME(output->base.current_mode), 63 (output->base.current_mode->refresh == target_mode->refresh ||
|
| H A D | 0016-backend-drm-Support-virtual-screen-size.patch | 113 + mode = to_drm_mode(output->base.current_mode); 116 - scanout_state->dest_w = output->base.current_mode->width; 117 - scanout_state->dest_h = output->base.current_mode->height; 265 - (unsigned) (output->base.current_mode->width << 16)); 267 - (unsigned) (output->base.current_mode->height << 16)); 275 mode = to_drm_mode(output->base.current_mode); 393 + output->base.current_mode->width, 394 + output->base.current_mode->height);
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dcn30/ |
| H A D | dcn30_dwb_cm.c | 238 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, ¤t_mode); in dwb3_set_gamut_remap() 375 if (current_mode == CM_GAMUT_REMAP_MODE_RAMA_COEFF) { in dwb3_set_gamut_remap()
|
| H A D | dcn30_dpp_cm.c | 223 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()
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/ |
| H A D | ov5645.c | 102 const struct ov5645_mode_info *current_mode; member 1001 ov5645->current_mode = new_mode; in ov5645_set_format() 1067 ov5645->current_mode->data, in ov5645_s_stream() 1068 ov5645->current_mode->data_size); in ov5645_s_stream() 1071 ov5645->current_mode->width, in ov5645_s_stream() 1072 ov5645->current_mode->height); in ov5645_s_stream() 1107 const struct ov5645_mode_info *mode = ov5645->current_mode; in ov5645_g_frame_interval() 1132 ch_info->width = ov5645->current_mode->width; in ov5645_ioctl() 1133 ch_info->height = ov5645->current_mode->height; in ov5645_ioctl() 1141 ov5645->current_mode->data, in ov5645_ioctl() [all …]
|
| H A D | imx290.c | 75 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()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/ |
| H A D | rk3066_hdmi.c | 103 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()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dcn20/ |
| H A D | dcn20_mpc.c | 406 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()
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/gspca/ |
| H A D | stv0680.c | 32 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()
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | pps.h | 72 int current_mode; /* current mode bits */ member 80 int current_mode; /* current mode bits */ member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | pps.h | 72 int current_mode; /* current mode bits */ member 80 int current_mode; /* current mode bits */ member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | pps.h | 72 int current_mode; /* current mode bits */ member 80 int current_mode; /* current mode bits */ member
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_dp_dual_mode_helper.c | 494 enum drm_lspcon_mode current_mode; in drm_lspcon_set_mode() local 513 ret = drm_lspcon_get_mode(adapter, ¤t_mode); in drm_lspcon_set_mode() 518 if (current_mode != mode) { in drm_lspcon_set_mode()
|
| /OK3568_Linux_fs/kernel/drivers/pps/ |
| H A D | pps.c | 196 fdata.info.current_mode = pps->current_mode; in pps_cdev_ioctl() 280 compat.info.current_mode = pps->current_mode; in pps_cdev_compat_ioctl()
|
| /OK3568_Linux_fs/kernel/drivers/char/ |
| H A D | lp.c | 283 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()
|