Searched refs:fops (Results 51 - 75 of 700) sorted by relevance

1234567891011>>

/linux-master/drivers/media/v4l2-core/
H A Dv4l2-dev.c311 if (!vdev->fops->read)
314 ret = vdev->fops->read(filp, buf, sz, off);
328 if (!vdev->fops->write)
331 ret = vdev->fops->write(filp, buf, sz, off);
345 if (!vdev->fops->poll)
348 res = vdev->fops->poll(filp, poll);
362 if (vdev->fops->unlocked_ioctl) {
364 ret = vdev->fops->unlocked_ioctl(filp, cmd, arg);
381 if (!vdev->fops->get_unmapped_area)
385 ret = vdev->fops
[all...]
/linux-master/include/media/
H A Ddvbdev.h134 * @fops: pointer to struct file_operations
165 const struct file_operations *fops; member in struct:dvb_device
197 * struct dvbdevfops_node - fops nodes registered in dvbdevfops_list
199 * @fops: Dynamically allocated fops for ->owner registration
205 struct file_operations *fops; member in struct:dvbdevfops_node
/linux-master/fs/debugfs/
H A Dinode.c455 * @fops: a pointer to a struct file_operations that should be used for
479 const struct file_operations *fops)
483 fops ? &debugfs_full_proxy_file_operations :
485 fops);
499 * @fops: a pointer to a struct file_operations that should be used for
503 * debugfs_create_file(), the only difference being that the fops
518 const struct file_operations *fops)
522 fops ? &debugfs_open_proxy_file_operations :
524 fops);
538 * @fops
477 debugfs_create_file(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops) argument
516 debugfs_create_file_unsafe(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops) argument
547 debugfs_create_file_size(const char *name, umode_t mode, struct dentry *parent, void *data, const struct file_operations *fops, loff_t file_size) argument
[all...]
/linux-master/drivers/accessibility/speakup/
H A Ddevsynth.c135 .fops = &synth_fops,
141 .fops = &synthu_fops,
/linux-master/drivers/s390/char/
H A Dsclp_ctl.c127 .fops = &sclp_ctl_fops,
/linux-master/drivers/w1/
H A Dw1.c165 .fops = &w1_default_fops,
608 const struct w1_family_ops *fops; local
611 fops = sl->family->fops;
613 if (!fops)
619 if (fops->add_slave) {
620 err = fops->add_slave(sl);
628 if (fops->groups) {
629 err = sysfs_create_groups(&sl->dev.kobj, fops->groups);
637 if (IS_REACHABLE(CONFIG_HWMON) && fops
[all...]
/linux-master/sound/soc/sof/
H A Dsof-client-ipc-msg-injector.c256 static const struct file_operations *fops; local
287 fops = &sof_msg_inject_ipc4_fops;
289 fops = &sof_msg_inject_fops;
295 cdev, fops);
/linux-master/drivers/scsi/qedi/
H A Dqedi_debugfs.c20 const struct file_operations *fops)
32 fops);
34 fops++;
18 qedi_dbg_host_init(struct qedi_dbg_ctx *qedi, const struct qedi_debugfs_ops *dops, const struct file_operations *fops) argument
/linux-master/drivers/android/
H A Dbinder_internal.h83 const struct file_operations *fops,
93 const struct file_operations *fops,
113 const struct file_operations *fops; member in struct:binder_debugfs_entry
91 binderfs_create_file(struct dentry *dir, const char *name, const struct file_operations *fops, void *data) argument
/linux-master/drivers/net/wireless/broadcom/b43legacy/
H A Ddebugfs.c34 struct file_operations fops; member in struct:b43legacy_debugfs_fops
212 struct b43legacy_debugfs_fops, fops);
279 struct b43legacy_debugfs_fops, fops);
316 .fops = { \
391 &fops_##name.fops); \
/linux-master/drivers/scsi/cxlflash/
H A Docxl_hw.c64 * @fops: File operations.
71 const struct file_operations *fops,
78 if (fops->owner && !try_module_get(fops->owner)) {
101 flags & (O_ACCMODE | O_NONBLOCK), fops);
117 module_put(fops->owner);
1185 do { if (!fops->NAME) fops->NAME = ocxl_afu_fops.NAME; } while (0)
1190 * @fops: File operations to be associated.
1196 struct file_operations *fops, in
70 ocxlflash_getfile(struct device *dev, const char *name, const struct file_operations *fops, void *priv, int flags) argument
1195 ocxlflash_get_fd(void *ctx_cookie, struct file_operations *fops, int *fd) argument
[all...]
/linux-master/fs/tracefs/
H A Devent_inode.c489 * @fops: The fops of the file to be created.
494 * set up with @data upon open. The file operations will be set to @fops.
503 const struct file_operations *fops)
510 return lookup_file(ei, dentry, mode, attr, data, fops);
556 const struct file_operations *fops; local
563 if (entry->callback(name, &mode, &data, &fops) <= 0)
566 result = lookup_file_dentry(dentry, ei, i, mode, data, fops);
579 const struct file_operations *fops; local
631 r = entry->callback(name, &mode, &cdata, &fops);
500 lookup_file_dentry(struct dentry *dentry, struct eventfs_inode *ei, int idx, umode_t mode, void *data, const struct file_operations *fops) argument
[all...]
/linux-master/drivers/net/wireless/realtek/rtl8xxxu/
H A Dcore.c833 int blocksize = priv->fops->writeN_block_size;
1958 priv->fops->reset_8051(priv);
1978 if (priv->fops->init_reg_hmtfr)
2019 priv->fops->reset_8051(priv);
2169 const struct rtl8xxxu_reg8val *array = priv->fops->mactable;
2294 priv->fops->init_phy_bb(priv);
2356 if (priv->fops->set_crystal_cap)
2357 priv->fops->set_crystal_cap(priv, priv->default_crystal_cap);
2505 last_tx_page = priv->fops->total_page_num;
2507 if (priv->fops
3920 struct rtl8xxxu_fileops *fops = priv->fops; local
4025 struct rtl8xxxu_fileops *fops = priv->fops; local
6600 struct rtl8xxxu_fileops *fops = priv->fops; local
[all...]
/linux-master/drivers/gpu/drm/arm/
H A Dhdlcd_drv.c226 DEFINE_DRM_GEM_DMA_FOPS(fops); variable
231 .fops = &fops,
/linux-master/drivers/gpu/drm/aspeed/
H A Daspeed_gfx_drv.c245 DEFINE_DRM_GEM_DMA_FOPS(fops); variable
250 .fops = &fops,
/linux-master/drivers/misc/lkdtm/
H A Dcore.c59 const struct file_operations fops; member in struct:crashpoint
66 .fops = { \
451 &cur->fops);
/linux-master/fs/nfsd/
H A Dblocklayout.c236 ret = disk->fops->get_unique_id(disk, b->scsi.designator, type);
275 ops = sb->s_bdev->bd_disk->fops->pr_ops;
336 bdev->bd_disk->fops->pr_ops->pr_preempt(bdev, NFSD_MDS_PR_KEY,
/linux-master/drivers/gpu/drm/mxsfb/
H A Dlcdif_drv.c241 DEFINE_DRM_GEM_DMA_FOPS(fops); variable
246 .fops = &fops,
/linux-master/drivers/xen/xenbus/
H A Dxenbus_dev_backend.c119 .fops = &xenbus_backend_fops,
/linux-master/drivers/w1/slaves/
H A Dw1_ds2423.c126 .fops = &w1_f1d_fops,
/linux-master/drivers/power/supply/
H A Dbq27xxx_battery_hdq.c107 .fops = &bq27xxx_battery_hdq_fops,
/linux-master/block/partitions/
H A Defi.c589 const struct block_device_operations *fops = disk->fops; local
624 if (!good_agpt && force_gpt && fops->alternative_gpt_sector) {
628 err = fops->alternative_gpt_sector(disk, &agpt_sector);
/linux-master/drivers/gpu/drm/vgem/
H A Dvgem_drv.c117 .fops = &vgem_driver_fops,
/linux-master/arch/um/drivers/
H A Dmmapper_kern.c100 .fops = &mmapper_fops
/linux-master/include/misc/
H A Dcxl.h181 struct file *cxl_get_fd(struct cxl_context *ctx, struct file_operations *fops,
192 * Export all the existing fops so drivers can use them

Completed in 424 milliseconds

1234567891011>>