Searched refs:bitval (Results 1 – 8 of 8) sorted by relevance
/drivers/video/fbdev/core/ |
D | svgalib.c | 25 u8 regval, bitval, bitnum; in svga_wcrt_multi() local 31 bitval = 1 << bitnum; in svga_wcrt_multi() 32 regval = regval & ~bitval; in svga_wcrt_multi() 33 if (value & 1) regval = regval | bitval; in svga_wcrt_multi() 45 u8 regval, bitval, bitnum; in svga_wseq_multi() local 51 bitval = 1 << bitnum; in svga_wseq_multi() 52 regval = regval & ~bitval; in svga_wseq_multi() 53 if (value & 1) regval = regval | bitval; in svga_wseq_multi()
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | mv88e1xxx.c | 17 static void mdio_set_bit(struct cphy *cphy, int reg, u32 bitval) in mdio_set_bit() argument 22 (void) simple_mdio_write(cphy, reg, val | bitval); in mdio_set_bit() 28 static void mdio_clear_bit(struct cphy *cphy, int reg, u32 bitval) in mdio_clear_bit() argument 33 (void) simple_mdio_write(cphy, reg, val & ~bitval); in mdio_clear_bit()
|
/drivers/pinctrl/samsung/ |
D | pinctrl-s3c24xx.c | 264 unsigned long bitval = 1UL << data->hwirq; in s3c2412_eint0_3_ack() local 265 writel(bitval, d->virt_base + EINTPEND_REG); in s3c2412_eint0_3_ack()
|
/drivers/media/pci/saa7134/ |
D | saa7134-core.c | 132 u32 index, bitval; in saa7134_set_gpio() local 143 bitval = index; in saa7134_set_gpio() 145 bitval = 0; in saa7134_set_gpio() 147 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, index, bitval); in saa7134_set_gpio()
|
/drivers/misc/ |
D | panel.c | 1767 int bit, bitval; in phys_scan_contacts() local 1803 bitval = BIT(bit); in phys_scan_contacts() 1805 if (!(scan_mask_o & bitval)) /* skip unused bits */ in phys_scan_contacts() 1808 w_dtr(pprt, oldval & ~bitval); /* enable this output */ in phys_scan_contacts()
|
/drivers/irqchip/ |
D | irq-s3c24xx.c | 137 unsigned long bitval = 1UL << irq_data->offset; in s3c_irq_ack() local 139 writel_relaxed(bitval, intc->reg_pending); in s3c_irq_ack() 141 writel_relaxed(bitval, intc->reg_intpnd); in s3c_irq_ack()
|
/drivers/atm/ |
D | iphase.h | 1430 #define NVRAM_CLKOUT(bitval) { \ argument 1432 CFG_OR((bitval) ? NVDI : 0); \
|
/drivers/net/ethernet/cadence/ |
D | macb.c | 1852 int i, j, bitval; in hash_get_index() local 1856 for (i = 0, bitval = 0; i < 8; i++) in hash_get_index() 1857 bitval ^= hash_bit_value(i * 6 + j, addr); in hash_get_index() 1859 hash_index |= (bitval << j); in hash_get_index()
|