Lines Matching refs:ocs_ecc_dev

84 struct ocs_ecc_dev {  struct
100 struct ocs_ecc_dev *ecc_dev; argument
133 static inline int ocs_ecc_wait_idle(struct ocs_ecc_dev *dev) in ocs_ecc_wait_idle()
143 static void ocs_ecc_cmd_start(struct ocs_ecc_dev *ecc_dev, u32 op_size) in ocs_ecc_cmd_start()
150 static void ocs_ecc_write_cmd_and_data(struct ocs_ecc_dev *dev, in ocs_ecc_write_cmd_and_data()
164 static int ocs_ecc_trigger_op(struct ocs_ecc_dev *ecc_dev, u32 op_size, in ocs_ecc_trigger_op()
182 static inline void ocs_ecc_read_cx_out(struct ocs_ecc_dev *dev, void *cx_out, in ocs_ecc_read_cx_out()
196 static inline void ocs_ecc_read_cy_out(struct ocs_ecc_dev *dev, void *cy_out, in ocs_ecc_read_cy_out()
203 static struct ocs_ecc_dev *kmb_ocs_ecc_find_dev(struct ocs_ecc_ctx *tctx) in kmb_ocs_ecc_find_dev()
211 tctx->ecc_dev = list_first_entry(&ocs_ecc.dev_list, struct ocs_ecc_dev, in kmb_ocs_ecc_find_dev()
220 static int kmb_ecc_point_mult(struct ocs_ecc_dev *ecc_dev, in kmb_ecc_point_mult()
305 static int kmb_ecc_do_scalar_op(struct ocs_ecc_dev *ecc_dev, u64 *scalar_out, in kmb_ecc_do_scalar_op()
349 static int kmb_ocs_ecc_is_pubkey_valid_partial(struct ocs_ecc_dev *ecc_dev, in kmb_ocs_ecc_is_pubkey_valid_partial()
424 static int kmb_ocs_ecc_is_pubkey_valid_full(struct ocs_ecc_dev *ecc_dev, in kmb_ocs_ecc_is_pubkey_valid_full()
578 struct ocs_ecc_dev *ecc_dev = tctx->ecc_dev; in kmb_ecc_do_shared_secret()
710 struct ocs_ecc_dev *ecc_dev = tctx->ecc_dev; in kmb_ocs_ecc_do_one_request()
860 struct ocs_ecc_dev *ecc_dev = dev_id; in ocs_ecc_irq_handler()
881 struct ocs_ecc_dev *ecc_dev; in kmb_ocs_ecc_probe()
969 struct ocs_ecc_dev *ecc_dev; in kmb_ocs_ecc_remove()