Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/
Dspu_priv1_mmio.c29 u64 old_mask; in int_mask_and() local
31 old_mask = in_be64(&spu->priv1->int_mask_RW[class]); in int_mask_and()
32 out_be64(&spu->priv1->int_mask_RW[class], old_mask & mask); in int_mask_and()
37 u64 old_mask; in int_mask_or() local
39 old_mask = in_be64(&spu->priv1->int_mask_RW[class]); in int_mask_or()
40 out_be64(&spu->priv1->int_mask_RW[class], old_mask | mask); in int_mask_or()
Dspider-pic.c109 u32 old_mask; in spider_set_irq_type() local
142 old_mask = in_be32(cfg) & 0x30000000u; in spider_set_irq_type()
143 out_be32(cfg, old_mask | (ic << 24) | (0x7 << 16) | in spider_set_irq_type()
/kernel/linux/linux-5.10/arch/powerpc/platforms/ps3/
Dspu.c464 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()
/kernel/linux/linux-5.10/drivers/ide/
Dtrm290.c283 u8 old_mask; in init_hwif_trm290() local
288 old_mask = inb(old + 2); in init_hwif_trm290()
289 if (old != compat && old_mask == 0xff) { in init_hwif_trm290()
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Daddi_apci_1500.c458 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()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/
Ddma.c757 enum ath5k_int old_mask, int_mask; in ath5k_hw_set_imr() local
759 old_mask = ah->ah_imr; in ath5k_hw_set_imr()
766 if (old_mask & AR5K_INT_GLOBAL) { in ath5k_hw_set_imr()
837 return old_mask; in ath5k_hw_set_imr()
/kernel/linux/linux-5.10/arch/powerpc/mm/
Dslice.c193 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()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
Dmt76x02_beacon.c70 u8 old_mask = dev->mt76.beacon_mask; in mt76x02_mac_set_beacon_enable() local
83 if (!!old_mask == !!dev->mt76.beacon_mask) in mt76x02_mac_set_beacon_enable()
/kernel/linux/linux-5.10/fs/notify/inotify/
Dinotify_user.c507 __u32 old_mask, new_mask; in inotify_update_existing_watch() local
526 old_mask = fsn_mark->mask; in inotify_update_existing_watch()
534 if (old_mask != new_mask) { in inotify_update_existing_watch()
536 int dropped = (old_mask & ~new_mask); in inotify_update_existing_watch()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Def10_sriov.c696 u32 old_mask, new_mask; in efx_ef10_sriov_set_privilege_mask() local
716 old_mask = MCDI_DWORD(pm_outbuf, PRIVILEGE_MASK_OUT_OLD_MASK); in efx_ef10_sriov_set_privilege_mask()
718 new_mask = old_mask & ~mask; in efx_ef10_sriov_set_privilege_mask()
721 if (new_mask == old_mask) in efx_ef10_sriov_set_privilege_mask()
/kernel/linux/linux-5.10/drivers/net/fddi/
Ddefza.c290 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/
Dmalidp_crtc.c419 u32 old_mask = crtc->state->connector_mask; in malidp_crtc_atomic_check() local
422 if ((old_mask ^ new_mask) == in malidp_crtc_atomic_check()
/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/
Dcfg80211.c398 u16 old_mask = vif->mgmt_frames_bitmask; in qtnf_update_mgmt_frame_registrations() local
422 if (new_mask == old_mask) in qtnf_update_mgmt_frame_registrations()
431 if (!(new_mask & mask) == !(old_mask & mask)) in qtnf_update_mgmt_frame_registrations()
/kernel/linux/linux-5.10/sound/core/
Dpcm_native.c273 struct snd_mask old_mask; in constrain_mask_params() local
286 old_mask = *m; in constrain_mask_params()
295 trace_hw_mask_param(substream, k, 0, &old_mask, m); in constrain_mask_params()
349 struct snd_mask old_mask; in constrain_params_by_rules() local
412 old_mask = *hw_param_mask(params, r->var); in constrain_params_by_rules()
433 k + 1, &old_mask, in constrain_params_by_rules()
633 struct snd_mask old_mask; in snd_pcm_hw_params_choose() local
641 old_mask = *hw_param_mask(params, *v); in snd_pcm_hw_params_choose()
658 trace_hw_mask_param(pcm, *v, 0, &old_mask, in snd_pcm_hw_params_choose()
/kernel/linux/linux-5.10/drivers/gpu/drm/tidss/
Dtidss_dispc.c597 dispc_irq_t old_mask = dispc_k2g_read_irqenable(dispc); in dispc_k2g_set_irqenable() local
600 dispc_k2g_clear_irqstatus(dispc, (mask ^ old_mask) & mask); in dispc_k2g_set_irqenable()
738 dispc_irq_t old_mask; in dispc_k3_set_irqenable() local
740 old_mask = dispc_k3_read_irqenable(dispc); in dispc_k3_set_irqenable()
743 dispc_k3_clear_irqstatus(dispc, (old_mask ^ mask) & mask); in dispc_k3_set_irqenable()
/kernel/linux/linux-5.10/drivers/ata/
Dsata_mv.c1040 u32 old_mask, new_mask; in mv_set_main_irq_mask() local
1042 old_mask = hpriv->main_irq_mask; in mv_set_main_irq_mask()
1043 new_mask = (old_mask & ~disable_bits) | enable_bits; in mv_set_main_irq_mask()
1044 if (new_mask != old_mask) { in mv_set_main_irq_mask()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c260 uint64_t mask, old_mask, old_cmask; in nx_update_dma_mask() local
275 old_mask = pdev->dma_mask; in nx_update_dma_mask()
296 pci_set_dma_mask(pdev, old_mask); in nx_update_dma_mask()
/kernel/linux/linux-5.10/net/ipv4/
Ddevinet.c1220 __be32 old_mask = ifa->ifa_mask; in devinet_ioctl() local
1234 (ifa->ifa_local|~old_mask))) { in devinet_ioctl()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_dpll_mgr.c202 unsigned int old_mask; in intel_enable_shared_dpll() local
208 old_mask = pll->active_mask; in intel_enable_shared_dpll()
221 if (old_mask) { in intel_enable_shared_dpll()
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c1578 u8 old_mask = hdmi->phy_mask; in dw_hdmi_phy_update_hpd() local
1585 if (old_mask != hdmi->phy_mask) in dw_hdmi_phy_update_hpd()
/kernel/linux/linux-5.10/net/ceph/
Dosdmap.c2259 int old_mask = (1 << old_bits) - 1; in ceph_pg_is_split() local
2275 s = ceph_stable_mod(s, old_pg_num, old_mask); in ceph_pg_is_split()
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
Ddsi.c865 u32 old_mask; in _omap_dsi_configure_irqs() local
879 old_mask = dsi_read_reg(dsidev, enable_reg); in _omap_dsi_configure_irqs()
881 dsi_write_reg(dsidev, status_reg, (mask ^ old_mask) & mask); in _omap_dsi_configure_irqs()
Ddispc.c3697 u32 old_mask = dispc_read_reg(DISPC_IRQENABLE); in dispc_write_irqenable() local
3700 dispc_clear_irqstatus((mask ^ old_mask) & mask); in dispc_write_irqenable()
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
Ddsi.c853 u32 old_mask; in _omap_dsi_configure_irqs() local
867 old_mask = dsi_read_reg(dsi, enable_reg); in _omap_dsi_configure_irqs()
869 dsi_write_reg(dsi, status_reg, (mask ^ old_mask) & mask); in _omap_dsi_configure_irqs()
Ddispc.c3747 u32 old_mask = dispc_read_reg(dispc, DISPC_IRQENABLE); in dispc_write_irqenable() local
3750 dispc_clear_irqstatus(dispc, (mask ^ old_mask) & mask); in dispc_write_irqenable()

12