Home
last modified time | relevance | path

Searched refs:old_mode (Results 1 – 13 of 13) sorted by relevance

/drivers/net/ethernet/sfc/
Dfalcon_boards.c372 enum efx_phy_mode old_mode, new_mode; in set_phy_flash_cfg() local
376 old_mode = efx->phy_mode; in set_phy_flash_cfg()
378 new_mode = old_mode & ~PHY_MODE_SPECIAL; in set_phy_flash_cfg()
381 if (!((old_mode ^ new_mode) & PHY_MODE_SPECIAL)) { in set_phy_flash_cfg()
/drivers/scsi/
Dimm.c1009 int loop, old_mode, status, k, ppb = dev->base; in device_check() local
1012 old_mode = dev->mode; in device_check()
1042 dev->mode = old_mode; in device_check()
1067 dev->mode = old_mode; in device_check()
Dppa.c881 int loop, old_mode, status, k, ppb = dev->base; in device_check() local
884 old_mode = dev->mode; in device_check()
917 dev->mode = old_mode; in device_check()
940 dev->mode = old_mode; in device_check()
/drivers/media/pci/ivtv/
Divtv-driver.c328 int old_mode; in ivtv_set_output_mode() local
331 old_mode = itv->output_mode; in ivtv_set_output_mode()
332 if (old_mode == 0) in ivtv_set_output_mode()
333 itv->output_mode = old_mode = mode; in ivtv_set_output_mode()
335 return old_mode; in ivtv_set_output_mode()
/drivers/input/mouse/
Dhgpk.c821 enum hgpk_mode old_mode = priv->mode; in attr_set_mode() local
830 if (old_mode == new_mode) in attr_set_mode()
860 priv->mode = old_mode; in attr_set_mode()
/drivers/media/parport/
Dbw-qcam.c343 int old_mode = q->mode; in qc_setscanmode() local
374 if (q->mode != old_mode) in qc_setscanmode()
/drivers/staging/xgifb/
DXGI_main_26.c937 int old_mode; in XGIfb_do_set_var() local
969 old_mode = xgifb_info->mode_idx; in XGIfb_do_set_var()
993 xgifb_info->mode_idx = old_mode; in XGIfb_do_set_var()
/drivers/media/radio/
Dradio-wl1273.c690 int old_mode; in wl1273_fm_set_mode() local
696 old_mode = core->mode; in wl1273_fm_set_mode()
775 core->mode = old_mode; in wl1273_fm_set_mode()
/drivers/md/
Ddm-thin.c1630 enum pool_mode old_mode = pool->pf.mode; in bind_control_target() local
1633 if (old_mode > new_mode) in bind_control_target()
1634 new_mode = old_mode; in bind_control_target()
/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphy_lcn.c2386 u16 old_mode = wlc_lcnphy_get_tx_pwr_ctrl(pi); in wlc_lcnphy_set_tx_pwr_ctrl() local
2391 old_mode = wlc_lcnphy_set_tx_pwr_ctrl_mode(pi, old_mode); in wlc_lcnphy_set_tx_pwr_ctrl()
2399 if (old_mode != mode) { in wlc_lcnphy_set_tx_pwr_ctrl()
2400 if (LCNPHY_TX_PWR_CTRL_HW == old_mode) { in wlc_lcnphy_set_tx_pwr_ctrl()
/drivers/staging/csr/
Dsme_sys.c1798 u8 old_mode = interfacePriv->interfaceMode; in CsrWifiRouterCtrlModeSetReqHandler() local
1809 if (CSR_WIFI_HIP_IS_AP_FW(req->mode) != CSR_WIFI_HIP_IS_AP_FW(old_mode)) in CsrWifiRouterCtrlModeSetReqHandler()
/drivers/video/sis/
Dsis_main.c1189 int old_mode; in sisfb_do_set_var() local
1222 old_mode = ivideo->sisfb_mode_idx; in sisfb_do_set_var()
1247 ivideo->sisfb_mode_idx = old_mode; in sisfb_do_set_var()
/drivers/net/wireless/ipw2x00/
Dipw2200.c8581 int old_mode = priv->ieee->iw_mode; in ipw_sw_reset() local
8697 return old_mode == priv->ieee->iw_mode; in ipw_sw_reset()