Lines Matching refs:mops
30 if (mgr->mops->fpga_remove) in fpga_mgr_fpga_remove()
31 mgr->mops->fpga_remove(mgr); in fpga_mgr_fpga_remove()
36 if (mgr->mops->state) in fpga_mgr_state()
37 return mgr->mops->state(mgr); in fpga_mgr_state()
43 if (mgr->mops->status) in fpga_mgr_status()
44 return mgr->mops->status(mgr); in fpga_mgr_status()
50 if (mgr->mops->write) in fpga_mgr_write()
51 return mgr->mops->write(mgr, buf, count); in fpga_mgr_write()
65 if (mgr->mops->write_complete) in fpga_mgr_write_complete()
66 ret = mgr->mops->write_complete(mgr, info); in fpga_mgr_write_complete()
81 if (mgr->mops->write_init) in fpga_mgr_write_init()
82 return mgr->mops->write_init(mgr, info, buf, count); in fpga_mgr_write_init()
89 if (mgr->mops->write_sg) in fpga_mgr_write_sg()
90 return mgr->mops->write_sg(mgr, sgt); in fpga_mgr_write_sg()
151 if (!mgr->mops->initial_header_size) in fpga_mgr_write_init_buf()
155 mgr, info, buf, min(mgr->mops->initial_header_size, count)); in fpga_mgr_write_init_buf()
175 if (!mgr->mops->initial_header_size) in fpga_mgr_write_init_sg()
184 miter.length >= mgr->mops->initial_header_size) { in fpga_mgr_write_init_sg()
193 buf = kmalloc(mgr->mops->initial_header_size, GFP_KERNEL); in fpga_mgr_write_init_sg()
198 mgr->mops->initial_header_size); in fpga_mgr_write_init_sg()
235 if (mgr->mops->write_sg) { in fpga_mgr_buf_load_sg()
312 if (mgr->mops->write) in fpga_mgr_buf_load()
607 const struct fpga_manager_ops *mops, in fpga_mgr_create() argument
613 if (!mops) { in fpga_mgr_create()
634 mgr->mops = mops; in fpga_mgr_create()
639 mgr->dev.groups = mops->groups; in fpga_mgr_create()
695 const struct fpga_manager_ops *mops, in devm_fpga_mgr_create() argument
704 dr->mgr = fpga_mgr_create(parent, name, mops, priv); in devm_fpga_mgr_create()