Lines Matching refs:genwqe_dev

54 int __genwqe_writeq(struct genwqe_dev *cd, u64 byte_offs, u64 val)  in __genwqe_writeq()
78 u64 __genwqe_readq(struct genwqe_dev *cd, u64 byte_offs) in __genwqe_readq()
105 int __genwqe_writel(struct genwqe_dev *cd, u64 byte_offs, u32 val) in __genwqe_writel()
129 u32 __genwqe_readl(struct genwqe_dev *cd, u64 byte_offs) in __genwqe_readl()
145 int genwqe_read_app_id(struct genwqe_dev *cd, char *app_name, int len) in genwqe_read_app_id()
217 void *__genwqe_alloc_consistent(struct genwqe_dev *cd, size_t size, in __genwqe_alloc_consistent()
227 void __genwqe_free_consistent(struct genwqe_dev *cd, size_t size, in __genwqe_free_consistent()
236 static void genwqe_unmap_pages(struct genwqe_dev *cd, dma_addr_t *dma_list, in genwqe_unmap_pages()
249 static int genwqe_map_pages(struct genwqe_dev *cd, in genwqe_map_pages()
298 int genwqe_alloc_sync_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl, in genwqe_alloc_sync_sgl()
381 int genwqe_setup_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl, in genwqe_setup_sgl()
478 int genwqe_free_sync_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl) in genwqe_free_sync_sgl()
574 int genwqe_user_vmap(struct genwqe_dev *cd, struct dma_mapping *m, void *uaddr, in genwqe_user_vmap()
649 int genwqe_user_vunmap(struct genwqe_dev *cd, struct dma_mapping *m) in genwqe_user_vunmap()
684 u8 genwqe_card_type(struct genwqe_dev *cd) in genwqe_card_type()
695 int genwqe_card_reset(struct genwqe_dev *cd) in genwqe_card_reset()
732 int genwqe_read_softreset(struct genwqe_dev *cd) in genwqe_read_softreset()
749 int genwqe_set_interrupt_capability(struct genwqe_dev *cd, int count) in genwqe_set_interrupt_capability()
763 void genwqe_reset_interrupt_capability(struct genwqe_dev *cd) in genwqe_reset_interrupt_capability()
778 static int set_reg_idx(struct genwqe_dev *cd, struct genwqe_reg *r, in set_reg_idx()
792 static int set_reg(struct genwqe_dev *cd, struct genwqe_reg *r, in set_reg()
798 int genwqe_read_ffdc_regs(struct genwqe_dev *cd, struct genwqe_reg *regs, in genwqe_read_ffdc_regs()
856 int genwqe_ffdc_buff_size(struct genwqe_dev *cd, int uid) in genwqe_ffdc_buff_size()
909 int genwqe_ffdc_buff_read(struct genwqe_dev *cd, int uid, in genwqe_ffdc_buff_read()
997 int genwqe_write_vreg(struct genwqe_dev *cd, u32 reg, u64 val, int func) in genwqe_write_vreg()
1010 u64 genwqe_read_vreg(struct genwqe_dev *cd, u32 reg, int func) in genwqe_read_vreg()
1028 int genwqe_base_clock_frequency(struct genwqe_dev *cd) in genwqe_base_clock_frequency()
1045 void genwqe_stop_traps(struct genwqe_dev *cd) in genwqe_stop_traps()
1055 void genwqe_start_traps(struct genwqe_dev *cd) in genwqe_start_traps()