Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/soc/fsl/qe/
Dgpio.c249 u32 mask2 = 0x3 << (QE_PIO_PINS - (pin % (QE_PIO_PINS / 2) + 1) * 2); in qe_pin_set_dedicated() local
256 qe_clrsetbits_be32(&regs->cpdir2, mask2, in qe_pin_set_dedicated()
257 sregs->cpdir2 & mask2); in qe_pin_set_dedicated()
258 qe_clrsetbits_be32(&regs->cppar2, mask2, in qe_pin_set_dedicated()
259 sregs->cppar2 & mask2); in qe_pin_set_dedicated()
261 qe_clrsetbits_be32(&regs->cpdir1, mask2, in qe_pin_set_dedicated()
262 sregs->cpdir1 & mask2); in qe_pin_set_dedicated()
263 qe_clrsetbits_be32(&regs->cppar1, mask2, in qe_pin_set_dedicated()
264 sregs->cppar1 & mask2); in qe_pin_set_dedicated()
/kernel/linux/linux-5.10/fs/orangefs/
Dorangefs-debugfs.c64 __u64 mask2; member
457 c_mask.mask2); in orangefs_debug_write()
544 (unsigned long long *)&(cdm_array[i].mask2)); in orangefs_prepare_cdm_array()
756 (mask->mask2 & cdm_array[index].mask2)) { in do_c_string()
800 (c_mask->mask2 == cdm_array[client_all_index].mask2)) { in check_amalgam_keyword()
807 (c_mask->mask2 == cdm_array[client_verbose_index].mask2)) { in check_amalgam_keyword()
876 (**sane_mask).mask2 = (**sane_mask).mask2 | cdm_array[i].mask2; in do_c_mask()
901 client_debug_mask.mask2 = mask2_info.mask2_value; in orangefs_debugfs_new_client_mask()
907 (unsigned long long)client_debug_mask.mask2); in orangefs_debugfs_new_client_mask()
/kernel/linux/linux-5.10/sound/pci/ice1712/
Dwm8776.c140 .mask2 = WM8776_DACVOL_MASK,
150 .mask2 = WM8776_DAC_PL_RR,
166 .mask2 = WM8776_HPVOL_MASK,
184 .mask2 = WM8776_VOL_HPZCEN,
211 .mask2 = WM8776_PHASE_INVERTR,
227 .mask2 = WM8776_ADC_GAIN_MASK,
237 .mask2 = WM8776_ADC_MUTER,
492 val2 = wm->regs[wm->ctl[n].reg2] & wm->ctl[n].mask2; in snd_wm8776_ctl_get()
493 val2 >>= __ffs(wm->ctl[n].mask2); in snd_wm8776_ctl_get()
532 val &= ~wm->ctl[n].mask2; in snd_wm8776_ctl_put()
[all …]
Dwm8766.c37 .mask2 = WM8766_VOL_MASK,
48 .mask2 = WM8766_VOL_MASK,
59 .mask2 = WM8766_VOL_MASK,
218 val2 = wm->regs[wm->ctl[n].reg2] & wm->ctl[n].mask2; in snd_wm8766_ctl_get()
219 val2 >>= __ffs(wm->ctl[n].mask2); in snd_wm8766_ctl_get()
258 val &= ~wm->ctl[n].mask2; in snd_wm8766_ctl_put()
259 val |= regval2 << __ffs(wm->ctl[n].mask2); in snd_wm8766_ctl_put()
265 val = wm->regs[wm->ctl[n].reg2] & ~wm->ctl[n].mask2; in snd_wm8766_ctl_put()
266 val |= regval2 << __ffs(wm->ctl[n].mask2); in snd_wm8766_ctl_put()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/
Ddc_helper.c335 uint8_t shift2, uint32_t mask2, uint32_t *field_value2) in generic_reg_get2() argument
339 *field_value2 = get_reg_field_value_ex(reg_val, mask2, shift2); in generic_reg_get2()
345 uint8_t shift2, uint32_t mask2, uint32_t *field_value2, in generic_reg_get3() argument
350 *field_value2 = get_reg_field_value_ex(reg_val, mask2, shift2); in generic_reg_get3()
357 uint8_t shift2, uint32_t mask2, uint32_t *field_value2, in generic_reg_get4() argument
363 *field_value2 = get_reg_field_value_ex(reg_val, mask2, shift2); in generic_reg_get4()
371 uint8_t shift2, uint32_t mask2, uint32_t *field_value2, in generic_reg_get5() argument
378 *field_value2 = get_reg_field_value_ex(reg_val, mask2, shift2); in generic_reg_get5()
387 uint8_t shift2, uint32_t mask2, uint32_t *field_value2, in generic_reg_get6() argument
395 *field_value2 = get_reg_field_value_ex(reg_val, mask2, shift2); in generic_reg_get6()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/net/hamradio/
Dbaycom_par.c206 unsigned int data, mask, mask2, descx; in par96_rx() local
235 for(mask = 0x1fe00, mask2 = 0xfc00, i = 0; in par96_rx()
236 i < PAR96_BURSTBITS; i++, mask <<= 1, mask2 <<= 1) in par96_rx()
237 if ((bc->modem.par96.dcd_shreg & mask) == mask2) in par96_rx()
240 for(mask = 0x1fe00, mask2 = 0x1fe00, i = 0; in par96_rx()
241 i < PAR96_BURSTBITS; i++, mask <<= 1, mask2 <<= 1) in par96_rx()
242 if (((bc->modem.par96.dcd_shreg & mask) == mask2) && in par96_rx()
Dhdlcdrv.c158 unsigned int mask1, mask2, mask3, mask4, mask5, mask6, word; in hdlcdrv_receiver() local
176 for(i = 15, mask1 = 0x1fc00, mask2 = 0x1fe00, mask3 = 0x0fc00, in hdlcdrv_receiver()
179 i--, mask1 <<= 1, mask2 <<= 1, mask3 <<= 1, mask4 <<= 1, in hdlcdrv_receiver()
183 else if ((s->hdlcrx.bitstream & mask2) == mask3) { in hdlcdrv_receiver()
254 unsigned int mask1, mask2, mask3; in hdlcdrv_transmitter() local
330 mask2 = 0x10000; in hdlcdrv_transmitter()
333 for(i = 0; i < 8; i++, mask1 <<= 1, mask2 <<= 1, in hdlcdrv_transmitter()
337 s->hdlctx.bitstream &= ~mask2; in hdlcdrv_transmitter()
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dsys_titan.c69 unsigned long mask0, mask1, mask2, mask3, dummy; in titan_update_irq_hw() local
75 mask2 = mask & titan_cpu_irq_affinity[2]; in titan_update_irq_hw()
80 else if (bcpu == 2) mask2 |= isa_enable; in titan_update_irq_hw()
94 *dim2 = mask2; in titan_update_irq_hw()
Dsys_dp264.c55 unsigned long mask0, mask1, mask2, mask3, dummy; in tsunami_update_irq_hw() local
60 mask2 = mask & cpu_irq_affinity[2]; in tsunami_update_irq_hw()
65 else if (bcpu == 2) mask2 |= isa_enable; in tsunami_update_irq_hw()
79 *dim2 = mask2; in tsunami_update_irq_hw()
/kernel/linux/linux-5.10/drivers/media/test-drivers/vidtv/
Dvidtv_pes.c89 u64 mask2; in vidtv_pes_write_pts_dts() local
96 mask2 = GENMASK_ULL(29, 15); in vidtv_pes_write_pts_dts()
102 pts_dts.pts2 = cpu_to_be16(((args->pts & mask2) >> 14) | 0x1); in vidtv_pes_write_pts_dts()
106 pts_dts.dts2 = cpu_to_be16(((args->dts & mask2) >> 14) | 0x1); in vidtv_pes_write_pts_dts()
114 pts.pts2 = cpu_to_be16(((args->pts & mask2) >> 14) | 0x1); in vidtv_pes_write_pts_dts()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/
Dcpumask.h230 #define for_each_cpu_and(cpu, mask1, mask2) \ argument
231 for ((cpu) = 0; (cpu) < 1; (cpu)++, (void)mask1, (void)mask2)
333 #define for_each_cpu_and(cpu, mask1, mask2) \ argument
335 (cpu) = cpumask_next_and((cpu), (mask1), (mask2)), \
649 #define cpumask_any_and(mask1, mask2) cpumask_first_and((mask1), (mask2)) argument
/kernel/linux/linux-5.10/drivers/power/supply/
Drt9455_charger.c854 unsigned int irq1, mask1, mask2; in rt9455_irq_handler_check_irq1_register() local
896 ret = regmap_read(info->regmap, RT9455_REG_MASK2, &mask2); in rt9455_irq_handler_check_irq1_register()
902 if (mask2 & GET_MASK(F_CHTERMIM)) { in rt9455_irq_handler_check_irq1_register()
911 if (mask2 & GET_MASK(F_CHRCHGIM)) { in rt9455_irq_handler_check_irq1_register()
948 unsigned int irq2, mask2; in rt9455_irq_handler_check_irq2_register() local
959 ret = regmap_read(info->regmap, RT9455_REG_MASK2, &mask2); in rt9455_irq_handler_check_irq2_register()
989 if ((mask2 & GET_MASK(F_CHTERMIM)) == 0) { in rt9455_irq_handler_check_irq2_register()
1000 mask2 = mask2 | GET_MASK(F_CHTERMIM); in rt9455_irq_handler_check_irq2_register()
1014 if (mask2 & GET_MASK(F_CHTERMIM)) { in rt9455_irq_handler_check_irq2_register()
1022 mask2 = mask2 & ~GET_MASK(F_CHTERMIM); in rt9455_irq_handler_check_irq2_register()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/irq/dce120/
Dirq_service_dce120.c105 #define IRQ_REG_ENTRY(block, reg_num, reg1, mask1, reg2, mask2)\ argument
115 block ## reg_num ## _ ## reg2 ## __ ## mask2 ## _MASK,\
117 block ## reg_num ## _ ## reg2 ## __ ## mask2 ## _MASK \
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/irq/dcn21/
Dirq_service_dcn21.c189 #define IRQ_REG_ENTRY(block, reg_num, reg1, mask1, reg2, mask2)\ argument
199 block ## reg_num ## _ ## reg2 ## __ ## mask2 ## _MASK,\
201 block ## reg_num ## _ ## reg2 ## __ ## mask2 ## _MASK \
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/irq/dcn10/
Dirq_service_dcn10.c186 #define IRQ_REG_ENTRY(block, reg_num, reg1, mask1, reg2, mask2)\ argument
196 block ## reg_num ## _ ## reg2 ## __ ## mask2 ## _MASK,\
198 block ## reg_num ## _ ## reg2 ## __ ## mask2 ## _MASK \
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/irq/dcn20/
Dirq_service_dcn20.c188 #define IRQ_REG_ENTRY(block, reg_num, reg1, mask1, reg2, mask2)\ argument
198 block ## reg_num ## _ ## reg2 ## __ ## mask2 ## _MASK,\
200 block ## reg_num ## _ ## reg2 ## __ ## mask2 ## _MASK \
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/irq/dcn30/
Dirq_service_dcn30.c195 #define IRQ_REG_ENTRY(block, reg_num, reg1, mask1, reg2, mask2)\ argument
205 block ## reg_num ## _ ## reg2 ## __ ## mask2 ## _MASK,\
207 block ## reg_num ## _ ## reg2 ## __ ## mask2 ## _MASK \
/kernel/linux/linux-5.10/arch/mips/vr41xx/common/
Dicu.c615 uint16_t mask1, mask2; in icu_get_irq() local
622 mask2 = icu2_read(MSYSINT2REG); in icu_get_irq()
625 mask2 &= pend2; in icu_get_irq()
634 if (mask2) { in icu_get_irq()
636 if (irq == INT_TO_IRQ(sysint2_assign[i]) && (mask2 & (1 << i))) in icu_get_irq()
/kernel/linux/linux-5.10/drivers/mfd/
Dmenelaus.c163 u8 mask1, mask2; member
197 the_menelaus->mask2 &= ~(1 << irq); in menelaus_enable_irq()
199 the_menelaus->mask2); in menelaus_enable_irq()
211 the_menelaus->mask2 |= (1 << irq); in menelaus_disable_irq()
213 the_menelaus->mask2); in menelaus_disable_irq()
770 & ~menelaus->mask2) << 8; in menelaus_work()
1182 menelaus->mask2 = 0xff; in menelaus_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/
Dreg_helper.h396 uint8_t shift2, uint32_t mask2, uint32_t *field_value2);
400 uint8_t shift2, uint32_t mask2, uint32_t *field_value2,
405 uint8_t shift2, uint32_t mask2, uint32_t *field_value2,
411 uint8_t shift2, uint32_t mask2, uint32_t *field_value2,
418 uint8_t shift2, uint32_t mask2, uint32_t *field_value2,
426 uint8_t shift2, uint32_t mask2, uint32_t *field_value2,
435 uint8_t shift2, uint32_t mask2, uint32_t *field_value2,

123