Lines Matching refs:hifn_device

400 struct hifn_device {  struct
601 struct hifn_device *dev;
616 struct hifn_device *dev;
629 static inline u32 hifn_read_0(struct hifn_device *dev, u32 reg) in hifn_read_0()
634 static inline u32 hifn_read_1(struct hifn_device *dev, u32 reg) in hifn_read_1()
639 static inline void hifn_write_0(struct hifn_device *dev, u32 reg, u32 val) in hifn_write_0()
644 static inline void hifn_write_1(struct hifn_device *dev, u32 reg, u32 val) in hifn_write_1()
649 static void hifn_wait_puc(struct hifn_device *dev) in hifn_wait_puc()
666 static void hifn_reset_puc(struct hifn_device *dev) in hifn_reset_puc()
672 static void hifn_stop_device(struct hifn_device *dev) in hifn_stop_device()
681 static void hifn_reset_dma(struct hifn_device *dev, int full) in hifn_reset_dma()
752 struct hifn_device *dev = (struct hifn_device *)rng->priv; in hifn_rng_data_present()
767 struct hifn_device *dev = (struct hifn_device *)rng->priv; in hifn_rng_data_read()
774 static int hifn_register_rng(struct hifn_device *dev) in hifn_register_rng()
790 static void hifn_unregister_rng(struct hifn_device *dev) in hifn_unregister_rng()
799 static int hifn_init_pubrng(struct hifn_device *dev) in hifn_init_pubrng()
837 static int hifn_enable_crypto(struct hifn_device *dev) in hifn_enable_crypto()
880 static void hifn_init_dma(struct hifn_device *dev) in hifn_init_dma()
921 static void hifn_init_pll(struct hifn_device *dev) in hifn_init_pll()
973 static void hifn_init_registers(struct hifn_device *dev) in hifn_init_registers()
1049 static int hifn_setup_base_command(struct hifn_device *dev, u8 *buf, in hifn_setup_base_command()
1071 static int hifn_setup_crypto_command(struct hifn_device *dev, in hifn_setup_crypto_command()
1112 static int hifn_setup_cmd_desc(struct hifn_device *dev, in hifn_setup_cmd_desc()
1231 static int hifn_setup_src_desc(struct hifn_device *dev, struct page *page, in hifn_setup_src_desc()
1265 static void hifn_setup_res_desc(struct hifn_device *dev) in hifn_setup_res_desc()
1290 static void hifn_setup_dst_desc(struct hifn_device *dev, struct page *page, in hifn_setup_dst_desc()
1320 static int hifn_setup_dma(struct hifn_device *dev, in hifn_setup_dma()
1528 struct hifn_device *dev = ctx->dev; in hifn_setup_session()
1594 static int hifn_start_device(struct hifn_device *dev) in hifn_start_device()
1652 static inline void hifn_complete_sa(struct hifn_device *dev, int i) in hifn_complete_sa()
1711 static void hifn_clear_rings(struct hifn_device *dev, int error) in hifn_clear_rings()
1780 struct hifn_device *dev = container_of(dw, struct hifn_device, work); in hifn_work()
1851 struct hifn_device *dev = data; in hifn_interrupt()
1912 static void hifn_flush(struct hifn_device *dev) in hifn_flush()
1946 struct hifn_device *dev = ctx->dev; in hifn_setkey()
1965 struct hifn_device *dev = ctx->dev; in hifn_des3_setkey()
1983 struct hifn_device *dev = ctx->dev; in hifn_handle_req()
2040 static int hifn_process_queue(struct hifn_device *dev) in hifn_process_queue()
2074 struct hifn_device *dev = ctx->dev; in hifn_setup_crypto()
2384 static int hifn_alg_alloc(struct hifn_device *dev, const struct hifn_alg_template *t) in hifn_alg_alloc()
2420 static void hifn_unregister_alg(struct hifn_device *dev) in hifn_unregister_alg()
2431 static int hifn_register_alg(struct hifn_device *dev) in hifn_register_alg()
2450 struct hifn_device *dev = (struct hifn_device *)data; in hifn_tasklet_callback()
2467 struct hifn_device *dev; in hifn_probe()
2494 dev = kzalloc(sizeof(struct hifn_device) + sizeof(struct crypto_alg), in hifn_probe()
2599 struct hifn_device *dev; in hifn_remove()