···464464 protected via desc->lock, by the generic layer.465465 </para>466466 </chapter>467467+468468+ <chapter id="genericchip">469469+ <title>Generic interrupt chip</title>470470+ <para>471471+ To avoid copies of identical implementations of irq chips the472472+ core provides a configurable generic interrupt chip473473+ implementation. Developers should check carefuly whether the474474+ generic chip fits their needs before implementing the same475475+ functionality slightly different themself.476476+ </para>477477+!Ekernel/irq/generic-chip.c478478+ </chapter>479479+467480 <chapter id="structs">468481 <title>Structures</title>469482 <para>
+6-5
kernel/irq/generic-chip.c
···4545}46464747/**4848- * irq_gc_mask_set_mask_bit - Mask chip via setting bit in mask register4848+ * irq_gc_mask_set_bit - Mask chip via setting bit in mask register4949 * @d: irq_data5050 *5151 * Chip has a single mask register. Values of this register are cached···6565EXPORT_SYMBOL_GPL(irq_gc_mask_set_bit);66666767/**6868- * irq_gc_mask_set_mask_bit - Mask chip via clearing bit in mask register6868+ * irq_gc_mask_clr_bit - Mask chip via clearing bit in mask register6969 * @d: irq_data7070 *7171 * Chip has a single mask register. Values of this register are cached···167167168168/**169169 * irq_gc_set_wake - Set/clr wake bit for an interrupt170170- * @d: irq_data170170+ * @d: irq_data171171+ * @on: Indicates whether the wake bit should be set or cleared171172 *172173 * For chips where the wake from suspend functionality is not173174 * configured in a separate register and the wakeup active state is···340339 */341340static struct lock_class_key irq_nested_lock_class;342341343343-/**342342+/*344343 * irq_map_generic_chip - Map a generic chip for an irq domain345344 */346345static int irq_map_generic_chip(struct irq_domain *d, unsigned int virq,···455454/**456455 * irq_setup_alt_chip - Switch to alternative chip457456 * @d: irq_data for this interrupt458458- * @type Flow type to be initialized457457+ * @type: Flow type to be initialized459458 *460459 * Only to be called from chip->irq_set_type() callbacks.461460 */