/linux-6.6.21/arch/powerpc/platforms/cell/ |
D | spu_priv1_mmio.c | 28 u64 old_mask; in int_mask_and() local 30 old_mask = in_be64(&spu->priv1->int_mask_RW[class]); in int_mask_and() 31 out_be64(&spu->priv1->int_mask_RW[class], old_mask & mask); in int_mask_and() 36 u64 old_mask; in int_mask_or() local 38 old_mask = in_be64(&spu->priv1->int_mask_RW[class]); in int_mask_or() 39 out_be64(&spu->priv1->int_mask_RW[class], old_mask | mask); in int_mask_or()
|
D | spider-pic.c | 110 u32 old_mask; in spider_set_irq_type() local 143 old_mask = in_be32(cfg) & 0x30000000u; in spider_set_irq_type() 144 out_be32(cfg, old_mask | (ic << 24) | (0x7 << 16) | in spider_set_irq_type()
|
/linux-6.6.21/arch/powerpc/platforms/ps3/ |
D | spu.c | 464 u64 old_mask; in int_mask_and() local 467 old_mask = spu_int_mask_get(spu, class); in int_mask_and() 468 spu_int_mask_set(spu, class, old_mask & mask); in int_mask_and() 473 u64 old_mask; in int_mask_or() local 475 old_mask = spu_int_mask_get(spu, class); in int_mask_or() 476 spu_int_mask_set(spu, class, old_mask | mask); in int_mask_or()
|
/linux-6.6.21/drivers/comedi/drivers/ |
D | addi_apci_1500.c | 458 unsigned int old_mask; in apci1500_di_cfg_trig() local 473 old_mask = (1U << shift) - 1; in apci1500_di_cfg_trig() 478 old_mask = 0xffff; in apci1500_di_cfg_trig() 488 pm = devpriv->pm[trig] & old_mask; in apci1500_di_cfg_trig() 489 pt = devpriv->pt[trig] & old_mask; in apci1500_di_cfg_trig() 490 pp = devpriv->pp[trig] & old_mask; in apci1500_di_cfg_trig()
|
/linux-6.6.21/drivers/net/wireless/ath/ath5k/ |
D | dma.c | 742 enum ath5k_int old_mask, int_mask; in ath5k_hw_set_imr() local 744 old_mask = ah->ah_imr; in ath5k_hw_set_imr() 751 if (old_mask & AR5K_INT_GLOBAL) { in ath5k_hw_set_imr() 822 return old_mask; in ath5k_hw_set_imr()
|
/linux-6.6.21/arch/powerpc/mm/book3s64/ |
D | slice.c | 193 struct slice_mask *psize_mask, *old_mask; in slice_convert() local 217 old_mask = slice_mask_for_size(&mm->context, old_psize); in slice_convert() 218 old_mask->low_slices &= ~(1u << i); in slice_convert() 236 old_mask = slice_mask_for_size(&mm->context, old_psize); in slice_convert() 237 __clear_bit(i, old_mask->high_slices); in slice_convert()
|
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/ |
D | mt76x02_beacon.c | 73 u8 old_mask = dev->mt76.beacon_mask; in mt76x02_mac_set_beacon_enable() local 87 if (!!old_mask == !!dev->mt76.beacon_mask) in mt76x02_mac_set_beacon_enable()
|
/linux-6.6.21/fs/notify/inotify/ |
D | inotify_user.c | 543 __u32 old_mask, new_mask; in inotify_update_existing_watch() local 559 old_mask = fsn_mark->mask; in inotify_update_existing_watch() 569 if (old_mask != new_mask) { in inotify_update_existing_watch() 571 int dropped = (old_mask & ~new_mask); in inotify_update_existing_watch()
|
/linux-6.6.21/drivers/net/ethernet/sfc/ |
D | ef10_sriov.c | 685 u32 old_mask, new_mask; in efx_ef10_sriov_set_privilege_mask() local 705 old_mask = MCDI_DWORD(pm_outbuf, PRIVILEGE_MASK_OUT_OLD_MASK); in efx_ef10_sriov_set_privilege_mask() 707 new_mask = old_mask & ~mask; in efx_ef10_sriov_set_privilege_mask() 710 if (new_mask == old_mask) in efx_ef10_sriov_set_privilege_mask()
|
/linux-6.6.21/drivers/ptp/ |
D | ptp_idt82p33.c | 242 u8 old_mask; in idt82p33_extts_enable() local 247 old_mask = idt82p33->extts_mask; in idt82p33_extts_enable() 294 if (old_mask) in idt82p33_extts_enable() 376 u8 old_mask = idt82p33->extts_mask; in _idt82p33_gettime() local 382 if (old_mask) in _idt82p33_gettime() 383 new_mask = idt82p33_extts_enable_mask(channel, old_mask, false); in _idt82p33_gettime()
|
D | ptp_clockmatrix.c | 280 u8 old_mask; in idtcm_extts_enable() local 284 old_mask = idtcm->extts_mask; in idtcm_extts_enable() 320 if (old_mask) in idtcm_extts_enable()
|
/linux-6.6.21/drivers/net/fddi/ |
D | defza.c | 290 unsigned int old_mask, new_mask; in fza_cmd_send() local 295 old_mask = fp->int_mask; in fza_cmd_send() 296 new_mask = old_mask & ~FZA_MASK_STATE_CHG; in fza_cmd_send() 371 fp->int_mask = old_mask; in fza_cmd_send() 1081 unsigned int old_mask, new_mask; in fza_start_xmit() local 1122 old_mask = fp->int_mask; in fza_start_xmit() 1123 new_mask = old_mask & ~FZA_MASK_SMT_TX_POLL; in fza_start_xmit() 1130 fp->int_mask = old_mask; in fza_start_xmit()
|
/linux-6.6.21/drivers/gpu/drm/arm/ |
D | malidp_crtc.c | 424 u32 old_mask = crtc->state->connector_mask; in malidp_crtc_atomic_check() local 427 if ((old_mask ^ new_mask) == in malidp_crtc_atomic_check()
|
/linux-6.6.21/drivers/net/wireless/quantenna/qtnfmac/ |
D | cfg80211.c | 399 u16 old_mask = vif->mgmt_frames_bitmask; in qtnf_update_mgmt_frame_registrations() local 423 if (new_mask == old_mask) in qtnf_update_mgmt_frame_registrations() 432 if (!(new_mask & mask) == !(old_mask & mask)) in qtnf_update_mgmt_frame_registrations()
|
/linux-6.6.21/sound/core/ |
D | pcm_native.c | 291 struct snd_mask old_mask __maybe_unused; in constrain_mask_params() 304 old_mask = *m; in constrain_mask_params() 313 trace_hw_mask_param(substream, k, 0, &old_mask, m); in constrain_mask_params() 367 struct snd_mask old_mask __maybe_unused; in constrain_params_by_rules() 430 old_mask = *hw_param_mask(params, r->var); in constrain_params_by_rules() 451 k + 1, &old_mask, in constrain_params_by_rules() 651 struct snd_mask old_mask __maybe_unused; in snd_pcm_hw_params_choose() 659 old_mask = *hw_param_mask(params, *v); in snd_pcm_hw_params_choose() 676 trace_hw_mask_param(pcm, *v, 0, &old_mask, in snd_pcm_hw_params_choose()
|
/linux-6.6.21/drivers/gpu/drm/i915/display/ |
D | skl_watermark.c | 241 u16 old_mask, new_mask; in icl_sagv_pre_plane_update() local 246 old_mask = old_bw_state->qgv_points_mask; in icl_sagv_pre_plane_update() 249 if (old_mask == new_mask) in icl_sagv_pre_plane_update() 255 old_mask, new_mask); in icl_sagv_pre_plane_update() 273 u16 old_mask, new_mask; in icl_sagv_post_plane_update() local 278 old_mask = old_bw_state->qgv_points_mask | new_bw_state->qgv_points_mask; in icl_sagv_post_plane_update() 281 if (old_mask == new_mask) in icl_sagv_post_plane_update() 287 old_mask, new_mask); in icl_sagv_post_plane_update()
|
D | intel_modeset_setup.c | 516 u32 old_mask = crtcs_forced_off; in intel_sanitize_all_crtcs() local 527 if (crtcs_forced_off == old_mask) in intel_sanitize_all_crtcs()
|
D | intel_dpll_mgr.c | 227 unsigned int old_mask; in intel_enable_shared_dpll() local 233 old_mask = pll->active_mask; in intel_enable_shared_dpll() 246 if (old_mask) { in intel_enable_shared_dpll()
|
/linux-6.6.21/drivers/gpu/drm/tidss/ |
D | tidss_dispc.c | 647 dispc_irq_t old_mask = dispc_k2g_read_irqenable(dispc); in dispc_k2g_set_irqenable() local 650 dispc_k2g_clear_irqstatus(dispc, (mask ^ old_mask) & mask); in dispc_k2g_set_irqenable() 788 dispc_irq_t old_mask; in dispc_k3_set_irqenable() local 790 old_mask = dispc_k3_read_irqenable(dispc); in dispc_k3_set_irqenable() 793 dispc_k3_clear_irqstatus(dispc, (old_mask ^ mask) & mask); in dispc_k3_set_irqenable()
|
/linux-6.6.21/drivers/ata/ |
D | sata_mv.c | 1044 u32 old_mask, new_mask; in mv_set_main_irq_mask() local 1046 old_mask = hpriv->main_irq_mask; in mv_set_main_irq_mask() 1047 new_mask = (old_mask & ~disable_bits) | enable_bits; in mv_set_main_irq_mask() 1048 if (new_mask != old_mask) { in mv_set_main_irq_mask()
|
/linux-6.6.21/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_main.c | 258 uint64_t mask, old_mask, old_cmask; in nx_update_dma_mask() local 273 old_mask = pdev->dma_mask; in nx_update_dma_mask() 294 dma_set_mask(&pdev->dev, old_mask); in nx_update_dma_mask()
|
/linux-6.6.21/net/ipv4/ |
D | devinet.c | 1243 __be32 old_mask = ifa->ifa_mask; in devinet_ioctl() local 1257 (ifa->ifa_local|~old_mask))) { in devinet_ioctl()
|
/linux-6.6.21/drivers/gpu/drm/omapdrm/dss/ |
D | dsi.c | 484 u32 old_mask; in _omap_dsi_configure_irqs() local 498 old_mask = dsi_read_reg(dsi, enable_reg); in _omap_dsi_configure_irqs() 500 dsi_write_reg(dsi, status_reg, (mask ^ old_mask) & mask); in _omap_dsi_configure_irqs()
|
/linux-6.6.21/net/ceph/ |
D | osdmap.c | 2294 int old_mask = (1 << old_bits) - 1; in ceph_pg_is_split() local 2310 s = ceph_stable_mod(s, old_pg_num, old_mask); in ceph_pg_is_split()
|
/linux-6.6.21/drivers/gpu/drm/bridge/synopsys/ |
D | dw-hdmi.c | 1700 u8 old_mask = hdmi->phy_mask; in dw_hdmi_phy_update_hpd() local 1707 if (old_mask != hdmi->phy_mask) in dw_hdmi_phy_update_hpd()
|