Lines Matching refs:request

834 	 * Allocate request and response queues and init their mutexs.
846 burstsize = ddi_dma_burstsizes(socalp->request[0].skc_dhandle);
857 if (ddi_dma_set_sbus64(socalp->request[0].skc_dhandle,
863 burstsize = ddi_dma_burstsizes(socalp->request[0].
1026 * Free request queues, if allocated
1030 mutex_destroy(&socalp->request[i].skc_mtx);
1032 cv_destroy(&socalp->request[i].skc_cv);
1035 if (socalp->request[i].skc_dhandle) {
1037 request[i].skc_dhandle);
1038 ddi_dma_free_handle(&socalp->request[i].skc_dhandle);
1040 if (socalp->request[i].skc_cq_raw) {
1041 ddi_dma_mem_free(&socalp->request[i].skc_acchandle);
1042 socalp->request[i].skc_cq_raw = NULL;
1043 socalp->request[i].skc_cq = NULL;
1055 if (socalp->request[i].deferred_intr_timeoutid) {
1057 request[i].deferred_intr_timeoutid);
1423 &socalp->request[i].skc_mtx);
1437 mutex_exit(&socalp->request[i].skc_mtx);
1483 mutex_enter(&socalp->request[i].skc_mtx);
1497 mutex_exit(&socalp->request[i].skc_mtx);
1654 /* This was a request to online. */
1893 mutex_init(&socalp->request[index].skc_mtx, NULL, MUTEX_DRIVER,
1897 cv_init(&socalp->request[index].skc_cv, NULL, CV_DRIVER, NULL);
1903 cqp = &socalp->request[index];
1949 socalp->request[index].skc_cq_raw = NULL;
1950 socalp->request[index].skc_cq = (cqe_t *)NULL;
1951 socalp->request[index].skc_dhandle = 0;
2016 if (socalp->request[index].skc_dhandle) {
2019 request[index].skc_dhandle);
2020 ddi_dma_free_handle(&socalp->request[index].skc_dhandle);
2022 if (socalp->request[index].skc_cq_raw)
2023 ddi_dma_mem_free(&socalp->request[index].skc_acchandle);
2034 socalp->request[index].skc_dhandle = NULL;
2036 socalp->request[index].skc_cq_raw = NULL;
2037 socalp->request[index].skc_cq = NULL;
2040 mutex_destroy(&socalp->request[index].skc_mtx);
2042 cv_destroy(&socalp->request[index].skc_cv);
2055 socal_kcq_t *kcq_req = &socalp->request[index];
2148 mutex_enter(&socalp->request[i].skc_mtx);
2183 mutex_exit(&socalp->request[i].skc_mtx);
2194 mutex_enter(&socalp->request[i].skc_mtx);
2200 socalp->request[i].skc_overflowh = NULL;
2201 if (socalp->request[i].skc_full & SOCAL_SKC_SLEEP)
2202 cv_broadcast(&socalp->request[i].skc_cv);
2206 mutex_exit(&socalp->request[i].skc_mtx);
2303 * Description : Initializes the request and response queue
2323 * Do request queues
2328 (uint32_t)socalp->request[i].
2433 * Fill in the request structure.
2464 /* Enque the request. */
2522 * Fill in the request structure.
2549 /* Transport the request. */
2604 * Description : Enqueues an entry into the solicited request
2626 kcq = &socalp->request[rqix];
2650 * Grab lock for request queue.
2672 "socal%d: cq_enque: request "
2744 /* Let lock go for request queue. */
2978 kcq = &socalp->request[CQ_REQUEST_1];
3187 int i, j, request;
3232 * Process any request interrupts
3233 * We only allow request interrupts when the request
3237 if ((request = (cause & SOCAL_CSR_HOST_TO_SOCAL)) != 0) {
3241 if (request & i) {
3242 socal_kcq_t *kcq = &socalp->request[j];
3280 DEBUGF(4, (CE_CONT, "socal%d intr: did request queues\n", instance));
3315 * Grab lock for request queue.
3581 /* Drop lock for request queue. */
4860 kcq = &socalp->request[q_no];
4935 mutex_enter(&socalp->request[i].skc_mtx);
4946 mutex_exit(&socalp->request[i].skc_mtx);