Lines Matching refs:intr_desc
275 esp_cpu_intr_desc_t intr_desc; in is_vect_desc_usable() local
277 esp_cpu_intr_get_desc(cpu, x, &intr_desc); in is_vect_desc_usable()
279 if (intr_desc.flags & ESP_CPU_INTR_DESC_FLAG_RESVD) { in is_vect_desc_usable()
283 if (intr_desc.flags & ESP_CPU_INTR_DESC_FLAG_SPECIAL && force == -1) { in is_vect_desc_usable()
290 if (!(flags & (1 << intr_desc.priority))) { in is_vect_desc_usable()
295 if (((flags & ESP_INTR_FLAG_EDGE) && (intr_desc.type == ESP_CPU_INTR_TYPE_LEVEL)) || in is_vect_desc_usable()
296 (((!(flags & ESP_INTR_FLAG_EDGE)) && (intr_desc.type == ESP_CPU_INTR_TYPE_EDGE)))) { in is_vect_desc_usable()
411 esp_cpu_intr_desc_t intr_desc; in get_available_int() local
413 esp_cpu_intr_get_desc(cpu, x, &intr_desc); in get_available_int()
416 x, intr_desc.flags & ESP_CPU_INTR_DESC_FLAG_RESVD, in get_available_int()
417 intr_desc.priority, in get_available_int()
418 intr_desc.type == ESP_CPU_INTR_TYPE_LEVEL ? "LEVEL" : "EDGE", in get_available_int()
441 if (no < best_shared_ct || best_level > intr_desc.priority) { in get_available_int()
448 best_level = intr_desc.priority; in get_available_int()
463 if (best_level > intr_desc.priority) { in get_available_int()
465 best_level = intr_desc.priority; in get_available_int()
477 if (best_level > intr_desc.priority) { in get_available_int()
479 best_level = intr_desc.priority; in get_available_int()