Home
last modified time | relevance | path

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

/drivers/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()
/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()
/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()
/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()
/drivers/net/ethernet/sfc/
Def10_sriov.c695 u32 old_mask, new_mask; in efx_ef10_sriov_set_privilege_mask() local
715 old_mask = MCDI_DWORD(pm_outbuf, PRIVILEGE_MASK_OUT_OLD_MASK); in efx_ef10_sriov_set_privilege_mask()
717 new_mask = old_mask & ~mask; in efx_ef10_sriov_set_privilege_mask()
720 if (new_mask == old_mask) in efx_ef10_sriov_set_privilege_mask()
/drivers/gpu/drm/arm/
Dmalidp_crtc.c423 u32 old_mask = crtc->state->connector_mask; in malidp_crtc_atomic_check() local
426 if ((old_mask ^ new_mask) == in malidp_crtc_atomic_check()
/drivers/net/wireless/quantenna/qtnfmac/
Dcfg80211.c399 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()
/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()
/drivers/ata/
Dsata_mv.c1044 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()
/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 dma_set_mask(&pdev->dev, old_mask); in nx_update_dma_mask()
/drivers/gpu/drm/i915/display/
Dintel_dpll_mgr.c227 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()
/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c1579 u8 old_mask = hdmi->phy_mask; in dw_hdmi_phy_update_hpd() local
1586 if (old_mask != hdmi->phy_mask) in dw_hdmi_phy_update_hpd()
/drivers/gpu/drm/omapdrm/dss/
Ddsi.c484 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()
Ddispc.c3766 u32 old_mask = dispc_read_reg(dispc, DISPC_IRQENABLE); in dispc_write_irqenable() local
3769 dispc_clear_irqstatus(dispc, (mask ^ old_mask) & mask); in dispc_write_irqenable()
/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()
/drivers/scsi/lpfc/
Dlpfc_init.c8973 uint32_t old_mask; in lpfc_setup_bg() local
8981 old_mask = phba->cfg_prot_mask; in lpfc_setup_bg()
8996 if ((old_mask != phba->cfg_prot_mask) || in lpfc_setup_bg()
9010 old_mask, old_guard); in lpfc_setup_bg()