Searched refs:current_mode (Results 1 - 25 of 94) sorted by relevance

1234

/linux-master/arch/powerpc/platforms/pasemi/
H A Didle.c30 static int current_mode = 0; variable
70 current_mode = 0;
74 ppc_md.power_save = modes[current_mode].entry;
75 pr_info("Using PA6T idle loop (%s)\n", modes[current_mode].name);
86 current_mode = i;
/linux-master/include/uapi/linux/
H A Dpps.h72 int current_mode; /* current mode bits */ member in struct:pps_kinfo
80 int current_mode; /* current mode bits */ member in struct:pps_kinfo_compat
/linux-master/drivers/net/ethernet/intel/igc/
H A Digc_mac.c92 if (hw->fc.current_mode & igc_fc_tx_pause) {
139 hw->fc.current_mode = hw->fc.requested_mode;
141 hw_dbg("After fix-ups FlowControl is now = %x\n", hw->fc.current_mode);
189 * according to the "hw->fc.current_mode" parameter.
200 hw_dbg("hw->fc.current_mode = %u\n", hw->fc.current_mode);
202 switch (hw->fc.current_mode) {
551 hw->fc.current_mode = igc_fc_full;
554 hw->fc.current_mode = igc_fc_rx_pause;
570 hw->fc.current_mode
[all...]
/linux-master/arch/arm64/kernel/
H A Darmv8_deprecated.c51 int current_mode; member in struct:insn_emulation
464 bool enable = READ_ONCE(insn->current_mode) == INSN_HW;
492 switch (insn->current_mode) {
512 struct insn_emulation *insn = container_of(table->data, struct insn_emulation, current_mode);
513 enum insn_emulation_mode prev_mode = insn->current_mode;
518 if (ret || !write || prev_mode == insn->current_mode)
524 WRITE_ONCE(insn->current_mode, prev_mode);
540 insn->current_mode = INSN_EMULATE;
546 insn->current_mode = INSN_UNDEF;
550 insn->current_mode
[all...]
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_lspcon.c146 enum drm_lspcon_mode current_mode; local
149 if (drm_lspcon_get_mode(intel_dp->aux.drm_dev, ddc, &current_mode)) {
153 return current_mode;
173 enum drm_lspcon_mode current_mode; local
175 current_mode = lspcon_get_current_mode(lspcon);
176 if (current_mode == mode)
182 wait_for((current_mode = lspcon_get_current_mode(lspcon)) == mode,
184 if (current_mode != mode)
189 lspcon_mode_name(current_mode));
191 return current_mode;
200 enum drm_lspcon_mode current_mode; local
[all...]
/linux-master/drivers/net/ethernet/intel/igb/
H A De1000_mac.c701 hw->fc.current_mode = hw->fc.requested_mode;
703 hw_dbg("After fix-ups FlowControl is now = %x\n", hw->fc.current_mode);
768 if (hw->fc.current_mode & e1000_fc_tx_pause) {
850 * according to the "hw->fc.current_mode" parameter.
861 hw_dbg("hw->fc.current_mode = %u\n", hw->fc.current_mode);
863 switch (hw->fc.current_mode) {
1006 hw->fc.current_mode = e1000_fc_full;
1009 hw->fc.current_mode = e1000_fc_rx_pause;
1024 hw->fc.current_mode
[all...]
/linux-master/drivers/net/ethernet/intel/e1000e/
H A Dmac.c688 hw->fc.current_mode = hw->fc.requested_mode;
690 e_dbg("After fix-ups FlowControl is now = %x\n", hw->fc.current_mode);
740 switch (hw->fc.current_mode) {
912 if (hw->fc.current_mode & e1000_fc_tx_pause) {
951 * according to the "hw->fc.current_mode" parameter.
962 e_dbg("hw->fc.current_mode = %u\n", hw->fc.current_mode);
964 switch (hw->fc.current_mode) {
1102 hw->fc.current_mode = e1000_fc_full;
1105 hw->fc.current_mode
[all...]
/linux-master/include/linux/
H A Dlp.h64 unsigned int current_mode; member in struct:lp_struct
H A Dpps_kernel.h52 int current_mode; /* PPS mode at event time */ member in struct:pps_device
H A Dcoresight.h602 enum cs_mode current_mode = coresight_get_mode(csdev); local
609 WARN(new_mode != CS_MODE_DISABLED && current_mode != CS_MODE_DISABLED &&
610 current_mode != new_mode, "Device already in use\n");
/linux-master/include/video/
H A Dudlfb.h64 struct fb_var_screeninfo current_mode; member in struct:dlfb_data
/linux-master/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_dwb_cm.c238 enum dc_lut_mode current_mode; local
251 current_mode = dwb3_get_ogam_current(dwbc30);
252 if (current_mode == LUT_BYPASS || current_mode == LUT_RAM_A)
369 unsigned int current_mode; local
376 REG_GET(DWB_GAMUT_REMAP_MODE, DWB_GAMUT_REMAP_MODE_CURRENT, &current_mode);
378 if (current_mode == CM_GAMUT_REMAP_MODE_RAMA_COEFF) {
H A Ddcn30_dpp_cm.c218 enum dc_lut_mode current_mode; local
234 current_mode = dpp30_get_gamcor_current(dpp_base);
235 if (current_mode == LUT_BYPASS || current_mode == LUT_RAM_A)
/linux-master/drivers/platform/x86/amd/pmf/
H A Dauto-mode.c185 state_as_str(config_store.current_mode));
200 state_as_str(config_store.current_mode));
214 if (config_store.current_mode !=
216 config_store.current_mode =
219 state_as_str(config_store.current_mode));
220 amd_pmf_set_automode(dev, config_store.current_mode, NULL);
230 int mode = config_store.current_mode;
404 config_store.current_mode = AUTO_BALANCE;
429 amd_pmf_set_automode(dev, config_store.current_mode, NULL);
H A Dcnqf.c163 amd_pmf_set_cnqf(dev, src, config_store.current_mode, NULL);
204 avg_power, socket_power, state_as_str(config_store.current_mode));
221 if (config_store.current_mode !=
223 config_store.current_mode =
226 state_as_str(config_store.current_mode));
228 config_store.current_mode, NULL);
376 config_store.current_mode = CNQF_MODE_BALANCE;
397 amd_pmf_set_cnqf(pdev, src, config_store.current_mode, NULL);
463 amd_pmf_set_cnqf(dev, src, config_store.current_mode, NULL);
/linux-master/drivers/media/usb/gspca/
H A Dstv0680.c32 u8 current_mode; member in struct:sd
98 if (sd->current_mode == mode)
115 sd->current_mode = mode;
185 sd->current_mode = sd->orig_mode = ret;
/linux-master/include/drm/display/
H A Ddrm_dp_dual_mode_helper.h118 enum drm_lspcon_mode *current_mode);
/linux-master/drivers/gpu/drm/display/
H A Ddrm_dp_dual_mode_helper.c443 * 0 on success, sets the current_mode value to appropriate mode
499 enum drm_lspcon_mode current_mode; local
518 ret = drm_lspcon_get_mode(dev, adapter, &current_mode);
523 if (current_mode != mode) {
/linux-master/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_mpc.c404 enum dc_lut_mode current_mode,
418 if (current_mode == LUT_BYPASS)
432 enum dc_lut_mode current_mode; local
446 current_mode = mpc20_get_ogam_current(mpc, mpcc_id);
447 if (current_mode == LUT_BYPASS || current_mode == LUT_RAM_A)
460 apply_DEDCN20_305_wa(mpc, mpcc_id, current_mode, next_mode);
403 apply_DEDCN20_305_wa(struct mpc *mpc, int mpcc_id, enum dc_lut_mode current_mode, enum dc_lut_mode next_mode) argument
/linux-master/drivers/media/i2c/
H A Dov7251.c142 const struct ov7251_mode_info *current_mode; member in struct:ov7251
1019 vts[0] = ((ov7251->current_mode->height + vblank) & 0xff00) >> 8;
1020 vts[1] = ((ov7251->current_mode->height + vblank) & 0x00ff);
1035 exposure_max = ov7251->current_mode->height + ctrl->val -
1188 const struct ov7251_mode_info *mode = ov7251->current_mode;
1262 ov7251->current_mode = new_mode;
1356 ov7251->current_mode->data,
1357 ov7251->current_mode->data_size);
1360 ov7251->current_mode->width,
1361 ov7251->current_mode
[all...]
H A Dimx290.c239 const struct imx290_mode *current_mode; member in struct:imx290
626 const struct imx290_mode *mode = imx290->current_mode;
673 switch (link_freqs[imx290->current_mode->link_freq_index]) {
753 imx290_exposure_update(imx290, imx290->current_mode);
770 ctrl->val + imx290->current_mode->height, NULL);
781 vmax = imx290->vblank->val + imx290->current_mode->height;
804 ctrl->val + imx290->current_mode->width, NULL);
812 reg = imx290->current_mode->ctrl_07;
1005 ret = imx290_set_register_array(imx290, imx290->current_mode->data,
1006 imx290->current_mode
[all...]
/linux-master/drivers/media/usb/dvb-usb-v2/
H A Dmxl111sf.h72 enum mxl111sf_current_mode current_mode; member in struct:mxl111sf_state
/linux-master/drivers/pps/
H A Dpps.c196 fdata.info.current_mode = pps->current_mode;
280 compat.info.current_mode = pps->current_mode;
/linux-master/drivers/gpu/drm/rockchip/
H A Drk3066_hdmi.c112 u8 current_mode, next_mode; local
115 current_mode = rk3066_hdmi_get_power_mode(hdmi);
118 DRM_DEV_DEBUG(hdmi->dev, "current_mode :%d\n", current_mode);
120 if (current_mode == mode)
124 if (current_mode > mode) {
125 next_mode = current_mode / 2;
127 if (current_mode < HDMI_SYS_POWER_MODE_A)
130 next_mode = current_mode * 2;
150 current_mode
[all...]
/linux-master/drivers/char/
H A Dlp.c285 if (lp_table[minor].current_mode != IEEE1284_MODE_COMPAT) {
336 lp_table[minor].current_mode = lp_negotiate(port,
367 lp_table[minor].current_mode = IEEE1284_MODE_COMPAT;
382 lp_table[minor].current_mode
407 lp_table[minor].current_mode = IEEE1284_MODE_COMPAT;
562 lp_table[minor].current_mode = IEEE1284_MODE_COMPAT;
574 lp_table[minor].current_mode = IEEE1284_MODE_COMPAT;

Completed in 259 milliseconds

1234