<commit_before>/*
 *  Derived from arch/i386/kernel/irq.c
 *    Copyright (C) 1992 <NAME>
 *  Adapted from arch/i386 by <NAME>
 *    Copyright (C) 1995-1996 <NAME> (<EMAIL>)
 *  Updated and modified by <NAME> <<EMAIL>>
 *    Copyright (C) 1996-2001 <NAME>
 *  Adapted for Power Macintosh by <NAME>
 *    Copyright (C) 1996 <NAME> (<EMAIL>)
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version
 * 2 of the License, or (at your option) any later version.
 *
 * This file contains the code used to make IRQ descriptions in the
 * device tree to actual irq numbers on an interrupt controller
 * driver.
 */

#include <linux/errno.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_irq.h>
#include <linux/string.h>
#include <linux/slab.h>

/**
 * irq_of_parse_and_map - Parse and map an interrupt into linux virq space
 * @device: Device node of the device whose interrupt is to be mapped
 * @index: Index of the interrupt to map
 *
 * This function is a wrapper that chains of_irq_map_one() and
 * irq_create_of_mapping() to make things easier to callers
 */
unsigned int irq_of_parse_and_map(struct device_node *dev, int index)
{<commit_msg>irq/of: Fix comment typo for irq_of_parse_and_map<commit_after>/*
 *  Derived from arch/i386/kernel/irq.c
 *    Copyright (C) 1992 <NAME>
 *  Adapted from arch/i386 by <NAME>
 *    Copyright (C) 1995-1996 <NAME> (<EMAIL>)
 *  Updated and modified by <NAME> <<EMAIL>>
 *    Copyright (C) 1996-2001 <NAME>
 *  Adapted for Power Macintosh by <NAME>
 *    Copyright (C) 1996 <NAME> (<EMAIL>)
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version
 * 2 of the License, or (at your option) any later version.
 *
 * This file contains the code used to make IRQ descriptions in the
 * device tree to actual irq numbers on an interrupt controller
 * driver.
 */

#include <linux/errno.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_irq.h>
#include <linux/string.h>
#include <linux/slab.h>

/**
 * irq_of_parse_and_map - Parse and map an interrupt into linux virq space
 * @dev: Device node of the device whose interrupt is to be mapped
 * @index: Index of the interrupt to map
 *
 * This function is a wrapper that chains of_irq_map_one() and
 * irq_create_of_mapping() to make things easier to callers
 */
unsigned int irq_of_parse_and_map(struct device_node *dev, int index)
{
{'fraction_non_alphanumeric': 0.10003732736095558, 'fraction_numerical': 0.023142963792459875, 'mean_word_length': 3.9355432780847144, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5063819', 'n_tokens_mistral': 896, 'n_tokens_neox': 842, 'n_words': 343}