Searched refs:old_mask (Results 1 – 12 of 12) sorted by relevance
/drivers/firmware/ |
D | dcdbas.c | 248 cpumask_var_t old_mask; in dcdbas_smi_request() local 258 if (!alloc_cpumask_var(&old_mask, GFP_KERNEL)) in dcdbas_smi_request() 261 cpumask_copy(old_mask, ¤t->cpus_allowed); in dcdbas_smi_request() 284 set_cpus_allowed_ptr(current, old_mask); in dcdbas_smi_request() 285 free_cpumask_var(old_mask); in dcdbas_smi_request()
|
/drivers/ide/ |
D | trm290.c | 283 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()
|
/drivers/staging/comedi/drivers/ |
D | addi_apci_1500.c | 467 unsigned int old_mask; in apci1500_di_cfg_trig() local 482 old_mask = (1U << shift) - 1; in apci1500_di_cfg_trig() 487 old_mask = 0xffff; in apci1500_di_cfg_trig() 497 pm = devpriv->pm[trig] & old_mask; in apci1500_di_cfg_trig() 498 pt = devpriv->pt[trig] & old_mask; in apci1500_di_cfg_trig() 499 pp = devpriv->pp[trig] & old_mask; in apci1500_di_cfg_trig()
|
/drivers/hwmon/ |
D | dell-smm-hwmon.c | 139 cpumask_var_t old_mask; in i8k_smm() local 142 if (!alloc_cpumask_var(&old_mask, GFP_KERNEL)) in i8k_smm() 144 cpumask_copy(old_mask, ¤t->cpus_allowed); in i8k_smm() 210 set_cpus_allowed_ptr(current, old_mask); in i8k_smm() 211 free_cpumask_var(old_mask); in i8k_smm()
|
/drivers/net/wireless/ath/ath5k/ |
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()
|
/drivers/isdn/hardware/eicon/ |
D | debug.c | 55 static void diva_change_management_debug_mask(diva_maint_client_t *pC, dword old_mask); 820 dword old_mask = clients[id].hDbg->dbgMask; in diva_set_driver_dbg_mask() local 825 diva_change_management_debug_mask(&clients[id], old_mask); in diva_set_driver_dbg_mask() 1878 static void diva_change_management_debug_mask(diva_maint_client_t *pC, dword old_mask) { in diva_change_management_debug_mask() argument 1880 dword changed = pC->hDbg->dbgMask ^ old_mask; in diva_change_management_debug_mask()
|
/drivers/gpu/drm/bridge/ |
D | dw_hdmi.c | 1368 u8 old_mask = hdmi->phy_mask; in dw_hdmi_update_phy_mask() local 1375 if (old_mask != hdmi->phy_mask) in dw_hdmi_update_phy_mask()
|
/drivers/ata/ |
D | sata_mv.c | 1053 u32 old_mask, new_mask; in mv_set_main_irq_mask() local 1055 old_mask = hpriv->main_irq_mask; in mv_set_main_irq_mask() 1056 new_mask = (old_mask & ~disable_bits) | enable_bits; in mv_set_main_irq_mask() 1057 if (new_mask != old_mask) { in mv_set_main_irq_mask()
|
/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_main.c | 279 uint64_t mask, old_mask, old_cmask; in nx_update_dma_mask() local 294 old_mask = pdev->dma_mask; in nx_update_dma_mask() 315 pci_set_dma_mask(pdev, old_mask); in nx_update_dma_mask()
|
/drivers/video/fbdev/omap2/dss/ |
D | dsi.c | 876 u32 old_mask; in _omap_dsi_configure_irqs() local 890 old_mask = dsi_read_reg(dsidev, enable_reg); in _omap_dsi_configure_irqs() 892 dsi_write_reg(dsidev, status_reg, (mask ^ old_mask) & mask); in _omap_dsi_configure_irqs()
|
D | dispc.c | 3722 u32 old_mask = dispc_read_reg(DISPC_IRQENABLE); in dispc_write_irqenable() local 3725 dispc_clear_irqstatus((mask ^ old_mask) & mask); in dispc_write_irqenable()
|
/drivers/scsi/lpfc/ |
D | lpfc_init.c | 6195 uint32_t old_mask; in lpfc_setup_bg() local 6204 old_mask = lpfc_prot_mask; in lpfc_setup_bg() 6218 if ((old_mask != lpfc_prot_mask) || in lpfc_setup_bg() 6231 old_mask, old_guard); in lpfc_setup_bg()
|