Lines Matching refs:hifn_device
421 struct hifn_device struct
632 struct hifn_device *dev;
649 struct hifn_device *dev;
663 static inline u32 hifn_read_0(struct hifn_device *dev, u32 reg) in hifn_read_0()
672 static inline u32 hifn_read_1(struct hifn_device *dev, u32 reg) in hifn_read_1()
681 static inline void hifn_write_0(struct hifn_device *dev, u32 reg, u32 val) in hifn_write_0()
686 static inline void hifn_write_1(struct hifn_device *dev, u32 reg, u32 val) in hifn_write_1()
691 static void hifn_wait_puc(struct hifn_device *dev) in hifn_wait_puc()
708 static void hifn_reset_puc(struct hifn_device *dev) in hifn_reset_puc()
714 static void hifn_stop_device(struct hifn_device *dev) in hifn_stop_device()
723 static void hifn_reset_dma(struct hifn_device *dev, int full) in hifn_reset_dma()
795 struct hifn_device *dev = (struct hifn_device *)rng->priv; in hifn_rng_data_present()
810 struct hifn_device *dev = (struct hifn_device *)rng->priv; in hifn_rng_data_read()
817 static int hifn_register_rng(struct hifn_device *dev) in hifn_register_rng()
833 static void hifn_unregister_rng(struct hifn_device *dev) in hifn_unregister_rng()
842 static int hifn_init_pubrng(struct hifn_device *dev) in hifn_init_pubrng()
885 static int hifn_enable_crypto(struct hifn_device *dev) in hifn_enable_crypto()
928 static void hifn_init_dma(struct hifn_device *dev) in hifn_init_dma()
971 static void hifn_init_pll(struct hifn_device *dev) in hifn_init_pll()
1024 static void hifn_init_registers(struct hifn_device *dev) in hifn_init_registers()
1100 static int hifn_setup_base_command(struct hifn_device *dev, u8 *buf, in hifn_setup_base_command()
1122 static int hifn_setup_crypto_command(struct hifn_device *dev, in hifn_setup_crypto_command()
1163 static int hifn_setup_cmd_desc(struct hifn_device *dev, in hifn_setup_cmd_desc()
1281 static int hifn_setup_src_desc(struct hifn_device *dev, struct page *page, in hifn_setup_src_desc()
1314 static void hifn_setup_res_desc(struct hifn_device *dev) in hifn_setup_res_desc()
1339 static void hifn_setup_dst_desc(struct hifn_device *dev, struct page *page, in hifn_setup_dst_desc()
1368 static int hifn_setup_dma(struct hifn_device *dev, in hifn_setup_dma()
1577 struct hifn_device *dev = ctx->dev; in hifn_setup_session()
1643 static int hifn_test(struct hifn_device *dev, int encdec, u8 snum) in hifn_test()
1697 static int hifn_start_device(struct hifn_device *dev) in hifn_start_device()
1755 static inline void hifn_complete_sa(struct hifn_device *dev, int i) in hifn_complete_sa()
1813 static void hifn_clear_rings(struct hifn_device *dev, int error) in hifn_clear_rings()
1884 struct hifn_device *dev = container_of(dw, struct hifn_device, work); in hifn_work()
1954 struct hifn_device *dev = (struct hifn_device *)data; in hifn_interrupt()
2015 static void hifn_flush(struct hifn_device *dev) in hifn_flush()
2050 struct hifn_device *dev = ctx->dev; in hifn_setkey()
2078 struct hifn_device *dev = ctx->dev; in hifn_handle_req()
2135 static int hifn_process_queue(struct hifn_device *dev) in hifn_process_queue()
2169 struct hifn_device *dev = ctx->dev; in hifn_setup_crypto()
2481 static int hifn_alg_alloc(struct hifn_device *dev, struct hifn_alg_template *t) in hifn_alg_alloc()
2518 static void hifn_unregister_alg(struct hifn_device *dev) in hifn_unregister_alg()
2529 static int hifn_register_alg(struct hifn_device *dev) in hifn_register_alg()
2548 struct hifn_device *dev = (struct hifn_device *)data; in hifn_tasklet_callback()
2565 struct hifn_device *dev; in hifn_probe()
2593 dev = kzalloc(sizeof(struct hifn_device) + sizeof(struct crypto_alg), in hifn_probe()
2699 struct hifn_device *dev; in hifn_remove()