Home
last modified time | relevance | path

Searched defs:filp (Results 1 – 25 of 382) sorted by relevance

12345678910>>...16

/drivers/net/ethernet/amd/xgbe/
Dxgbe-debugfs.c174 static ssize_t xgmac_reg_addr_read(struct file *filp, char __user *buffer, in xgmac_reg_addr_read()
182 static ssize_t xgmac_reg_addr_write(struct file *filp, in xgmac_reg_addr_write()
192 static ssize_t xgmac_reg_value_read(struct file *filp, char __user *buffer, in xgmac_reg_value_read()
203 static ssize_t xgmac_reg_value_write(struct file *filp, in xgmac_reg_value_write()
234 static ssize_t xpcs_mmd_read(struct file *filp, char __user *buffer, in xpcs_mmd_read()
242 static ssize_t xpcs_mmd_write(struct file *filp, const char __user *buffer, in xpcs_mmd_write()
251 static ssize_t xpcs_reg_addr_read(struct file *filp, char __user *buffer, in xpcs_reg_addr_read()
259 static ssize_t xpcs_reg_addr_write(struct file *filp, const char __user *buffer, in xpcs_reg_addr_write()
268 static ssize_t xpcs_reg_value_read(struct file *filp, char __user *buffer, in xpcs_reg_value_read()
280 static ssize_t xpcs_reg_value_write(struct file *filp, in xpcs_reg_value_write()
[all …]
/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_debugfs.c228 static int rvu_dbg_mcs_port_stats_display(struct seq_file *filp, void *unused, int dir) in rvu_dbg_mcs_port_stats_display()
252 static int rvu_dbg_mcs_rx_port_stats_display(struct seq_file *filp, void *unused) in rvu_dbg_mcs_rx_port_stats_display()
259 static int rvu_dbg_mcs_tx_port_stats_display(struct seq_file *filp, void *unused) in rvu_dbg_mcs_tx_port_stats_display()
266 static int rvu_dbg_mcs_sa_stats_display(struct seq_file *filp, void *unused, int dir) in rvu_dbg_mcs_sa_stats_display()
305 static int rvu_dbg_mcs_rx_sa_stats_display(struct seq_file *filp, void *unused) in rvu_dbg_mcs_rx_sa_stats_display()
312 static int rvu_dbg_mcs_tx_sa_stats_display(struct seq_file *filp, void *unused) in rvu_dbg_mcs_tx_sa_stats_display()
319 static int rvu_dbg_mcs_tx_sc_stats_display(struct seq_file *filp, void *unused) in rvu_dbg_mcs_tx_sc_stats_display()
349 static int rvu_dbg_mcs_rx_sc_stats_display(struct seq_file *filp, void *unused) in rvu_dbg_mcs_rx_sc_stats_display()
386 static int rvu_dbg_mcs_flowid_stats_display(struct seq_file *filp, void *unused, int dir) in rvu_dbg_mcs_flowid_stats_display()
409 static int rvu_dbg_mcs_tx_flowid_stats_display(struct seq_file *filp, void *unused) in rvu_dbg_mcs_tx_flowid_stats_display()
[all …]
/drivers/media/mc/
Dmc-devnode.c70 static ssize_t media_read(struct file *filp, char __user *buf, in media_read()
82 static ssize_t media_write(struct file *filp, const char __user *buf, in media_write()
94 static __poll_t media_poll(struct file *filp, in media_poll()
107 __media_ioctl(struct file *filp, unsigned int cmd, unsigned long arg, in __media_ioctl()
108 long (*ioctl_func)(struct file *filp, unsigned int cmd, in __media_ioctl()
122 static long media_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in media_ioctl()
131 static long media_compat_ioctl(struct file *filp, unsigned int cmd, in media_compat_ioctl()
142 static int media_open(struct inode *inode, struct file *filp) in media_open()
180 static int media_release(struct inode *inode, struct file *filp) in media_release()
/drivers/w1/slaves/
Dw1_ds2408.c67 static ssize_t state_read(struct file *filp, struct kobject *kobj, in state_read()
79 static ssize_t output_read(struct file *filp, struct kobject *kobj, in output_read()
92 static ssize_t activity_read(struct file *filp, struct kobject *kobj, in activity_read()
105 static ssize_t cond_search_mask_read(struct file *filp, struct kobject *kobj, in cond_search_mask_read()
118 static ssize_t cond_search_polarity_read(struct file *filp, in cond_search_polarity_read()
129 static ssize_t status_control_read(struct file *filp, struct kobject *kobj, in status_control_read()
162 static ssize_t output_write(struct file *filp, struct kobject *kobj, in output_write()
212 static ssize_t activity_write(struct file *filp, struct kobject *kobj, in activity_write()
242 static ssize_t status_control_write(struct file *filp, struct kobject *kobj, in status_control_write()
Dw1_ds2438.c290 static ssize_t iad_write(struct file *filp, struct kobject *kobj, in iad_write()
312 static ssize_t iad_read(struct file *filp, struct kobject *kobj, in iad_read()
333 static ssize_t page0_read(struct file *filp, struct kobject *kobj, in page0_read()
363 static ssize_t page1_read(struct file *filp, struct kobject *kobj, in page1_read()
393 static ssize_t offset_write(struct file *filp, struct kobject *kobj, in offset_write()
412 static ssize_t temperature_read(struct file *filp, struct kobject *kobj, in temperature_read()
433 static ssize_t vad_read(struct file *filp, struct kobject *kobj, in vad_read()
454 static ssize_t vdd_read(struct file *filp, struct kobject *kobj, in vdd_read()
/drivers/gpu/drm/radeon/
Dradeon_gem.c297 struct drm_file *filp) in radeon_gem_info_ioctl()
315 struct drm_file *filp) in radeon_gem_create_ioctl()
348 struct drm_file *filp) in radeon_gem_userptr_ioctl()
439 struct drm_file *filp) in radeon_gem_set_domain_ioctl()
467 int radeon_mode_dumb_mmap(struct drm_file *filp, in radeon_mode_dumb_mmap()
489 struct drm_file *filp) in radeon_gem_mmap_ioctl()
497 struct drm_file *filp) in radeon_gem_busy_ioctl()
524 struct drm_file *filp) in radeon_gem_wait_idle_ioctl()
558 struct drm_file *filp) in radeon_gem_set_tiling_ioctl()
576 struct drm_file *filp) in radeon_gem_get_tiling_ioctl()
[all …]
/drivers/rapidio/devices/
Drio_mport_cdev.c109 struct file *filp; member
131 struct file *filp; member
359 rio_mport_create_outbound_mapping(struct mport_dev *md, struct file *filp, in rio_mport_create_outbound_mapping()
393 rio_mport_get_outbound_mapping(struct mport_dev *md, struct file *filp, in rio_mport_get_outbound_mapping()
425 static int rio_mport_obw_map(struct file *filp, void __user *arg) in rio_mport_obw_map()
459 static int rio_mport_obw_free(struct file *filp, void __user *arg) in rio_mport_obw_free()
537 struct file *filp; member
806 rio_dma_transfer(struct file *filp, u32 transfer_mode, in rio_dma_transfer()
961 static int rio_mport_transfer_ioctl(struct file *filp, void __user *arg) in rio_mport_transfer_ioctl()
1008 static int rio_mport_wait_for_async_dma(struct file *filp, void __user *arg) in rio_mport_wait_for_async_dma()
[all …]
/drivers/media/pci/dt3155/
Ddt3155.c292 static int dt3155_querycap(struct file *filp, void *p, in dt3155_querycap()
300 static int dt3155_enum_fmt_vid_cap(struct file *filp, in dt3155_enum_fmt_vid_cap()
309 static int dt3155_fmt_vid_cap(struct file *filp, void *p, struct v4l2_format *f) in dt3155_fmt_vid_cap()
323 static int dt3155_g_std(struct file *filp, void *p, v4l2_std_id *norm) in dt3155_g_std()
331 static int dt3155_s_std(struct file *filp, void *p, v4l2_std_id norm) in dt3155_s_std()
352 static int dt3155_enum_input(struct file *filp, void *p, in dt3155_enum_input()
368 static int dt3155_g_input(struct file *filp, void *p, unsigned int *i) in dt3155_g_input()
376 static int dt3155_s_input(struct file *filp, void *p, unsigned int i) in dt3155_s_input()
/drivers/scsi/qedf/
Dqedf_debugfs.c99 qedf_dbg_fp_int_cmd_read(struct file *filp, char __user *buffer, size_t count, in qedf_dbg_fp_int_cmd_read()
136 qedf_dbg_fp_int_cmd_write(struct file *filp, const char __user *buffer, in qedf_dbg_fp_int_cmd_write()
146 qedf_dbg_debug_cmd_read(struct file *filp, char __user *buffer, size_t count, in qedf_dbg_debug_cmd_read()
161 qedf_dbg_debug_cmd_write(struct file *filp, const char __user *buffer, in qedf_dbg_debug_cmd_write()
192 qedf_dbg_stop_io_on_error_cmd_read(struct file *filp, char __user *buffer, in qedf_dbg_stop_io_on_error_cmd_read()
210 qedf_dbg_stop_io_on_error_cmd_write(struct file *filp, in qedf_dbg_stop_io_on_error_cmd_write()
386 qedf_dbg_clear_stats_cmd_read(struct file *filp, char __user *buffer, in qedf_dbg_clear_stats_cmd_read()
398 qedf_dbg_clear_stats_cmd_write(struct file *filp, in qedf_dbg_clear_stats_cmd_write()
/drivers/char/
Dpowernv-op-panel.c38 static loff_t oppanel_llseek(struct file *filp, loff_t offset, int whence) in oppanel_llseek()
43 static ssize_t oppanel_read(struct file *filp, char __user *userbuf, size_t len, in oppanel_read()
89 static ssize_t oppanel_write(struct file *filp, const char __user *userbuf, in oppanel_write()
115 static int oppanel_open(struct inode *inode, struct file *filp) in oppanel_open()
124 static int oppanel_release(struct inode *inode, struct file *filp) in oppanel_release()
/drivers/dax/
Ddevice.c80 struct file *filp = vmf->vma->vm_file; in dax_set_mapping() local
233 struct file *filp = vmf->vma->vm_file; in dev_dax_huge_fault() local
264 struct file *filp = vma->vm_file; in dev_dax_may_split() local
274 struct file *filp = vma->vm_file; in dev_dax_pagesize() local
287 static int dax_mmap(struct file *filp, struct vm_area_struct *vma) in dax_mmap()
310 static unsigned long dax_get_unmapped_area(struct file *filp, in dax_get_unmapped_area()
346 static int dax_open(struct inode *inode, struct file *filp) in dax_open()
365 static int dax_release(struct inode *inode, struct file *filp) in dax_release()
/drivers/remoteproc/
Dremoteproc_debugfs.c42 static ssize_t rproc_coredump_read(struct file *filp, char __user *userbuf, in rproc_coredump_read()
71 static ssize_t rproc_coredump_write(struct file *filp, in rproc_coredump_write()
126 static ssize_t rproc_trace_read(struct file *filp, char __user *userbuf, in rproc_trace_read()
155 static ssize_t rproc_name_read(struct file *filp, char __user *userbuf, in rproc_name_read()
175 static ssize_t rproc_recovery_read(struct file *filp, char __user *userbuf, in rproc_recovery_read()
209 rproc_recovery_write(struct file *filp, const char __user *user_buf, in rproc_recovery_write()
252 rproc_crash_write(struct file *filp, const char __user *user_buf, in rproc_crash_write()
/drivers/s390/char/
Dtape_char.c129 tapechar_read(struct file *filp, char __user *data, size_t count, loff_t *ppos) in tapechar_read()
187 tapechar_write(struct file *filp, const char __user *data, size_t count, loff_t *ppos) in tapechar_write()
271 tapechar_open (struct inode *inode, struct file *filp) in tapechar_open()
305 tapechar_release(struct inode *inode, struct file *filp) in tapechar_release()
432 tapechar_ioctl(struct file *filp, unsigned int no, unsigned long data) in tapechar_ioctl()
448 tapechar_compat_ioctl(struct file *filp, unsigned int no, unsigned long data) in tapechar_compat_ioctl()
Dzcore.c138 static ssize_t zcore_reipl_write(struct file *filp, const char __user *buf, in zcore_reipl_write()
154 static int zcore_reipl_open(struct inode *inode, struct file *filp) in zcore_reipl_open()
159 static int zcore_reipl_release(struct inode *inode, struct file *filp) in zcore_reipl_release()
172 static ssize_t zcore_hsa_read(struct file *filp, char __user *buf, in zcore_hsa_read()
184 static ssize_t zcore_hsa_write(struct file *filp, const char __user *buf, in zcore_hsa_write()
/drivers/infiniband/core/
Duverbs_main.c226 struct file *filp, char __user *buf, in ib_uverbs_event_read()
280 static ssize_t ib_uverbs_async_event_read(struct file *filp, char __user *buf, in ib_uverbs_async_event_read()
289 static ssize_t ib_uverbs_comp_event_read(struct file *filp, char __user *buf, in ib_uverbs_comp_event_read()
301 struct file *filp, in ib_uverbs_event_poll()
318 static __poll_t ib_uverbs_async_event_poll(struct file *filp, in ib_uverbs_async_event_poll()
326 static __poll_t ib_uverbs_comp_event_poll(struct file *filp, in ib_uverbs_comp_event_poll()
335 static int ib_uverbs_async_event_fasync(int fd, struct file *filp, int on) in ib_uverbs_async_event_fasync()
342 static int ib_uverbs_comp_event_fasync(int fd, struct file *filp, int on) in ib_uverbs_comp_event_fasync()
570 static ssize_t ib_uverbs_write(struct file *filp, const char __user *buf, in ib_uverbs_write()
690 static int ib_uverbs_mmap(struct file *filp, struct vm_area_struct *vma) in ib_uverbs_mmap()
[all …]
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_debugfs.c13 static ssize_t ixgbe_dbg_common_ops_read(struct file *filp, char __user *buffer, in ixgbe_dbg_common_ops_read()
48 static ssize_t ixgbe_dbg_reg_ops_read(struct file *filp, char __user *buffer, in ixgbe_dbg_reg_ops_read()
62 static ssize_t ixgbe_dbg_reg_ops_write(struct file *filp, in ixgbe_dbg_reg_ops_write()
131 static ssize_t ixgbe_dbg_netdev_ops_read(struct file *filp, char __user *buffer, in ixgbe_dbg_netdev_ops_read()
145 static ssize_t ixgbe_dbg_netdev_ops_write(struct file *filp, in ixgbe_dbg_netdev_ops_write()
/drivers/md/
Ddm-ioctl.c530 static int remove_all(struct file *filp, struct dm_ioctl *param, size_t param_size) in remove_all()
591 static int list_devices(struct file *filp, struct dm_ioctl *param, size_t param_size) in list_devices()
757 static int list_versions(struct file *filp, struct dm_ioctl *param, size_t param_size) in list_versions()
762 static int get_target_version(struct file *filp, struct dm_ioctl *param, size_t param_size) in get_target_version()
879 static int dev_create(struct file *filp, struct dm_ioctl *param, size_t param_size) in dev_create()
977 static int dev_remove(struct file *filp, struct dm_ioctl *param, size_t param_size) in dev_remove()
1044 static int dev_rename(struct file *filp, struct dm_ioctl *param, size_t param_size) in dev_rename()
1074 static int dev_set_geometry(struct file *filp, struct dm_ioctl *param, size_t param_size) in dev_set_geometry()
1251 static int dev_suspend(struct file *filp, struct dm_ioctl *param, size_t param_size) in dev_suspend()
1263 static int dev_status(struct file *filp, struct dm_ioctl *param, size_t param_size) in dev_status()
[all …]
/drivers/gpu/drm/
Ddrm_file.c298 static void drm_close_helper(struct file *filp) in drm_close_helper()
333 int drm_open_helper(struct file *filp, struct drm_minor *minor) in drm_open_helper()
409 int drm_open(struct inode *inode, struct file *filp) in drm_open()
483 int drm_release(struct inode *inode, struct file *filp) in drm_release()
508 void drm_file_update_pid(struct drm_file *filp) in drm_file_update_pid()
555 int drm_release_noglobal(struct inode *inode, struct file *filp) in drm_release_noglobal()
599 ssize_t drm_read(struct file *filp, char __user *buffer, in drm_read()
684 __poll_t drm_poll(struct file *filp, struct poll_table_struct *wait) in drm_poll()
/drivers/firmware/arm_scmi/
Draw_mode.c768 static ssize_t scmi_dbg_raw_mode_common_read(struct file *filp, in scmi_dbg_raw_mode_common_read()
801 static ssize_t scmi_dbg_raw_mode_common_write(struct file *filp, in scmi_dbg_raw_mode_common_write()
843 static __poll_t scmi_test_dbg_raw_common_poll(struct file *filp, in scmi_test_dbg_raw_common_poll()
866 static ssize_t scmi_dbg_raw_mode_message_read(struct file *filp, in scmi_dbg_raw_mode_message_read()
874 static ssize_t scmi_dbg_raw_mode_message_write(struct file *filp, in scmi_dbg_raw_mode_message_write()
881 static __poll_t scmi_dbg_raw_mode_message_poll(struct file *filp, in scmi_dbg_raw_mode_message_poll()
887 static int scmi_dbg_raw_mode_open(struct inode *inode, struct file *filp) in scmi_dbg_raw_mode_open()
927 static int scmi_dbg_raw_mode_release(struct inode *inode, struct file *filp) in scmi_dbg_raw_mode_release()
938 static ssize_t scmi_dbg_raw_mode_reset_write(struct file *filp, in scmi_dbg_raw_mode_reset_write()
967 static ssize_t scmi_dbg_raw_mode_message_async_write(struct file *filp, in scmi_dbg_raw_mode_message_async_write()
[all …]
/drivers/media/platform/via/
Dvia-camera.c676 static int viacam_open(struct file *filp) in viacam_open()
704 static int viacam_release(struct file *filp) in viacam_release()
741 static int viacam_enum_input(struct file *filp, void *priv, in viacam_enum_input()
752 static int viacam_g_input(struct file *filp, void *priv, unsigned int *i) in viacam_g_input()
758 static int viacam_s_input(struct file *filp, void *priv, unsigned int i) in viacam_s_input()
781 static int viacam_enum_fmt_vid_cap(struct file *filp, void *priv, in viacam_enum_fmt_vid_cap()
855 static int viacam_try_fmt_vid_cap(struct file *filp, void *priv, in viacam_try_fmt_vid_cap()
865 static int viacam_g_fmt_vid_cap(struct file *filp, void *priv, in viacam_g_fmt_vid_cap()
874 static int viacam_s_fmt_vid_cap(struct file *filp, void *priv, in viacam_s_fmt_vid_cap()
907 static int viacam_querycap(struct file *filp, void *priv, in viacam_querycap()
[all …]
/drivers/media/pci/ivtv/
Divtv-fileops.c493 ssize_t ivtv_v4l2_read(struct file * filp, char __user *buf, size_t count, loff_t * pos) in ivtv_v4l2_read()
536 static ssize_t ivtv_write(struct file *filp, const char __user *user_buf, size_t count, loff_t *pos) in ivtv_write()
708 ssize_t ivtv_v4l2_write(struct file *filp, const char __user *user_buf, size_t count, loff_t *pos) in ivtv_v4l2_write()
721 __poll_t ivtv_v4l2_dec_poll(struct file *filp, poll_table *wait) in ivtv_v4l2_dec_poll()
755 __poll_t ivtv_v4l2_enc_poll(struct file *filp, poll_table *wait) in ivtv_v4l2_enc_poll()
866 int ivtv_v4l2_close(struct file *filp) in ivtv_v4l2_close()
931 static int ivtv_open(struct file *filp)
1034 int ivtv_v4l2_open(struct file *filp)
/drivers/s390/crypto/
Dpkey_api.c1339 static long pkey_unlocked_ioctl(struct file *filp, unsigned int cmd, in pkey_unlocked_ioctl()
1851 static ssize_t protkey_aes_128_read(struct file *filp, in protkey_aes_128_read()
1861 static ssize_t protkey_aes_192_read(struct file *filp, in protkey_aes_192_read()
1871 static ssize_t protkey_aes_256_read(struct file *filp, in protkey_aes_256_read()
1881 static ssize_t protkey_aes_128_xts_read(struct file *filp, in protkey_aes_128_xts_read()
1891 static ssize_t protkey_aes_256_xts_read(struct file *filp, in protkey_aes_256_xts_read()
1955 static ssize_t ccadata_aes_128_read(struct file *filp, in ccadata_aes_128_read()
1965 static ssize_t ccadata_aes_192_read(struct file *filp, in ccadata_aes_192_read()
1975 static ssize_t ccadata_aes_256_read(struct file *filp, in ccadata_aes_256_read()
1985 static ssize_t ccadata_aes_128_xts_read(struct file *filp, in ccadata_aes_128_xts_read()
[all …]
/drivers/net/wireless/realtek/rtw88/
Ddebug.c58 static ssize_t rtw_debugfs_common_write(struct file *filp, in rtw_debugfs_common_write()
67 static ssize_t rtw_debugfs_single_write(struct file *filp, in rtw_debugfs_single_write()
77 static int rtw_debugfs_single_open_rw(struct inode *inode, struct file *filp) in rtw_debugfs_single_open_rw()
82 static int rtw_debugfs_close(struct inode *inode, struct file *filp) in rtw_debugfs_close()
194 static ssize_t rtw_debugfs_set_read_reg(struct file *filp, in rtw_debugfs_set_read_reg()
284 static ssize_t rtw_debugfs_set_rsvd_page(struct file *filp, in rtw_debugfs_set_rsvd_page()
313 static ssize_t rtw_debugfs_set_single_input(struct file *filp, in rtw_debugfs_set_single_input()
341 static ssize_t rtw_debugfs_set_write_reg(struct file *filp, in rtw_debugfs_set_write_reg()
387 static ssize_t rtw_debugfs_set_h2c(struct file *filp, in rtw_debugfs_set_h2c()
417 static ssize_t rtw_debugfs_set_rf_write(struct file *filp, in rtw_debugfs_set_rf_write()
[all …]
/drivers/char/ipmi/
Dkcs_bmc_cdev_ipmi.c293 static inline struct kcs_bmc_ipmi *to_kcs_bmc(struct file *filp) in to_kcs_bmc()
298 static int kcs_bmc_ipmi_open(struct inode *inode, struct file *filp) in kcs_bmc_ipmi_open()
305 static __poll_t kcs_bmc_ipmi_poll(struct file *filp, poll_table *wait) in kcs_bmc_ipmi_poll()
320 static ssize_t kcs_bmc_ipmi_read(struct file *filp, char __user *buf, in kcs_bmc_ipmi_read()
382 static ssize_t kcs_bmc_ipmi_write(struct file *filp, const char __user *buf, in kcs_bmc_ipmi_write()
418 static long kcs_bmc_ipmi_ioctl(struct file *filp, unsigned int cmd, in kcs_bmc_ipmi_ioctl()
449 static int kcs_bmc_ipmi_release(struct inode *inode, struct file *filp) in kcs_bmc_ipmi_release()
/drivers/misc/
Dopen-dice.c38 static inline struct open_dice_drvdata *to_open_dice_drvdata(struct file *filp) in to_open_dice_drvdata()
64 static ssize_t open_dice_read(struct file *filp, char __user *ptr, size_t len, in open_dice_read()
76 static ssize_t open_dice_write(struct file *filp, const char __user *ptr, in open_dice_write()
89 static int open_dice_mmap(struct file *filp, struct vm_area_struct *vma) in open_dice_mmap()

12345678910>>...16