Searched defs:cqp_request (Results 1 - 6 of 6) sorted by relevance

/drivers/infiniband/hw/nes/
H A Dnes_mgt.h76 struct nes_cqp_request *cqp_request; member in struct:pau_fpdu_info
H A Dnes_utils.c564 struct nes_cqp_request *cqp_request = NULL; local
569 cqp_request = list_entry(nesdev->cqp_avail_reqs.next,
571 list_del_init(&cqp_request->list);
575 if (cqp_request == NULL) {
576 cqp_request = kzalloc(sizeof(struct nes_cqp_request), GFP_ATOMIC);
577 if (cqp_request) {
578 cqp_request->dynamic = 1;
579 INIT_LIST_HEAD(&cqp_request->list);
583 if (cqp_request) {
584 init_waitqueue_head(&cqp_request
598 nes_free_cqp_request(struct nes_device *nesdev, struct nes_cqp_request *cqp_request) argument
616 nes_put_cqp_request(struct nes_device *nesdev, struct nes_cqp_request *cqp_request) argument
627 nes_post_cqp_request(struct nes_device *nesdev, struct nes_cqp_request *cqp_request) argument
[all...]
H A Dnes.c275 static void nes_cqp_rem_ref_callback(struct nes_device *nesdev, struct nes_cqp_request *cqp_request) argument
278 struct nes_qp *nesqp = cqp_request->cqp_callback_pointer;
315 struct nes_cqp_request *cqp_request; local
331 cqp_request = nes_get_cqp_request(nesdev);
332 if (cqp_request == NULL) {
333 nes_debug(NES_DBG_QP, "Failed to get a cqp_request.\n");
336 cqp_request->waiting = 0;
337 cqp_request->callback = 1;
338 cqp_request->cqp_callback = nes_cqp_rem_ref_callback;
339 cqp_request
[all...]
H A Dnes_mgt.c150 static void nes_download_callback(struct nes_device *nesdev, struct nes_cqp_request *cqp_request) argument
152 struct pau_fpdu_info *fpdu_info = cqp_request->cqp_callback_pointer;
329 fpdu_info->cqp_request = nes_get_cqp_request(nesdev);
330 if (fpdu_info->cqp_request == NULL) {
331 nes_debug(NES_DBG_PAU, "Failed to get a cqp_request.\n");
395 if (fpdu_info->cqp_request)
396 nes_put_cqp_request(nesdev, fpdu_info->cqp_request);
411 struct nes_cqp_request *cqp_request; local
425 cqp_request = fpdu_info->cqp_request;
637 nes_chg_qh_handler(struct nes_device *nesdev, struct nes_cqp_request *cqp_request) argument
718 struct nes_cqp_request *cqp_request = NULL; local
[all...]
H A Dnes_hw.c3019 struct nes_cqp_request *cqp_request; local
3055 cqp_request = (struct nes_cqp_request *)(unsigned long)u64temp;
3056 if (cqp_request) {
3057 if (cqp_request->waiting) {
3059 cqp_request->major_code = (u16)(error_code >> 16);
3060 cqp_request->minor_code = (u16)error_code;
3062 cqp_request->request_done = 1;
3063 wake_up(&cqp_request->waitq);
3064 nes_put_cqp_request(nesdev, cqp_request);
3066 if (cqp_request
3778 struct nes_cqp_request *cqp_request; local
3833 struct nes_cqp_request *cqp_request; local
3884 struct nes_cqp_request *cqp_request; local
[all...]
H A Dnes_verbs.c64 struct nes_cqp_request *cqp_request; local
106 cqp_request = nes_get_cqp_request(nesdev);
107 if (cqp_request == NULL) {
113 cqp_request->waiting = 1;
114 cqp_wqe = &cqp_request->cqp_wqe;
125 atomic_set(&cqp_request->refcount, 2);
126 nes_post_cqp_request(nesdev, cqp_request);
129 ret = wait_event_timeout(cqp_request->waitq, (cqp_request->request_done != 0),
133 stag, ret, cqp_request
166 struct nes_cqp_request *cqp_request; local
289 struct nes_cqp_request *cqp_request; local
1116 struct nes_cqp_request *cqp_request; local
1540 struct nes_cqp_request *cqp_request; local
1793 struct nes_cqp_request *cqp_request; local
1932 struct nes_cqp_request *cqp_request; local
2663 struct nes_cqp_request *cqp_request; local
2855 struct nes_cqp_request *cqp_request; local
[all...]

Completed in 54 milliseconds