Lines Matching refs:tasklet_entry

59 static inline void ce_tasklet_schedule(struct ce_tasklet_entry *tasklet_entry)  in ce_tasklet_schedule()  argument
61 if (tasklet_entry->hi_tasklet_ce) in ce_tasklet_schedule()
62 tasklet_hi_schedule(&tasklet_entry->intr_tq); in ce_tasklet_schedule()
64 tasklet_schedule(&tasklet_entry->intr_tq); in ce_tasklet_schedule()
413 struct ce_tasklet_entry *tasklet_entry = in ce_tasklet() local
415 struct HIF_CE_state *hif_ce_state = tasklet_entry->hif_ce_state; in ce_tasklet()
417 struct CE_state *CE_state = scn->ce_id_to_state[tasklet_entry->ce_id]; in ce_tasklet()
419 hif_record_ce_desc_event(scn, tasklet_entry->ce_id, in ce_tasklet()
423 hif_record_tasklet_exec_entry_ts(scn, tasklet_entry->ce_id); in ce_tasklet()
425 hif_tasklet_latency_record_exec(scn, tasklet_entry->ce_id); in ce_tasklet()
429 tasklet_entry->ce_id); in ce_tasklet()
435 ce_per_engine_service(scn, tasklet_entry->ce_id); in ce_tasklet()
437 if (ce_check_rx_pending(CE_state) && tasklet_entry->inited) { in ce_tasklet()
444 &tasklet_entry->intr_tq.state)) { in ce_tasklet()
446 tasklet_entry->ce_id); in ce_tasklet()
451 hif_record_ce_desc_event(scn, tasklet_entry->ce_id, in ce_tasklet()
455 ce_tasklet_schedule(tasklet_entry); in ce_tasklet()
456 hif_tasklet_latency_record_sched(scn, tasklet_entry->ce_id); in ce_tasklet()
458 hif_reset_ce_full_count(scn, tasklet_entry->ce_id); in ce_tasklet()
461 tasklet_entry->ce_id); in ce_tasklet()
463 tasklet_entry->ce_id); in ce_tasklet()
468 hif_record_ce_desc_event(scn, tasklet_entry->ce_id, HIF_CE_TASKLET_EXIT, in ce_tasklet()
472 ce_tasklet_update_bucket(hif_ce_state, tasklet_entry->ce_id); in ce_tasklet()
476 hif_irq_enable(scn, tasklet_entry->ce_id); in ce_tasklet()
551 struct ce_tasklet_entry *tasklet_entry; in ce_tasklet_entry_dump() local
556 tasklet_entry = &hif_ce_state->tasklets[i]; in ce_tasklet_entry_dump()
560 tasklet_entry->ce_id, in ce_tasklet_entry_dump()
561 tasklet_entry->inited, in ce_tasklet_entry_dump()
562 tasklet_entry->hi_tasklet_ce, in ce_tasklet_entry_dump()
563 tasklet_entry->hif_ce_state); in ce_tasklet_entry_dump()
639 struct ce_tasklet_entry *tasklet_entry = context; in hif_snoc_interrupt_handler() local
640 struct hif_softc *scn = HIF_GET_SOFTC(tasklet_entry->hif_ce_state); in hif_snoc_interrupt_handler()
643 tasklet_entry); in hif_snoc_interrupt_handler()
737 struct ce_tasklet_entry *tasklet_entry) in hif_tasklet_schedule() argument
741 if (test_bit(TASKLET_STATE_SCHED, &tasklet_entry->intr_tq.state)) { in hif_tasklet_schedule()
747 hif_set_ce_tasklet_sched_time(scn, tasklet_entry->ce_id); in hif_tasklet_schedule()
751 hif_tasklet_latency_record_sched(scn, tasklet_entry->ce_id); in hif_tasklet_schedule()
752 ce_tasklet_schedule(tasklet_entry); in hif_tasklet_schedule()
754 hif_reset_ce_full_count(scn, tasklet_entry->ce_id); in hif_tasklet_schedule()
756 hif_record_tasklet_sched_entry_ts(scn, tasklet_entry->ce_id); in hif_tasklet_schedule()
826 struct ce_tasklet_entry *tasklet_entry; in hif_drain_fw_diag_ce() local
831 tasklet_entry = &hif_ce_state->tasklets[ce_id]; in hif_drain_fw_diag_ce()
836 if (test_bit(TASKLET_STATE_SCHED, &tasklet_entry->intr_tq.state) || in hif_drain_fw_diag_ce()
837 test_bit(TASKLET_STATE_RUN, &tasklet_entry->intr_tq.state)) in hif_drain_fw_diag_ce()
899 struct ce_tasklet_entry *tasklet_entry) in ce_dispatch_interrupt() argument
901 struct HIF_CE_state *hif_ce_state = tasklet_entry->hif_ce_state; in ce_dispatch_interrupt()
906 if (tasklet_entry->ce_id != ce_id) { in ce_dispatch_interrupt()
910 tasklet_entry->ce_id, ce_id, in ce_dispatch_interrupt()
911 tasklet_entry->inited, in ce_dispatch_interrupt()
921 tasklet_entry->ce_id, CE_COUNT_MAX); in ce_dispatch_interrupt()
928 if (ce_check_tasklet_status(ce_id, tasklet_entry)) { in ce_dispatch_interrupt()
956 hif_tasklet_schedule(hif_hdl, tasklet_entry); in ce_dispatch_interrupt()