Searched refs:new_mask (Results 1 – 10 of 10) sorted by relevance
/drivers/net/wireless/ath/ath5k/ |
D | dma.c | 746 ath5k_hw_set_imr(struct ath5k_hw *ah, enum ath5k_int new_mask) in ath5k_hw_set_imr() argument 766 int_mask = new_mask & AR5K_INT_COMMON; in ath5k_hw_set_imr() 774 if (new_mask & AR5K_INT_FATAL) { in ath5k_hw_set_imr() 781 if (new_mask & AR5K_INT_TIM) in ath5k_hw_set_imr() 784 if (new_mask & AR5K_INT_TIM) in ath5k_hw_set_imr() 786 if (new_mask & AR5K_INT_DTIM) in ath5k_hw_set_imr() 788 if (new_mask & AR5K_INT_DTIM_SYNC) in ath5k_hw_set_imr() 790 if (new_mask & AR5K_INT_BCN_TIMEOUT) in ath5k_hw_set_imr() 792 if (new_mask & AR5K_INT_CAB_TIMEOUT) in ath5k_hw_set_imr() 796 if (new_mask & AR5K_INT_BNR) in ath5k_hw_set_imr() [all …]
|
D | ath5k.h | 1517 enum ath5k_int ath5k_hw_set_imr(struct ath5k_hw *ah, enum ath5k_int new_mask);
|
/drivers/spi/ |
D | spi-dw.h | 206 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/irqchip/ |
D | irq-armada-370-xp.c | 95 unsigned long new_mask = 0; in armada_xp_set_affinity() local 102 new_mask |= 1 << cpu_logical_map(cpu); in armada_xp_set_affinity() 120 reg = (reg & (~online_mask)) | new_mask; in armada_xp_set_affinity()
|
/drivers/net/wireless/libertas/ |
D | debugfs.c | 285 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/ |
D | bna_hw_defs.h | 176 #define bna_intx_enable(bna, new_mask) \ argument 177 writel((new_mask), (bna)->regs.fn_int_mask)
|
D | bnad.c | 2941 u32 new_mask, valid_mask; in bnad_set_rx_mode() local 2946 new_mask = valid_mask = 0; in bnad_set_rx_mode() 2950 new_mask = BNAD_RXMODE_PROMISC_DEFAULT; in bnad_set_rx_mode() 2956 new_mask = ~BNAD_RXMODE_PROMISC_DEFAULT; in bnad_set_rx_mode() 2964 new_mask |= BNA_RXMODE_ALLMULTI; in bnad_set_rx_mode() 2970 new_mask &= ~BNA_RXMODE_ALLMULTI; in bnad_set_rx_mode() 2979 bna_rx_mode_set(bnad->rx_info[0].rx, new_mask, valid_mask, NULL); in bnad_set_rx_mode()
|
/drivers/input/keyboard/ |
D | atkbd.c | 1406 DECLARE_BITMAP(new_mask, ATKBD_KEYMAP_SIZE); in atkbd_set_force_release() 1409 err = bitmap_parselist(buf, new_mask, ATKBD_KEYMAP_SIZE); in atkbd_set_force_release() 1413 memcpy(atkbd->force_release_mask, new_mask, sizeof(atkbd->force_release_mask)); in atkbd_set_force_release()
|
/drivers/ata/ |
D | sata_mv.c | 1034 u32 old_mask, new_mask; in mv_set_main_irq_mask() local 1037 new_mask = (old_mask & ~disable_bits) | enable_bits; in mv_set_main_irq_mask() 1038 if (new_mask != old_mask) { in mv_set_main_irq_mask() 1039 hpriv->main_irq_mask = new_mask; in mv_set_main_irq_mask() 1040 mv_write_main_irq_mask(new_mask, hpriv); in mv_set_main_irq_mask()
|
D | libata-eh.c | 3073 unsigned int new_mask = 0; in ata_eh_revalidate_and_attach() local 3138 new_mask |= 1 << dev->devno; in ata_eh_revalidate_and_attach() 3164 if (!(new_mask & (1 << dev->devno))) in ata_eh_revalidate_and_attach()
|