Home
last modified time | relevance | path

Searched refs:mops (Results 1 – 8 of 8) sorted by relevance

/linux-4.4.14/drivers/fpga/
Dfpga-mgr.c58 ret = mgr->mops->write_init(mgr, flags, buf, count); in fpga_mgr_buf_load()
69 ret = mgr->mops->write(mgr, buf, count); in fpga_mgr_buf_load()
81 ret = mgr->mops->write_complete(mgr, flags); in fpga_mgr_buf_load()
253 const struct fpga_manager_ops *mops, in fpga_mgr_register() argument
259 if (!mops || !mops->write_init || !mops->write || in fpga_mgr_register()
260 !mops->write_complete || !mops->state) { in fpga_mgr_register()
283 mgr->mops = mops; in fpga_mgr_register()
291 mgr->state = mgr->mops->state(mgr); in fpga_mgr_register()
335 if (mgr->mops->fpga_remove) in fpga_mgr_unregister()
336 mgr->mops->fpga_remove(mgr); in fpga_mgr_unregister()
/linux-4.4.14/include/linux/fpga/
Dfpga-mgr.h106 const struct fpga_manager_ops *mops; member
123 const struct fpga_manager_ops *mops, void *priv);
/linux-4.4.14/drivers/media/pci/saa7134/
Dsaa7134-core.c574 if (dev->mops->irq_ts_done != NULL) in saa7134_irq()
575 dev->mops->irq_ts_done(dev, status); in saa7134_irq()
857 if (NULL != dev->mops) in mpeg_ops_attach()
864 dev->mops = ops; in mpeg_ops_attach()
870 if (NULL == dev->mops) in mpeg_ops_detach()
872 if (dev->mops != ops) in mpeg_ops_detach()
874 dev->mops->fini(dev); in mpeg_ops_detach()
875 dev->mops = NULL; in mpeg_ops_detach()
882 struct saa7134_mpeg_ops *mops; in saa7134_initdev() local
1052 list_for_each_entry(mops, &mops_list, next) in saa7134_initdev()
[all …]
Dsaa7134.h611 struct saa7134_mpeg_ops *mops; member
Dsaa7134-video.c2222 if (dev->mops && dev->mops->signal_change) in saa7134_irq_video_signalchange()
2223 dev->mops->signal_change(dev); in saa7134_irq_video_signalchange()
/linux-4.4.14/arch/sparc/kernel/
Dmdesc.c71 struct mdesc_mem_ops *mops; member
169 struct mdesc_mem_ops *mops) in mdesc_alloc() argument
171 struct mdesc_handle *hp = mops->alloc(mdesc_size); in mdesc_alloc()
174 hp->mops = mops; in mdesc_alloc()
181 hp->mops->free(hp); in mdesc_free()
210 hp->mops->free(hp); in mdesc_release()
Dldc.c144 const struct ldc_mode_ops *mops; member
1119 const struct ldc_mode_ops *mops; in ldc_alloc() local
1136 mops = &raw_ops; in ldc_alloc()
1141 mops = &nonraw_ops; in ldc_alloc()
1146 mops = &stream_ops; in ldc_alloc()
1181 lp->mops = mops; in ldc_alloc()
1890 err = lp->mops->write(lp, buf, size); in ldc_write()
1914 err = lp->mops->read(lp, buf, size); in ldc_read()
/linux-4.4.14/Documentation/fpga/
Dfpga-mgr.txt52 const struct fpga_manager_ops *mops,