Home
last modified time | relevance | path

Searched refs:mask1 (Results 1 – 25 of 39) sorted by relevance

12

/linux-2.6.39/drivers/staging/easycap/
Deasycap_settings.c322 u16 mask1, mask2, mask3, mask4; in fillin_formats() local
327 mask1 = 0x0000; in fillin_formats()
330 mask1 = 0x1F & PAL_BGHIN; in fillin_formats()
336 mask1 = 0x1F & SECAM; in fillin_formats()
342 mask1 = 0x1F & PAL_Nc; in fillin_formats()
348 mask1 = 0x1F & PAL_60; in fillin_formats()
354 mask1 = 0x1F & PAL_M; in fillin_formats()
360 mask1 = 0x1F & NTSC_M; in fillin_formats()
366 mask1 = 0x1F & NTSC_443; in fillin_formats()
372 mask1 = 0x1F & NTSC_M_JP; in fillin_formats()
[all …]
/linux-2.6.39/arch/alpha/kernel/
Dsys_rawhide.c103 unsigned int mask, mask1, hose; in rawhide_mask_and_ack_irq() local
112 mask1 = 1 << irq; in rawhide_mask_and_ack_irq()
113 mask = ~mask1 | hose_irq_masks[hose]; in rawhide_mask_and_ack_irq()
122 *(vuip)MCPCIA_INT_REQ(MCPCIA_HOSE2MID(hose)) = mask1; in rawhide_mask_and_ack_irq()
Dsys_titan.c70 unsigned long mask0, mask1, mask2, mask3, dummy; in titan_update_irq_hw() local
74 mask1 = mask & titan_cpu_irq_affinity[1]; in titan_update_irq_hw()
79 else if (bcpu == 1) mask1 |= isa_enable; in titan_update_irq_hw()
93 *dim1 = mask1; in titan_update_irq_hw()
Dsys_dp264.c56 unsigned long mask0, mask1, mask2, mask3, dummy; in tsunami_update_irq_hw() local
60 mask1 = mask & cpu_irq_affinity[1]; in tsunami_update_irq_hw()
65 else if (bcpu == 1) mask1 |= isa_enable; in tsunami_update_irq_hw()
79 *dim1 = mask1; in tsunami_update_irq_hw()
/linux-2.6.39/arch/mips/sgi-ip27/
Dip27-nmi.c132 hubreg_t mask0, mask1, pend0, pend1; in nmi_dump_hub_irq() local
136 mask1 = REMOTE_HUB_L(nasid, PI_INT_MASK1_A); in nmi_dump_hub_irq()
139 mask1 = REMOTE_HUB_L(nasid, PI_INT_MASK1_B); in nmi_dump_hub_irq()
145 printk("PI_INT_MASK0: %16Lx PI_INT_MASK1: %16Lx\n", mask0, mask1); in nmi_dump_hub_irq()
Dip27-irq.c174 hubreg_t pend1, mask1; in ip27_do_irq_mask1() local
181 mask1 = LOCAL_HUB_L(pi_int_mask1); in ip27_do_irq_mask1()
183 pend1 &= mask1; /* Pick intrs we should look at */ in ip27_do_irq_mask1()
/linux-2.6.39/arch/powerpc/sysdev/qe_lib/
Dgpio.c253 u32 mask1 = 1 << (QE_PIO_PINS - (pin + 1)); in qe_pin_set_dedicated() local
268 if (sregs->cpdata & mask1) in qe_pin_set_dedicated()
269 qe_gc->cpdata |= mask1; in qe_pin_set_dedicated()
271 qe_gc->cpdata &= ~mask1; in qe_pin_set_dedicated()
274 clrsetbits_be32(&regs->cpodr, mask1, sregs->cpodr & mask1); in qe_pin_set_dedicated()
/linux-2.6.39/drivers/pcmcia/
Dtcic.c242 u_int mask1; in irq_scan() local
253 mask1 = 0; in irq_scan()
257 mask1 |= (1 << i); in irq_scan()
259 if ((mask1 & (1 << i)) && (try_irq(i) != 0)) { in irq_scan()
260 mask1 ^= (1 << i); in irq_scan()
264 if (mask1) { in irq_scan()
271 mask1 |= (1 << i); in irq_scan()
279 if (mask1 & (1<<i)) in irq_scan()
280 printk("%s%d", ((mask1 & ((1<<i)-1)) ? "," : ""), i); in irq_scan()
283 return mask1; in irq_scan()
Di82365.c520 u_int mask1 = 0; in isa_scan() local
534 mask1 |= (1 << i); in isa_scan()
536 if ((mask1 & (1 << i)) && (test_irq(sock, i) != 0)) in isa_scan()
537 mask1 ^= (1 << i); in isa_scan()
541 if (mask1) { in isa_scan()
547 mask1 |= (1 << i); in isa_scan()
555 if (mask1 & (1<<i)) in isa_scan()
556 printk("%s%d", ((mask1 & ((1<<i)-1)) ? "," : ""), i); in isa_scan()
557 if (mask1 == 0) printk("none!"); in isa_scan()
559 return mask1; in isa_scan()
/linux-2.6.39/drivers/net/hamradio/
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()
194 if ((s->hdlcrx.bitstream & mask1) == mask1) in hdlcdrv_receiver()
267 unsigned int mask1, mask2, mask3; in hdlcdrv_transmitter() local
342 mask1 = 0x1f000; in hdlcdrv_transmitter()
346 for(i = 0; i < 8; i++, mask1 <<= 1, mask2 <<= 1, in hdlcdrv_transmitter()
348 if ((s->hdlctx.bitstream & mask1) != mask1) in hdlcdrv_transmitter()
/linux-2.6.39/arch/mips/vr41xx/common/
Dicu.c628 uint16_t mask1, mask2; in icu_get_irq() local
632 mask1 = icu1_read(MSYSINT1REG); in icu_get_irq()
637 mask1 &= pend1; in icu_get_irq()
640 if (mask1) { in icu_get_irq()
642 if (irq == INT_TO_IRQ(sysint1_assign[i]) && (mask1 & (1 << i))) in icu_get_irq()
/linux-2.6.39/drivers/mfd/
Dmenelaus.c176 u8 mask1, mask2; member
214 the_menelaus->mask1 &= ~(1 << irq); in menelaus_enable_irq()
216 the_menelaus->mask1); in menelaus_enable_irq()
228 the_menelaus->mask1 |= (1 << irq); in menelaus_disable_irq()
230 the_menelaus->mask1); in menelaus_disable_irq()
811 & ~menelaus->mask1; in menelaus_work()
1222 menelaus->mask1 = 0xff; in menelaus_probe()
/linux-2.6.39/sound/pci/ice1712/
Ddelta.c189 unsigned char tmp, mask1, mask2; in snd_ice1712_delta_cs8403_spdif_write() local
192 mask1 = ICE1712_DELTA_SPDIF_OUT_STAT_CLOCK; in snd_ice1712_delta_cs8403_spdif_write()
197 tmp &= ~(mask1 | mask2); in snd_ice1712_delta_cs8403_spdif_write()
202 tmp |= mask1; in snd_ice1712_delta_cs8403_spdif_write()
206 tmp &= ~mask1; in snd_ice1712_delta_cs8403_spdif_write()
/linux-2.6.39/drivers/net/can/c_can/
Dc_can.h29 u16 mask1; member
/linux-2.6.39/include/linux/
DserialP.h111 unsigned char mask1, match1; member
Dserial.h178 unsigned char mask1, match1; member
Dcpumask.h512 #define cpumask_any_and(mask1, mask2) cpumask_first_and((mask1), (mask2)) argument
/linux-2.6.39/arch/frv/kernel/
Dgdb-stub.c852 unsigned long mask0, mask1; in gdbstub_set_breakpoint() member
964 __debug_regs->dbmr[0][1] = dbmr.mask1; in gdbstub_set_breakpoint()
973 : : "r"(addr), "r"(dbmr.mask0), "r"(dbmr.mask1)); in gdbstub_set_breakpoint()
984 __debug_regs->dbmr[1][1] = dbmr.mask1; in gdbstub_set_breakpoint()
993 : : "r"(addr), "r"(dbmr.mask0), "r"(dbmr.mask1)); in gdbstub_set_breakpoint()
1016 unsigned long mask0, mask1; in gdbstub_clear_breakpoint() member
1106 __get_dbmr1(0) != dbmr.mask1) in gdbstub_clear_breakpoint()
1131 __get_dbmr1(1) != dbmr.mask1) in gdbstub_clear_breakpoint()
/linux-2.6.39/arch/x86/include/asm/
Dapic.h554 unsigned long mask1 = cpumask_bits(cpumask)[0]; in default_cpu_mask_to_apicid_and() local
558 return (unsigned int)(mask1 & mask2 & mask3); in default_cpu_mask_to_apicid_and()
/linux-2.6.39/drivers/video/
Dsh_mobile_hdmi.c929 u8 status1, status2, mask1, mask2; in sh_hdmi_hotplug() local
943 mask1 = hdmi_read(hdmi, HDMI_INTERRUPT_MASK_1); in sh_hdmi_hotplug()
952 irq, status1, mask1, status2, mask2); in sh_hdmi_hotplug()
954 if (!((status1 & mask1) | (status2 & mask2))) { in sh_hdmi_hotplug()
/linux-2.6.39/drivers/net/can/
Dpch_can.c137 u32 mask1; member
345 iowrite32(0xffff, &priv->regs->ifregs[0].mask1); in pch_can_clear_if_buffers()
383 iowrite32(0, &priv->regs->ifregs[0].mask1); in pch_can_config_rx_tx_buffers()
406 iowrite32(0, &priv->regs->ifregs[1].mask1); in pch_can_config_rx_tx_buffers()
/linux-2.6.39/drivers/usb/host/
Dr8a66597-hcd.c1625 u16 mask0, mask1, mask2; in r8a66597_irq() local
1638 mask1 = intsts1 & intenb1; in r8a66597_irq()
1660 if (mask1) { in r8a66597_irq()
1661 if (mask1 & ATTCH) { in r8a66597_irq()
1668 if (mask1 & DTCH) { in r8a66597_irq()
1673 if (mask1 & BCHG) { in r8a66597_irq()
1679 if (mask1 & SIGN) { in r8a66597_irq()
1684 if (mask1 & SACK) { in r8a66597_irq()
/linux-2.6.39/arch/xtensa/lib/
Dstrnlen_user.S45 # a6/ mask1
/linux-2.6.39/drivers/tty/
Dnozomi.c1076 u16 read_iir, u16 mask1, u16 mask2) in handle_data_dl() argument
1078 if (*toggle == 0 && read_iir & mask1) { in handle_data_dl()
1080 writew(mask1, dc->reg_fcr); in handle_data_dl()
1096 if (read_iir & mask1) { in handle_data_dl()
1098 writew(mask1, dc->reg_fcr); in handle_data_dl()
/linux-2.6.39/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()

12