Lines Matching refs:cqp_request

150 static void nes_download_callback(struct nes_device *nesdev, struct nes_cqp_request *cqp_request)  in nes_download_callback()  argument
152 struct pau_fpdu_info *fpdu_info = cqp_request->cqp_callback_pointer; in nes_download_callback()
333 fpdu_info->cqp_request = nes_get_cqp_request(nesdev); in get_fpdu_info()
334 if (fpdu_info->cqp_request == NULL) { in get_fpdu_info()
400 if (fpdu_info->cqp_request) in get_fpdu_info()
401 nes_put_cqp_request(nesdev, fpdu_info->cqp_request); in get_fpdu_info()
416 struct nes_cqp_request *cqp_request; in forward_fpdus() local
426 cqp_request = fpdu_info->cqp_request; in forward_fpdus()
427 cqp_wqe = &cqp_request->cqp_wqe; in forward_fpdus()
472 cqp_request->cqp_callback_pointer = fpdu_info; in forward_fpdus()
473 cqp_request->callback = 1; in forward_fpdus()
474 cqp_request->cqp_callback = nes_download_callback; in forward_fpdus()
476 atomic_set(&cqp_request->refcount, 1); in forward_fpdus()
477 nes_post_cqp_request(nesdev, cqp_request); in forward_fpdus()
637 static void nes_chg_qh_handler(struct nes_device *nesdev, struct nes_cqp_request *cqp_request) in nes_chg_qh_handler() argument
639 struct pau_qh_chg *qh_chg = cqp_request->cqp_callback_pointer; in nes_chg_qh_handler()
652 if (cqp_request->major_code) { in nes_chg_qh_handler()
654 cqp_request->major_code); in nes_chg_qh_handler()
720 struct nes_cqp_request *cqp_request = NULL; in nes_change_quad_hash() local
726 cqp_request = nes_get_cqp_request(nesdev); in nes_change_quad_hash()
727 if (cqp_request == NULL) { in nes_change_quad_hash()
744 cqp_wqe = &cqp_request->cqp_wqe; in nes_change_quad_hash()
755 cqp_request->cqp_callback_pointer = qh_chg; in nes_change_quad_hash()
756 cqp_request->callback = 1; in nes_change_quad_hash()
757 cqp_request->cqp_callback = nes_chg_qh_handler; in nes_change_quad_hash()
758 atomic_set(&cqp_request->refcount, 1); in nes_change_quad_hash()
759 nes_post_cqp_request(nesdev, cqp_request); in nes_change_quad_hash()
765 if (cqp_request) in nes_change_quad_hash()
766 nes_put_cqp_request(nesdev, cqp_request); in nes_change_quad_hash()