Lines Matching refs:response

836 	 * Allocate request and response queues and init their mutexs.
1033 mutex_destroy(&socalp->response[i].skc_mtx);
1035 cv_destroy(&socalp->response[i].skc_cv);
1047 if (socalp->response[i].skc_dhandle) {
1049 response[i].skc_dhandle);
1050 ddi_dma_free_handle(&socalp->response[i].skc_dhandle);
1052 if (socalp->response[i].skc_cq_raw) {
1053 ddi_dma_mem_free(&socalp->response[i].skc_acchandle);
1054 socalp->response[i].skc_cq_raw = NULL;
1055 socalp->response[i].skc_cq = NULL;
1061 if (socalp->response[i].deferred_intr_timeoutid) {
1063 response[i].deferred_intr_timeoutid);
1427 &socalp->response[i].skc_mtx);
1441 &socalp->response[i].skc_mtx);
1486 mutex_enter(&socalp->response[i].skc_mtx);
1500 mutex_exit(&socalp->response[i].skc_mtx);
1897 mutex_init(&socalp->response[index].skc_mtx, NULL, MUTEX_DRIVER,
1900 cv_init(&socalp->response[index].skc_cv, NULL, CV_DRIVER, NULL);
1956 /* Allocate DVMA resources for the response Queue. */
1959 cqp = &socalp->response[index];
2006 socalp->response[index].skc_cq_raw = NULL;
2007 socalp->response[index].skc_cq = (cqe_t *)NULL;
2008 socalp->response[index].skc_dhandle = 0;
2027 if (socalp->response[index].skc_dhandle) {
2030 response[index].skc_dhandle);
2031 ddi_dma_free_handle(&socalp->response[index].skc_dhandle);
2033 if (socalp->response[index].skc_cq_raw)
2034 ddi_dma_mem_free(&socalp->response[index].skc_acchandle);
2037 socalp->response[index].skc_dhandle = NULL;
2040 socalp->response[index].skc_cq_raw = NULL;
2041 socalp->response[index].skc_cq = NULL;
2043 mutex_destroy(&socalp->response[index].skc_mtx);
2045 cv_destroy(&socalp->response[index].skc_cv);
2058 socal_kcq_t *kcq_rsp = &socalp->response[index];
2151 mutex_enter(&socalp->response[i].skc_mtx);
2186 mutex_exit(&socalp->response[i].skc_mtx);
2197 mutex_enter(&socalp->response[i].skc_mtx);
2209 mutex_exit(&socalp->response[i].skc_mtx);
2305 * Description : Initializes the request and response queue
2348 * Do response queues
2354 (uint32_t)socalp->response[i].
3226 * for use with token-only response queues in the future
3312 kcq = &socalp->response[srq];
3322 * Process as many response queue entries as we can.
3351 * the soc interrupts us before the response has been DMA'ed
3353 * the problem for now, check the sequence # of the response.
3398 * Update response queue ptrs and soc registers.
3425 * Copy the response frame header (if there is one)
3460 * Update response queue ptrs and soc registers.
3541 * and "initialized" the response queue. We exit our
3543 * to a NULL de-reference from the response queue.
3554 * from the response queue while we're doing a callback
3555 * routine with the response queue mutex dropped.
3575 * the most recent entry in the response queue and resync
3576 * the response queue
3592 * Description : Processes entries in the unsolicited response
3595 * The SOC+ will give us an unsolicited response
3597 * or in response to a packet arriving from an originator.
3628 kcq = &socalp->response[urq];
3632 * Grab lock for response queue.
3671 * the most recent entry in the response queue
3696 /* A cq_hdr_count > 2 is illegal; throw away the response */
3723 * Update unsolicited response queue ptrs
3939 * and "initialized" the response queue. We exit our
3941 * to a NULL de-reference from the response queue.
3952 * from the response queue while we're doing a callback
3953 * routine with the response queue mutex dropped.
3975 * the most recent entry in the response queue
3987 /* Release lock for response queue. */
4938 mutex_enter(&socalp->response[i].skc_mtx);
4949 mutex_exit(&socalp->response[i].skc_mtx);