Searched refs:hisi_qp (Results 1 – 11 of 11) sorted by relevance
/drivers/crypto/hisilicon/ |
D | qm.h | 252 struct hisi_qp *qp_array; 294 struct hisi_qp { struct 308 void (*req_cb)(struct hisi_qp *qp, void *data); argument 309 void (*event_cb)(struct hisi_qp *qp); argument 398 struct hisi_qp *hisi_qm_create_qp(struct hisi_qm *qm, u8 alg_type); 399 int hisi_qm_start_qp(struct hisi_qp *qp, unsigned long arg); 400 int hisi_qm_stop_qp(struct hisi_qp *qp); 401 void hisi_qm_release_qp(struct hisi_qp *qp); 402 int hisi_qp_send(struct hisi_qp *qp, const void *msg); 430 u8 alg_type, int node, struct hisi_qp **qps); [all …]
|
D | qm.c | 437 int (*stop_qp)(struct hisi_qp *qp); 539 static bool qm_qp_avail_state(struct hisi_qm *qm, struct hisi_qp *qp, in qm_qp_avail_state() 767 static struct hisi_qp *qm_to_hisi_qp(struct hisi_qm *qm, struct qm_eqe *eqe) in qm_to_hisi_qp() 774 static void qm_cq_head_update(struct hisi_qp *qp) in qm_cq_head_update() 784 static void qm_poll_qp(struct hisi_qp *qp, struct hisi_qm *qm) in qm_poll_qp() 818 struct hisi_qp *qp; in qm_work_process() 938 static void qm_init_qp_status(struct hisi_qp *qp) in qm_init_qp_status() 1714 struct hisi_qp *qp; in qm_sq_dump() 1745 struct hisi_qp *qp; in qm_cq_dump() 2339 static int qm_stop_qp(struct hisi_qp *qp) in qm_stop_qp() [all …]
|
/drivers/crypto/hisilicon/sec2/ |
D | sec.h | 117 struct hisi_qp *qp; 138 struct hisi_qp **qps; 194 void sec_destroy_qps(struct hisi_qp **qps, int qp_num); 195 struct hisi_qp **sec_create_qps(void);
|
D | sec_main.c | 277 void sec_destroy_qps(struct hisi_qp **qps, int qp_num) in sec_destroy_qps() 283 struct hisi_qp **sec_create_qps(void) in sec_create_qps() 287 struct hisi_qp **qps; in sec_create_qps() 290 qps = kcalloc(ctx_num, sizeof(struct hisi_qp *), GFP_KERNEL); in sec_create_qps()
|
D | sec_crypto.c | 219 static void sec_req_cb(struct hisi_qp *qp, void *resp) in sec_req_cb() 475 struct hisi_qp *qp; in sec_create_qp_ctx()
|
/drivers/crypto/hisilicon/zip/ |
D | zip_crypto.c | 88 struct hisi_qp *qp; 336 struct hisi_qp *qp = qp_ctx->qp; in hisi_zip_do_work() 403 static void hisi_zip_acomp_cb(struct hisi_qp *qp, void *data) in hisi_zip_acomp_cb() 500 static int hisi_zip_start_qp(struct hisi_qp *qp, struct hisi_zip_qp_ctx *ctx, in hisi_zip_start_qp() 555 struct hisi_qp *qps[HZIP_CTX_Q_NUM] = { NULL }; in hisi_zip_ctx_init() 688 void (*fn)(struct hisi_qp *, void *)) in hisi_zip_set_acomp_cb() argument
|
D | zip.h | 84 int zip_create_qps(struct hisi_qp **qps, int ctx_num, int node);
|
D | zip_main.c | 277 int zip_create_qps(struct hisi_qp **qps, int qp_num, int node) in zip_create_qps()
|
/drivers/crypto/hisilicon/hpre/ |
D | hpre.h | 105 struct hisi_qp *hpre_create_qp(u8 type);
|
D | hpre_crypto.c | 109 struct hisi_qp *qp; 198 static struct hisi_qp *hpre_get_qp_and_start(u8 type) in hpre_get_qp_and_start() 200 struct hisi_qp *qp; in hpre_get_qp_and_start() 363 static int hpre_ctx_set(struct hpre_ctx *ctx, struct hisi_qp *qp, int qlen) in hpre_ctx_set() 458 static void hpre_alg_cb(struct hisi_qp *qp, void *resp) in hpre_alg_cb() 473 static void hpre_stop_qp_and_put(struct hisi_qp *qp) in hpre_stop_qp_and_put() 481 struct hisi_qp *qp; in hpre_ctx_init()
|
D | hpre_main.c | 278 struct hisi_qp *hpre_create_qp(u8 type) in hpre_create_qp() 281 struct hisi_qp *qp = NULL; in hpre_create_qp()
|