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->parse_header) in fpga_mgr_parse_header()
82 return mgr->mops->parse_header(mgr, info, buf, count); in fpga_mgr_parse_header()
90 if (mgr->mops->write_init) in fpga_mgr_write_init()
91 return mgr->mops->write_init(mgr, info, buf, count); in fpga_mgr_write_init()
98 if (mgr->mops->write_sg) in fpga_mgr_write_sg()
99 return mgr->mops->write_sg(mgr, sgt); in fpga_mgr_write_sg()
303 if (!mgr->mops->initial_header_size && !mgr->mops->parse_header) in fpga_mgr_prepare_sg()
373 if (mgr->mops->write_sg) { in fpga_mgr_buf_load_sg()
381 if (mgr->mops->skip_header && in fpga_mgr_buf_load_sg()
428 if (mgr->mops->skip_header) { in fpga_mgr_buf_load_mapped()
480 if (mgr->mops->write) in fpga_mgr_buf_load()
574 info->header_size = mgr->mops->initial_header_size; in fpga_mgr_load()
781 const struct fpga_manager_ops *mops = info->mops; in fpga_mgr_register_full() local
785 if (!mops) { in fpga_mgr_register_full()
808 mgr->mops = info->mops; in fpga_mgr_register_full()
813 mgr->dev.groups = mops->groups; in fpga_mgr_register_full()
863 const struct fpga_manager_ops *mops, void *priv) in fpga_mgr_register() argument
868 info.mops = mops; in fpga_mgr_register()
950 const struct fpga_manager_ops *mops, void *priv) in devm_fpga_mgr_register() argument
955 info.mops = mops; in devm_fpga_mgr_register()