Home
last modified time | relevance | path

Searched refs:new_mask (Results 1 – 15 of 15) sorted by relevance

/drivers/net/wireless/ath/ath5k/
Ddma.c755 ath5k_hw_set_imr(struct ath5k_hw *ah, enum ath5k_int new_mask) in ath5k_hw_set_imr() argument
775 int_mask = new_mask & AR5K_INT_COMMON; in ath5k_hw_set_imr()
783 if (new_mask & AR5K_INT_FATAL) { in ath5k_hw_set_imr()
790 if (new_mask & AR5K_INT_TIM) in ath5k_hw_set_imr()
793 if (new_mask & AR5K_INT_TIM) in ath5k_hw_set_imr()
795 if (new_mask & AR5K_INT_DTIM) in ath5k_hw_set_imr()
797 if (new_mask & AR5K_INT_DTIM_SYNC) in ath5k_hw_set_imr()
799 if (new_mask & AR5K_INT_BCN_TIMEOUT) in ath5k_hw_set_imr()
801 if (new_mask & AR5K_INT_CAB_TIMEOUT) in ath5k_hw_set_imr()
805 if (new_mask & AR5K_INT_BNR) in ath5k_hw_set_imr()
[all …]
Dath5k.h1521 enum ath5k_int ath5k_hw_set_imr(struct ath5k_hw *ah, enum ath5k_int new_mask);
/drivers/spi/
Dspi-dw.h203 u32 new_mask; in spi_mask_intr() local
205 new_mask = dw_readl(dws, DW_SPI_IMR) & ~mask; in spi_mask_intr()
206 dw_writel(dws, DW_SPI_IMR, new_mask); in spi_mask_intr()
212 u32 new_mask; in spi_umask_intr() local
214 new_mask = dw_readl(dws, DW_SPI_IMR) | mask; in spi_umask_intr()
215 dw_writel(dws, DW_SPI_IMR, new_mask); in spi_umask_intr()
/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c3390 u64 current_mask, new_mask; in i40e_check_fdir_input_set() local
3422 new_mask = current_mask; in i40e_check_fdir_input_set()
3435 new_mask &= ~I40E_VERIFY_TAG_MASK; in i40e_check_fdir_input_set()
3443 new_mask |= I40E_L3_SRC_MASK; in i40e_check_fdir_input_set()
3445 new_mask &= ~I40E_L3_SRC_MASK; in i40e_check_fdir_input_set()
3451 new_mask |= I40E_L3_DST_MASK; in i40e_check_fdir_input_set()
3453 new_mask &= ~I40E_L3_DST_MASK; in i40e_check_fdir_input_set()
3459 new_mask |= I40E_L4_SRC_MASK; in i40e_check_fdir_input_set()
3461 new_mask &= ~I40E_L4_SRC_MASK; in i40e_check_fdir_input_set()
3467 new_mask |= I40E_L4_DST_MASK; in i40e_check_fdir_input_set()
[all …]
/drivers/net/wireless/marvell/libertas/
Ddebugfs.c277 int value, freq, new_mask; in lbs_threshold_write() local
286 ret = sscanf(buf, "%d %d %d", &value, &freq, &new_mask); in lbs_threshold_write()
306 if (new_mask) in lbs_threshold_write()
307 new_mask = curr_mask | event_mask; in lbs_threshold_write()
309 new_mask = curr_mask & ~event_mask; in lbs_threshold_write()
316 events->events = cpu_to_le16(new_mask); in lbs_threshold_write()
/drivers/net/ethernet/brocade/bna/
Dbna_hw_defs.h177 #define bna_intx_enable(bna, new_mask) \ argument
178 writel((new_mask), (bna)->regs.fn_int_mask)
/drivers/net/wireless/quantenna/qtnfmac/
Dcfg80211.c385 u16 new_mask; in qtnf_mgmt_frame_register() local
391 new_mask = vif->mgmt_frames_bitmask | BIT(mgmt_type); in qtnf_mgmt_frame_register()
393 new_mask = vif->mgmt_frames_bitmask & ~BIT(mgmt_type); in qtnf_mgmt_frame_register()
395 if (new_mask == vif->mgmt_frames_bitmask) in qtnf_mgmt_frame_register()
419 vif->mgmt_frames_bitmask = new_mask; in qtnf_mgmt_frame_register()
/drivers/input/keyboard/
Datkbd.c1415 DECLARE_BITMAP(new_mask, ATKBD_KEYMAP_SIZE); in atkbd_set_force_release()
1418 err = bitmap_parselist(buf, new_mask, ATKBD_KEYMAP_SIZE); in atkbd_set_force_release()
1422 memcpy(atkbd->force_release_mask, new_mask, sizeof(atkbd->force_release_mask)); in atkbd_set_force_release()
/drivers/infiniband/hw/hfi1/
Dsdma.c924 cpumask_var_t mask, new_mask; in sdma_set_cpu_to_sde_map() local
936 ret = zalloc_cpumask_var(&new_mask, GFP_KERNEL); in sdma_set_cpu_to_sde_map()
961 cpumask_set_cpu(cpu, new_mask); in sdma_set_cpu_to_sde_map()
1022 cpumask_set_cpu(cpu, new_mask); in sdma_set_cpu_to_sde_map()
1070 cpumask_copy(&sde->cpu_mask, new_mask); in sdma_set_cpu_to_sde_map()
1075 free_cpumask_var(new_mask); in sdma_set_cpu_to_sde_map()
/drivers/net/ethernet/faraday/
Dftgmac100.c1255 unsigned int status, new_mask = FTGMAC100_INT_BAD; in ftgmac100_interrupt() local
1290 new_mask &= ~status; in ftgmac100_interrupt()
1294 iowrite32(new_mask, priv->base + FTGMAC100_OFFSET_IER); in ftgmac100_interrupt()
/drivers/gpu/drm/radeon/
Dkv_dpm.c2409 u32 new_mask = (1 << level); in kv_set_enabled_level() local
2413 new_mask); in kv_set_enabled_level()
2419 u32 i, new_mask = 0; in kv_set_enabled_levels() local
2422 new_mask |= (1 << i); in kv_set_enabled_levels()
2426 new_mask); in kv_set_enabled_levels()
/drivers/scsi/lpfc/
Dlpfc_ct.c2655 int cmdcode, uint32_t new_mask) in lpfc_fdmi_cmd() argument
2744 if (new_mask) in lpfc_fdmi_cmd()
2745 mask = new_mask; in lpfc_fdmi_cmd()
2789 if (new_mask) in lpfc_fdmi_cmd()
2790 mask = new_mask; in lpfc_fdmi_cmd()
/drivers/gpu/drm/amd/amdgpu/
Dkv_dpm.c2462 u32 new_mask = (1 << level); in kv_set_enabled_level() local
2466 new_mask); in kv_set_enabled_level()
2472 u32 i, new_mask = 0; in kv_set_enabled_levels() local
2475 new_mask |= (1 << i); in kv_set_enabled_levels()
2479 new_mask); in kv_set_enabled_levels()
/drivers/ata/
Dsata_mv.c1053 u32 old_mask, new_mask; in mv_set_main_irq_mask() local
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()
1058 hpriv->main_irq_mask = new_mask; in mv_set_main_irq_mask()
1059 mv_write_main_irq_mask(new_mask, hpriv); in mv_set_main_irq_mask()
Dlibata-eh.c3157 unsigned int new_mask = 0; in ata_eh_revalidate_and_attach() local
3222 new_mask |= 1 << dev->devno; in ata_eh_revalidate_and_attach()
3248 if (!(new_mask & (1 << dev->devno))) in ata_eh_revalidate_and_attach()