Searched refs:cqp_timeout (Results 1 – 3 of 3) sorted by relevance
490 struct i40iw_cqp_timeout cqp_timeout; in i40iw_wait_event() local493 memset(&cqp_timeout, 0, sizeof(cqp_timeout)); in i40iw_wait_event()494 cqp_timeout.compl_cqp_cmds = iwdev->sc_dev.cqp_cmd_stats[OP_COMPLETED_COMMANDS]; in i40iw_wait_event()500 i40iw_check_cqp_progress(&cqp_timeout, &iwdev->sc_dev); in i40iw_wait_event()502 if (cqp_timeout.count < CQP_TIMEOUT_THRESHOLD) in i40iw_wait_event()
56 void i40iw_check_cqp_progress(struct i40iw_cqp_timeout *cqp_timeout, struct i40iw_sc_dev *dev);
57 void i40iw_check_cqp_progress(struct i40iw_cqp_timeout *cqp_timeout, struct i40iw_sc_dev *dev) in i40iw_check_cqp_progress() argument59 if (cqp_timeout->compl_cqp_cmds != dev->cqp_cmd_stats[OP_COMPLETED_COMMANDS]) { in i40iw_check_cqp_progress()60 cqp_timeout->compl_cqp_cmds = dev->cqp_cmd_stats[OP_COMPLETED_COMMANDS]; in i40iw_check_cqp_progress()61 cqp_timeout->count = 0; in i40iw_check_cqp_progress()63 if (dev->cqp_cmd_stats[OP_REQUESTED_COMMANDS] != cqp_timeout->compl_cqp_cmds) in i40iw_check_cqp_progress()64 cqp_timeout->count++; in i40iw_check_cqp_progress()