Lines Matching refs:state
147 hif->napi_data.state); in hif_napi_create()
152 if (0 == (napid->state & HIF_NAPI_INITED)) { in hif_napi_create()
156 napid->state |= HIF_NAPI_INITED; in hif_napi_create()
343 if (0 == (hif->napi_data.state & HIF_NAPI_INITED)) { in hif_napi_destroy()
365 if (hif->napi_data.state == HIF_NAPI_CONF_UP) { in hif_napi_destroy()
520 if ((napid->state & HIF_NAPI_INITED) == 0) { in hif_napi_event()
526 prev_state = napid->state; in hif_napi_event()
540 napid->state |= HIF_NAPI_CONF_UP; in hif_napi_event()
545 napid->state &= ~HIF_NAPI_CONF_UP; in hif_napi_event()
659 state_changed = (prev_state != napid->state); in hif_napi_event()
663 if (napid->state == ENABLE_NAPI_MASK) { in hif_napi_event()
711 rc = ((hif->napi_data.state == ENABLE_NAPI_MASK)); in hif_napi_enabled()
713 rc = ((hif->napi_data.state == ENABLE_NAPI_MASK) && in hif_napi_enabled()
1084 if (test_bit(NAPI_STATE_SCHED, &napii->napi.state)) { in hif_napi_schedule()
1401 cpu[i].state, cpu[i].core_id, cpu[i].cluster_id,
1548 napid->napi_cpu[cpu].state = QCA_NAPI_CPU_UP;
1550 __func__, cpu, napid->napi_cpu[cpu].state);
1575 napid->napi_cpu[cpu].state = QCA_NAPI_CPU_DOWN;
1578 __func__, cpu, napid->napi_cpu[cpu].state);
1588 ((size_t)cpu << 16 | napid->napi_cpu[cpu].state));
1682 if (cpus[0].state != QCA_NAPI_CPU_UNINITIALIZED) {
1690 cpus[i].state = ((cpumask_test_cpu(i, cpu_online_mask)
1834 if (napid->napi_cpu[i].state == QCA_NAPI_CPU_UP) {
1853 if ((napid->napi_cpu[i].state == QCA_NAPI_CPU_UP) &&