Lines Matching refs:hifn_device
408 struct hifn_device { struct
609 struct hifn_device *dev;
624 struct hifn_device *dev;
637 static inline u32 hifn_read_0(struct hifn_device *dev, u32 reg) in hifn_read_0()
642 static inline u32 hifn_read_1(struct hifn_device *dev, u32 reg) in hifn_read_1()
647 static inline void hifn_write_0(struct hifn_device *dev, u32 reg, u32 val) in hifn_write_0()
652 static inline void hifn_write_1(struct hifn_device *dev, u32 reg, u32 val) in hifn_write_1()
657 static void hifn_wait_puc(struct hifn_device *dev) in hifn_wait_puc()
674 static void hifn_reset_puc(struct hifn_device *dev) in hifn_reset_puc()
680 static void hifn_stop_device(struct hifn_device *dev) in hifn_stop_device()
689 static void hifn_reset_dma(struct hifn_device *dev, int full) in hifn_reset_dma()
760 struct hifn_device *dev = (struct hifn_device *)rng->priv; in hifn_rng_data_present()
775 struct hifn_device *dev = (struct hifn_device *)rng->priv; in hifn_rng_data_read()
782 static int hifn_register_rng(struct hifn_device *dev) in hifn_register_rng()
798 static void hifn_unregister_rng(struct hifn_device *dev) in hifn_unregister_rng()
807 static int hifn_init_pubrng(struct hifn_device *dev) in hifn_init_pubrng()
845 static int hifn_enable_crypto(struct hifn_device *dev) in hifn_enable_crypto()
888 static void hifn_init_dma(struct hifn_device *dev) in hifn_init_dma()
929 static void hifn_init_pll(struct hifn_device *dev) in hifn_init_pll()
981 static void hifn_init_registers(struct hifn_device *dev) in hifn_init_registers()
1057 static int hifn_setup_base_command(struct hifn_device *dev, u8 *buf, in hifn_setup_base_command()
1079 static int hifn_setup_crypto_command(struct hifn_device *dev, in hifn_setup_crypto_command()
1120 static int hifn_setup_cmd_desc(struct hifn_device *dev, in hifn_setup_cmd_desc()
1239 static int hifn_setup_src_desc(struct hifn_device *dev, struct page *page, in hifn_setup_src_desc()
1272 static void hifn_setup_res_desc(struct hifn_device *dev) in hifn_setup_res_desc()
1297 static void hifn_setup_dst_desc(struct hifn_device *dev, struct page *page, in hifn_setup_dst_desc()
1326 static int hifn_setup_dma(struct hifn_device *dev, in hifn_setup_dma()
1534 struct hifn_device *dev = ctx->dev; in hifn_setup_session()
1600 static int hifn_start_device(struct hifn_device *dev) in hifn_start_device()
1658 static inline void hifn_complete_sa(struct hifn_device *dev, int i) in hifn_complete_sa()
1717 static void hifn_clear_rings(struct hifn_device *dev, int error) in hifn_clear_rings()
1786 struct hifn_device *dev = container_of(dw, struct hifn_device, work); in hifn_work()
1857 struct hifn_device *dev = (struct hifn_device *)data; in hifn_interrupt()
1918 static void hifn_flush(struct hifn_device *dev) in hifn_flush()
1953 struct hifn_device *dev = ctx->dev; in hifn_setkey()
1981 struct hifn_device *dev = ctx->dev; in hifn_handle_req()
2038 static int hifn_process_queue(struct hifn_device *dev) in hifn_process_queue()
2072 struct hifn_device *dev = ctx->dev; in hifn_setup_crypto()
2381 static int hifn_alg_alloc(struct hifn_device *dev, struct hifn_alg_template *t) in hifn_alg_alloc()
2418 static void hifn_unregister_alg(struct hifn_device *dev) in hifn_unregister_alg()
2429 static int hifn_register_alg(struct hifn_device *dev) in hifn_register_alg()
2448 struct hifn_device *dev = (struct hifn_device *)data; in hifn_tasklet_callback()
2465 struct hifn_device *dev; in hifn_probe()
2492 dev = kzalloc(sizeof(struct hifn_device) + sizeof(struct crypto_alg), in hifn_probe()
2596 struct hifn_device *dev; in hifn_remove()