Home
last modified time | relevance | path

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

12

/linux/arch/x86/include/asm/xen/
H A Dhypervisor.h79 enum xen_lazy_mode old_mode = this_cpu_read(xen_lazy_mode); in enter_lazy() local
81 if (mode == old_mode) { in enter_lazy()
86 BUG_ON(old_mode != XEN_LAZY_NONE); in enter_lazy()
/linux/drivers/usb/musb/
H A Dmusb_cppi41.c346 u32 old_mode; in cppi41_set_dma_mode() local
349 old_mode = controller->tx_mode; in cppi41_set_dma_mode()
351 old_mode = controller->rx_mode; in cppi41_set_dma_mode()
353 new_mode = update_ep_mode(port, mode, old_mode); in cppi41_set_dma_mode()
355 if (new_mode == old_mode) in cppi41_set_dma_mode()
374 u32 old_mode; in da8xx_set_dma_mode() local
376 old_mode = controller->tx_mode; in da8xx_set_dma_mode()
382 new_mode = old_mode & ~(3 << shift); in da8xx_set_dma_mode()
385 if (new_mode == old_mode) in da8xx_set_dma_mode()
398 u32 old_mode; in cppi41_set_autoreq_mode() local
[all …]
/linux/drivers/gpu/drm/imx/dcss/
H A Ddcss-crtc.c89 struct drm_display_mode *old_mode = &old_crtc_state->adjusted_mode; in dcss_crtc_atomic_enable() local
101 if (!drm_mode_equal(mode, old_mode) || !old_crtc_state->active) { in dcss_crtc_atomic_enable()
125 struct drm_display_mode *old_mode = &old_crtc_state->adjusted_mode; in dcss_crtc_atomic_disable() local
144 if (!drm_mode_equal(mode, old_mode) || !crtc->state->active) in dcss_crtc_atomic_disable()
/linux/fs/ceph/
H A Dacl.c99 umode_t new_mode = inode->i_mode, old_mode = inode->i_mode; in ceph_set_acl() local
141 if (new_mode != old_mode) { in ceph_set_acl()
152 if (new_mode != old_mode) { in ceph_set_acl()
154 newattrs.ia_mode = old_mode; in ceph_set_acl()
/linux/fs/btrfs/
H A Dacl.c117 umode_t old_mode = inode->i_mode; in btrfs_set_acl() local
127 inode->i_mode = old_mode; in btrfs_set_acl()
/linux/drivers/scsi/
H A Dppa.c912 int loop, old_mode, status, k, ppb = dev->base; in device_check() local
915 old_mode = dev->mode; in device_check()
947 if (dev->mode != old_mode) { in device_check()
948 dev->mode = old_mode; in device_check()
970 if (dev->mode != old_mode) { in device_check()
971 dev->mode = old_mode; in device_check()
H A Dimm.c1023 int loop, old_mode, status, k, ppb = dev->base; in device_check() local
1026 old_mode = dev->mode; in device_check()
1055 if (dev->mode != old_mode) { in device_check()
1056 dev->mode = old_mode; in device_check()
1080 if (dev->mode != old_mode) { in device_check()
1081 dev->mode = old_mode; in device_check()
/linux/drivers/net/ethernet/sfc/falcon/
H A Dfalcon_boards.c369 enum ef4_phy_mode old_mode, new_mode; in phy_flash_cfg_store() local
373 old_mode = efx->phy_mode; in phy_flash_cfg_store()
375 new_mode = old_mode & ~PHY_MODE_SPECIAL; in phy_flash_cfg_store()
378 if (!((old_mode ^ new_mode) & PHY_MODE_SPECIAL)) { in phy_flash_cfg_store()
/linux/sound/soc/codecs/
H A Dtwl4030.c1703 u8 mode, old_mode, format, old_format; in twl4030_hw_params() local
1724 old_mode = twl4030_read(component, in twl4030_hw_params()
1726 mode = old_mode & ~TWL4030_APLL_RATE; in twl4030_hw_params()
1782 if (format != old_format || mode != old_mode) { in twl4030_hw_params()
1976 u8 old_mode, mode; in twl4030_voice_hw_params() local
1982 old_mode = twl4030_read(component, in twl4030_voice_hw_params()
1984 mode = old_mode; in twl4030_voice_hw_params()
1999 if (mode != old_mode) { in twl4030_voice_hw_params()
/linux/fs/coda/
H A Ddir.c521 int old_mode; in coda_revalidate_inode() local
538 old_mode = inode->i_mode; in coda_revalidate_inode()
542 if ((old_mode & S_IFMT) != (inode->i_mode & S_IFMT)) { in coda_revalidate_inode()
/linux/drivers/gpu/drm/imx/lcdc/
H A Dimx-lcdc.c279 const struct drm_display_mode *old_mode = &pipe->crtc.state->mode; in imx_lcdc_pipe_check() local
290 old_mode->hdisplay != mode->hdisplay || in imx_lcdc_pipe_check()
291 old_mode->vdisplay != mode->vdisplay; in imx_lcdc_pipe_check()
/linux/drivers/media/pci/ivtv/
H A Divtv-driver.c324 int old_mode; in ivtv_set_output_mode() local
327 old_mode = itv->output_mode; in ivtv_set_output_mode()
328 if (old_mode == 0) in ivtv_set_output_mode()
329 itv->output_mode = old_mode = mode; in ivtv_set_output_mode()
331 return old_mode; in ivtv_set_output_mode()
/linux/fs/gfs2/
H A Dinode.c1656 umode_t old_mode = oip->i_inode.i_mode; in gfs2_exchange() local
1671 if (S_ISDIR(old_mode)) { in gfs2_exchange()
1720 if (S_ISDIR(old_mode)) { in gfs2_exchange()
1736 error = update_moved_ino(oip, ndip, S_ISDIR(old_mode)); in gfs2_exchange()
1745 IF2DT(old_mode)); in gfs2_exchange()
1755 if (S_ISDIR(new_mode) && !S_ISDIR(old_mode)) { in gfs2_exchange()
1758 } else if (S_ISDIR(old_mode) && !S_ISDIR(new_mode)) { in gfs2_exchange()
/linux/drivers/input/mouse/
H A Dhgpk.c817 enum hgpk_mode old_mode = priv->mode; in attr_set_mode() local
826 if (old_mode == new_mode) in attr_set_mode()
856 priv->mode = old_mode; in attr_set_mode()
/linux/drivers/misc/cxl/
H A Dsysfs.c391 int old_mode, mode = -1; in mode_store() local
415 old_mode = afu->current_mode; in mode_store()
421 if ((rc = cxl_ops->afu_deactivate_mode(afu, old_mode))) in mode_store()
/linux/drivers/md/
H A Ddm-clone-target.c170 enum clone_metadata_mode old_mode = get_clone_mode(clone); in __set_clone_mode() local
173 if (old_mode == CM_FAIL) in __set_clone_mode()
189 if (new_mode != old_mode) { in __set_clone_mode()
H A Ddm-cache-target.c874 enum cache_metadata_mode old_mode = get_cache_mode(cache); in set_cache_mode() local
885 if (old_mode != new_mode) in set_cache_mode()
886 new_mode = old_mode; in set_cache_mode()
892 if (old_mode == CM_FAIL) in set_cache_mode()
908 if (new_mode != old_mode) in set_cache_mode()
/linux/net/sched/
H A Dsch_htb.c702 enum htb_cmode old_mode; in htb_charge_class() local
718 old_mode = cl->cmode; in htb_charge_class()
721 if (old_mode != cl->cmode) { in htb_charge_class()
722 if (old_mode != HTB_CAN_SEND) in htb_charge_class()
/linux/drivers/media/radio/
H A Dradio-wl1273.c691 int old_mode; in wl1273_fm_set_mode() local
697 old_mode = core->mode; in wl1273_fm_set_mode()
776 core->mode = old_mode; in wl1273_fm_set_mode()
/linux/drivers/tty/serial/
H A Datmel_serial.c2119 unsigned int old_mode, mode, imr, quot, div, cd, fp = 0; in atmel_set_termios() local
2124 mode = old_mode = atmel_uart_readl(port, ATMEL_US_MR); in atmel_set_termios()
2345 if ((old_mode & ATMEL_US_USMODE) != (mode & ATMEL_US_USMODE)) { in atmel_set_termios()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_lcn.c2390 u16 old_mode = wlc_lcnphy_get_tx_pwr_ctrl(pi); in wlc_lcnphy_set_tx_pwr_ctrl() local
2395 old_mode = wlc_lcnphy_set_tx_pwr_ctrl_mode(pi, old_mode); in wlc_lcnphy_set_tx_pwr_ctrl()
2403 if (old_mode != mode) { in wlc_lcnphy_set_tx_pwr_ctrl()
2404 if (LCNPHY_TX_PWR_CTRL_HW == old_mode) { in wlc_lcnphy_set_tx_pwr_ctrl()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_psr.c2943 u32 old_mode, old_disable_bits; in intel_psr_debug_set() local
2958 old_mode = intel_dp->psr.debug & I915_PSR_DEBUG_MODE_MASK; in intel_psr_debug_set()
2974 if (old_mode != mode || old_disable_bits != disable_bits) in intel_psr_debug_set()
/linux/drivers/video/fbdev/sis/
H A Dsis_main.c1193 int old_mode; in sisfb_do_set_var() local
1226 old_mode = ivideo->sisfb_mode_idx; in sisfb_do_set_var()
1251 ivideo->sisfb_mode_idx = old_mode; in sisfb_do_set_var()
/linux/drivers/gpu/drm/bridge/analogix/
H A Danx7625.c2244 const struct drm_display_mode *old_mode, in anx7625_bridge_mode_set() argument
/linux/arch/x86/kvm/
H A Dx86.c683 enum lapic_mode old_mode = kvm_get_apic_mode(vcpu); in kvm_set_apic_base() local
691 if (old_mode == LAPIC_MODE_X2APIC && new_mode == LAPIC_MODE_XAPIC) in kvm_set_apic_base()
693 if (old_mode == LAPIC_MODE_DISABLED && new_mode == LAPIC_MODE_X2APIC) in kvm_set_apic_base()

12