Home
last modified time | relevance | path

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

/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/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/drivers/scsi/
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/sound/soc/codecs/
H A Dtwl4030.c1699 u8 mode, old_mode, format, old_format; in twl4030_hw_params()
1720 old_mode = twl4030_read(component, in twl4030_hw_params()
1722 mode = old_mode & ~TWL4030_APLL_RATE; in twl4030_hw_params()
1778 if (format != old_format || mode != old_mode) { in twl4030_hw_params()
1972 u8 old_mode, mode; in twl4030_voice_hw_params()
1978 old_mode = twl4030_read(component, in twl4030_voice_hw_params()
1980 mode = old_mode; in twl4030_voice_hw_params()
1995 if (mode != old_mode) { in twl4030_voice_hw_params()
1697 u8 mode, old_mode, format, old_format; twl4030_hw_params() local
1970 u8 old_mode, mode; twl4030_voice_hw_params() local
/linux/fs/coda/
H A Ddir.c514 int old_mode; in coda_revalidate_inode() local
531 old_mode = inode->i_mode; in coda_revalidate_inode()
535 if ((old_mode & S_IFMT) != (inode->i_mode & S_IFMT)) { in coda_revalidate_inode()
/linux/drivers/media/pci/ivtv/
H A Divtv-driver.c311 int old_mode; in ivtv_set_output_mode() local
314 old_mode = itv->output_mode; in ivtv_set_output_mode()
315 if (old_mode == 0) in ivtv_set_output_mode()
316 itv->output_mode = old_mode = mode; in ivtv_set_output_mode()
318 return old_mode; in ivtv_set_output_mode()
/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/md/
H A Ddm-thin.c2544 enum pool_mode old_mode = get_pool_mode(pool); in set_pool_mode() local
2554 if (old_mode != new_mode) in set_pool_mode()
2555 new_mode = old_mode; in set_pool_mode()
2564 if (old_mode == PM_FAIL) in set_pool_mode()
2565 new_mode = old_mode; in set_pool_mode()
2614 if (old_mode == PM_OUT_OF_DATA_SPACE) in set_pool_mode()
2634 if (old_mode != new_mode) in set_pool_mode()
2868 enum pool_mode old_mode = get_pool_mode(pool); in bind_control_target() local
2876 pt->adjusted_pf.mode = old_mode; in bind_control_target()
H A Ddm-cache-target.c881 enum cache_metadata_mode old_mode = get_cache_mode(cache); in set_cache_mode() local
892 if (old_mode != new_mode) in set_cache_mode()
893 new_mode = old_mode; in set_cache_mode()
899 if (old_mode == CM_FAIL) in set_cache_mode()
915 if (new_mode != old_mode) in set_cache_mode()
H A Ddm-bufio.c724 static void __cache_mark_many(struct dm_buffer_cache *bc, int old_mode, int new_mode, in __cache_mark_many() argument
732 le = lru_evict(&bc->lru[old_mode], __evict_pred, &w, bc->no_sleep); in __cache_mark_many()
742 static void cache_mark_many(struct dm_buffer_cache *bc, int old_mode, int new_mode, in cache_mark_many() argument
748 __cache_mark_many(bc, old_mode, new_mode, pred, context, &lh); in cache_mark_many()
/linux/net/sched/
H A Dsch_htb.c703 enum htb_cmode old_mode; in htb_charge_class() local
719 old_mode = cl->cmode; in htb_charge_class()
722 if (old_mode != cl->cmode) { in htb_charge_class()
723 if (old_mode != HTB_CAN_SEND) in htb_charge_class()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c11316 const struct drm_display_mode *old_mode, *new_mode; in is_timing_unchanged_for_freesync() local
11321 old_mode = &old_crtc_state->mode; in is_timing_unchanged_for_freesync()
11324 if (old_mode->clock == new_mode->clock && in is_timing_unchanged_for_freesync()
11325 old_mode->hdisplay == new_mode->hdisplay && in is_timing_unchanged_for_freesync()
11326 old_mode->vdisplay == new_mode->vdisplay && in is_timing_unchanged_for_freesync()
11327 old_mode->htotal == new_mode->htotal && in is_timing_unchanged_for_freesync()
11328 old_mode->vtotal != new_mode->vtotal && in is_timing_unchanged_for_freesync()
11329 old_mode->hsync_start == new_mode->hsync_start && in is_timing_unchanged_for_freesync()
11330 old_mode->vsync_start != new_mode->vsync_start && in is_timing_unchanged_for_freesync()
11331 old_mode->hsync_end == new_mode->hsync_end && in is_timing_unchanged_for_freesync()
[all …]
/linux/drivers/tty/serial/
H A Datmel_serial.c2109 unsigned int old_mode, mode, imr, quot, div, cd, fp = 0; in atmel_set_termios() local
2114 mode = old_mode = atmel_uart_readl(port, ATMEL_US_MR); in atmel_set_termios()
2335 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/
H A Ddrm_atomic_uapi.c1095 int i, ret, old_mode = connector->dpms; in drm_atomic_connector_commit_dpms() local
1137 connector->dpms = old_mode; in drm_atomic_connector_commit_dpms()
/linux/arch/x86/kvm/
H A Dlapic.c2745 enum lapic_mode old_mode = kvm_get_apic_mode(vcpu); in kvm_apic_set_base() local
2757 if (old_mode == LAPIC_MODE_X2APIC && new_mode == LAPIC_MODE_XAPIC) in kvm_apic_set_base()
2759 if (old_mode == LAPIC_MODE_DISABLED && new_mode == LAPIC_MODE_X2APIC) in kvm_apic_set_base()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_psr.c3340 u32 old_mode, old_disable_bits; in intel_psr_debug_set() local
3355 old_mode = intel_dp->psr.debug & I915_PSR_DEBUG_MODE_MASK; in intel_psr_debug_set()
3371 if (old_mode != mode || old_disable_bits != disable_bits) in intel_psr_debug_set()
/linux/drivers/gpu/drm/bridge/analogix/
H A Danx7625.c2202 const struct drm_display_mode *old_mode, in anx7625_bridge_mode_set() argument