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