Searched refs:hisi_qp (Results 1 – 11 of 11) sorted by relevance
/Linux-v6.1/include/linux/ |
D | hisi_acc_qm.h | 318 struct hisi_qp *qp_array; 358 struct hisi_qp { struct 374 void (*req_cb)(struct hisi_qp *qp, void *data); argument 375 void (*event_cb)(struct hisi_qp *qp); argument 462 int hisi_qm_start_qp(struct hisi_qp *qp, unsigned long arg); 463 int hisi_qm_stop_qp(struct hisi_qp *qp); 464 int hisi_qp_send(struct hisi_qp *qp, const void *msg); 499 u8 alg_type, int node, struct hisi_qp **qps); 500 void hisi_qm_free_qps(struct hisi_qp **qps, int qp_num);
|
/Linux-v6.1/drivers/crypto/hisilicon/sec2/ |
D | sec.h | 118 struct hisi_qp *qp; 139 struct hisi_qp **qps; 223 void sec_destroy_qps(struct hisi_qp **qps, int qp_num); 224 struct hisi_qp **sec_create_qps(void);
|
D | sec_main.c | 366 void sec_destroy_qps(struct hisi_qp **qps, int qp_num) in sec_destroy_qps() 372 struct hisi_qp **sec_create_qps(void) in sec_create_qps() 376 struct hisi_qp **qps; in sec_create_qps() 379 qps = kcalloc(ctx_num, sizeof(struct hisi_qp *), GFP_KERNEL); in sec_create_qps()
|
D | sec_crypto.c | 230 static void sec_req_cb(struct hisi_qp *qp, void *resp) in sec_req_cb() 546 struct hisi_qp *qp; in sec_create_qp_ctx()
|
/Linux-v6.1/drivers/crypto/hisilicon/ |
D | qm.c | 606 static bool qm_qp_avail_state(struct hisi_qm *qm, struct hisi_qp *qp, in qm_qp_avail_state() 952 static void qm_cq_head_update(struct hisi_qp *qp) in qm_cq_head_update() 962 static void qm_poll_req_cb(struct hisi_qp *qp) in qm_poll_req_cb() 1018 struct hisi_qp *qp; in qm_work_process() 1088 static void qm_set_qp_disable(struct hisi_qp *qp, int offset) in qm_set_qp_disable() 1104 struct hisi_qp *qp = &qm->qp_array[qp_id]; in qm_disable_qp() 1195 static void qm_init_qp_status(struct hisi_qp *qp) in qm_init_qp_status() 2096 struct hisi_qp *qp; in qm_sq_dump() 2124 struct hisi_qp *qp; in qm_cq_dump() 2686 static int qm_stop_qp(struct hisi_qp *qp) in qm_stop_qp() [all …]
|
/Linux-v6.1/drivers/crypto/hisilicon/zip/ |
D | zip_crypto.c | 92 struct hisi_qp *qp; 339 struct hisi_qp *qp = qp_ctx->qp; in hisi_zip_do_work() 406 static void hisi_zip_acomp_cb(struct hisi_qp *qp, void *data) in hisi_zip_acomp_cb() 503 static int hisi_zip_start_qp(struct hisi_qp *qp, struct hisi_zip_qp_ctx *qp_ctx, in hisi_zip_start_qp() 558 struct hisi_qp *qps[HZIP_CTX_Q_NUM] = { NULL }; in hisi_zip_ctx_init() 692 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 qp_num, int node);
|
D | zip_main.c | 398 int zip_create_qps(struct hisi_qp **qps, int qp_num, int node) in zip_create_qps()
|
/Linux-v6.1/drivers/crypto/hisilicon/hpre/ |
D | hpre.h | 103 struct hisi_qp *hpre_create_qp(u8 type);
|
D | hpre_crypto.c | 115 struct hisi_qp *qp; 204 static struct hisi_qp *hpre_get_qp_and_start(u8 type) in hpre_get_qp_and_start() 206 struct hisi_qp *qp; in hpre_get_qp_and_start() 369 static int hpre_ctx_set(struct hpre_ctx *ctx, struct hisi_qp *qp, int qlen) in hpre_ctx_set() 464 static void hpre_alg_cb(struct hisi_qp *qp, void *resp) in hpre_alg_cb() 479 static void hpre_stop_qp_and_put(struct hisi_qp *qp) in hpre_stop_qp_and_put() 487 struct hisi_qp *qp; in hpre_ctx_init()
|
D | hpre_main.c | 467 struct hisi_qp *hpre_create_qp(u8 type) in hpre_create_qp() 470 struct hisi_qp *qp = NULL; in hpre_create_qp()
|