Searched refs:genwqe_dev (Results 1 – 7 of 7) sorted by relevance
/drivers/misc/genwqe/ |
D | card_base.h | 268 struct genwqe_dev { struct 368 int genwqe_alloc_sync_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl, 371 int genwqe_setup_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl, 374 int genwqe_free_sync_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl); 398 struct genwqe_dev *cd; 413 int genwqe_setup_service_layer(struct genwqe_dev *cd); /* for PF only */ 414 int genwqe_finish_queue(struct genwqe_dev *cd); 415 int genwqe_release_service_layer(struct genwqe_dev *cd); 424 static inline int genwqe_get_slu_id(struct genwqe_dev *cd) in genwqe_get_slu_id() 429 int genwqe_ddcbs_in_flight(struct genwqe_dev *cd); [all …]
|
D | card_base.c | 47 static struct genwqe_dev *genwqe_devices[GENWQE_CARD_NO_MAX]; 132 static struct genwqe_dev *genwqe_dev_alloc(void) in genwqe_dev_alloc() 135 struct genwqe_dev *cd; in genwqe_dev_alloc() 144 cd = kzalloc(sizeof(struct genwqe_dev), GFP_KERNEL); in genwqe_dev_alloc() 176 static void genwqe_dev_free(struct genwqe_dev *cd) in genwqe_dev_free() 194 static int genwqe_bus_reset(struct genwqe_dev *cd) in genwqe_bus_reset() 259 bool genwqe_need_err_masking(struct genwqe_dev *cd) in genwqe_need_err_masking() 264 static void genwqe_tweak_hardware(struct genwqe_dev *cd) in genwqe_tweak_hardware() 292 int genwqe_recovery_on_fatal_gfir_required(struct genwqe_dev *cd) in genwqe_recovery_on_fatal_gfir_required() 297 int genwqe_flash_readback_fails(struct genwqe_dev *cd) in genwqe_flash_readback_fails() [all …]
|
D | card_sysfs.c | 42 struct genwqe_dev *cd = dev_get_drvdata(dev); in status_show() 53 struct genwqe_dev *cd = dev_get_drvdata(dev); in appid_show() 64 struct genwqe_dev *cd = dev_get_drvdata(dev); in version_show() 77 struct genwqe_dev *cd = dev_get_drvdata(dev); in type_show() 89 struct genwqe_dev *cd = dev_get_drvdata(dev); in tempsens_show() 101 struct genwqe_dev *cd = dev_get_drvdata(dev); in freerunning_timer_show() 113 struct genwqe_dev *cd = dev_get_drvdata(dev); in queue_working_time_show() 125 struct genwqe_dev *cd = dev_get_drvdata(dev); in base_clock_show() 152 struct genwqe_dev *cd = dev_get_drvdata(dev); in curr_bitstream_show() 168 struct genwqe_dev *cd = dev_get_drvdata(dev); in next_bitstream_show() [all …]
|
D | card_utils.c | 44 int __genwqe_writeq(struct genwqe_dev *cd, u64 byte_offs, u64 val) in __genwqe_writeq() 68 u64 __genwqe_readq(struct genwqe_dev *cd, u64 byte_offs) in __genwqe_readq() 95 int __genwqe_writel(struct genwqe_dev *cd, u64 byte_offs, u32 val) in __genwqe_writel() 119 u32 __genwqe_readl(struct genwqe_dev *cd, u64 byte_offs) in __genwqe_readl() 138 int genwqe_read_app_id(struct genwqe_dev *cd, char *app_name, int len) in genwqe_read_app_id() 210 void *__genwqe_alloc_consistent(struct genwqe_dev *cd, size_t size, in __genwqe_alloc_consistent() 220 void __genwqe_free_consistent(struct genwqe_dev *cd, size_t size, in __genwqe_free_consistent() 229 static void genwqe_unmap_pages(struct genwqe_dev *cd, dma_addr_t *dma_list, in genwqe_unmap_pages() 242 static int genwqe_map_pages(struct genwqe_dev *cd, in genwqe_map_pages() 291 int genwqe_alloc_sync_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl, in genwqe_alloc_sync_sgl() [all …]
|
D | card_ddcb.c | 163 static void print_ddcb_info(struct genwqe_dev *cd, struct ddcb_queue *queue) in print_ddcb_info() 241 static int ddcb_requ_finished(struct genwqe_dev *cd, struct ddcb_requ *req) in ddcb_requ_finished() 265 static int enqueue_ddcb(struct genwqe_dev *cd, struct ddcb_queue *queue, in enqueue_ddcb() 365 static int genwqe_check_ddcb_queue(struct genwqe_dev *cd, in genwqe_check_ddcb_queue() 477 int __genwqe_wait_ddcb(struct genwqe_dev *cd, struct ddcb_requ *req) in __genwqe_wait_ddcb() 567 static struct ddcb *get_next_ddcb(struct genwqe_dev *cd, in get_next_ddcb() 620 int __genwqe_purge_ddcb(struct genwqe_dev *cd, struct ddcb_requ *req) in __genwqe_purge_ddcb() 725 int genwqe_init_debug_data(struct genwqe_dev *cd, struct genwqe_debug_data *d) in genwqe_init_debug_data() 754 int __genwqe_enqueue_ddcb(struct genwqe_dev *cd, struct ddcb_requ *req, in __genwqe_enqueue_ddcb() 911 int __genwqe_execute_raw_ddcb(struct genwqe_dev *cd, in __genwqe_execute_raw_ddcb() [all …]
|
D | card_dev.c | 32 static int genwqe_open_files(struct genwqe_dev *cd) in genwqe_open_files() 43 static void genwqe_add_file(struct genwqe_dev *cd, struct genwqe_file *cfile) in genwqe_add_file() 53 static int genwqe_del_file(struct genwqe_dev *cd, struct genwqe_file *cfile) in genwqe_del_file() 194 struct genwqe_dev *cd = cfile->cd; in genwqe_remove_mappings() 232 struct genwqe_dev *cd = cfile->cd; in genwqe_remove_pinnings() 258 static int genwqe_kill_fasync(struct genwqe_dev *cd, int sig) in genwqe_kill_fasync() 274 static int genwqe_terminate(struct genwqe_dev *cd) in genwqe_terminate() 301 struct genwqe_dev *cd; in genwqe_open() 308 cd = container_of(inode->i_cdev, struct genwqe_dev, cdev_genwqe); in genwqe_open() 360 struct genwqe_dev *cd = cfile->cd; in genwqe_release() [all …]
|
D | card_debugfs.c | 45 struct genwqe_dev *cd = s->private; in curr_dbg_uidn_show() 92 struct genwqe_dev *cd = s->private; in prev_dbg_uidn_show() 121 struct genwqe_dev *cd = s->private; in curr_regs_show() 150 struct genwqe_dev *cd = s->private; in prev_regs_show() 174 struct genwqe_dev *cd = s->private; in jtimer_show() 195 struct genwqe_dev *cd = s->private; in queue_working_time_show() 213 struct genwqe_dev *cd = s->private; in ddcb_info_show() 286 struct genwqe_dev *cd = s->private; in info_show() 319 void genwqe_init_debugfs(struct genwqe_dev *cd) in genwqe_init_debugfs() 375 void genqwe_exit_debugfs(struct genwqe_dev *cd) in genqwe_exit_debugfs()
|