Home
last modified time | relevance | path

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

/drivers/tty/serial/
Dip22zilog.c547 unsigned char set_bits, clear_bits; in ip22zilog_set_mctrl() local
549 set_bits = clear_bits = 0; in ip22zilog_set_mctrl()
554 clear_bits |= RTS; in ip22zilog_set_mctrl()
558 clear_bits |= DTR; in ip22zilog_set_mctrl()
562 up->curregs[R5] &= ~clear_bits; in ip22zilog_set_mctrl()
659 unsigned char set_bits, clear_bits, new_reg; in ip22zilog_break_ctl() local
662 set_bits = clear_bits = 0; in ip22zilog_break_ctl()
667 clear_bits |= SND_BRK; in ip22zilog_break_ctl()
671 new_reg = (up->curregs[R5] | set_bits) & ~clear_bits; in ip22zilog_break_ctl()
Dpmac_zilog.c541 unsigned char set_bits, clear_bits; in pmz_set_mctrl() local
550 set_bits = clear_bits = 0; in pmz_set_mctrl()
556 clear_bits |= RTS; in pmz_set_mctrl()
561 clear_bits |= DTR; in pmz_set_mctrl()
565 uap->curregs[R5] &= ~clear_bits; in pmz_set_mctrl()
569 set_bits, clear_bits, uap->curregs[R5]); in pmz_set_mctrl()
698 unsigned char set_bits, clear_bits, new_reg; in pmz_break_ctl() local
701 set_bits = clear_bits = 0; in pmz_break_ctl()
706 clear_bits |= SND_BRK; in pmz_break_ctl()
710 new_reg = (uap->curregs[R5] | set_bits) & ~clear_bits; in pmz_break_ctl()
Dsunzilog.c647 unsigned char set_bits, clear_bits; in sunzilog_set_mctrl() local
649 set_bits = clear_bits = 0; in sunzilog_set_mctrl()
654 clear_bits |= RTS; in sunzilog_set_mctrl()
658 clear_bits |= DTR; in sunzilog_set_mctrl()
662 up->curregs[R5] &= ~clear_bits; in sunzilog_set_mctrl()
759 unsigned char set_bits, clear_bits, new_reg; in sunzilog_break_ctl() local
762 set_bits = clear_bits = 0; in sunzilog_break_ctl()
767 clear_bits |= SND_BRK; in sunzilog_break_ctl()
771 new_reg = (up->curregs[R5] | set_bits) & ~clear_bits; in sunzilog_break_ctl()
/drivers/clocksource/
Dsh_cmt.c79 u32 clear_bits; member
185 .clear_bits = ~SH_CMT16_CMCSR_CMF,
195 .clear_bits = ~(SH_CMT32_CMCSR_CMF | SH_CMT32_CMCSR_OVF),
206 .clear_bits = ~(SH_CMT32_CMCSR_CMF | SH_CMT32_CMCSR_OVF),
217 .clear_bits = ~(SH_CMT32_CMCSR_CMF | SH_CMT32_CMCSR_OVF),
228 .clear_bits = ~(SH_CMT32_CMCSR_CMF | SH_CMT32_CMCSR_OVF),
535 ch->cmt->info->clear_bits); in sh_cmt_interrupt()
/drivers/gpio/
Dgpio-thunderx.c278 u64 set_bits, clear_bits; in thunderx_gpio_set_multiple() local
283 clear_bits = ~bits[bank] & mask[bank]; in thunderx_gpio_set_multiple()
285 writeq(clear_bits, txgpio->register_base + (bank * GPIO_2ND_BANK) + GPIO_TX_CLR); in thunderx_gpio_set_multiple()
/drivers/gpu/drm/i915/gvt/
Dinterrupt.c329 u32 clear_bits = 0; in update_upstream_irq() local
354 clear_bits |= (1 << bit); in update_upstream_irq()
363 vgpu_vreg(vgpu, isr) &= ~clear_bits; in update_upstream_irq()
/drivers/net/ethernet/chelsio/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()
/drivers/md/
Dmd-bitmap.h273 sector_t *lo, sector_t *hi, bool clear_bits);
Dmd-bitmap.c1984 sector_t *low, sector_t *high, bool clear_bits) in md_bitmap_copy_from_slot() argument
2010 if (clear_bits) { in md_bitmap_copy_from_slot()
/drivers/firewire/
Dcore.h65 int clear_bits, int set_bits);
Dcore-card.c603 int clear_bits, int set_bits) in dummy_update_phy_reg() argument
Dohci.c645 int clear_bits, int set_bits) in update_phy_reg() argument
656 clear_bits |= PHY_INT_STATUS_BITS; in update_phy_reg()
658 return write_phy_reg(ohci, addr, (ret & ~clear_bits) | set_bits); in update_phy_reg()
685 int clear_bits, int set_bits) in ohci_update_phy_reg() argument
691 ret = update_phy_reg(ohci, addr, clear_bits, set_bits); in ohci_update_phy_reg()
/drivers/usb/typec/tcpm/
Dfusb302.c328 u8 clear_bits) in fusb302_i2c_clear_bits() argument
330 return fusb302_i2c_mask_write(chip, address, clear_bits, 0x00); in fusb302_i2c_clear_bits()
/drivers/ntb/hw/idt/
Dntb_hw_idt.c452 u64 clear_bits) in idt_reg_clear_bits() argument
459 data = idt_nt_read(ndev, reg) & ~(u32)clear_bits; in idt_reg_clear_bits()
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dhw.c43 u8 set_bits, u8 clear_bits) in _rtl92de_set_bcn_ctrl_reg() argument
49 rtlpci->reg_bcn_ctrl_val &= ~clear_bits; in _rtl92de_set_bcn_ctrl_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dhw.c1196 u8 set_bits, u8 clear_bits) in _rtl92cu_set_bcn_ctrl_reg() argument
1202 rtlusb->reg_bcn_ctrl_val &= ~clear_bits; in _rtl92cu_set_bcn_ctrl_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhw.c28 u8 set_bits, u8 clear_bits) in _rtl8723e_set_bcn_ctrl_reg() argument
34 rtlpci->reg_bcn_ctrl_val &= ~clear_bits; in _rtl8723e_set_bcn_ctrl_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dhw.c24 u8 set_bits, u8 clear_bits) in _rtl92ce_set_bcn_ctrl_reg() argument
30 rtlpci->reg_bcn_ctrl_val &= ~clear_bits; in _rtl92ce_set_bcn_ctrl_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dhw.c24 u8 set_bits, u8 clear_bits) in _rtl88ee_set_bcn_ctrl_reg() argument
30 rtlpci->reg_bcn_ctrl_val &= ~clear_bits; in _rtl88ee_set_bcn_ctrl_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dhw.c24 u8 set_bits, u8 clear_bits) in _rtl92ee_set_bcn_ctrl_reg() argument
30 rtlpci->reg_bcn_ctrl_val &= ~clear_bits; in _rtl92ee_set_bcn_ctrl_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c55 u8 set_bits, u8 clear_bits) in _rtl8723be_set_bcn_ctrl_reg() argument
61 rtlpci->reg_bcn_ctrl_val &= ~clear_bits; in _rtl8723be_set_bcn_ctrl_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c51 u8 set_bits, u8 clear_bits) in _rtl8821ae_set_bcn_ctrl_reg() argument
57 rtlpci->reg_bcn_ctrl_val &= ~clear_bits; in _rtl8821ae_set_bcn_ctrl_reg()