Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/tty/serial/
Dip22zilog.c555 unsigned char set_bits, clear_bits; in ip22zilog_set_mctrl() local
557 set_bits = clear_bits = 0; in ip22zilog_set_mctrl()
562 clear_bits |= RTS; in ip22zilog_set_mctrl()
566 clear_bits |= DTR; in ip22zilog_set_mctrl()
570 up->curregs[R5] &= ~clear_bits; in ip22zilog_set_mctrl()
661 unsigned char set_bits, clear_bits, new_reg; in ip22zilog_break_ctl() local
664 set_bits = clear_bits = 0; in ip22zilog_break_ctl()
669 clear_bits |= SND_BRK; in ip22zilog_break_ctl()
673 new_reg = (up->curregs[R5] | set_bits) & ~clear_bits; in ip22zilog_break_ctl()
Dsunzilog.c655 unsigned char set_bits, clear_bits; in sunzilog_set_mctrl() local
657 set_bits = clear_bits = 0; in sunzilog_set_mctrl()
662 clear_bits |= RTS; in sunzilog_set_mctrl()
666 clear_bits |= DTR; in sunzilog_set_mctrl()
670 up->curregs[R5] &= ~clear_bits; in sunzilog_set_mctrl()
761 unsigned char set_bits, clear_bits, new_reg; in sunzilog_break_ctl() local
764 set_bits = clear_bits = 0; in sunzilog_break_ctl()
769 clear_bits |= SND_BRK; in sunzilog_break_ctl()
773 new_reg = (up->curregs[R5] | set_bits) & ~clear_bits; in sunzilog_break_ctl()
Dpmac_zilog.c569 unsigned char set_bits, clear_bits; in pmz_set_mctrl() local
579 set_bits = clear_bits = 0; in pmz_set_mctrl()
585 clear_bits |= RTS; in pmz_set_mctrl()
590 clear_bits |= DTR; in pmz_set_mctrl()
594 uap->curregs[R5] &= ~clear_bits; in pmz_set_mctrl()
599 set_bits, clear_bits, uap->curregs[R5]); in pmz_set_mctrl()
736 unsigned char set_bits, clear_bits, new_reg; in pmz_break_ctl() local
741 set_bits = clear_bits = 0; in pmz_break_ctl()
746 clear_bits |= SND_BRK; in pmz_break_ctl()
750 new_reg = (uap->curregs[R5] | set_bits) & ~clear_bits; in pmz_break_ctl()
/linux-2.6.39/arch/powerpc/include/asm/
Dbitops.h80 DEFINE_BITOP(clear_bits, andc, "", "")
91 clear_bits(BITOP_MASK(nr), addr + BITOP_WORD(nr)); in clear_bit()
/linux-2.6.39/arch/arm/mach-ep93xx/include/mach/
Dplatform.h26 void ep93xx_devcfg_set_clear(unsigned int set_bits, unsigned int clear_bits);
/linux-2.6.39/drivers/clocksource/
Dsh_cmt.c39 unsigned long clear_bits; member
309 sh_cmt_write(p, CMCSR, sh_cmt_read(p, CMCSR) & p->clear_bits); in sh_cmt_interrupt()
632 p->clear_bits = ~0x80; in sh_cmt_setup()
636 p->clear_bits = ~0xc000; in sh_cmt_setup()
/linux-2.6.39/drivers/net/cxgb3/
Dael1002.c80 unsigned short clear_bits; member
89 if (rv->clear_bits == 0xffff) in set_phy_regs()
94 rv->reg_addr, rv->clear_bits, in set_phy_regs()
/linux-2.6.39/drivers/firewire/
Dcore.h56 int clear_bits, int set_bits);
Dohci.c559 int clear_bits, int set_bits) in update_phy_reg() argument
570 clear_bits |= PHY_INT_STATUS_BITS; in update_phy_reg()
572 return write_phy_reg(ohci, addr, (ret & ~clear_bits) | set_bits); in update_phy_reg()
599 int clear_bits, int set_bits) in ohci_update_phy_reg() argument
605 ret = update_phy_reg(ohci, addr, clear_bits, set_bits); in ohci_update_phy_reg()
Dcore-card.c584 int clear_bits, int set_bits) in dummy_update_phy_reg() argument
/linux-2.6.39/arch/arm/mach-ep93xx/
Dcore.c211 void ep93xx_devcfg_set_clear(unsigned int set_bits, unsigned int clear_bits) in ep93xx_devcfg_set_clear() argument
219 val &= ~clear_bits; in ep93xx_devcfg_set_clear()
/linux-2.6.39/arch/arm/mach-davinci/
Ddma.c214 static inline void clear_bits(int offset, int len, unsigned long *p) in clear_bits() function
1475 clear_bits(off, ln, in edma_probe()
/linux-2.6.39/fs/btrfs/
Dextent_io.c1391 int clear_bits = 0; in extent_clear_unlock_delalloc() local
1394 clear_bits |= EXTENT_LOCKED; in extent_clear_unlock_delalloc()
1396 clear_bits |= EXTENT_DIRTY; in extent_clear_unlock_delalloc()
1399 clear_bits |= EXTENT_DELALLOC; in extent_clear_unlock_delalloc()
1401 clear_extent_bit(tree, start, end, clear_bits, 1, 0, NULL, GFP_NOFS); in extent_clear_unlock_delalloc()
/linux-2.6.39/drivers/net/wireless/rtlwifi/rtl8192ce/
Dhw.c46 u8 set_bits, u8 clear_bits) in _rtl92ce_set_bcn_ctrl_reg() argument
52 rtlpci->reg_bcn_ctrl_val &= ~clear_bits; in _rtl92ce_set_bcn_ctrl_reg()
/linux-2.6.39/drivers/net/wireless/rtlwifi/rtl8192cu/
Dhw.c1421 u8 set_bits, u8 clear_bits) in _rtl92cu_set_bcn_ctrl_reg() argument
1427 rtlusb->reg_bcn_ctrl_val &= ~clear_bits; in _rtl92cu_set_bcn_ctrl_reg()