Home
last modified time | relevance | path

Searched refs:arm_state (Results 1 – 6 of 6) sorted by relevance

/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_arm.c2222 struct vchiq_arm_state *arm_state = vchiq_platform_get_arm_state(state); in vchiq_keepalive_thread_func() local
2260 if (wait_for_completion_interruptible(&arm_state->ka_evt)) { in vchiq_keepalive_thread_func()
2269 rc = atomic_xchg(&arm_state->ka_release_count, 0); in vchiq_keepalive_thread_func()
2270 uc = atomic_xchg(&arm_state->ka_use_count, 0); in vchiq_keepalive_thread_func()
2275 atomic_inc(&arm_state->ka_use_ack_count); in vchiq_keepalive_thread_func()
2301 struct vchiq_arm_state *arm_state) in vchiq_arm_init_state() argument
2303 if (arm_state) { in vchiq_arm_init_state()
2304 rwlock_init(&arm_state->susp_res_lock); in vchiq_arm_init_state()
2306 init_completion(&arm_state->ka_evt); in vchiq_arm_init_state()
2307 atomic_set(&arm_state->ka_use_count, 0); in vchiq_arm_init_state()
[all …]
Dvchiq_2835_arm.c34 struct vchiq_arm_state arm_state; member
185 status = vchiq_arm_init_state(state, &platform_state->arm_state); in vchiq_platform_init_state()
202 return &platform_state->arm_state; in vchiq_platform_get_arm_state()
Dvchiq_arm.h69 struct vchiq_arm_state *arm_state);
/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_eqs.c193 static void eq_update_ci(struct hinic_eq *eq, u32 arm_state) in eq_update_ci() argument
207 HINIC_EQ_CI_SET(arm_state, INT_ARMED); in eq_update_ci()
/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.h412 atomic_t arm_state; member
Dqplib_fp.c162 if (atomic_read(&cq->arm_state) && nq->cqn_handler) { in bnxt_qpn_cqn_sched_task()
341 atomic_set(&cq->arm_state, 0); in bnxt_qplib_service_nq()
2945 atomic_set(&cq->arm_state, 1); in bnxt_qplib_req_notify_cq()