| /linux/arch/powerpc/platforms/pasemi/ |
| H A D | idle.c | 30 static int current_mode = 0; variable 70 current_mode = 0; in pasemi_idle_init() 74 ppc_md.power_save = modes[current_mode].entry; in pasemi_idle_init() 75 pr_info("Using PA6T idle loop (%s)\n", modes[current_mode].name); in pasemi_idle_init() 86 current_mode = i; in idle_param()
|
| /linux/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() 455 hw->fc.current_mode = igc_fc_none; in igc_config_fc_after_link_up() 539 hw->fc.current_mode = igc_fc_full; in igc_config_fc_after_link_up() 542 hw->fc.current_mode = igc_fc_rx_pause; in igc_config_fc_after_link_up() 558 hw->fc.current_mode = igc_fc_tx_pause; in igc_config_fc_after_link_up() 572 hw->fc.current_mode = igc_fc_rx_pause; in igc_config_fc_after_link_up() [all …]
|
| H A D | igc_hw.h | 177 enum igc_fc_mode current_mode; /* Type of flow control */ member
|
| /linux/drivers/platform/x86/dell/ |
| H A D | dell-pc.c | 231 int current_mode; in thermal_platform_profile_probe() local 243 current_mode = thermal_get_mode(); in thermal_platform_profile_probe() 244 if (current_mode < 0) in thermal_platform_profile_probe() 245 return current_mode; in thermal_platform_profile_probe() 247 thermal_set_mode(current_mode); in thermal_platform_profile_probe()
|
| /linux/drivers/platform/x86/lenovo/ |
| H A D | wmi-gamezone.c | 33 enum thermal_mode current_mode; member 36 spinlock_t gz_mode_lock; /* current_mode lock */ 72 **mode = priv->current_mode; in lwmi_gz_mode_call() 87 * For LWMI_EVENT_THERMAL_MODE, set current_mode and notify platform_profile 103 priv->current_mode = *mode; in lwmi_gz_event_call() 183 priv->current_mode = mode; in lwmi_gz_profile_get() 235 priv->current_mode = mode; in lwmi_gz_profile_set() 374 ret = lwmi_gz_thermal_mode_get(wdev, &priv->current_mode); in lwmi_gz_probe()
|
| /linux/drivers/net/ethernet/intel/e1000e/ |
| H A D | mac.c | 701 hw->fc.current_mode = hw->fc.requested_mode; in e1000e_setup_link_generic() 703 e_dbg("After fix-ups FlowControl is now = %x\n", hw->fc.current_mode); in e1000e_setup_link_generic() 753 switch (hw->fc.current_mode) { in e1000_commit_fc_settings_generic() 925 if (hw->fc.current_mode & e1000_fc_tx_pause) { in e1000e_set_fc_watermarks() 975 e_dbg("hw->fc.current_mode = %u\n", hw->fc.current_mode); in e1000e_force_mac_fc() 977 switch (hw->fc.current_mode) { in e1000e_force_mac_fc() 1115 hw->fc.current_mode = e1000_fc_full; in e1000e_config_fc_after_link_up() 1118 hw->fc.current_mode = e1000_fc_rx_pause; in e1000e_config_fc_after_link_up() 1133 hw->fc.current_mode = e1000_fc_tx_pause; in e1000e_config_fc_after_link_up() 1147 hw->fc.current_mode = e1000_fc_rx_pause; in e1000e_config_fc_after_link_up() [all …]
|
| /linux/drivers/media/i2c/ |
| H A D | ov7251.c | 141 const struct ov7251_mode_info *current_mode; member 1020 vts[0] = ((ov7251->current_mode->height + vblank) & 0xff00) >> 8; in ov7251_vts_configure() 1021 vts[1] = ((ov7251->current_mode->height + vblank) & 0x00ff); in ov7251_vts_configure() 1036 exposure_max = ov7251->current_mode->height + ctrl->val - in ov7251_s_ctrl() 1189 const struct ov7251_mode_info *mode = ov7251->current_mode; in ov7251_find_mode_by_ival() 1264 ov7251->current_mode = new_mode; in ov7251_set_format() 1359 ov7251->current_mode->data, in ov7251_s_stream() 1360 ov7251->current_mode->data_size); in ov7251_s_stream() 1363 ov7251->current_mode->width, in ov7251_s_stream() 1364 ov7251->current_mode in ov7251_s_stream() [all...] |
| H A D | ov5640.c | 454 const struct ov5640_mode_info *current_mode; member 1551 const struct ov5640_mode_info *mode = sensor->current_mode; in ov5640_calc_pixel_rate() 2323 const struct ov5640_mode_info *mode = sensor->current_mode; in ov5640_set_mode() 2854 const struct ov5640_mode_info *mode = sensor->current_mode; in __v4l2_ctrl_vblank_update() 2864 const struct ov5640_mode_info *mode = sensor->current_mode; in ov5640_update_pixel_rate() 2978 if (new_mode != sensor->current_mode) { in ov5640_set_fmt() 2980 sensor->current_mode = new_mode; in ov5640_set_fmt() 3002 const struct ov5640_mode_info *mode = sensor->current_mode; in ov5640_get_selection() 3312 const struct ov5640_mode_info *mode = sensor->current_mode; in ov5640_set_ctrl_vblank() 3354 const struct ov5640_mode_info *mode = sensor->current_mode; in ov5640_s_ctrl() [all...] |
| /linux/drivers/platform/x86/amd/pmf/ |
| H A D | auto-mode.c | 185 state_as_str(config_store.current_mode)); in amd_pmf_trans_automode() 200 state_as_str(config_store.current_mode)); in amd_pmf_trans_automode() 214 if (config_store.current_mode != in amd_pmf_trans_automode() 216 config_store.current_mode = in amd_pmf_trans_automode() 219 state_as_str(config_store.current_mode)); in amd_pmf_trans_automode() 220 amd_pmf_set_automode(dev, config_store.current_mode, NULL); in amd_pmf_trans_automode() 230 int mode = config_store.current_mode; in amd_pmf_update_2_cql() 404 config_store.current_mode = AUTO_BALANCE; in amd_pmf_load_defaults_auto_mode() 429 amd_pmf_set_automode(dev, config_store.current_mode, NULL); in amd_pmf_handle_amt()
|
| H A D | cnqf.c | 163 amd_pmf_set_cnqf(dev, src, config_store.current_mode, NULL); in amd_pmf_trans_cnqf() 204 avg_power, socket_power, state_as_str(config_store.current_mode)); in amd_pmf_trans_cnqf() 221 if (config_store.current_mode != in amd_pmf_trans_cnqf() 223 config_store.current_mode = in amd_pmf_trans_cnqf() 226 state_as_str(config_store.current_mode)); in amd_pmf_trans_cnqf() 228 config_store.current_mode, NULL); in amd_pmf_trans_cnqf() 376 config_store.current_mode = CNQF_MODE_BALANCE; in amd_pmf_load_defaults_cnqf() 397 amd_pmf_set_cnqf(pdev, src, config_store.current_mode, NULL); in cnqf_enable_store() 463 amd_pmf_set_cnqf(dev, src, config_store.current_mode, NULL); in amd_pmf_init_cnqf()
|
| /linux/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()
|
| /linux/drivers/usb/typec/ |
| H A D | hd3ss3220.c | 73 int current_mode; in hd3ss3220_set_power_opmode() 77 current_mode = HD3SS3220_REG_CN_STAT_CURRENT_MODE_DEFAULT; in hd3ss3220_set_power_opmode() 80 current_mode = HD3SS3220_REG_CN_STAT_CURRENT_MODE_MID; in hd3ss3220_set_power_opmode() 83 current_mode = HD3SS3220_REG_CN_STAT_CURRENT_MODE_HIGH; in hd3ss3220_set_power_opmode() 93 current_mode); in hd3ss3220_set_port_type() 70 int current_mode; hd3ss3220_set_power_opmode() local
|
| /linux/drivers/char/ |
| H A D | lp.c | 285 if (lp_table[minor].current_mode != IEEE1284_MODE_COMPAT) { in lp_wait_ready() 336 lp_table[minor].current_mode = lp_negotiate(port, in lp_write() 367 lp_table[minor].current_mode = IEEE1284_MODE_COMPAT; in lp_write() 382 lp_table[minor].current_mode in lp_write() 407 lp_table[minor].current_mode = IEEE1284_MODE_COMPAT; in lp_write() 562 lp_table[minor].current_mode = IEEE1284_MODE_COMPAT; in lp_open() 574 lp_table[minor].current_mode = IEEE1284_MODE_COMPAT; in lp_release()
|
| /linux/include/linux/ |
| H A D | lp.h | 64 unsigned int current_mode; member
|
| /linux/drivers/iio/adc/ |
| H A D | max1363.c | 169 const struct max1363_mode *current_mode; member 354 st->configbyte |= st->current_mode->conf; in max1363_set_scan_mode() 382 if (st->current_mode != &max1363_mode_table[chan->address]) { in max1363_read_single_chan() 386 st->current_mode = &max1363_mode_table[chan->address]; in max1363_read_single_chan() 1035 st->current_mode = max1363_match_mode(scan_mask, st->chip_info); in max1363_update_scan_mode() 1036 if (!st->current_mode) in max1363_update_scan_mode() 1455 st->current_mode = &max1363_mode_table[st->chip_info->default_mode]; in max1363_initial_setup() 1491 unsigned long numvals = bitmap_weight(st->current_mode->modemask, in max1363_trigger_handler()
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_dp_aux_backlight.c | 545 u8 current_mode; in intel_dp_aux_vesa_setup_backlight() 551 intel_dp->edp_dpcd, ¤t_level, ¤t_mode, in intel_dp_aux_vesa_setup_backlight() 592 if (current_mode == DP_EDP_BACKLIGHT_CONTROL_MODE_DPCD) { in intel_dp_aux_vesa_setup_backlight() 602 if (current_mode == DP_EDP_BACKLIGHT_CONTROL_MODE_PWM) { in intel_dp_aux_vesa_setup_backlight() 538 u8 current_mode; intel_dp_aux_vesa_setup_backlight() local
|
| /linux/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_backlight.c | 250 u8 current_mode; in nv50_backlight_init() local 266 ¤t_level, ¤t_mode, false); in nv50_backlight_init()
|
| /linux/drivers/media/usb/dvb-usb-v2/ |
| H A D | mxl111sf.h | 72 enum mxl111sf_current_mode current_mode; member
|
| /linux/drivers/scsi/ |
| H A D | st.h | 151 int current_mode; member
|
| H A D | st.c | 1091 if (mode != STp->current_mode) { in check_tape() 1093 STp->current_mode, mode); in check_tape() 1095 STp->current_mode = mode; in check_tape() 1097 STm = &(STp->modes[STp->current_mode]); in check_tape() 1387 struct st_modedef *STm = &(STp->modes[STp->current_mode]); in st_flush() 1538 if (! STp->modes[STp->current_mode].defined) { in rw_checks() 1690 STm = &(STp->modes[STp->current_mode]); in st_write() 1954 STm = &(STp->modes[STp->current_mode]); in read_tape() 2156 STm = &(STp->modes[STp->current_mode]); in st_read() 2293 STp->current_mode, ST in DEB() 2279 DEB(static void st_log_options (struct scsi_tape * STp,struct st_modedef * STm){ if (debugging) { st_printk(KERN_INFO, STp, "Mode %d options: buffer writes: %d, " "async writes: %d, read ahead: %d\\n", STp->current_mode, STm->do_buffer_writes, STm->do_async_writes, STm->do_read_ahead); st_printk(KERN_INFO, STp, " can bsr: %d, two FMs: %d, " "fast mteom: %d, auto lock: %d,\\n", STp->can_bsr, STp->two_fm, STp->fast_mteom, STp->do_auto_lock); st_printk(KERN_INFO, STp, " defs for wr: %d, no block limits: %d, " "partitions: %d, s2 log: %d\\n", STm->defaults_for_writes, STp->omit_blklims, STp->can_partitions, STp->scsi2_logical); st_printk(KERN_INFO, STp, " sysv: %d nowait: %d sili: %d " "nowait_filemark: %d\\n", STm->sysv, STp->immediate, STp->sili, STp->immediate_filemark); st_printk(KERN_INFO, STp, " debugging: %d\\n", debugging); } } ) DEB() argument [all...] |
| /linux/drivers/gpu/drm/meson/ |
| H A D | meson_drv.h | 160 unsigned int current_mode; member
|
| /linux/drivers/pps/ |
| H A D | kapi.c | 177 pps->current_mode = pps->params.mode; in pps_event()
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_82598.c | 291 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_82598() 341 switch (hw->fc.current_mode) { in ixgbe_fc_enable_82598() 383 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_82598()
|
| /linux/drivers/gpu/drm/display/ |
| H A D | drm_dp_helper.c | 4493 u8 *current_mode) in drm_edp_backlight_probe_state() 4506 *current_mode = (mode_reg & DP_EDP_BACKLIGHT_CONTROL_MODE_MASK); in drm_edp_backlight_probe_state() 4510 if (*current_mode == DP_EDP_BACKLIGHT_CONTROL_MODE_DPCD) { in drm_edp_backlight_probe_state() 4562 * @current_mode: Where to store the currently set backlight control mode 4577 u32 *current_level, u8 *current_mode, bool need_luminance) in drm_edp_backlight_init() 4608 ret = drm_edp_backlight_probe_state(aux, bl, current_mode); in drm_edp_backlight_init() 4615 aux->name, bl->aux_set, bl->aux_enable, *current_mode); in drm_edp_backlight_init() 4686 u8 current_mode; in drm_panel_dp_aux_backlight() 4710 ¤t_level, ¤t_mode, false); in drm_panel_dp_aux_backlight() 4492 drm_edp_backlight_probe_state(struct drm_dp_aux * aux,struct drm_edp_backlight_info * bl,u8 * current_mode) drm_edp_backlight_probe_state() argument 4576 drm_edp_backlight_init(struct drm_dp_aux * aux,struct drm_edp_backlight_info * bl,u32 max_luminance,u16 driver_pwm_freq_hz,const u8 edp_dpcd[EDP_DISPLAY_CTL_CAP_SIZE],u32 * current_level,u8 * current_mode,bool need_luminance) drm_edp_backlight_init() argument 4685 u8 current_mode; drm_panel_dp_aux_backlight() local
|
| /linux/drivers/usb/dwc3/ |
| H A D | debugfs.c | 328 unsigned int current_mode; in dwc3_lsp_show() local 339 current_mode = DWC3_GSTS_CURMOD(reg); in dwc3_lsp_show() 341 switch (current_mode) { in dwc3_lsp_show()
|