Lines Matching refs:force
271 static bool is_vect_desc_usable(struct vector_desc_t *vd, int flags, int cpu, int force) in is_vect_desc_usable() argument
283 if (intr_desc.flags & ESP_CPU_INTR_DESC_FLAG_SPECIAL && force == -1) { in is_vect_desc_usable()
351 static int get_available_int(int flags, int cpu, int force, int source) in get_available_int() argument
373 if (force != -1 && force != vd->intno) { in get_available_int()
375 "existing intno: %d, force: %d", __func__, vd->intno, force); in get_available_int()
376 } else if (!is_vect_desc_usable(vd, flags, cpu, force)) { in get_available_int()
383 if (force != -1) { in get_available_int()
385 "Cpu: %d, Source: %d, Force: %d", __func__, cpu, source, force); in get_available_int()
387 vd = find_desc_for_int(force, cpu); in get_available_int()
390 empty_vect_desc.intno = force; in get_available_int()
393 if (is_vect_desc_usable(vd, flags, cpu, force)) { in get_available_int()
421 if (!is_vect_desc_usable(vd, flags, cpu, force)) { in get_available_int()
522 int force = -1; in esp_intr_alloc_intrstatus() local
572 force = ETS_INTERNAL_TIMER0_INTR_NO; in esp_intr_alloc_intrstatus()
575 force = ETS_INTERNAL_TIMER1_INTR_NO; in esp_intr_alloc_intrstatus()
578 force = ETS_INTERNAL_TIMER2_INTR_NO; in esp_intr_alloc_intrstatus()
581 force = ETS_INTERNAL_SW0_INTR_NO; in esp_intr_alloc_intrstatus()
584 force = ETS_INTERNAL_SW1_INTR_NO; in esp_intr_alloc_intrstatus()
587 force = ETS_INTERNAL_PROFILING_INTR_NO; in esp_intr_alloc_intrstatus()
602 int intr = get_available_int(flags, cpu, force, source); in esp_intr_alloc_intrstatus()