Home
last modified time | relevance | path

Searched refs:mask2 (Results 1 – 18 of 18) sorted by relevance

/drivers/net/wireless/ath/ath9k/
Dar9002_mac.c35 u32 mask2 = 0; in ar9002_hw_get_isr() local
66 mask2 |= ATH9K_INT_TIM; in ar9002_hw_get_isr()
68 mask2 |= ATH9K_INT_DTIM; in ar9002_hw_get_isr()
70 mask2 |= ATH9K_INT_DTIMSYNC; in ar9002_hw_get_isr()
72 mask2 |= ATH9K_INT_CABEND; in ar9002_hw_get_isr()
74 mask2 |= ATH9K_INT_GTT; in ar9002_hw_get_isr()
76 mask2 |= ATH9K_INT_CST; in ar9002_hw_get_isr()
78 mask2 |= ATH9K_INT_TSFOOR; in ar9002_hw_get_isr()
114 *masked |= mask2; in ar9002_hw_get_isr()
Dar9003_mac.c181 u32 mask2 = 0; in ar9003_hw_get_isr() local
207 mask2 |= ((isr2 & AR_ISR_S2_TIM) >> in ar9003_hw_get_isr()
209 mask2 |= ((isr2 & AR_ISR_S2_DTIM) >> in ar9003_hw_get_isr()
211 mask2 |= ((isr2 & AR_ISR_S2_DTIMSYNC) >> in ar9003_hw_get_isr()
213 mask2 |= ((isr2 & AR_ISR_S2_CABEND) >> in ar9003_hw_get_isr()
215 mask2 |= ((isr2 & AR_ISR_S2_GTT) << in ar9003_hw_get_isr()
217 mask2 |= ((isr2 & AR_ISR_S2_CST) << in ar9003_hw_get_isr()
219 mask2 |= ((isr2 & AR_ISR_S2_TSFOOR) >> in ar9003_hw_get_isr()
221 mask2 |= ((isr2 & AR_ISR_S2_BB_WATCHDOG) >> in ar9003_hw_get_isr()
293 *masked |= mask2; in ar9003_hw_get_isr()
Dmac.c830 u32 mask, mask2; in ath9k_hw_set_interrupts() local
840 mask2 = 0; in ath9k_hw_set_interrupts()
881 mask2 |= AR_IMR_S2_TIM; in ath9k_hw_set_interrupts()
883 mask2 |= AR_IMR_S2_DTIM; in ath9k_hw_set_interrupts()
885 mask2 |= AR_IMR_S2_DTIMSYNC; in ath9k_hw_set_interrupts()
887 mask2 |= AR_IMR_S2_CABEND; in ath9k_hw_set_interrupts()
889 mask2 |= AR_IMR_S2_TSFOOR; in ath9k_hw_set_interrupts()
895 mask2 |= AR_IMR_S2_GTT; in ath9k_hw_set_interrupts()
897 mask2 |= AR_IMR_S2_CST; in ath9k_hw_set_interrupts()
905 ah->imrs2_reg |= mask2; in ath9k_hw_set_interrupts()
/drivers/net/hamradio/
Dbaycom_par.c222 unsigned int data, mask, mask2, descx; in par96_rx() local
251 for(mask = 0x1fe00, mask2 = 0xfc00, i = 0; in par96_rx()
252 i < PAR96_BURSTBITS; i++, mask <<= 1, mask2 <<= 1) in par96_rx()
253 if ((bc->modem.par96.dcd_shreg & mask) == mask2) in par96_rx()
256 for(mask = 0x1fe00, mask2 = 0x1fe00, i = 0; in par96_rx()
257 i < PAR96_BURSTBITS; i++, mask <<= 1, mask2 <<= 1) in par96_rx()
258 if (((bc->modem.par96.dcd_shreg & mask) == mask2) && in par96_rx()
Dhdlcdrv.c171 unsigned int mask1, mask2, mask3, mask4, mask5, mask6, word; in hdlcdrv_receiver() local
189 for(i = 15, mask1 = 0x1fc00, mask2 = 0x1fe00, mask3 = 0x0fc00, in hdlcdrv_receiver()
192 i--, mask1 <<= 1, mask2 <<= 1, mask3 <<= 1, mask4 <<= 1, in hdlcdrv_receiver()
196 else if ((s->hdlcrx.bitstream & mask2) == mask3) { in hdlcdrv_receiver()
267 unsigned int mask1, mask2, mask3; in hdlcdrv_transmitter() local
343 mask2 = 0x10000; in hdlcdrv_transmitter()
346 for(i = 0; i < 8; i++, mask1 <<= 1, mask2 <<= 1, in hdlcdrv_transmitter()
350 s->hdlctx.bitstream &= ~mask2; in hdlcdrv_transmitter()
/drivers/staging/media/easycap/
Deasycap_settings.c322 u16 mask1, mask2, mask3, mask4; in easycap_video_fillin_formats() local
464 mask2 = 0x0000; in easycap_video_fillin_formats()
502 mask2 = 0x0800; in easycap_video_fillin_formats()
509 mask2 = 0x0800; in easycap_video_fillin_formats()
518 mask2 = 0x0800; in easycap_video_fillin_formats()
599 mask1 | mask2 | mask3 | mask4; in easycap_video_fillin_formats()
/drivers/mfd/
Dmenelaus.c176 u8 mask1, mask2; member
210 the_menelaus->mask2 &= ~(1 << irq); in menelaus_enable_irq()
212 the_menelaus->mask2); in menelaus_enable_irq()
224 the_menelaus->mask2 |= (1 << irq); in menelaus_disable_irq()
226 the_menelaus->mask2); in menelaus_disable_irq()
809 & ~menelaus->mask2) << 8; in menelaus_work()
1223 menelaus->mask2 = 0xff; in menelaus_probe()
/drivers/net/can/c_can/
Dc_can.h30 u16 mask2; member
Dc_can.c449 priv->write_reg(priv, &priv->regs->ifregs[iface].mask2, in c_can_setup_receive_object()
/drivers/video/
Dsh_mobile_hdmi.c917 u8 status1, status2, mask1, mask2; in sh_hdmi_hotplug() local
932 mask2 = hdmi_read(hdmi, HDMI_INTERRUPT_MASK_2); in sh_hdmi_hotplug()
940 irq, status1, mask1, status2, mask2); in sh_hdmi_hotplug()
942 if (!((status1 & mask1) | (status2 & mask2))) { in sh_hdmi_hotplug()
/drivers/staging/usbip/userspace/libsrc/
Dnames.c98 unsigned int mask1 = HASH1 << 27, mask2 = HASH2 << 27; in hashnum() local
100 for (; mask1 >= HASH1; mask1 >>= 1, mask2 >>= 1) in hashnum()
102 num ^= mask2; in hashnum()
/drivers/net/can/
Dpch_can.c139 u32 mask2; member
347 iowrite32(0xffff, &priv->regs->ifregs[0].mask2); in pch_can_clear_if_buffers()
385 pch_can_bit_clear(&priv->regs->ifregs[0].mask2, in pch_can_config_rx_tx_buffers()
408 pch_can_bit_clear(&priv->regs->ifregs[1].mask2, 0x1fff); in pch_can_config_rx_tx_buffers()
/drivers/tty/
Dnozomi.c1073 u16 read_iir, u16 mask1, u16 mask2) in handle_data_dl() argument
1081 if (read_iir & mask2) { in handle_data_dl()
1083 writew(mask2, dc->reg_fcr); in handle_data_dl()
1087 } else if (*toggle == 1 && read_iir & mask2) { in handle_data_dl()
1089 writew(mask2, dc->reg_fcr); in handle_data_dl()
/drivers/tty/serial/
Dbfin_sport_uart.c72 : [mask1]"d"(up->txmask1), [mask2]"d"(up->txmask2) in tx_one_byte()
109 [mask1]"=&d"(tmp_mask1), [mask2]"=&d"(tmp_mask2) in rx_one_byte()
Dioc3_serial.c826 int mask1, int mask2) in set_mcr() argument
852 shadow |= mask2; in set_mcr()
Dioc4_serial.c1556 int mask1, int mask2) in set_mcr() argument
1582 shadow |= mask2; in set_mcr()
/drivers/usb/host/
Dr8a66597-hcd.c1625 u16 mask0, mask1, mask2; in r8a66597_irq() local
1637 mask2 = intsts2 & intenb2; in r8a66597_irq()
1640 if (mask2) { in r8a66597_irq()
1641 if (mask2 & ATTCH) { in r8a66597_irq()
1648 if (mask2 & DTCH) { in r8a66597_irq()
1653 if (mask2 & BCHG) { in r8a66597_irq()
/drivers/media/video/bt8xx/
Dbttv-driver.c1140 int mux,mask2; in video_mux() local
1146 mask2 = bttv_tvcards[btv->c.type].gpiomask2; in video_mux()
1147 if (mask2) in video_mux()
1148 gpio_inout(mask2,mask2); in video_mux()