/linux/arch/powerpc/platforms/cell/ |
A D | spu_priv1_mmio.c | 29 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()
|
A D | spider-pic.c | 109 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()
|
/linux/arch/powerpc/platforms/ps3/ |
A 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/drivers/comedi/drivers/ |
A 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/arch/powerpc/mm/ |
A 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/drivers/net/wireless/ath/ath5k/ |
A D | dma.c | 757 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()
|
/linux/drivers/net/wireless/mediatek/mt76/ |
A D | mt76x02_beacon.c | 70 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()
|
/linux/fs/notify/inotify/ |
A D | inotify_user.c | 520 __u32 old_mask, new_mask; in inotify_update_existing_watch() local 539 old_mask = fsn_mark->mask; in inotify_update_existing_watch() 547 if (old_mask != new_mask) { in inotify_update_existing_watch() 549 int dropped = (old_mask & ~new_mask); in inotify_update_existing_watch()
|
/linux/sound/soc/tegra/ |
A D | tegra210_mvc.c | 139 u8 new_mask, old_mask; in tegra210_mvc_put_mute() local 153 old_mask = (value >> TEGRA210_MVC_MUTE_SHIFT) & TEGRA210_MUTE_MASK_EN; in tegra210_mvc_put_mute() 156 if (new_mask == old_mask) { in tegra210_mvc_put_mute()
|
/linux/drivers/net/fddi/ |
A 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/drivers/net/ethernet/sfc/ |
A D | ef10_sriov.c | 691 u32 old_mask, new_mask; in efx_ef10_sriov_set_privilege_mask() local 711 old_mask = MCDI_DWORD(pm_outbuf, PRIVILEGE_MASK_OUT_OLD_MASK); in efx_ef10_sriov_set_privilege_mask() 713 new_mask = old_mask & ~mask; in efx_ef10_sriov_set_privilege_mask() 716 if (new_mask == old_mask) in efx_ef10_sriov_set_privilege_mask()
|
/linux/drivers/gpu/drm/arm/ |
A D | malidp_crtc.c | 423 u32 old_mask = crtc->state->connector_mask; in malidp_crtc_atomic_check() local 426 if ((old_mask ^ new_mask) == in malidp_crtc_atomic_check()
|
/linux/sound/core/ |
A D | pcm_native.c | 278 struct snd_mask old_mask; in constrain_mask_params() local 291 old_mask = *m; in constrain_mask_params() 300 trace_hw_mask_param(substream, k, 0, &old_mask, m); in constrain_mask_params() 354 struct snd_mask old_mask; in constrain_params_by_rules() local 417 old_mask = *hw_param_mask(params, r->var); in constrain_params_by_rules() 438 k + 1, &old_mask, in constrain_params_by_rules() 638 struct snd_mask old_mask; in snd_pcm_hw_params_choose() local 646 old_mask = *hw_param_mask(params, *v); in snd_pcm_hw_params_choose() 663 trace_hw_mask_param(pcm, *v, 0, &old_mask, in snd_pcm_hw_params_choose()
|
/linux/drivers/net/wireless/quantenna/qtnfmac/ |
A D | cfg80211.c | 398 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()
|
/linux/drivers/gpu/drm/tidss/ |
A D | tidss_dispc.c | 597 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()
|
/linux/drivers/ata/ |
A 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/drivers/net/ethernet/qlogic/netxen/ |
A D | netxen_nic_main.c | 260 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 dma_set_mask(&pdev->dev, old_mask); in nx_update_dma_mask()
|
/linux/drivers/ptp/ |
A D | ptp_clockmatrix.c | 283 u8 old_mask = idtcm->extts_mask; in idtcm_enable_extts() local 306 if (old_mask == 0 && idtcm->extts_mask) in idtcm_enable_extts()
|
/linux/drivers/gpu/drm/i915/display/ |
A D | intel_dpll_mgr.c | 200 unsigned int old_mask; in intel_enable_shared_dpll() local 206 old_mask = pll->active_mask; in intel_enable_shared_dpll() 219 if (old_mask) { in intel_enable_shared_dpll()
|
/linux/net/ipv4/ |
A D | devinet.c | 1220 __be32 old_mask = ifa->ifa_mask; in devinet_ioctl() local 1234 (ifa->ifa_local|~old_mask))) { in devinet_ioctl()
|
/linux/drivers/gpu/drm/bridge/synopsys/ |
A D | dw-hdmi.c | 1571 u8 old_mask = hdmi->phy_mask; in dw_hdmi_phy_update_hpd() local 1578 if (old_mask != hdmi->phy_mask) in dw_hdmi_phy_update_hpd()
|
/linux/drivers/gpu/drm/omapdrm/dss/ |
A 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/net/ceph/ |
A D | osdmap.c | 2278 int old_mask = (1 << old_bits) - 1; in ceph_pg_is_split() local 2294 s = ceph_stable_mod(s, old_pg_num, old_mask); in ceph_pg_is_split()
|
/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
A D | dsi.c | 865 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()
|
A D | dispc.c | 3697 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()
|