Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/usb/musb/
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 …]
/kernel/linux/linux-5.10/fs/ceph/
Dacl.c92 umode_t new_mode = inode->i_mode, old_mode = inode->i_mode; in ceph_set_acl() local
133 if (new_mode != old_mode) { in ceph_set_acl()
144 if (new_mode != old_mode) { in ceph_set_acl()
146 newattrs.ia_mode = old_mode; in ceph_set_acl()
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/dcss/
Ddcss-crtc.c86 struct drm_display_mode *old_mode = &old_crtc_state->adjusted_mode; in dcss_crtc_atomic_enable() local
98 if (!drm_mode_equal(mode, old_mode) || !old_crtc_state->active) { in dcss_crtc_atomic_enable()
120 struct drm_display_mode *old_mode = &old_crtc_state->adjusted_mode; in dcss_crtc_atomic_disable() local
139 if (!drm_mode_equal(mode, old_mode) || !crtc->state->active) in dcss_crtc_atomic_disable()
/kernel/linux/linux-5.10/fs/btrfs/
Dacl.c113 umode_t old_mode = inode->i_mode; in btrfs_set_acl() local
122 inode->i_mode = old_mode; in btrfs_set_acl()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/
Dfalcon_boards.c369 enum ef4_phy_mode old_mode, new_mode; in set_phy_flash_cfg() local
373 old_mode = efx->phy_mode; in set_phy_flash_cfg()
375 new_mode = old_mode & ~PHY_MODE_SPECIAL; in set_phy_flash_cfg()
378 if (!((old_mode ^ new_mode) & PHY_MODE_SPECIAL)) { in set_phy_flash_cfg()
/kernel/linux/linux-5.10/sound/soc/codecs/
Dtwl4030.c1695 u8 mode, old_mode, format, old_format; in twl4030_hw_params() local
1716 old_mode = twl4030_read(component, in twl4030_hw_params()
1718 mode = old_mode & ~TWL4030_APLL_RATE; in twl4030_hw_params()
1774 if (format != old_format || mode != old_mode) { in twl4030_hw_params()
1969 u8 old_mode, mode; in twl4030_voice_hw_params() local
1975 old_mode = twl4030_read(component, in twl4030_voice_hw_params()
1977 mode = old_mode; in twl4030_voice_hw_params()
1992 if (mode != old_mode) { in twl4030_voice_hw_params()
/kernel/linux/linux-5.10/fs/coda/
Ddir.c522 int old_mode; in coda_revalidate_inode() local
539 old_mode = inode->i_mode; in coda_revalidate_inode()
543 if ((old_mode & S_IFMT) != (inode->i_mode & S_IFMT)) { in coda_revalidate_inode()
/kernel/linux/linux-5.10/drivers/scsi/
Dppa.c884 int loop, old_mode, status, k, ppb = dev->base; in device_check() local
887 old_mode = dev->mode; in device_check()
920 dev->mode = old_mode; in device_check()
943 dev->mode = old_mode; in device_check()
Dimm.c1010 int loop, old_mode, status, k, ppb = dev->base; in device_check() local
1013 old_mode = dev->mode; in device_check()
1043 dev->mode = old_mode; in device_check()
1068 dev->mode = old_mode; in device_check()
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/
Divtv-driver.c327 int old_mode; in ivtv_set_output_mode() local
330 old_mode = itv->output_mode; in ivtv_set_output_mode()
331 if (old_mode == 0) in ivtv_set_output_mode()
332 itv->output_mode = old_mode = mode; in ivtv_set_output_mode()
334 return old_mode; in ivtv_set_output_mode()
/kernel/linux/linux-5.10/drivers/input/mouse/
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()
/kernel/linux/linux-5.10/drivers/misc/cxl/
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()
/kernel/linux/linux-5.10/fs/gfs2/
Dinode.c1626 umode_t old_mode = oip->i_inode.i_mode; in gfs2_exchange() local
1641 if (S_ISDIR(old_mode)) { in gfs2_exchange()
1690 if (S_ISDIR(old_mode)) { in gfs2_exchange()
1704 error = update_moved_ino(oip, ndip, S_ISDIR(old_mode)); in gfs2_exchange()
1713 IF2DT(old_mode)); in gfs2_exchange()
1723 if (S_ISDIR(new_mode) && !S_ISDIR(old_mode)) { in gfs2_exchange()
1726 } else if (S_ISDIR(old_mode) && !S_ISDIR(new_mode)) { in gfs2_exchange()
/kernel/linux/linux-5.10/fs/dlm/
Duser.c784 int old_mode, new_mode; in device_read() local
842 old_mode = lkb->lkb_last_cast.mode; in device_read()
870 dlm_lvb_operations[old_mode + 1][new_mode + 1]) in device_read()
/kernel/linux/linux-5.10/net/sched/
Dsch_htb.c662 enum htb_cmode old_mode; in htb_charge_class() local
678 old_mode = cl->cmode; in htb_charge_class()
681 if (old_mode != cl->cmode) { in htb_charge_class()
682 if (old_mode != HTB_CAN_SEND) in htb_charge_class()
/kernel/linux/linux-5.10/drivers/md/
Ddm-thin.c2533 enum pool_mode old_mode = get_pool_mode(pool); in set_pool_mode() local
2543 if (old_mode != new_mode) in set_pool_mode()
2544 new_mode = old_mode; in set_pool_mode()
2553 if (old_mode == PM_FAIL) in set_pool_mode()
2554 new_mode = old_mode; in set_pool_mode()
2603 if (old_mode == PM_OUT_OF_DATA_SPACE) in set_pool_mode()
2623 if (old_mode != new_mode) in set_pool_mode()
2863 enum pool_mode old_mode = get_pool_mode(pool); in bind_control_target() local
2871 pt->adjusted_pf.mode = old_mode; in bind_control_target()
Ddm-clone-target.c176 enum clone_metadata_mode old_mode = get_clone_mode(clone); in __set_clone_mode() local
179 if (old_mode == CM_FAIL) in __set_clone_mode()
195 if (new_mode != old_mode) { in __set_clone_mode()
Ddm-cache-target.c943 enum cache_metadata_mode old_mode = get_cache_mode(cache); in set_cache_mode() local
954 if (old_mode != new_mode) in set_cache_mode()
955 new_mode = old_mode; in set_cache_mode()
961 if (old_mode == CM_FAIL) in set_cache_mode()
977 if (new_mode != old_mode) in set_cache_mode()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_psr.c1373 u32 old_mode; in intel_psr_debug_set() local
1386 old_mode = dev_priv->psr.debug & I915_PSR_DEBUG_MODE_MASK; in intel_psr_debug_set()
1398 if (old_mode != mode) in intel_psr_debug_set()
/kernel/linux/linux-5.10/drivers/media/radio/
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()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_atomic_uapi.c929 int i, ret, old_mode = connector->dpms; in drm_atomic_connector_commit_dpms() local
967 connector->dpms = old_mode; in drm_atomic_connector_commit_dpms()
/kernel/linux/linux-5.10/drivers/tty/serial/
Datmel_serial.c2149 unsigned int old_mode, mode, imr, quot, baud, div, cd, fp = 0; in atmel_set_termios() local
2152 mode = old_mode = atmel_uart_readl(port, ATMEL_US_MR); in atmel_set_termios()
2320 if ((old_mode & ATMEL_US_USMODE) != (mode & ATMEL_US_USMODE)) { in atmel_set_termios()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c1685 int old_mode; in mlx5_eswitch_disable_locked() local
1703 old_mode = esw->mode; in mlx5_eswitch_disable_locked()
1708 if (old_mode == MLX5_ESWITCH_OFFLOADS) { in mlx5_eswitch_disable_locked()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
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()
/kernel/linux/linux-5.10/sound/pci/hda/
Dhda_codec.c2025 unsigned int old_mode = hook->mute_mode; in vmaster_mute_mode_put() local
2030 if (old_mode == hook->mute_mode) in vmaster_mute_mode_put()

12