Searched refs:irq_node (Results 1 – 4 of 4) sorted by relevance
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/ |
D | osal_interrupt.c | 38 irq_info *irq_node = NULL; in osal_irq_find_node() local 40 osal_list_for_each_entry(irq_node, list, node) { in osal_irq_find_node() 41 if (irq_node->irq == irq) { in osal_irq_find_node() 42 return irq_node; in osal_irq_find_node() 56 irq_info *irq_node = NULL; in osal_irq_request() local 69 irq_node = osal_irq_find_node(irq, &g_irq_list); in osal_irq_request() 70 if (irq_node != NULL) { in osal_irq_request() 75 irq_node = kmalloc(sizeof(irq_info), GFP_KERNEL); in osal_irq_request() 76 if (irq_node == NULL) { in osal_irq_request() 84 kfree(irq_node); in osal_irq_request() [all …]
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/hiirq/kernel/ |
D | hiirq.c | 394 static void read_int_status(hiirq_irq_list *irq_node, hi_int_state_info *int_info) in read_int_status() argument 396 int_info->type = irq_node->map_info.type; in read_int_status() 397 if (irq_node->map_info.type == HI_INT_VICAP) { in read_int_status() 398 read_int_status_for_vicap(&irq_node->map_info.vicap, &int_info->vicap); in read_int_status() 399 } else if (irq_node->map_info.type == HI_INT_AIO) { in read_int_status() 400 read_int_status_for_aio(&irq_node->map_info.aio, &int_info->aio); in read_int_status() 402 read_int_status_for_normal(&irq_node->map_info.normal, &int_info->normal); in read_int_status() 491 static void clear_int(hiirq_irq_list *irq_node, hi_int_state_info *int_info) in clear_int() argument 493 if (irq_node->map_info.type == HI_INT_VICAP) { in clear_int() 494 clear_int_for_vicap(&irq_node->map_info.vicap, &int_info->vicap); in clear_int() [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/hi_irq/kernel/ |
D | hiirq.c | 314 static void read_int_status(hiirq_irq_list *irq_node, hi_int_state_info *int_info) in read_int_status() argument 316 int_info->type = irq_node->map_info.type; in read_int_status() 317 if (irq_node->map_info.type == HI_INT_VICAP) { in read_int_status() 318 read_int_status_for_vicap(&irq_node->map_info.vicap, &int_info->vicap); in read_int_status() 319 } else if (irq_node->map_info.type == HI_INT_AIO) { in read_int_status() 320 read_int_status_for_aio(&irq_node->map_info.aio, &int_info->aio); in read_int_status() 322 read_int_status_for_normal(&irq_node->map_info.normal, &int_info->normal); in read_int_status() 395 static void clear_int(hiirq_irq_list *irq_node, hi_int_state_info *int_info) in clear_int() argument 397 if (irq_node->map_info.type == HI_INT_VICAP) { in clear_int() 398 clear_int_for_vicap(&irq_node->map_info.vicap, &int_info->vicap); in clear_int() [all …]
|
/device/soc/rockchip/common/sdk_linux/scripts/dtc/ |
D | checks.c | 1667 struct node *irq_node = NULL, *parent = node; in check_interrupts_property() local 1683 irq_node = parent; in check_interrupts_property() 1700 irq_node = get_node_by_phandle(root, phandle); in check_interrupts_property() 1701 if (!irq_node) { in check_interrupts_property() 1705 if (!node_is_interrupt_provider(irq_node)) { in check_interrupts_property() 1706 FAIL(c, dti, irq_node, "Missing interrupt-controller or interrupt-map property"); in check_interrupts_property() 1715 if (!irq_node) { in check_interrupts_property() 1720 prop = get_property(irq_node, "#interrupt-cells"); in check_interrupts_property()
|