Lines Matching refs:ocs_ecc_dev
87 struct ocs_ecc_dev { struct
105 struct ocs_ecc_dev *ecc_dev; argument
138 static inline int ocs_ecc_wait_idle(struct ocs_ecc_dev *dev) in ocs_ecc_wait_idle()
148 static void ocs_ecc_cmd_start(struct ocs_ecc_dev *ecc_dev, u32 op_size) in ocs_ecc_cmd_start()
155 static void ocs_ecc_write_cmd_and_data(struct ocs_ecc_dev *dev, in ocs_ecc_write_cmd_and_data()
169 static int ocs_ecc_trigger_op(struct ocs_ecc_dev *ecc_dev, u32 op_size, in ocs_ecc_trigger_op()
187 static inline void ocs_ecc_read_cx_out(struct ocs_ecc_dev *dev, void *cx_out, in ocs_ecc_read_cx_out()
201 static inline void ocs_ecc_read_cy_out(struct ocs_ecc_dev *dev, void *cy_out, in ocs_ecc_read_cy_out()
208 static struct ocs_ecc_dev *kmb_ocs_ecc_find_dev(struct ocs_ecc_ctx *tctx) in kmb_ocs_ecc_find_dev()
216 tctx->ecc_dev = list_first_entry(&ocs_ecc.dev_list, struct ocs_ecc_dev, in kmb_ocs_ecc_find_dev()
225 static int kmb_ecc_point_mult(struct ocs_ecc_dev *ecc_dev, in kmb_ecc_point_mult()
310 static int kmb_ecc_do_scalar_op(struct ocs_ecc_dev *ecc_dev, u64 *scalar_out, in kmb_ecc_do_scalar_op()
354 static int kmb_ocs_ecc_is_pubkey_valid_partial(struct ocs_ecc_dev *ecc_dev, in kmb_ocs_ecc_is_pubkey_valid_partial()
429 static int kmb_ocs_ecc_is_pubkey_valid_full(struct ocs_ecc_dev *ecc_dev, in kmb_ocs_ecc_is_pubkey_valid_full()
583 struct ocs_ecc_dev *ecc_dev = tctx->ecc_dev; in kmb_ecc_do_shared_secret()
715 struct ocs_ecc_dev *ecc_dev = tctx->ecc_dev; in kmb_ocs_ecc_do_one_request()
867 struct ocs_ecc_dev *ecc_dev = dev_id; in ocs_ecc_irq_handler()
888 struct ocs_ecc_dev *ecc_dev; in kmb_ocs_ecc_probe()
976 struct ocs_ecc_dev *ecc_dev; in kmb_ocs_ecc_remove()