/linux-4.1.27/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.1.27/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 | 1036 switch (hw->fc.current_mode) { in igb_phy_setup_autoneg() 1355 hw->fc.current_mode = e1000_fc_none; in igb_phy_force_speed_duplex_setup()
|
D | igb_main.c | 1961 fc->current_mode = fc->requested_mode; in igb_reset() 2464 hw->fc.current_mode = e1000_fc_default; in igb_probe()
|
/linux-4.1.27/arch/arm64/kernel/ |
D | armv8_deprecated.c | 56 int current_mode; member 129 bool enable = (insn->current_mode == INSN_HW); in run_all_insn_set_hw_mode() 157 switch (insn->current_mode) { in update_insn_emulation_mode() 184 insn->current_mode = INSN_EMULATE; in register_insn_emulation() 190 insn->current_mode = INSN_UNDEF; in register_insn_emulation() 210 enum insn_emulation_mode prev_mode = insn->current_mode; in emulation_proc_handler() 212 table->data = &insn->current_mode; in emulation_proc_handler() 215 if (ret || !write || prev_mode == insn->current_mode) in emulation_proc_handler() 221 insn->current_mode = prev_mode; in emulation_proc_handler()
|
/linux-4.1.27/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 | 4828 hw->fc.current_mode = hw->fc.requested_mode; in e1000_setup_link_ich8lan() 4830 e_dbg("After fix-ups FlowControl is now = %x\n", hw->fc.current_mode); in e1000_setup_link_ich8lan()
|
D | netdev.c | 3866 fc->current_mode = fc->requested_mode; in e1000e_reset() 6980 adapter->hw.fc.current_mode = e1000_fc_default; in e1000_probe()
|
/linux-4.1.27/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.1.27/drivers/misc/cxl/ |
D | native.c | 407 afu->current_mode = CXL_MODE_DIRECTED; in activate_afu_directed() 492 afu->current_mode = 0; in deactivate_afu_directed() 524 afu->current_mode = CXL_MODE_DEDICATED; in activate_dedicated_process() 581 afu->current_mode = 0; in deactivate_dedicated_process() 600 return _cxl_afu_deactivate_mode(afu, afu->current_mode); in cxl_afu_deactivate_mode() 621 if (ctx->afu->current_mode == CXL_MODE_DIRECTED) in cxl_attach_process() 624 if (ctx->afu->current_mode == CXL_MODE_DEDICATED) in cxl_attach_process() 654 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() 151 if (ctx->afu->current_mode != CXL_MODE_DEDICATED) { in cxl_context_iomap()
|
D | sysfs.c | 293 if (afu->current_mode == CXL_MODE_DEDICATED) in mode_show() 295 if (afu->current_mode == CXL_MODE_DIRECTED) in mode_show() 328 old_mode = afu->current_mode; in mode_store() 329 afu->current_mode = 0; in mode_store()
|
D | file.c | 73 if (!afu->current_mode) in __afu_open()
|
D | cxl.h | 384 int current_mode; member
|
/linux-4.1.27/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.1.27/include/uapi/linux/ |
D | pps.h | 65 int current_mode; /* current mode bits */ member
|
/linux-4.1.27/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.1.27/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() 1022 st->current_mode = max1363_match_mode(scan_mask, st->chip_info); in max1363_update_scan_mode() 1023 if (!st->current_mode) in max1363_update_scan_mode() 1444 st->current_mode = &max1363_mode_table[st->chip_info->default_mode]; in max1363_initial_setup() 1480 unsigned long numvals = bitmap_weight(st->current_mode->modemask, in max1363_trigger_handler()
|
/linux-4.1.27/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.1.27/drivers/media/usb/dvb-usb-v2/ |
D | mxl111sf.h | 65 enum mxl111sf_current_mode current_mode; member
|
/linux-4.1.27/drivers/scsi/ |
D | st.h | 134 int current_mode; member
|
D | st.c | 998 if (mode != STp->current_mode) { in check_tape() 1000 STp->current_mode, mode); in check_tape() 1002 STp->current_mode = mode; in check_tape() 1004 STm = &(STp->modes[STp->current_mode]); in check_tape() 1292 struct st_modedef *STm = &(STp->modes[STp->current_mode]); in st_flush() 1444 if (! STp->modes[STp->current_mode].defined) { in rw_checks() 1596 STm = &(STp->modes[STp->current_mode]); in st_write() 1859 STm = &(STp->modes[STp->current_mode]); in read_tape() 2057 STm = &(STp->modes[STp->current_mode]); in st_read() 2193 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.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_common.c | 2078 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_generic() 2108 switch (hw->fc.current_mode) { in ixgbe_fc_enable_generic() 2150 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_generic() 2207 hw->fc.current_mode = ixgbe_fc_full; in ixgbe_negotiate_fc() 2210 hw->fc.current_mode = ixgbe_fc_rx_pause; in ixgbe_negotiate_fc() 2215 hw->fc.current_mode = ixgbe_fc_tx_pause; in ixgbe_negotiate_fc() 2219 hw->fc.current_mode = ixgbe_fc_rx_pause; in ixgbe_negotiate_fc() 2222 hw->fc.current_mode = ixgbe_fc_none; in ixgbe_negotiate_fc() 2381 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 | 379 if (hw->fc.current_mode == ixgbe_fc_rx_pause) { in ixgbe_get_pauseparam() 381 } else if (hw->fc.current_mode == ixgbe_fc_tx_pause) { in ixgbe_get_pauseparam() 383 } else if (hw->fc.current_mode == ixgbe_fc_full) { in ixgbe_get_pauseparam()
|
D | ixgbe_main.c | 933 if ((hw->fc.current_mode != ixgbe_fc_full) && in ixgbe_update_xoff_rx_lfc() 934 (hw->fc.current_mode != ixgbe_fc_rx_pause)) in ixgbe_update_xoff_rx_lfc() 3191 !(adapter->hw.fc.current_mode & ixgbe_fc_tx_pause) && !pfc_en)) { in ixgbe_set_rx_drop_en() 5326 hw->fc.current_mode = ixgbe_fc_full; /* init for ethtool output */ in ixgbe_sw_init()
|
D | ixgbe_type.h | 2913 enum ixgbe_fc_mode current_mode; /* FC mode in effect */ member
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
D | i40e_common.c | 1106 u32 current_mode = 0; in i40e_led_get() local 1122 current_mode = ((gpio_val & I40E_GLGEN_GPIO_CTL_LED_MODE_MASK) in i40e_led_get() 1124 switch (current_mode) { in i40e_led_get() 1152 u32 current_mode = 0; in i40e_led_set() local 1170 current_mode = ((gpio_val & I40E_GLGEN_GPIO_CTL_LED_MODE_MASK) in i40e_led_set() 1172 switch (current_mode) { in i40e_led_set() 1469 hw->fc.current_mode = I40E_FC_FULL; in i40e_aq_get_link_info() 1471 hw->fc.current_mode = I40E_FC_TX_PAUSE; in i40e_aq_get_link_info() 1473 hw->fc.current_mode = I40E_FC_RX_PAUSE; in i40e_aq_get_link_info() 1475 hw->fc.current_mode = I40E_FC_NONE; in i40e_aq_get_link_info()
|
D | i40e_ethtool.c | 741 if (hw->fc.current_mode == I40E_FC_RX_PAUSE) { in i40e_get_pauseparam() 743 } else if (hw->fc.current_mode == I40E_FC_TX_PAUSE) { in i40e_get_pauseparam() 745 } else if (hw->fc.current_mode == I40E_FC_FULL) { in i40e_get_pauseparam()
|
D | i40e_type.h | 378 enum i40e_fc_mode current_mode; /* FC mode in effect */ member
|
D | i40e_main.c | 730 if ((hw->fc.current_mode != I40E_FC_FULL) && in i40e_update_link_xoff_rx() 731 (hw->fc.current_mode != I40E_FC_RX_PAUSE)) in i40e_update_link_xoff_rx() 4678 switch (vsi->back->hw.fc.current_mode) { in i40e_print_link_message()
|
/linux-4.1.27/drivers/spi/ |
D | spi-rspi.c | 883 u16 current_mode = 0xffff, mode; in qspi_setup_sequencer() local 887 if (mode == current_mode) { in qspi_setup_sequencer() 906 current_mode = mode; in qspi_setup_sequencer()
|
/linux-4.1.27/drivers/platform/x86/ |
D | thinkpad_acpi.c | 2942 int current_mode; in adaptive_kbd_mode_show() local 2944 current_mode = adaptive_keyboard_get_mode(); in adaptive_kbd_mode_show() 2945 if (current_mode < 0) in adaptive_kbd_mode_show() 2946 return current_mode; in adaptive_kbd_mode_show() 2948 return snprintf(buf, PAGE_SIZE, "%d\n", current_mode); in adaptive_kbd_mode_show() 3625 int current_mode = 0; in adaptive_keyboard_hotkey_notify_hotkey() local 3635 current_mode = adaptive_keyboard_get_mode(); in adaptive_keyboard_hotkey_notify_hotkey() 3636 if (current_mode < 0) in adaptive_keyboard_hotkey_notify_hotkey() 3639 current_mode); in adaptive_keyboard_hotkey_notify_hotkey() 3648 current_mode = adaptive_keyboard_get_mode(); in adaptive_keyboard_hotkey_notify_hotkey() [all …]
|
/linux-4.1.27/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.1.27/drivers/net/ethernet/intel/i40evf/ |
D | i40e_type.h | 377 enum i40e_fc_mode current_mode; /* FC mode in effect */ member
|
/linux-4.1.27/drivers/gpu/drm/exynos/ |
D | exynos_hdmi.c | 202 struct drm_display_mode current_mode; member 1354 if (hdata->current_mode.flags & DRM_MODE_FLAG_INTERLACE) in hdmi_start() 2013 drm_mode_copy(&hdata->current_mode, mode); in hdmi_mode_set()
|
/linux-4.1.27/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.1.27/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()
|