/linux-4.4.14/arch/powerpc/platforms/pasemi/ |
D | idle.c | 43 static int current_mode = 0; variable 79 current_mode = 0; in pasemi_idle_init() 83 ppc_md.power_save = modes[current_mode].entry; in pasemi_idle_init() 84 printk(KERN_INFO "Using PA6T idle loop (%s)\n", modes[current_mode].name); in pasemi_idle_init() 95 current_mode = i; in idle_param()
|
/linux-4.4.14/drivers/net/ethernet/intel/igb/ |
D | e1000_mac.c | 616 hw->fc.current_mode = hw->fc.requested_mode; in igb_setup_link() 618 hw_dbg("After fix-ups FlowControl is now = %x\n", hw->fc.current_mode); in igb_setup_link() 684 if (hw->fc.current_mode & e1000_fc_tx_pause) { in igb_set_fc_watermarks() 782 hw_dbg("hw->fc.current_mode = %u\n", hw->fc.current_mode); in igb_force_mac_fc() 784 switch (hw->fc.current_mode) { in igb_force_mac_fc() 927 hw->fc.current_mode = e1000_fc_full; in igb_config_fc_after_link_up() 930 hw->fc.current_mode = e1000_fc_rx_pause; in igb_config_fc_after_link_up() 945 hw->fc.current_mode = e1000_fc_tx_pause; in igb_config_fc_after_link_up() 959 hw->fc.current_mode = e1000_fc_rx_pause; in igb_config_fc_after_link_up() 985 hw->fc.current_mode = e1000_fc_none; in igb_config_fc_after_link_up() [all …]
|
D | e1000_hw.h | 487 enum e1000_fc_mode current_mode; /* Type of flow control */ member
|
D | igb_ethtool.c | 377 if (hw->fc.current_mode == e1000_fc_rx_pause) in igb_get_pauseparam() 379 else if (hw->fc.current_mode == e1000_fc_tx_pause) in igb_get_pauseparam() 381 else if (hw->fc.current_mode == e1000_fc_full) { in igb_get_pauseparam() 421 hw->fc.current_mode = hw->fc.requested_mode; in igb_set_pauseparam()
|
D | e1000_phy.c | 1030 switch (hw->fc.current_mode) { in igb_phy_setup_autoneg() 1353 hw->fc.current_mode = e1000_fc_none; in igb_phy_force_speed_duplex_setup()
|
D | igb_main.c | 1951 fc->current_mode = fc->requested_mode; in igb_reset() 2453 hw->fc.current_mode = e1000_fc_default; in igb_probe()
|
/linux-4.4.14/arch/arm64/kernel/ |
D | armv8_deprecated.c | 59 int current_mode; member 132 bool enable = (insn->current_mode == INSN_HW); in run_all_insn_set_hw_mode() 160 switch (insn->current_mode) { in update_insn_emulation_mode() 187 insn->current_mode = INSN_EMULATE; in register_insn_emulation() 193 insn->current_mode = INSN_UNDEF; in register_insn_emulation() 213 enum insn_emulation_mode prev_mode = insn->current_mode; in emulation_proc_handler() 215 table->data = &insn->current_mode; in emulation_proc_handler() 218 if (ret || !write || prev_mode == insn->current_mode) in emulation_proc_handler() 224 insn->current_mode = prev_mode; in emulation_proc_handler()
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/ |
D | mac.c | 708 hw->fc.current_mode = hw->fc.requested_mode; in e1000e_setup_link_generic() 710 e_dbg("After fix-ups FlowControl is now = %x\n", hw->fc.current_mode); in e1000e_setup_link_generic() 760 switch (hw->fc.current_mode) { in e1000_commit_fc_settings_generic() 932 if (hw->fc.current_mode & e1000_fc_tx_pause) { in e1000e_set_fc_watermarks() 982 e_dbg("hw->fc.current_mode = %u\n", hw->fc.current_mode); in e1000e_force_mac_fc() 984 switch (hw->fc.current_mode) { in e1000e_force_mac_fc() 1122 hw->fc.current_mode = e1000_fc_full; in e1000e_config_fc_after_link_up() 1125 hw->fc.current_mode = e1000_fc_rx_pause; in e1000e_config_fc_after_link_up() 1140 hw->fc.current_mode = e1000_fc_tx_pause; in e1000e_config_fc_after_link_up() 1154 hw->fc.current_mode = e1000_fc_rx_pause; in e1000e_config_fc_after_link_up() [all …]
|
D | hw.h | 638 enum e1000_fc_mode current_mode; /* FC mode in effect */ member
|
D | ethtool.c | 351 if (hw->fc.current_mode == e1000_fc_rx_pause) { in e1000_get_pauseparam() 353 } else if (hw->fc.current_mode == e1000_fc_tx_pause) { in e1000_get_pauseparam() 355 } else if (hw->fc.current_mode == e1000_fc_full) { in e1000_get_pauseparam() 393 hw->fc.current_mode = hw->fc.requested_mode; in e1000_set_pauseparam()
|
D | phy.c | 1025 switch (hw->fc.current_mode) { in e1000_phy_setup_autoneg() 1442 hw->fc.current_mode = e1000_fc_none; in e1000e_phy_force_speed_duplex_setup()
|
D | ich8lan.c | 4894 hw->fc.current_mode = hw->fc.requested_mode; in e1000_setup_link_ich8lan() 4896 e_dbg("After fix-ups FlowControl is now = %x\n", hw->fc.current_mode); in e1000_setup_link_ich8lan()
|
D | netdev.c | 3976 fc->current_mode = fc->requested_mode; in e1000e_reset() 7201 adapter->hw.fc.current_mode = e1000_fc_default; in e1000_probe()
|
/linux-4.4.14/drivers/media/usb/gspca/ |
D | stv0680.c | 46 u8 current_mode; member 112 if (sd->current_mode == mode) in stv0680_set_video_mode() 129 sd->current_mode = mode; in stv0680_set_video_mode() 199 sd->current_mode = sd->orig_mode = ret; in sd_config()
|
/linux-4.4.14/drivers/misc/cxl/ |
D | native.c | 471 afu->current_mode = CXL_MODE_DIRECTED; in activate_afu_directed() 565 afu->current_mode = 0; in deactivate_afu_directed() 595 afu->current_mode = CXL_MODE_DEDICATED; in activate_dedicated_process() 647 afu->current_mode = 0; in deactivate_dedicated_process() 666 return _cxl_afu_deactivate_mode(afu, afu->current_mode); in cxl_afu_deactivate_mode() 697 if (ctx->afu->current_mode == CXL_MODE_DIRECTED) in cxl_attach_process() 700 if (ctx->afu->current_mode == CXL_MODE_DEDICATED) in cxl_attach_process() 730 if (ctx->afu->current_mode == CXL_MODE_DEDICATED) in cxl_detach_process()
|
D | context.c | 114 if (ctx->afu->current_mode == CXL_MODE_DEDICATED) { in cxl_mmap_fault() 163 if (ctx->afu->current_mode == CXL_MODE_DEDICATED) { in cxl_context_iomap() 171 if (ctx->afu->current_mode != CXL_MODE_DEDICATED) { in cxl_context_iomap()
|
D | sysfs.c | 319 if (afu->current_mode == CXL_MODE_DEDICATED) in mode_show() 321 if (afu->current_mode == CXL_MODE_DIRECTED) in mode_show() 354 old_mode = afu->current_mode; in mode_store() 355 afu->current_mode = 0; in mode_store()
|
D | file.c | 73 if (!afu->current_mode) in __afu_open() 236 afuid.afu_mode = ctx->afu->current_mode; in afu_ioctl_get_afu_id() 239 if (ctx->afu->current_mode == CXL_MODE_DIRECTED && !ctx->master) in afu_ioctl_get_afu_id()
|
D | cxl.h | 395 int current_mode; member
|
/linux-4.4.14/drivers/char/ |
D | lp.c | 278 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-4.4.14/include/uapi/linux/ |
D | pps.h | 65 int current_mode; /* current mode bits */ member
|
/linux-4.4.14/include/linux/ |
D | lp.h | 63 unsigned int current_mode; member
|
D | pps_kernel.h | 66 int current_mode; /* PPS mode at event time */ member
|
/linux-4.4.14/drivers/iio/adc/ |
D | max1363.c | 170 const struct max1363_mode *current_mode; member 352 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() 384 st->current_mode = &max1363_mode_table[chan->address]; in max1363_read_single_chan() 1021 st->current_mode = max1363_match_mode(scan_mask, st->chip_info); in max1363_update_scan_mode() 1022 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() 1479 unsigned long numvals = bitmap_weight(st->current_mode->modemask, in max1363_trigger_handler()
|
/linux-4.4.14/drivers/pps/ |
D | pps.c | 193 fdata.info.current_mode = pps->current_mode; in pps_cdev_ioctl()
|
D | kapi.c | 194 pps->current_mode = pps->params.mode; in pps_event()
|
/linux-4.4.14/drivers/media/usb/dvb-usb-v2/ |
D | mxl111sf.h | 65 enum mxl111sf_current_mode current_mode; member
|
/linux-4.4.14/drivers/scsi/ |
D | st.h | 155 int current_mode; member
|
D | st.c | 1052 if (mode != STp->current_mode) { in check_tape() 1054 STp->current_mode, mode); in check_tape() 1056 STp->current_mode = mode; in check_tape() 1058 STm = &(STp->modes[STp->current_mode]); in check_tape() 1346 struct st_modedef *STm = &(STp->modes[STp->current_mode]); in st_flush() 1498 if (! STp->modes[STp->current_mode].defined) { in rw_checks() 1650 STm = &(STp->modes[STp->current_mode]); in st_write() 1913 STm = &(STp->modes[STp->current_mode]); in read_tape() 2111 STm = &(STp->modes[STp->current_mode]); in st_read() 2247 STp->current_mode, STm->do_buffer_writes, in DEB() argument [all …]
|
D | osst.h | 558 int current_mode; member
|
D | osst.c | 3402 STm = &(STp->modes[STp->current_mode]); in osst_write() 3723 STm = &(STp->modes[STp->current_mode]); in osst_read() 3879 name, STp->current_mode, STm->do_buffer_writes, STm->do_async_writes, in osst_log_options() 3905 STm = &(STp->modes[STp->current_mode]); in osst_set_options() 3912 name, STp->current_mode); in osst_set_options() 4492 if (mode != STp->current_mode) { in __os_scsi_tape_open() 4496 name, STp->current_mode, mode); in __os_scsi_tape_open() 4499 STp->current_mode = mode; in __os_scsi_tape_open() 4501 STm = &(STp->modes[STp->current_mode]); in __os_scsi_tape_open() 4826 struct st_modedef * STm = &(STp->modes[STp->current_mode]); in os_scsi_tape_flush() [all …]
|
/linux-4.4.14/drivers/gpu/drm/exynos/ |
D | exynos_hdmi.c | 108 struct drm_display_mode current_mode; member 902 ar = hdata->current_mode.picture_aspect_ratio; in hdmi_reg_infoframe() 1217 if (hdata->current_mode.flags & DRM_MODE_FLAG_INTERLACE) in hdmi_start() 1298 struct drm_display_mode *m = &hdata->current_mode; in hdmi_v13_mode_apply() 1389 struct drm_display_mode *m = &hdata->current_mode; in hdmi_v14_mode_apply() 1535 i = hdmi_find_phy_conf(hdata, hdata->current_mode.clock * 1000); in hdmiphy_conf_apply() 1580 drm_mode_copy(&hdata->current_mode, m); in hdmi_mode_set()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_common.c | 2085 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_generic() 2115 switch (hw->fc.current_mode) { in ixgbe_fc_enable_generic() 2157 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_generic() 2215 hw->fc.current_mode = ixgbe_fc_full; in ixgbe_negotiate_fc() 2218 hw->fc.current_mode = ixgbe_fc_rx_pause; in ixgbe_negotiate_fc() 2223 hw->fc.current_mode = ixgbe_fc_tx_pause; in ixgbe_negotiate_fc() 2227 hw->fc.current_mode = ixgbe_fc_rx_pause; in ixgbe_negotiate_fc() 2230 hw->fc.current_mode = ixgbe_fc_none; in ixgbe_negotiate_fc() 2389 hw->fc.current_mode = hw->fc.requested_mode; in ixgbe_fc_autoneg()
|
D | ixgbe_82598.c | 339 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_82598() 389 switch (hw->fc.current_mode) { in ixgbe_fc_enable_82598() 431 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_82598()
|
D | ixgbe_ethtool.c | 387 if (hw->fc.current_mode == ixgbe_fc_rx_pause) { in ixgbe_get_pauseparam() 389 } else if (hw->fc.current_mode == ixgbe_fc_tx_pause) { in ixgbe_get_pauseparam() 391 } else if (hw->fc.current_mode == ixgbe_fc_full) { in ixgbe_get_pauseparam()
|
D | ixgbe_main.c | 947 if ((hw->fc.current_mode != ixgbe_fc_full) && in ixgbe_update_xoff_rx_lfc() 948 (hw->fc.current_mode != ixgbe_fc_rx_pause)) in ixgbe_update_xoff_rx_lfc() 3277 !(adapter->hw.fc.current_mode & ixgbe_fc_tx_pause) && !pfc_en)) { in ixgbe_set_rx_drop_en() 5426 hw->fc.current_mode = ixgbe_fc_full; /* init for ethtool output */ in ixgbe_sw_init()
|
D | ixgbe_type.h | 3133 enum ixgbe_fc_mode current_mode; /* FC mode in effect */ member
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_common.c | 1471 u32 current_mode = 0; in i40e_led_get() local 1487 current_mode = ((gpio_val & I40E_GLGEN_GPIO_CTL_LED_MODE_MASK) in i40e_led_get() 1489 switch (current_mode) { in i40e_led_get() 1517 u32 current_mode = 0; in i40e_led_set() local 1535 current_mode = ((gpio_val & I40E_GLGEN_GPIO_CTL_LED_MODE_MASK) in i40e_led_set() 1537 switch (current_mode) { in i40e_led_set() 1837 hw->fc.current_mode = I40E_FC_FULL; in i40e_aq_get_link_info() 1839 hw->fc.current_mode = I40E_FC_TX_PAUSE; in i40e_aq_get_link_info() 1841 hw->fc.current_mode = I40E_FC_RX_PAUSE; in i40e_aq_get_link_info() 1843 hw->fc.current_mode = I40E_FC_NONE; in i40e_aq_get_link_info()
|
D | i40e_ethtool.c | 809 if (hw->fc.current_mode == I40E_FC_RX_PAUSE) { in i40e_get_pauseparam() 811 } else if (hw->fc.current_mode == I40E_FC_TX_PAUSE) { in i40e_get_pauseparam() 813 } else if (hw->fc.current_mode == I40E_FC_FULL) { in i40e_get_pauseparam()
|
D | i40e_type.h | 429 enum i40e_fc_mode current_mode; /* FC mode in effect */ member
|
D | i40e_main.c | 805 if ((hw->fc.current_mode != I40E_FC_FULL) && in i40e_update_link_xoff_rx() 806 (hw->fc.current_mode != I40E_FC_RX_PAUSE)) in i40e_update_link_xoff_rx() 5064 switch (vsi->back->hw.fc.current_mode) { in i40e_print_link_message()
|
/linux-4.4.14/drivers/spi/ |
D | spi-rspi.c | 877 u16 current_mode = 0xffff, mode; in qspi_setup_sequencer() local 881 if (mode == current_mode) { in qspi_setup_sequencer() 900 current_mode = mode; in qspi_setup_sequencer()
|
/linux-4.4.14/drivers/hid/ |
D | hid-lg4ff.c | 1087 u32 current_mode; in lg4ff_identify_multimode_wheel() local 1100 current_mode = BIT(i); in lg4ff_identify_multimode_wheel() 1107 if ((current_mode & lg4ff_main_checklist[i]->modes) && \ in lg4ff_identify_multimode_wheel()
|
/linux-4.4.14/drivers/platform/x86/ |
D | thinkpad_acpi.c | 2943 int current_mode; in adaptive_kbd_mode_show() local 2945 current_mode = adaptive_keyboard_get_mode(); in adaptive_kbd_mode_show() 2946 if (current_mode < 0) in adaptive_kbd_mode_show() 2947 return current_mode; in adaptive_kbd_mode_show() 2949 return snprintf(buf, PAGE_SIZE, "%d\n", current_mode); in adaptive_kbd_mode_show() 3626 int current_mode = 0; in adaptive_keyboard_hotkey_notify_hotkey() local 3636 current_mode = adaptive_keyboard_get_mode(); in adaptive_keyboard_hotkey_notify_hotkey() 3637 if (current_mode < 0) in adaptive_keyboard_hotkey_notify_hotkey() 3640 current_mode); in adaptive_keyboard_hotkey_notify_hotkey() 3649 current_mode = adaptive_keyboard_get_mode(); in adaptive_keyboard_hotkey_notify_hotkey() [all …]
|
/linux-4.4.14/drivers/video/fbdev/ |
D | cirrusfb.c | 1392 int current_mode = cinfo->blank_mode; in cirrusfb_blank() local 1397 current_mode == blank_mode) { in cirrusfb_blank() 1403 if (current_mode == FB_BLANK_NORMAL || in cirrusfb_blank() 1404 current_mode == FB_BLANK_UNBLANK) in cirrusfb_blank()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/ |
D | i40e_type.h | 428 enum i40e_fc_mode current_mode; /* FC mode in effect */ member
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
D | phy_lcn.c | 2449 u16 current_mode = mode; in wlc_lcnphy_set_tx_pwr_ctrl_mode() local 2452 current_mode = LCNPHY_TX_PWR_CTRL_TEMPBASED; in wlc_lcnphy_set_tx_pwr_ctrl_mode() 2455 current_mode = LCNPHY_TX_PWR_CTRL_HW; in wlc_lcnphy_set_tx_pwr_ctrl_mode() 2456 return current_mode; in wlc_lcnphy_set_tx_pwr_ctrl_mode()
|
/linux-4.4.14/drivers/media/tuners/ |
D | mxl5005s.c | 294 u32 current_mode; member 3918 state->current_mode = MXL_QAM; in mxl5005s_init() 4020 if (req_mode != state->current_mode || in mxl5005s_set_params() 4022 state->current_mode = req_mode; in mxl5005s_set_params()
|