Lines Matching refs:xsdfec_dev
212 struct xsdfec_dev { struct
234 static inline void xsdfec_regwrite(struct xsdfec_dev *xsdfec, u32 addr, in xsdfec_regwrite() argument
241 static inline u32 xsdfec_regread(struct xsdfec_dev *xsdfec, u32 addr) in xsdfec_regread()
250 static void update_bool_config_from_reg(struct xsdfec_dev *xsdfec, in update_bool_config_from_reg()
261 static void update_config_from_hw(struct xsdfec_dev *xsdfec) in update_config_from_hw()
293 static int xsdfec_get_status(struct xsdfec_dev *xsdfec, void __user *arg) in xsdfec_get_status()
313 static int xsdfec_get_config(struct xsdfec_dev *xsdfec, void __user *arg) in xsdfec_get_config()
324 static int xsdfec_isr_enable(struct xsdfec_dev *xsdfec, bool enable) in xsdfec_isr_enable()
350 static int xsdfec_ecc_isr_enable(struct xsdfec_dev *xsdfec, bool enable) in xsdfec_ecc_isr_enable()
381 static int xsdfec_set_irq(struct xsdfec_dev *xsdfec, void __user *arg) in xsdfec_set_irq()
408 static int xsdfec_set_turbo(struct xsdfec_dev *xsdfec, void __user *arg) in xsdfec_set_turbo()
435 static int xsdfec_get_turbo(struct xsdfec_dev *xsdfec, void __user *arg) in xsdfec_get_turbo()
458 static int xsdfec_reg0_write(struct xsdfec_dev *xsdfec, u32 n, u32 k, u32 psize, in xsdfec_reg0_write()
492 static int xsdfec_reg1_write(struct xsdfec_dev *xsdfec, u32 psize, in xsdfec_reg1_write()
526 static int xsdfec_reg2_write(struct xsdfec_dev *xsdfec, u32 nlayers, u32 nmqc, in xsdfec_reg2_write()
579 static int xsdfec_reg3_write(struct xsdfec_dev *xsdfec, u8 sc_off, u8 la_off, in xsdfec_reg3_write()
600 static int xsdfec_table_write(struct xsdfec_dev *xsdfec, u32 offset, in xsdfec_table_write()
654 static int xsdfec_add_ldpc(struct xsdfec_dev *xsdfec, void __user *arg) in xsdfec_add_ldpc()
730 static int xsdfec_set_order(struct xsdfec_dev *xsdfec, void __user *arg) in xsdfec_set_order()
756 static int xsdfec_set_bypass(struct xsdfec_dev *xsdfec, bool __user *arg) in xsdfec_set_bypass()
779 static int xsdfec_is_active(struct xsdfec_dev *xsdfec, bool __user *arg) in xsdfec_is_active()
829 static int xsdfec_cfg_axi_streams(struct xsdfec_dev *xsdfec) in xsdfec_cfg_axi_streams()
868 static int xsdfec_start(struct xsdfec_dev *xsdfec) in xsdfec_start()
889 static int xsdfec_stop(struct xsdfec_dev *xsdfec) in xsdfec_stop()
904 static int xsdfec_clear_stats(struct xsdfec_dev *xsdfec) in xsdfec_clear_stats()
915 static int xsdfec_get_stats(struct xsdfec_dev *xsdfec, void __user *arg) in xsdfec_get_stats()
934 static int xsdfec_set_default_config(struct xsdfec_dev *xsdfec) in xsdfec_set_default_config()
947 struct xsdfec_dev *xsdfec; in xsdfec_dev_ioctl()
951 xsdfec = container_of(fptr->private_data, struct xsdfec_dev, miscdev); in xsdfec_dev_ioctl()
1013 struct xsdfec_dev *xsdfec; in xsdfec_poll()
1015 xsdfec = container_of(file->private_data, struct xsdfec_dev, miscdev); in xsdfec_poll()
1040 static int xsdfec_parse_of(struct xsdfec_dev *xsdfec) in xsdfec_parse_of()
1122 struct xsdfec_dev *xsdfec = dev_id; in xsdfec_irq_thread()
1360 struct xsdfec_dev *xsdfec; in xsdfec_probe()
1438 struct xsdfec_dev *xsdfec; in xsdfec_remove()