Home
last modified time | relevance | path

Searched refs:mask2 (Results 1 – 25 of 56) sorted by relevance

123

/Linux-v4.19/drivers/gpu/drm/amd/display/dc/
Ddc_helper.c70 uint8_t shift2, uint32_t mask2, uint32_t *field_value2) in generic_reg_get2() argument
74 *field_value2 = get_reg_field_value_ex(reg_val, mask2, shift2); in generic_reg_get2()
80 uint8_t shift2, uint32_t mask2, uint32_t *field_value2, in generic_reg_get3() argument
85 *field_value2 = get_reg_field_value_ex(reg_val, mask2, shift2); in generic_reg_get3()
92 uint8_t shift2, uint32_t mask2, uint32_t *field_value2, in generic_reg_get4() argument
98 *field_value2 = get_reg_field_value_ex(reg_val, mask2, shift2); in generic_reg_get4()
106 uint8_t shift2, uint32_t mask2, uint32_t *field_value2, in generic_reg_get5() argument
113 *field_value2 = get_reg_field_value_ex(reg_val, mask2, shift2); in generic_reg_get5()
122 uint8_t shift2, uint32_t mask2, uint32_t *field_value2, in generic_reg_get6() argument
130 *field_value2 = get_reg_field_value_ex(reg_val, mask2, shift2); in generic_reg_get6()
[all …]
/Linux-v4.19/drivers/soc/fsl/qe/
Dgpio.c253 u32 mask2 = 0x3 << (QE_PIO_PINS - (pin % (QE_PIO_PINS / 2) + 1) * 2); in qe_pin_set_dedicated() local
260 clrsetbits_be32(&regs->cpdir2, mask2, sregs->cpdir2 & mask2); in qe_pin_set_dedicated()
261 clrsetbits_be32(&regs->cppar2, mask2, sregs->cppar2 & mask2); in qe_pin_set_dedicated()
263 clrsetbits_be32(&regs->cpdir1, mask2, sregs->cpdir1 & mask2); in qe_pin_set_dedicated()
264 clrsetbits_be32(&regs->cppar1, mask2, sregs->cppar1 & mask2); in qe_pin_set_dedicated()
/Linux-v4.19/fs/orangefs/
Dorangefs-debugfs.c64 __u64 mask2; member
512 c_mask.mask2); in orangefs_debug_write()
599 (unsigned long long *)&(cdm_array[i].mask2)); in orangefs_prepare_cdm_array()
810 (mask->mask2 & cdm_array[index].mask2)) { in do_c_string()
854 (c_mask->mask2 == cdm_array[client_all_index].mask2)) { in check_amalgam_keyword()
861 (c_mask->mask2 == cdm_array[client_verbose_index].mask2)) { in check_amalgam_keyword()
930 (**sane_mask).mask2 = (**sane_mask).mask2 | cdm_array[i].mask2; in do_c_mask()
955 client_debug_mask.mask2 = mask2_info.mask2_value; in orangefs_debugfs_new_client_mask()
961 (unsigned long long)client_debug_mask.mask2); in orangefs_debugfs_new_client_mask()
/Linux-v4.19/sound/pci/ice1712/
Dwm8776.c154 .mask2 = WM8776_DACVOL_MASK,
164 .mask2 = WM8776_DAC_PL_RR,
180 .mask2 = WM8776_HPVOL_MASK,
198 .mask2 = WM8776_VOL_HPZCEN,
225 .mask2 = WM8776_PHASE_INVERTR,
241 .mask2 = WM8776_ADC_GAIN_MASK,
251 .mask2 = WM8776_ADC_MUTER,
506 val2 = wm->regs[wm->ctl[n].reg2] & wm->ctl[n].mask2; in snd_wm8776_ctl_get()
507 val2 >>= __ffs(wm->ctl[n].mask2); in snd_wm8776_ctl_get()
546 val &= ~wm->ctl[n].mask2; in snd_wm8776_ctl_put()
[all …]
Dwm8766.c51 .mask2 = WM8766_VOL_MASK,
62 .mask2 = WM8766_VOL_MASK,
73 .mask2 = WM8766_VOL_MASK,
232 val2 = wm->regs[wm->ctl[n].reg2] & wm->ctl[n].mask2; in snd_wm8766_ctl_get()
233 val2 >>= __ffs(wm->ctl[n].mask2); in snd_wm8766_ctl_get()
272 val &= ~wm->ctl[n].mask2; in snd_wm8766_ctl_put()
273 val |= regval2 << __ffs(wm->ctl[n].mask2); in snd_wm8766_ctl_put()
279 val = wm->regs[wm->ctl[n].reg2] & ~wm->ctl[n].mask2; in snd_wm8766_ctl_put()
280 val |= regval2 << __ffs(wm->ctl[n].mask2); in snd_wm8766_ctl_put()
Dwm8766.h138 u16 reg1, reg2, mask1, mask2, min, max, flags; member
/Linux-v4.19/arch/mips/sgi-ip22/
Dip22-int.c114 u8 mask2; in indy_local0_irqdispatch() local
118 mask2 = sgint->vmeistat & sgint->cmeimask0; in indy_local0_irqdispatch()
119 irq = lc2msk_to_irqnr[mask2]; in indy_local0_irqdispatch()
136 u8 mask2; in indy_local1_irqdispatch() local
140 mask2 = sgint->vmeistat & sgint->cmeimask1; in indy_local1_irqdispatch()
141 irq = lc3msk_to_irqnr[mask2]; in indy_local1_irqdispatch()
/Linux-v4.19/drivers/net/wireless/ath/ath9k/
Dar9002_mac.c36 u32 mask2 = 0; in ar9002_hw_get_isr() local
67 mask2 |= ATH9K_INT_TIM; in ar9002_hw_get_isr()
69 mask2 |= ATH9K_INT_DTIM; in ar9002_hw_get_isr()
71 mask2 |= ATH9K_INT_DTIMSYNC; in ar9002_hw_get_isr()
73 mask2 |= ATH9K_INT_CABEND; in ar9002_hw_get_isr()
75 mask2 |= ATH9K_INT_GTT; in ar9002_hw_get_isr()
77 mask2 |= ATH9K_INT_CST; in ar9002_hw_get_isr()
79 mask2 |= ATH9K_INT_TSFOOR; in ar9002_hw_get_isr()
134 *masked |= mask2; in ar9002_hw_get_isr()
Dar9003_mac.c186 u32 mask2 = 0; in ar9003_hw_get_isr() local
216 mask2 |= ((isr2 & AR_ISR_S2_TIM) >> in ar9003_hw_get_isr()
218 mask2 |= ((isr2 & AR_ISR_S2_DTIM) >> in ar9003_hw_get_isr()
220 mask2 |= ((isr2 & AR_ISR_S2_DTIMSYNC) >> in ar9003_hw_get_isr()
222 mask2 |= ((isr2 & AR_ISR_S2_CABEND) >> in ar9003_hw_get_isr()
224 mask2 |= ((isr2 & AR_ISR_S2_GTT) << in ar9003_hw_get_isr()
226 mask2 |= ((isr2 & AR_ISR_S2_CST) << in ar9003_hw_get_isr()
228 mask2 |= ((isr2 & AR_ISR_S2_TSFOOR) >> in ar9003_hw_get_isr()
230 mask2 |= ((isr2 & AR_ISR_S2_BB_WATCHDOG) >> in ar9003_hw_get_isr()
302 *masked |= mask2; in ar9003_hw_get_isr()
Dmac.c911 u32 mask, mask2; in ath9k_hw_set_interrupts() local
928 mask2 = 0; in ath9k_hw_set_interrupts()
972 mask2 |= AR_IMR_S2_TIM; in ath9k_hw_set_interrupts()
974 mask2 |= AR_IMR_S2_DTIM; in ath9k_hw_set_interrupts()
976 mask2 |= AR_IMR_S2_DTIMSYNC; in ath9k_hw_set_interrupts()
978 mask2 |= AR_IMR_S2_CABEND; in ath9k_hw_set_interrupts()
980 mask2 |= AR_IMR_S2_TSFOOR; in ath9k_hw_set_interrupts()
986 mask2 |= AR_IMR_S2_GTT; in ath9k_hw_set_interrupts()
988 mask2 |= AR_IMR_S2_CST; in ath9k_hw_set_interrupts()
994 mask2 |= AR_IMR_S2_BB_WATCHDOG; in ath9k_hw_set_interrupts()
[all …]
/Linux-v4.19/drivers/net/hamradio/
Dbaycom_par.c222 unsigned int data, mask, mask2, descx; in par96_rx() local
251 for(mask = 0x1fe00, mask2 = 0xfc00, i = 0; in par96_rx()
252 i < PAR96_BURSTBITS; i++, mask <<= 1, mask2 <<= 1) in par96_rx()
253 if ((bc->modem.par96.dcd_shreg & mask) == mask2) in par96_rx()
256 for(mask = 0x1fe00, mask2 = 0x1fe00, i = 0; in par96_rx()
257 i < PAR96_BURSTBITS; i++, mask <<= 1, mask2 <<= 1) in par96_rx()
258 if (((bc->modem.par96.dcd_shreg & mask) == mask2) && in par96_rx()
Dhdlcdrv.c171 unsigned int mask1, mask2, mask3, mask4, mask5, mask6, word; in hdlcdrv_receiver() local
189 for(i = 15, mask1 = 0x1fc00, mask2 = 0x1fe00, mask3 = 0x0fc00, in hdlcdrv_receiver()
192 i--, mask1 <<= 1, mask2 <<= 1, mask3 <<= 1, mask4 <<= 1, in hdlcdrv_receiver()
196 else if ((s->hdlcrx.bitstream & mask2) == mask3) { in hdlcdrv_receiver()
267 unsigned int mask1, mask2, mask3; in hdlcdrv_transmitter() local
343 mask2 = 0x10000; in hdlcdrv_transmitter()
346 for(i = 0; i < 8; i++, mask1 <<= 1, mask2 <<= 1, in hdlcdrv_transmitter()
350 s->hdlctx.bitstream &= ~mask2; in hdlcdrv_transmitter()
/Linux-v4.19/sound/soc/sh/rcar/
Dssiu.c31 u32 mask2, val2; in rsnd_ssiu_init() local
62 mask2 = (1 << 4); /* mask sync bit */ in rsnd_ssiu_init()
91 mask2 |= 0x00000007; in rsnd_ssiu_init()
109 rsnd_mod_bset(mod, SSI_MODE2, mask2, val2); in rsnd_ssiu_init()
/Linux-v4.19/arch/alpha/kernel/
Dsys_titan.c70 unsigned long mask0, mask1, mask2, mask3, dummy; in titan_update_irq_hw() local
76 mask2 = mask & titan_cpu_irq_affinity[2]; in titan_update_irq_hw()
81 else if (bcpu == 2) mask2 |= isa_enable; in titan_update_irq_hw()
95 *dim2 = mask2; in titan_update_irq_hw()
Dsys_dp264.c56 unsigned long mask0, mask1, mask2, mask3, dummy; in tsunami_update_irq_hw() local
61 mask2 = mask & cpu_irq_affinity[2]; in tsunami_update_irq_hw()
66 else if (bcpu == 2) mask2 |= isa_enable; in tsunami_update_irq_hw()
80 *dim2 = mask2; in tsunami_update_irq_hw()
/Linux-v4.19/fs/affs/
Dbitmap.c122 u32 blk, bmap, bit, mask, mask2, tmp; in affs_alloc_block() local
208 mask2 = mask = 1 << (bit & 31); in affs_alloc_block()
212 while ((mask2 <<= 1)) { in affs_alloc_block()
213 if (!(tmp & mask2)) in affs_alloc_block()
216 mask |= mask2; in affs_alloc_block()
/Linux-v4.19/drivers/power/supply/
Drt9455_charger.c863 unsigned int irq1, mask1, mask2; in rt9455_irq_handler_check_irq1_register() local
905 ret = regmap_read(info->regmap, RT9455_REG_MASK2, &mask2); in rt9455_irq_handler_check_irq1_register()
911 if (mask2 & GET_MASK(F_CHTERMIM)) { in rt9455_irq_handler_check_irq1_register()
920 if (mask2 & GET_MASK(F_CHRCHGIM)) { in rt9455_irq_handler_check_irq1_register()
957 unsigned int irq2, mask2; in rt9455_irq_handler_check_irq2_register() local
968 ret = regmap_read(info->regmap, RT9455_REG_MASK2, &mask2); in rt9455_irq_handler_check_irq2_register()
998 if ((mask2 & GET_MASK(F_CHTERMIM)) == 0) { in rt9455_irq_handler_check_irq2_register()
1009 mask2 = mask2 | GET_MASK(F_CHTERMIM); in rt9455_irq_handler_check_irq2_register()
1023 if (mask2 & GET_MASK(F_CHTERMIM)) { in rt9455_irq_handler_check_irq2_register()
1031 mask2 = mask2 & ~GET_MASK(F_CHTERMIM); in rt9455_irq_handler_check_irq2_register()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/irq/dce120/
Dirq_service_dce120.c98 #define IRQ_REG_ENTRY(block, reg_num, reg1, mask1, reg2, mask2)\ argument
108 block ## reg_num ## _ ## reg2 ## __ ## mask2 ## _MASK,\
110 block ## reg_num ## _ ## reg2 ## __ ## mask2 ## _MASK \
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/irq/dcn10/
Dirq_service_dcn10.c167 #define IRQ_REG_ENTRY(block, reg_num, reg1, mask1, reg2, mask2)\ argument
177 block ## reg_num ## _ ## reg2 ## __ ## mask2 ## _MASK,\
179 block ## reg_num ## _ ## reg2 ## __ ## mask2 ## _MASK \
/Linux-v4.19/arch/mips/vr41xx/common/
Dicu.c628 uint16_t mask1, mask2; in icu_get_irq() local
635 mask2 = icu2_read(MSYSINT2REG); in icu_get_irq()
638 mask2 &= pend2; in icu_get_irq()
647 if (mask2) { in icu_get_irq()
649 if (irq == INT_TO_IRQ(sysint2_assign[i]) && (mask2 & (1 << i))) in icu_get_irq()
/Linux-v4.19/drivers/mfd/
Dmenelaus.c176 u8 mask1, mask2; member
210 the_menelaus->mask2 &= ~(1 << irq); in menelaus_enable_irq()
212 the_menelaus->mask2); in menelaus_enable_irq()
224 the_menelaus->mask2 |= (1 << irq); in menelaus_disable_irq()
226 the_menelaus->mask2); in menelaus_disable_irq()
783 & ~menelaus->mask2) << 8; in menelaus_work()
1192 menelaus->mask2 = 0xff; in menelaus_probe()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/inc/
Dreg_helper.h402 uint8_t shift2, uint32_t mask2, uint32_t *field_value2);
406 uint8_t shift2, uint32_t mask2, uint32_t *field_value2,
411 uint8_t shift2, uint32_t mask2, uint32_t *field_value2,
417 uint8_t shift2, uint32_t mask2, uint32_t *field_value2,
424 uint8_t shift2, uint32_t mask2, uint32_t *field_value2,
432 uint8_t shift2, uint32_t mask2, uint32_t *field_value2,
441 uint8_t shift2, uint32_t mask2, uint32_t *field_value2,
/Linux-v4.19/drivers/acpi/
Dacpi_lpss.c889 u32 mask2 = LPSS_PMCSR_Dx_MASK; in lpss_iosf_enter_d3_state() local
918 LPSS_IOSF_PMCSR, value2, mask2); in lpss_iosf_enter_d3_state()
921 LPSS_IOSF_PMCSR, value2, mask2); in lpss_iosf_enter_d3_state()
938 u32 mask2 = LPSS_PMCSR_Dx_MASK; in lpss_iosf_exit_d3_state() local
951 LPSS_IOSF_PMCSR, value2, mask2); in lpss_iosf_exit_d3_state()
954 LPSS_IOSF_PMCSR, value2, mask2); in lpss_iosf_exit_d3_state()
/Linux-v4.19/include/uapi/linux/
Dserial.h89 unsigned char mask2, match2; member
/Linux-v4.19/tools/usb/usbip/libsrc/
Dnames.c86 unsigned int mask1 = HASH1 << 27, mask2 = HASH2 << 27; in hashnum() local
88 for (; mask1 >= HASH1; mask1 >>= 1, mask2 >>= 1) in hashnum()
90 num ^= mask2; in hashnum()

123