Home
last modified time | relevance | path

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

/drivers/net/wireless/ath/ath5k/
Ddma.c744 ath5k_hw_set_imr(struct ath5k_hw *ah, enum ath5k_int new_mask) in ath5k_hw_set_imr() argument
764 int_mask = new_mask & AR5K_INT_COMMON; in ath5k_hw_set_imr()
772 if (new_mask & AR5K_INT_FATAL) { in ath5k_hw_set_imr()
779 if (new_mask & AR5K_INT_TIM) in ath5k_hw_set_imr()
782 if (new_mask & AR5K_INT_TIM) in ath5k_hw_set_imr()
784 if (new_mask & AR5K_INT_DTIM) in ath5k_hw_set_imr()
786 if (new_mask & AR5K_INT_DTIM_SYNC) in ath5k_hw_set_imr()
788 if (new_mask & AR5K_INT_BCN_TIMEOUT) in ath5k_hw_set_imr()
790 if (new_mask & AR5K_INT_CAB_TIMEOUT) in ath5k_hw_set_imr()
794 if (new_mask & AR5K_INT_BNR) in ath5k_hw_set_imr()
[all …]
Dath5k.h1514 enum ath5k_int ath5k_hw_set_imr(struct ath5k_hw *ah, enum ath5k_int new_mask);
/drivers/spi/
Dspi-dw.h206 u32 new_mask; in spi_mask_intr() local
208 new_mask = dw_readl(dws, DW_SPI_IMR) & ~mask; in spi_mask_intr()
209 dw_writel(dws, DW_SPI_IMR, new_mask); in spi_mask_intr()
215 u32 new_mask; in spi_umask_intr() local
217 new_mask = dw_readl(dws, DW_SPI_IMR) | mask; in spi_umask_intr()
218 dw_writel(dws, DW_SPI_IMR, new_mask); in spi_umask_intr()
/drivers/net/wireless/libertas/
Ddebugfs.c285 int value, freq, new_mask; in lbs_threshold_write() local
299 ret = sscanf(buf, "%d %d %d", &value, &freq, &new_mask); in lbs_threshold_write()
319 if (new_mask) in lbs_threshold_write()
320 new_mask = curr_mask | event_mask; in lbs_threshold_write()
322 new_mask = curr_mask & ~event_mask; in lbs_threshold_write()
329 events->events = cpu_to_le16(new_mask); in lbs_threshold_write()
/drivers/net/ethernet/brocade/bna/
Dbna_hw_defs.h183 #define bna_intx_enable(bna, new_mask) \ argument
184 writel((new_mask), (bna)->regs.fn_int_mask)
Dbnad.c2876 u32 new_mask, valid_mask; in bnad_set_rx_mode() local
2881 new_mask = valid_mask = 0; in bnad_set_rx_mode()
2885 new_mask = BNAD_RXMODE_PROMISC_DEFAULT; in bnad_set_rx_mode()
2891 new_mask = ~BNAD_RXMODE_PROMISC_DEFAULT; in bnad_set_rx_mode()
2899 new_mask |= BNA_RXMODE_ALLMULTI; in bnad_set_rx_mode()
2905 new_mask &= ~BNA_RXMODE_ALLMULTI; in bnad_set_rx_mode()
2914 bna_rx_mode_set(bnad->rx_info[0].rx, new_mask, valid_mask, NULL); in bnad_set_rx_mode()
/drivers/input/keyboard/
Datkbd.c1376 DECLARE_BITMAP(new_mask, ATKBD_KEYMAP_SIZE); in atkbd_set_force_release()
1379 err = bitmap_parselist(buf, new_mask, ATKBD_KEYMAP_SIZE); in atkbd_set_force_release()
1383 memcpy(atkbd->force_release_mask, new_mask, sizeof(atkbd->force_release_mask)); in atkbd_set_force_release()
/drivers/ata/
Dsata_mv.c1030 u32 old_mask, new_mask; in mv_set_main_irq_mask() local
1033 new_mask = (old_mask & ~disable_bits) | enable_bits; in mv_set_main_irq_mask()
1034 if (new_mask != old_mask) { in mv_set_main_irq_mask()
1035 hpriv->main_irq_mask = new_mask; in mv_set_main_irq_mask()
1036 mv_write_main_irq_mask(new_mask, hpriv); in mv_set_main_irq_mask()
Dlibata-eh.c3016 unsigned int new_mask = 0; in ata_eh_revalidate_and_attach() local
3081 new_mask |= 1 << dev->devno; in ata_eh_revalidate_and_attach()
3107 if (!(new_mask & (1 << dev->devno))) in ata_eh_revalidate_and_attach()