Lines Matching +full:group +full:- +full:index +full:- +full:bits
1 /*-
10 found at http://www.gnu.org/licenses/gpl-2.0.html
54 /* *INDENT-OFF* */
58 /* *INDENT-ON* */
71 * @param group the interrupt group.
74 * @return 0 on success. -EINVAL otherwise.
76 int al_iofic_config(void __iomem *regs_base, int group,
80 * configure the moderation timer resolution for a given group
84 * @param group the interrupt group
89 * @return 0 on success. -EINVAL otherwise.
91 int al_iofic_moder_res_config(void __iomem *regs_base, int group,
95 * configure the moderation timer interval for a given legacy interrupt group
98 * @param group the interrupt group
101 * @return 0 on success. -EINVAL otherwise.
103 int al_iofic_legacy_moder_interval_config(void __iomem *regs_base, int group,
110 * @param group the interrupt group
111 * @param vector vector index
114 * @return 0 on success. -EINVAL otherwise.
116 int al_iofic_msix_moder_interval_config(void __iomem *regs_base, int group,
122 * @param group the interrupt group
123 * @param vector index
124 * @param tgtid the target-id value
125 * @param tgtid_en take target-id from the intc
127 * @return 0 on success. -EINVAL otherwise.
129 int al_iofic_msix_tgtid_attributes_config(void __iomem *regs_base, int group,
133 * return the offset of the unmask register for a given group.
138 * @param group the interrupt group
141 uint32_t __iomem * al_iofic_unmask_offset_get(void __iomem *regs_base, int group);
144 * unmask specific interrupts for a given group
146 * it will not require read-modify-write. The unmask done using the interrupt
151 * @param group the interrupt group
152 * @param mask bitwise of interrupts to unmask, set bits will be unmasked.
154 void al_iofic_unmask(void __iomem *regs_base, int group, uint32_t mask);
157 * mask specific interrupts for a given group
162 * @param group the interrupt group
163 * @param mask bitwise of interrupts to mask, set bits will be masked.
165 void al_iofic_mask(void __iomem *regs_base, int group, uint32_t mask);
168 * read the mask register for a given group
172 * @param group the interrupt group
174 uint32_t al_iofic_read_mask(void __iomem *regs_base, int group);
177 * read interrupt cause register for a given group
178 * this will clear the set bits if the Clear on Read mode enabled.
180 * @param group the interrupt group
182 uint32_t al_iofic_read_cause(void __iomem *regs_base, int group);
185 * clear bits in the interrupt cause register for a given group
188 * @param group the interrupt group
189 * @param mask bitwise of bits to be cleared, set bits will be cleared.
191 void al_iofic_clear_cause(void __iomem *regs_base, int group, uint32_t mask);
194 * set the cause register for a given group
199 * @param group the interrupt group
200 * @param mask bitwise of bits to be set.
202 void al_iofic_set_cause(void __iomem *regs_base, int group, uint32_t mask);
205 * unmask specific interrupts from aborting the udma a given group
208 * @param group the interrupt group
211 void al_iofic_abort_mask(void __iomem *regs_base, int group, uint32_t mask);
217 * @param group the interrupt group
219 void al_iofic_interrupt_moderation_reset(void __iomem *regs_base, int group);
222 /** @} end of interrupt controller group */