Lines Matching +full:mask +full:- +full:reset

1 /* SPDX-License-Identifier: (GPL-2.0 OR Linux-OpenIB) OR BSD-2-Clause */
10 * device units. Use @identity->intr_coal_mult
11 * and @identity->intr_coal_div to convert from
24 * interrupt. Reset value: 0
25 * @mask: Interrupt mask. When @mask=1 the interrupt
27 * @mask=0 the interrupt resource will send an
30 * Reset value: 1
42 * @unmask -- When this bit is written with a 1
43 * the interrupt resource will set mask=0.
44 * @coal_timer_reset -- When this
47 * @coalescing_init to reset the coalescing
49 * @mask_on_assert: Automatically mask on assertion. When
51 * will set @mask=1 whenever an interrupt is
67 u32 mask; member
83 #define PDS_CORE_INTR_INDEX_NOT_ASSIGNED -1
90 * enum pds_core_intr_mask_vals - valid values for mask and mask_assert.
92 * @PDS_CORE_INTR_MASK_SET: mask interrupt.
100 * enum pds_core_intr_credits_bits - Bitwise composition of credits values.
101 * @PDS_CORE_INTR_CRED_COUNT: bit mask of credit count, no shift needed.
102 * @PDS_CORE_INTR_CRED_COUNT_SIGNED: bit mask of credit count, including sign bit.
104 * @PDS_CORE_INTR_CRED_RESET_COALESCE: reset the coalesce timer.
105 * @PDS_CORE_INTR_CRED_REARM: unmask the and reset the timer.
119 iowrite32(coal, &intr_ctrl->coal_init); in pds_core_intr_coal_init()
123 pds_core_intr_mask(struct pds_core_intr __iomem *intr_ctrl, u32 mask) in pds_core_intr_mask() argument
125 iowrite32(mask, &intr_ctrl->mask); in pds_core_intr_mask()
133 cred = ioread32(&intr_ctrl->credits); in pds_core_intr_credits()
137 iowrite32(cred | flags, &intr_ctrl->credits); in pds_core_intr_credits()
145 cred = ioread32(&intr_ctrl->credits); in pds_core_intr_clean_flags()
148 iowrite32(cred, &intr_ctrl->credits); in pds_core_intr_clean_flags()
158 pds_core_intr_mask_assert(struct pds_core_intr __iomem *intr_ctrl, u32 mask) in pds_core_intr_mask_assert() argument
160 iowrite32(mask, &intr_ctrl->mask_on_assert); in pds_core_intr_mask_assert()