Home
last modified time | relevance | path

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

123

/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_lspcon.c55 enum drm_lspcon_mode current_mode; in lspcon_get_current_mode() local
58 if (drm_lspcon_get_mode(adapter, &current_mode)) { in lspcon_get_current_mode()
62 return current_mode; in lspcon_get_current_mode()
68 enum drm_lspcon_mode current_mode; in lspcon_wait_mode() local
70 current_mode = lspcon_get_current_mode(lspcon); in lspcon_wait_mode()
71 if (current_mode == mode) in lspcon_wait_mode()
77 wait_for((current_mode = lspcon_get_current_mode(lspcon)) == mode, 400); in lspcon_wait_mode()
78 if (current_mode != mode) in lspcon_wait_mode()
83 lspcon_mode_name(current_mode)); in lspcon_wait_mode()
85 return current_mode; in lspcon_wait_mode()
[all …]
/Linux-v4.19/arch/powerpc/platforms/pasemi/
Didle.c43 static int current_mode = 0; variable
82 current_mode = 0; in pasemi_idle_init()
86 ppc_md.power_save = modes[current_mode].entry; in pasemi_idle_init()
87 pr_info("Using PA6T idle loop (%s)\n", modes[current_mode].name); in pasemi_idle_init()
98 current_mode = i; in idle_param()
/Linux-v4.19/drivers/net/ethernet/intel/igb/
De1000_mac.c669 hw->fc.current_mode = hw->fc.requested_mode; in igb_setup_link()
671 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()
832 hw_dbg("hw->fc.current_mode = %u\n", hw->fc.current_mode); in igb_force_mac_fc()
834 switch (hw->fc.current_mode) { in igb_force_mac_fc()
977 hw->fc.current_mode = e1000_fc_full; in igb_config_fc_after_link_up()
980 hw->fc.current_mode = e1000_fc_rx_pause; in igb_config_fc_after_link_up()
995 hw->fc.current_mode = e1000_fc_tx_pause; in igb_config_fc_after_link_up()
1009 hw->fc.current_mode = e1000_fc_rx_pause; in igb_config_fc_after_link_up()
1035 hw->fc.current_mode = e1000_fc_none; in igb_config_fc_after_link_up()
[all …]
/Linux-v4.19/arch/arm64/kernel/
Darmv8_deprecated.c57 int current_mode; member
130 bool enable = (insn->current_mode == INSN_HW); in run_all_insn_set_hw_mode()
158 switch (insn->current_mode) { in update_insn_emulation_mode()
185 insn->current_mode = INSN_EMULATE; in register_insn_emulation()
191 insn->current_mode = INSN_UNDEF; in register_insn_emulation()
211 enum insn_emulation_mode prev_mode = insn->current_mode; in emulation_proc_handler()
213 table->data = &insn->current_mode; in emulation_proc_handler()
216 if (ret || !write || prev_mode == insn->current_mode) in emulation_proc_handler()
222 insn->current_mode = prev_mode; in emulation_proc_handler()
/Linux-v4.19/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 …]
/Linux-v4.19/include/uapi/linux/
Dpps.h72 int current_mode; /* current mode bits */ member
80 int current_mode; /* current mode bits */ member
/Linux-v4.19/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.c101 const struct ov5645_mode_info *current_mode; member
996 ov5645->current_mode = new_mode; in ov5645_set_format()
1047 ov5645->current_mode->data, in ov5645_s_stream()
1048 ov5645->current_mode->data_size); in ov5645_s_stream()
1051 ov5645->current_mode->width, in ov5645_s_stream()
1052 ov5645->current_mode->height); in ov5645_s_stream()
Dov5640.c227 const struct ov5640_mode_info *current_mode; member
1619 const struct ov5640_mode_info *mode = sensor->current_mode; in ov5640_set_mode()
1969 if (new_mode != sensor->current_mode) { in ov5640_set_fmt()
1970 sensor->current_mode = new_mode; in ov5640_set_fmt()
2497 mode = sensor->current_mode; in ov5640_s_frame_interval()
2513 if (mode != sensor->current_mode) { in ov5640_s_frame_interval()
2514 sensor->current_mode = mode; in ov5640_s_frame_interval()
2544 ret = ov5640_set_mode(sensor, sensor->current_mode); in ov5640_s_stream()
2657 sensor->current_mode = in ov5640_probe()
/Linux-v4.19/drivers/media/usb/gspca/
Dstv0680.c42 u8 current_mode; member
108 if (sd->current_mode == mode) in stv0680_set_video_mode()
125 sd->current_mode = mode; in stv0680_set_video_mode()
195 sd->current_mode = sd->orig_mode = ret; in sd_config()
/Linux-v4.19/drivers/gpu/drm/
Ddrm_dp_dual_mode_helper.c485 enum drm_lspcon_mode current_mode; in drm_lspcon_set_mode() local
504 ret = drm_lspcon_get_mode(adapter, &current_mode); in drm_lspcon_set_mode()
509 if (current_mode != mode) { in drm_lspcon_set_mode()
/Linux-v4.19/drivers/pps/
Dpps.c202 fdata.info.current_mode = pps->current_mode; in pps_cdev_ioctl()
286 compat.info.current_mode = pps->current_mode; in pps_cdev_compat_ioctl()
/Linux-v4.19/drivers/char/
Dlp.c278 if (lp_table[minor].current_mode != IEEE1284_MODE_COMPAT) { in lp_wait_ready()
329 lp_table[minor].current_mode = lp_negotiate (port, in lp_write()
360 lp_table[minor].current_mode = IEEE1284_MODE_COMPAT; in lp_write()
375 lp_table[minor].current_mode in lp_write()
400 lp_table[minor].current_mode = IEEE1284_MODE_COMPAT; in lp_write()
555 lp_table[minor].current_mode = IEEE1284_MODE_COMPAT; in lp_open()
567 lp_table[minor].current_mode = IEEE1284_MODE_COMPAT; in lp_release()
/Linux-v4.19/drivers/gpu/drm/meson/
Dmeson_drv.h52 unsigned int current_mode; member
/Linux-v4.19/drivers/misc/cxl/
Dnative.c114 if (afu->current_mode == 0) { in native_afu_reset()
574 afu->current_mode = CXL_MODE_DIRECTED; in activate_afu_directed()
794 afu->current_mode = 0; in deactivate_afu_directed()
854 afu->current_mode = CXL_MODE_DEDICATED; in cxl_activate_dedicated_process_psl9()
876 afu->current_mode = CXL_MODE_DEDICATED; in cxl_activate_dedicated_process_psl8()
974 afu->current_mode = 0; in deactivate_dedicated_process()
1021 if ((ctx->afu->current_mode == CXL_MODE_DIRECTED) && in native_attach_process()
1025 if ((ctx->afu->current_mode == CXL_MODE_DEDICATED) && in native_attach_process()
1058 if (ctx->afu->current_mode == CXL_MODE_DIRECTED) in native_update_ivtes()
1060 if ((ctx->afu->current_mode == CXL_MODE_DEDICATED) && in native_update_ivtes()
[all …]
Dcontext.c142 if (ctx->afu->current_mode == CXL_MODE_DEDICATED) { in cxl_mmap_fault()
191 if (ctx->afu->current_mode == CXL_MODE_DEDICATED) { in cxl_context_iomap()
Dsysfs.c384 if (afu->current_mode == CXL_MODE_DEDICATED) in mode_show()
386 if (afu->current_mode == CXL_MODE_DIRECTED) in mode_show()
419 old_mode = afu->current_mode; in mode_store()
420 afu->current_mode = 0; in mode_store()
Dfile.c78 if (!afu->current_mode) in __afu_open()
302 afuid.afu_mode = ctx->afu->current_mode; in afu_ioctl_get_afu_id()
305 if (ctx->afu->current_mode == CXL_MODE_DIRECTED && !ctx->master) in afu_ioctl_get_afu_id()
Dguest.c627 if (ctx->afu->current_mode == CXL_MODE_DIRECTED) in guest_attach_process()
652 if (ctx->afu->current_mode == CXL_MODE_DIRECTED) in guest_detach_process()
737 afu->current_mode = CXL_MODE_DIRECTED; in activate_afu_directed()
778 afu->current_mode = 0; in deactivate_afu_directed()
1038 cxl_ops->afu_deactivate_mode(afu, afu->current_mode); in cxl_guest_remove_afu()
/Linux-v4.19/include/linux/
Dlp.h64 unsigned int current_mode; member
Dpps_kernel.h65 int current_mode; /* PPS mode at event time */ member
/Linux-v4.19/include/drm/
Ddrm_dp_dual_mode_helper.h116 enum drm_lspcon_mode *current_mode);
/Linux-v4.19/include/video/
Dudlfb.h60 struct fb_var_screeninfo current_mode; member
/Linux-v4.19/drivers/iio/adc/
Dmax1363.c172 const struct max1363_mode *current_mode; member
354 st->configbyte |= st->current_mode->conf; in max1363_set_scan_mode()
384 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()
1023 st->current_mode = max1363_match_mode(scan_mask, st->chip_info); in max1363_update_scan_mode()
1024 if (!st->current_mode) in max1363_update_scan_mode()
1443 st->current_mode = &max1363_mode_table[st->chip_info->default_mode]; in max1363_initial_setup()
1481 unsigned long numvals = bitmap_weight(st->current_mode->modemask, in max1363_trigger_handler()
/Linux-v4.19/drivers/media/usb/dvb-usb-v2/
Dmxl111sf.h69 enum mxl111sf_current_mode current_mode; member

123