Home
last modified time | relevance | path

Searched refs:set_bits (Results 1 – 23 of 23) sorted by relevance

/drivers/media/platform/omap3isp/
Disp.h327 u32 reg, u32 set_bits) in isp_reg_set() argument
331 isp_reg_writel(isp, v | set_bits, mmio_range, reg); in isp_reg_set()
346 u32 reg, u32 clr_bits, u32 set_bits) in isp_reg_clr_set() argument
350 isp_reg_writel(isp, (v & ~clr_bits) | set_bits, mmio_range, reg); in isp_reg_clr_set()
/drivers/tty/serial/
Dip22zilog.c550 unsigned char set_bits, clear_bits; in ip22zilog_set_mctrl() local
552 set_bits = clear_bits = 0; in ip22zilog_set_mctrl()
555 set_bits |= RTS; in ip22zilog_set_mctrl()
559 set_bits |= DTR; in ip22zilog_set_mctrl()
564 up->curregs[R5] |= set_bits; in ip22zilog_set_mctrl()
662 unsigned char set_bits, clear_bits, new_reg; in ip22zilog_break_ctl() local
665 set_bits = clear_bits = 0; in ip22zilog_break_ctl()
668 set_bits |= SND_BRK; in ip22zilog_break_ctl()
674 new_reg = (up->curregs[R5] | set_bits) & ~clear_bits; in ip22zilog_break_ctl()
Dpmac_zilog.c559 unsigned char set_bits, clear_bits; in pmz_set_mctrl() local
568 set_bits = clear_bits = 0; in pmz_set_mctrl()
572 set_bits |= RTS; in pmz_set_mctrl()
577 set_bits |= DTR; in pmz_set_mctrl()
582 uap->curregs[R5] |= set_bits; in pmz_set_mctrl()
587 set_bits, clear_bits, uap->curregs[R5]); in pmz_set_mctrl()
716 unsigned char set_bits, clear_bits, new_reg; in pmz_break_ctl() local
719 set_bits = clear_bits = 0; in pmz_break_ctl()
722 set_bits |= SND_BRK; in pmz_break_ctl()
728 new_reg = (uap->curregs[R5] | set_bits) & ~clear_bits; in pmz_break_ctl()
Dsunzilog.c650 unsigned char set_bits, clear_bits; in sunzilog_set_mctrl() local
652 set_bits = clear_bits = 0; in sunzilog_set_mctrl()
655 set_bits |= RTS; in sunzilog_set_mctrl()
659 set_bits |= DTR; in sunzilog_set_mctrl()
664 up->curregs[R5] |= set_bits; in sunzilog_set_mctrl()
762 unsigned char set_bits, clear_bits, new_reg; in sunzilog_break_ctl() local
765 set_bits = clear_bits = 0; in sunzilog_break_ctl()
768 set_bits |= SND_BRK; in sunzilog_break_ctl()
774 new_reg = (up->curregs[R5] | set_bits) & ~clear_bits; in sunzilog_break_ctl()
Drp2.c238 u32 clr_bits, u32 set_bits) in rp2_rmw() argument
242 tmp |= set_bits; in rp2_rmw()
/drivers/hwmon/
Dgl518sm.c311 #define set_bits(type, suffix, value, reg, mask, shift) \ macro
334 set_bits(type, suffix, value, reg, 0x00ff, 0)
336 set_bits(type, suffix, value, reg, 0xff00, 8)
340 set_bits(BOOL, fan_auto1, fan_auto1, GL518_REG_MISC, 0x08, 3);
349 set_bits(BOOL, beep_enable, beep_enable, GL518_REG_CONF, 0x04, 2);
/drivers/net/ethernet/smsc/
Dsmc91c92_cs.c261 #define set_bits(v, p) outw(inw(p)|(v), (p)) macro
699 set_bits(0x300, link->resource[0]->start + OSITECH_AUI_PWR); in osi_setup()
701 set_bits(0x300, link->resource[0]->start + OSITECH_RESET_ISR); in osi_setup()
733 set_bits(0x0300, dev->base_addr-0x10+OSITECH_AUI_PWR); in smc91c92_resume()
734 set_bits(0x0300, dev->base_addr-0x10+OSITECH_RESET_ISR); in smc91c92_resume()
1439 set_bits(0x0300, ioaddr-0x10+OSITECH_RESET_ISR); in smc_interrupt()
1623 set_bits(OSI_AUI_PWR, ioaddr - 0x10 + OSITECH_AUI_PWR); in smc_set_xcvr()
/drivers/net/ethernet/chelsio/cxgb3/
Dael1002.c81 unsigned short set_bits; member
91 rv->set_bits); in set_phy_regs()
95 rv->set_bits); in set_phy_regs()
/drivers/media/radio/si4713/
Dsi4713.c89 #define set_bits(p, v, b, m) (((p) & ~(m)) | ((v) << (b))) macro
1217 val = set_bits(val, ctrl->val, bit, mask); in si4713_s_ctrl()
1344 p = set_bits(p, stereo, 1, 1 << 1); in si4713_s_modulator()
1345 p = set_bits(p, rds, 2, 1 << 2); in si4713_s_modulator()
/drivers/firewire/
Dcore.h64 int clear_bits, int set_bits);
Dcore-card.c600 int clear_bits, int set_bits) in dummy_update_phy_reg() argument
Dohci.c613 int clear_bits, int set_bits) in update_phy_reg() argument
626 return write_phy_reg(ohci, addr, (ret & ~clear_bits) | set_bits); in update_phy_reg()
653 int clear_bits, int set_bits) in ohci_update_phy_reg() argument
659 ret = update_phy_reg(ohci, addr, clear_bits, set_bits); in ohci_update_phy_reg()
/drivers/soc/fsl/qbman/
Dbman.c610 set_bits(bits & BM_PIRQ_VISIBLE, &p->irq_sources); in bman_p_irqsource_add()
Dqman.c935 set_bits(mask, &fq->flags); in fq_set()
1606 set_bits(bits & QM_PIRQ_VISIBLE, &p->irq_sources); in qman_p_irqsource_add()
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dhw.c69 u8 set_bits, u8 clear_bits) in _rtl92de_set_bcn_ctrl_reg() argument
74 rtlpci->reg_bcn_ctrl_val |= set_bits; in _rtl92de_set_bcn_ctrl_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dhw.c1232 u8 set_bits, u8 clear_bits) in _rtl92cu_set_bcn_ctrl_reg() argument
1237 rtlusb->reg_bcn_ctrl_val |= set_bits; in _rtl92cu_set_bcn_ctrl_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhw.c50 u8 set_bits, u8 clear_bits) in _rtl8723e_set_bcn_ctrl_reg() argument
55 rtlpci->reg_bcn_ctrl_val |= set_bits; in _rtl8723e_set_bcn_ctrl_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dhw.c50 u8 set_bits, u8 clear_bits) in _rtl92ce_set_bcn_ctrl_reg() argument
55 rtlpci->reg_bcn_ctrl_val |= set_bits; in _rtl92ce_set_bcn_ctrl_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dhw.c46 u8 set_bits, u8 clear_bits) in _rtl88ee_set_bcn_ctrl_reg() argument
51 rtlpci->reg_bcn_ctrl_val |= set_bits; in _rtl88ee_set_bcn_ctrl_reg()
/drivers/dma/ppc4xx/
Dadma.c338 set_bits(op, &desc->flags); in ppc440spe_desc_init_dma01pq()
2119 set_bits(op, &sw_desc->flags); in ppc440spe_dma01_prep_mult()
2205 set_bits(op, &sw_desc->flags); in ppc440spe_dma01_prep_sum_product()
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c72 u8 set_bits, u8 clear_bits) in _rtl8723be_set_bcn_ctrl_reg() argument
77 rtlpci->reg_bcn_ctrl_val |= set_bits; in _rtl8723be_set_bcn_ctrl_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dhw.c46 u8 set_bits, u8 clear_bits) in _rtl92ee_set_bcn_ctrl_reg() argument
51 rtlpci->reg_bcn_ctrl_val |= set_bits; in _rtl92ee_set_bcn_ctrl_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c69 u8 set_bits, u8 clear_bits) in _rtl8821ae_set_bcn_ctrl_reg() argument
74 rtlpci->reg_bcn_ctrl_val |= set_bits; in _rtl8821ae_set_bcn_ctrl_reg()