Home
last modified time | relevance | path

Searched refs:bitval (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/sound/soc/pxa/
Dmmp-sspa.c219 int bitval; in mmp_sspa_hw_params() local
224 bitval = SSPA_CTL_8_BITS; in mmp_sspa_hw_params()
228 bitval = SSPA_CTL_16_BITS; in mmp_sspa_hw_params()
232 bitval = SSPA_CTL_24_BITS; in mmp_sspa_hw_params()
236 bitval = SSPA_CTL_32_BITS; in mmp_sspa_hw_params()
246 sspa_ctrl |= SSPA_CTL_XWDLEN1(bitval); in mmp_sspa_hw_params()
249 sspa_ctrl |= SSPA_CTL_XSSZ1(bitval); in mmp_sspa_hw_params()
252 sspa_ctrl |= SSPA_CTL_XSSZ2(bitval); in mmp_sspa_hw_params()
/kernel/linux/linux-5.10/arch/mips/rb532/
Dgpio.c60 static inline void rb532_set_bit(unsigned bitval, in rb532_set_bit() argument
69 val &= ~(!bitval << offset); /* unset bit if bitval == 0 */ in rb532_set_bit()
70 val |= (!!bitval << offset); /* set bit if bitval == 1 */ in rb532_set_bit()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/
Dmv88e1xxx.c18 static void mdio_set_bit(struct cphy *cphy, int reg, u32 bitval) in mdio_set_bit() argument
23 (void) simple_mdio_write(cphy, reg, val | bitval); in mdio_set_bit()
29 static void mdio_clear_bit(struct cphy *cphy, int reg, u32 bitval) in mdio_clear_bit() argument
34 (void) simple_mdio_write(cphy, reg, val & ~bitval); in mdio_clear_bit()
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
Dsvgalib.c25 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()
/kernel/linux/linux-5.10/drivers/auxdisplay/
Dpanel.c1161 int bit, bitval; in phys_scan_contacts() local
1197 bitval = BIT(bit); in phys_scan_contacts()
1199 if (!(scan_mask_o & bitval)) /* skip unused bits */ in phys_scan_contacts()
1202 w_dtr(pprt, oldval & ~bitval); /* enable this output */ in phys_scan_contacts()
/kernel/linux/linux-5.10/drivers/pinctrl/samsung/
Dpinctrl-s3c24xx.c259 unsigned long bitval = 1UL << data->hwirq; in s3c2412_eint0_3_ack() local
260 writel(bitval, d->virt_base + EINTPEND_REG); in s3c2412_eint0_3_ack()
/kernel/linux/linux-5.10/drivers/media/pci/saa7134/
Dsaa7134-core.c118 u32 index, bitval; in saa7134_set_gpio() local
129 bitval = index; in saa7134_set_gpio()
131 bitval = 0; in saa7134_set_gpio()
133 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, index, bitval); in saa7134_set_gpio()
/kernel/linux/linux-5.10/arch/arm/mach-s3c/
Dirq-s3c24xx.c129 unsigned long bitval = 1UL << irq_data->offset; in s3c_irq_ack() local
131 writel_relaxed(bitval, intc->reg_pending); in s3c_irq_ack()
133 writel_relaxed(bitval, intc->reg_intpnd); in s3c_irq_ack()
/kernel/linux/linux-5.10/drivers/atm/
Diphase.h1430 #define NVRAM_CLKOUT(bitval) { \ argument
1432 CFG_OR((bitval) ? NVDI : 0); \
/kernel/linux/linux-5.10/drivers/net/ethernet/cadence/
Dmacb_main.c2543 int i, j, bitval; in hash_get_index() local
2547 for (i = 0, bitval = 0; i < 8; i++) in hash_get_index()
2548 bitval ^= hash_bit_value(i * 6 + j, addr); in hash_get_index()
2550 hash_index |= (bitval << j); in hash_get_index()