Searched refs:hisi_qp (Results 1 – 11 of 11) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/crypto/hisilicon/ |
| H A D | qm.h | 232 struct hisi_qp *qp_array; 266 struct hisi_qp { struct 280 void (*req_cb)(struct hisi_qp *qp, void *data); argument 281 void (*event_cb)(struct hisi_qp *qp); argument 346 struct hisi_qp *hisi_qm_create_qp(struct hisi_qm *qm, u8 alg_type); 347 int hisi_qm_start_qp(struct hisi_qp *qp, unsigned long arg); 348 int hisi_qm_stop_qp(struct hisi_qp *qp); 349 void hisi_qm_release_qp(struct hisi_qp *qp); 350 int hisi_qp_send(struct hisi_qp *qp, const void *msg); 378 u8 alg_type, int node, struct hisi_qp **qps); [all …]
|
| H A D | qm.c | 422 static bool qm_qp_avail_state(struct hisi_qm *qm, struct hisi_qp *qp, in qm_qp_avail_state() 602 static struct hisi_qp *qm_to_hisi_qp(struct hisi_qm *qm, struct qm_eqe *eqe) in qm_to_hisi_qp() 609 static void qm_cq_head_update(struct hisi_qp *qp) in qm_cq_head_update() 619 static void qm_poll_qp(struct hisi_qp *qp, struct hisi_qm *qm) in qm_poll_qp() 650 struct hisi_qp *qp; in qm_work_process() 753 static void qm_init_qp_status(struct hisi_qp *qp) in qm_init_qp_status() 1306 struct hisi_qp *qp; in qm_sq_dump() 1337 struct hisi_qp *qp; in qm_cq_dump() 1643 static void *qm_get_avail_sqe(struct hisi_qp *qp) in qm_get_avail_sqe() 1654 static struct hisi_qp *qm_create_qp_nolock(struct hisi_qm *qm, u8 alg_type) in qm_create_qp_nolock() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/hisilicon/sec2/ |
| H A D | sec.h | 101 struct hisi_qp *qp; 123 struct hisi_qp **qps; 185 void sec_destroy_qps(struct hisi_qp **qps, int qp_num); 186 struct hisi_qp **sec_create_qps(void);
|
| H A D | sec_main.c | 211 void sec_destroy_qps(struct hisi_qp **qps, int qp_num) in sec_destroy_qps() 217 struct hisi_qp **sec_create_qps(void) in sec_create_qps() 221 struct hisi_qp **qps; in sec_create_qps() 224 qps = kcalloc(ctx_num, sizeof(struct hisi_qp *), GFP_KERNEL); in sec_create_qps()
|
| H A D | sec_crypto.c | 145 static void sec_req_cb(struct hisi_qp *qp, void *resp) in sec_req_cb() 374 struct hisi_qp *qp; in sec_create_qp_ctx()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/hisilicon/zip/ |
| H A D | zip_crypto.c | 87 struct hisi_qp *qp; 153 static int hisi_zip_start_qp(struct hisi_qp *qp, struct hisi_zip_qp_ctx *ctx, in hisi_zip_start_qp() 182 struct hisi_qp *qps[HZIP_CTX_Q_NUM] = { NULL }; in hisi_zip_ctx_init() 350 static void hisi_zip_acomp_cb(struct hisi_qp *qp, void *data) in hisi_zip_acomp_cb() 386 void (*fn)(struct hisi_qp *, void *)) in hisi_zip_set_acomp_cb() argument 526 struct hisi_qp *qp = qp_ctx->qp; in hisi_zip_do_work()
|
| H A D | zip.h | 64 int zip_create_qps(struct hisi_qp **qps, int ctx_num, int node);
|
| H A D | zip_main.c | 244 int zip_create_qps(struct hisi_qp **qps, int qp_num, int node) in zip_create_qps()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/hisilicon/hpre/ |
| H A D | hpre.h | 93 struct hisi_qp *hpre_create_qp(void);
|
| H A D | hpre_crypto.c | 73 struct hisi_qp *qp; 155 static struct hisi_qp *hpre_get_qp_and_start(void) in hpre_get_qp_and_start() 157 struct hisi_qp *qp; in hpre_get_qp_and_start() 315 static int hpre_ctx_set(struct hpre_ctx *ctx, struct hisi_qp *qp, int qlen) in hpre_ctx_set() 409 static void hpre_alg_cb(struct hisi_qp *qp, void *resp) in hpre_alg_cb() 427 struct hisi_qp *qp; in hpre_ctx_init()
|
| H A D | hpre_main.c | 204 struct hisi_qp *hpre_create_qp(void) in hpre_create_qp() 207 struct hisi_qp *qp = NULL; in hpre_create_qp()
|