Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 1486) sorted by relevance

12345678910>>...60

/drivers/media/platform/vivid/
Dvivid-vid-cap.h32 int vivid_g_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f);
33 int vivid_try_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f);
34 int vivid_s_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f);
35 int vidioc_g_fmt_vid_cap_mplane(struct file *file, void *priv, struct v4l2_format *f);
36 int vidioc_try_fmt_vid_cap_mplane(struct file *file, void *priv, struct v4l2_format *f);
37 int vidioc_s_fmt_vid_cap_mplane(struct file *file, void *priv, struct v4l2_format *f);
38 int vidioc_g_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f);
39 int vidioc_try_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f);
40 int vidioc_s_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *f);
41 int vivid_vid_cap_g_selection(struct file *file, void *priv, struct v4l2_selection *sel);
[all …]
Dvivid-vid-out.h27 int vivid_g_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
28 int vivid_try_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
29 int vivid_s_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
30 int vidioc_g_fmt_vid_out_mplane(struct file *file, void *priv, struct v4l2_format *f);
31 int vidioc_try_fmt_vid_out_mplane(struct file *file, void *priv, struct v4l2_format *f);
32 int vidioc_s_fmt_vid_out_mplane(struct file *file, void *priv, struct v4l2_format *f);
33 int vidioc_g_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
34 int vidioc_try_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
35 int vidioc_s_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f);
36 int vivid_vid_out_g_selection(struct file *file, void *priv, struct v4l2_selection *sel);
[all …]
Dvivid-vid-common.h23 typedef int (*fmtfunc)(struct file *file, void *priv, struct v4l2_format *f);
30 int fmt_sp2mp_func(struct file *file, void *priv,
42 int vivid_enum_fmt_vid(struct file *file, void *priv, struct v4l2_fmtdesc *f);
43 int vidioc_enum_fmt_vid_mplane(struct file *file, void *priv, struct v4l2_fmtdesc *f);
44 int vidioc_enum_fmt_vid(struct file *file, void *priv, struct v4l2_fmtdesc *f);
45 int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *id);
46 int vidioc_g_dv_timings(struct file *file, void *_fh, struct v4l2_dv_timings *timings);
47 int vidioc_enum_dv_timings(struct file *file, void *_fh, struct v4l2_enum_dv_timings *timings);
48 int vidioc_dv_timings_cap(struct file *file, void *_fh, struct v4l2_dv_timings_cap *cap);
49 int vidioc_g_edid(struct file *file, void *_fh, struct v4l2_edid *edid);
Dvivid-sdr-cap.h23 int vivid_sdr_enum_freq_bands(struct file *file, void *fh, struct v4l2_frequency_band *band);
24 int vivid_sdr_g_frequency(struct file *file, void *fh, struct v4l2_frequency *vf);
25 int vivid_sdr_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf);
26 int vivid_sdr_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt);
27 int vivid_sdr_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt);
28 int vidioc_enum_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_fmtdesc *f);
29 int vidioc_g_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_format *f);
30 int vidioc_s_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_format *f);
31 int vidioc_try_fmt_sdr_cap(struct file *file, void *fh, struct v4l2_format *f);
/drivers/infiniband/core/
Duser_mad.c150 static int hdr_size(struct ib_umad_file *file) in hdr_size() argument
152 return file->use_pkey_index ? sizeof (struct ib_user_mad_hdr) : in hdr_size()
157 static struct ib_mad_agent *__get_agent(struct ib_umad_file *file, int id) in __get_agent() argument
159 return file->agents_dead ? NULL : file->agent[id]; in __get_agent()
162 static int queue_packet(struct ib_umad_file *file, in queue_packet() argument
168 mutex_lock(&file->mutex); in queue_packet()
173 if (agent == __get_agent(file, packet->mad.hdr.id)) { in queue_packet()
174 list_add_tail(&packet->list, &file->recv_list); in queue_packet()
175 wake_up_interruptible(&file->recv_wait); in queue_packet()
180 mutex_unlock(&file->mutex); in queue_packet()
[all …]
Duverbs_main.c85 static ssize_t (*uverbs_cmd_table[])(struct ib_uverbs_file *file,
126 static int (*uverbs_ex_cmd_table[])(struct ib_uverbs_file *file,
171 struct ib_uverbs_event_file *file = in ib_uverbs_release_event_file() local
174 kfree(file); in ib_uverbs_release_event_file()
177 void ib_uverbs_release_ucq(struct ib_uverbs_file *file, in ib_uverbs_release_ucq() argument
194 spin_lock_irq(&file->async_file->lock); in ib_uverbs_release_ucq()
199 spin_unlock_irq(&file->async_file->lock); in ib_uverbs_release_ucq()
202 void ib_uverbs_release_uevent(struct ib_uverbs_file *file, in ib_uverbs_release_uevent() argument
207 spin_lock_irq(&file->async_file->lock); in ib_uverbs_release_uevent()
212 spin_unlock_irq(&file->async_file->lock); in ib_uverbs_release_uevent()
[all …]
/drivers/mfd/
Dab8500-debugfs.c1333 static int ab8500_registers_open(struct inode *inode, struct file *file) in ab8500_registers_open() argument
1335 return single_open(file, ab8500_print_bank_registers, inode->i_private); in ab8500_registers_open()
1377 static int ab8500_all_banks_open(struct inode *inode, struct file *file) in ab8500_all_banks_open() argument
1382 err = single_open(file, ab8500_print_all_banks, inode->i_private); in ab8500_all_banks_open()
1385 s = (struct seq_file *)file->private_data; in ab8500_all_banks_open()
1389 single_release(inode, file); in ab8500_all_banks_open()
1410 static int ab8500_bank_open(struct inode *inode, struct file *file) in ab8500_bank_open() argument
1412 return single_open(file, ab8500_bank_print, inode->i_private); in ab8500_bank_open()
1415 static ssize_t ab8500_bank_write(struct file *file, in ab8500_bank_write() argument
1419 struct device *dev = ((struct seq_file *)(file->private_data))->private; in ab8500_bank_write()
[all …]
/drivers/usb/gadget/function/
Duvc_v4l2.c68 uvc_v4l2_querycap(struct file *file, void *fh, struct v4l2_capability *cap) in uvc_v4l2_querycap() argument
70 struct video_device *vdev = video_devdata(file); in uvc_v4l2_querycap()
86 uvc_v4l2_get_format(struct file *file, void *fh, struct v4l2_format *fmt) in uvc_v4l2_get_format() argument
88 struct video_device *vdev = video_devdata(file); in uvc_v4l2_get_format()
105 uvc_v4l2_set_format(struct file *file, void *fh, struct v4l2_format *fmt) in uvc_v4l2_set_format() argument
107 struct video_device *vdev = video_devdata(file); in uvc_v4l2_set_format()
146 uvc_v4l2_reqbufs(struct file *file, void *fh, struct v4l2_requestbuffers *b) in uvc_v4l2_reqbufs() argument
148 struct video_device *vdev = video_devdata(file); in uvc_v4l2_reqbufs()
159 uvc_v4l2_querybuf(struct file *file, void *fh, struct v4l2_buffer *b) in uvc_v4l2_querybuf() argument
161 struct video_device *vdev = video_devdata(file); in uvc_v4l2_querybuf()
[all …]
/drivers/isdn/hardware/eicon/
Ddivasi.c73 static ssize_t um_idi_read(struct file *file, char __user *buf, size_t count,
75 static ssize_t um_idi_write(struct file *file, const char __user *buf,
77 static unsigned int um_idi_poll(struct file *file, poll_table *wait);
78 static int um_idi_open(struct inode *inode, struct file *file);
79 static int um_idi_release(struct inode *inode, struct file *file);
104 static int um_idi_proc_open(struct inode *inode, struct file *file) in um_idi_proc_open() argument
106 return single_open(file, um_idi_proc_show, NULL); in um_idi_proc_open()
231 um_idi_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in um_idi_read() argument
237 if (!file->private_data) { in um_idi_read()
243 (diva_um_idi_os_context_t *) diva_um_id_get_os_context(file-> in um_idi_read()
[all …]
/drivers/media/v4l2-core/
Dv4l2-mem2mem.c307 int v4l2_m2m_reqbufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_reqbufs() argument
318 vq->owner = reqbufs->count ? file->private_data : NULL; in v4l2_m2m_reqbufs()
324 int v4l2_m2m_querybuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_querybuf() argument
349 int v4l2_m2m_qbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_qbuf() argument
364 int v4l2_m2m_dqbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_dqbuf() argument
370 return vb2_dqbuf(vq, buf, file->f_flags & O_NONBLOCK); in v4l2_m2m_dqbuf()
374 int v4l2_m2m_prepare_buf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_prepare_buf() argument
389 int v4l2_m2m_create_bufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_create_bufs() argument
399 int v4l2_m2m_expbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_expbuf() argument
409 int v4l2_m2m_streamon(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_streamon() argument
[all …]
Dv4l2-ioctl.c920 static int check_fmt(struct file *file, enum v4l2_buf_type type) in check_fmt() argument
922 struct video_device *vfd = video_devdata(file); in check_fmt()
1021 struct file *file, void *fh, void *arg) in v4l_querycap() argument
1024 struct video_device *vfd = video_devdata(file); in v4l_querycap()
1031 ret = ops->vidioc_querycap(file, fh, cap); in v4l_querycap()
1047 struct file *file, void *fh, void *arg) in v4l_s_input() argument
1049 struct video_device *vfd = video_devdata(file); in v4l_s_input()
1055 return ops->vidioc_s_input(file, fh, *(unsigned int *)arg); in v4l_s_input()
1059 struct file *file, void *fh, void *arg) in v4l_s_output() argument
1061 return ops->vidioc_s_output(file, fh, *(unsigned int *)arg); in v4l_s_output()
[all …]
Dvideobuf2-v4l2.c673 unsigned int vb2_poll(struct vb2_queue *q, struct file *file, poll_table *wait) in vb2_poll() argument
675 struct video_device *vfd = video_devdata(file); in vb2_poll()
680 struct v4l2_fh *fh = file->private_data; in vb2_poll()
685 poll_wait(file, &fh->wait, wait); in vb2_poll()
688 return res | vb2_core_poll(q, file, wait); in vb2_poll()
701 static inline bool vb2_queue_is_busy(struct video_device *vdev, struct file *file) in vb2_queue_is_busy() argument
703 return vdev->queue->owner && vdev->queue->owner != file->private_data; in vb2_queue_is_busy()
708 int vb2_ioctl_reqbufs(struct file *file, void *priv, in vb2_ioctl_reqbufs() argument
711 struct video_device *vdev = video_devdata(file); in vb2_ioctl_reqbufs()
716 if (vb2_queue_is_busy(vdev, file)) in vb2_ioctl_reqbufs()
[all …]
/drivers/net/wireless/marvell/libertas/
Ddebugfs.c24 static ssize_t write_file_dummy(struct file *file, const char __user *buf, in write_file_dummy() argument
32 static ssize_t lbs_dev_info(struct file *file, char __user *userbuf, in lbs_dev_info() argument
35 struct lbs_private *priv = file->private_data; in lbs_dev_info()
54 static ssize_t lbs_sleepparams_write(struct file *file, in lbs_sleepparams_write() argument
58 struct lbs_private *priv = file->private_data; in lbs_sleepparams_write()
91 static ssize_t lbs_sleepparams_read(struct file *file, char __user *userbuf, in lbs_sleepparams_read() argument
94 struct lbs_private *priv = file->private_data; in lbs_sleepparams_read()
119 static ssize_t lbs_host_sleep_write(struct file *file, in lbs_host_sleep_write() argument
123 struct lbs_private *priv = file->private_data; in lbs_host_sleep_write()
161 static ssize_t lbs_host_sleep_read(struct file *file, char __user *userbuf, in lbs_host_sleep_read() argument
[all …]
/drivers/media/usb/pvrusb2/
Dpvrusb2-v4l2.c57 struct file *file; member
141 static int pvr2_querycap(struct file *file, void *priv, struct v4l2_capability *cap) in pvr2_querycap() argument
143 struct pvr2_v4l2_fh *fh = file->private_data; in pvr2_querycap()
165 static int pvr2_g_std(struct file *file, void *priv, v4l2_std_id *std) in pvr2_g_std() argument
167 struct pvr2_v4l2_fh *fh = file->private_data; in pvr2_g_std()
178 static int pvr2_s_std(struct file *file, void *priv, v4l2_std_id std) in pvr2_s_std() argument
180 struct pvr2_v4l2_fh *fh = file->private_data; in pvr2_s_std()
187 static int pvr2_querystd(struct file *file, void *priv, v4l2_std_id *std) in pvr2_querystd() argument
189 struct pvr2_v4l2_fh *fh = file->private_data; in pvr2_querystd()
200 static int pvr2_enum_input(struct file *file, void *priv, struct v4l2_input *vi) in pvr2_enum_input() argument
[all …]
/drivers/net/wireless/ath/ath9k/
Ddebug.c71 static ssize_t ath9k_debugfs_read_buf(struct file *file, char __user *user_buf, in ath9k_debugfs_read_buf() argument
74 u8 *buf = file->private_data; in ath9k_debugfs_read_buf()
78 static int ath9k_debugfs_release_buf(struct inode *inode, struct file *file) in ath9k_debugfs_release_buf() argument
80 vfree(file->private_data); in ath9k_debugfs_release_buf()
86 static ssize_t read_file_debug(struct file *file, char __user *user_buf, in read_file_debug() argument
89 struct ath_softc *sc = file->private_data; in read_file_debug()
98 static ssize_t write_file_debug(struct file *file, const char __user *user_buf, in write_file_debug() argument
101 struct ath_softc *sc = file->private_data; in write_file_debug()
132 static ssize_t read_file_ani(struct file *file, char __user *user_buf, in read_file_ani() argument
135 struct ath_softc *sc = file->private_data; in read_file_ani()
[all …]
/drivers/net/wireless/ti/wlcore/
Ddebugfs.c90 static ssize_t tx_queue_len_read(struct file *file, char __user *userbuf, in tx_queue_len_read() argument
93 struct wl1271 *wl = file->private_data; in tx_queue_len_read()
141 static ssize_t param##_read(struct file *file, \
145 struct wl1271 *wl = file->private_data; \
151 static ssize_t param##_write(struct file *file, \
155 struct wl1271 *wl = file->private_data; \
193 static ssize_t gpio_power_read(struct file *file, char __user *user_buf, in gpio_power_read() argument
196 struct wl1271 *wl = file->private_data; in gpio_power_read()
207 static ssize_t gpio_power_write(struct file *file, in gpio_power_write() argument
211 struct wl1271 *wl = file->private_data; in gpio_power_write()
[all …]
/drivers/media/platform/rcar-vin/
Drcar-v4l2.c282 static int rvin_querycap(struct file *file, void *priv, in rvin_querycap() argument
285 struct rvin_dev *vin = video_drvdata(file); in rvin_querycap()
294 static int rvin_try_fmt_vid_cap(struct file *file, void *priv, in rvin_try_fmt_vid_cap() argument
297 struct rvin_dev *vin = video_drvdata(file); in rvin_try_fmt_vid_cap()
304 static int rvin_s_fmt_vid_cap(struct file *file, void *priv, in rvin_s_fmt_vid_cap() argument
307 struct rvin_dev *vin = video_drvdata(file); in rvin_s_fmt_vid_cap()
329 static int rvin_g_fmt_vid_cap(struct file *file, void *priv, in rvin_g_fmt_vid_cap() argument
332 struct rvin_dev *vin = video_drvdata(file); in rvin_g_fmt_vid_cap()
339 static int rvin_enum_fmt_vid_cap(struct file *file, void *priv, in rvin_enum_fmt_vid_cap() argument
350 static int rvin_g_selection(struct file *file, void *fh, in rvin_g_selection() argument
[all …]
/drivers/media/radio/wl128x/
Dfmdrv_v4l2.c45 static ssize_t fm_v4l2_fops_read(struct file *file, char __user * buf, in fm_v4l2_fops_read() argument
52 fmdev = video_drvdata(file); in fm_v4l2_fops_read()
78 ret = fmc_transfer_rds_from_internal_buff(fmdev, file, buf, count); in fm_v4l2_fops_read()
85 static ssize_t fm_v4l2_fops_write(struct file *file, const char __user * buf, in fm_v4l2_fops_write() argument
99 fmdev = video_drvdata(file); in fm_v4l2_fops_write()
109 static u32 fm_v4l2_fops_poll(struct file *file, struct poll_table_struct *pts) in fm_v4l2_fops_poll() argument
114 fmdev = video_drvdata(file); in fm_v4l2_fops_poll()
116 ret = fmc_is_rds_data_available(fmdev, file, pts); in fm_v4l2_fops_poll()
128 static int fm_v4l2_fops_open(struct file *file) in fm_v4l2_fops_open() argument
139 fmdev = video_drvdata(file); in fm_v4l2_fops_open()
[all …]
/drivers/xen/xenfs/
Dxenstored.c11 static ssize_t xsd_read(struct file *file, char __user *buf, in xsd_read() argument
14 const char *str = (const char *)file->private_data; in xsd_read()
18 static int xsd_release(struct inode *inode, struct file *file) in xsd_release() argument
20 kfree(file->private_data); in xsd_release()
24 static int xsd_kva_open(struct inode *inode, struct file *file) in xsd_kva_open() argument
26 file->private_data = (void *)kasprintf(GFP_KERNEL, "0x%p", in xsd_kva_open()
28 if (!file->private_data) in xsd_kva_open()
33 static int xsd_kva_mmap(struct file *file, struct vm_area_struct *vma) in xsd_kva_mmap() argument
55 static int xsd_port_open(struct inode *inode, struct file *file) in xsd_port_open() argument
57 file->private_data = (void *)kasprintf(GFP_KERNEL, "%d", in xsd_port_open()
[all …]
/drivers/misc/mei/
Dmain.c48 static int mei_open(struct inode *inode, struct file *file) in mei_open() argument
74 cl->fp = file; in mei_open()
75 file->private_data = cl; in mei_open()
79 return nonseekable_open(inode, file); in mei_open()
94 static int mei_release(struct inode *inode, struct file *file) in mei_release() argument
96 struct mei_cl *cl = file->private_data; in mei_release()
107 rets = mei_amthif_release(dev, file); in mei_release()
112 mei_cl_flush_queues(cl, file); in mei_release()
117 file->private_data = NULL; in mei_release()
136 static ssize_t mei_read(struct file *file, char __user *ubuf, in mei_read() argument
[all …]
/drivers/char/
Dmem.c103 static ssize_t read_mem(struct file *file, char __user *buf, in read_mem() argument
171 static ssize_t write_mem(struct file *file, const char __user *buf, in write_mem() argument
242 int __weak phys_mem_access_prot_allowed(struct file *file, in phys_mem_access_prot_allowed() argument
256 static int uncached_access(struct file *file, phys_addr_t addr) in uncached_access() argument
266 extern int __uncached_access(struct file *file, in uncached_access()
269 return __uncached_access(file, addr); in uncached_access()
277 if (file->f_flags & O_DSYNC) in uncached_access()
284 static pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot() argument
290 if (uncached_access(file, offset)) in phys_mem_access_prot()
298 static unsigned long get_unmapped_area_mem(struct file *file, in get_unmapped_area_mem() argument
[all …]
/drivers/net/wireless/mediatek/mt7601u/
Ddebugfs.c41 mt7601u_ampdu_stat_read(struct seq_file *file, void *data) in mt7601u_ampdu_stat_read() argument
43 struct mt7601u_dev *dev = file->private; in mt7601u_ampdu_stat_read()
47 seq_printf(file, #name ":\t%llu\n", dev->stats.grp[off]) in mt7601u_ampdu_stat_read()
70 seq_puts(file, "Aggregations stats:\n"); in mt7601u_ampdu_stat_read()
73 seq_printf(file, "%08llx ", in mt7601u_ampdu_stat_read()
75 seq_putc(file, '\n'); in mt7601u_ampdu_stat_read()
78 seq_printf(file, "recent average AMPDU len: %d\n", in mt7601u_ampdu_stat_read()
85 mt7601u_ampdu_stat_open(struct inode *inode, struct file *f) in mt7601u_ampdu_stat_open()
98 mt7601u_eeprom_param_read(struct seq_file *file, void *data) in mt7601u_eeprom_param_read() argument
100 struct mt7601u_dev *dev = file->private; in mt7601u_eeprom_param_read()
[all …]
/drivers/media/pci/cx18/
Dcx18-ioctl.c148 static int cx18_g_fmt_vid_cap(struct file *file, void *fh, in cx18_g_fmt_vid_cap() argument
172 static int cx18_g_fmt_vbi_cap(struct file *file, void *fh, in cx18_g_fmt_vbi_cap() argument
191 static int cx18_g_fmt_sliced_vbi_cap(struct file *file, void *fh, in cx18_g_fmt_sliced_vbi_cap() argument
216 static int cx18_try_fmt_vid_cap(struct file *file, void *fh, in cx18_try_fmt_vid_cap() argument
240 static int cx18_try_fmt_vbi_cap(struct file *file, void *fh, in cx18_try_fmt_vbi_cap() argument
243 return cx18_g_fmt_vbi_cap(file, fh, fmt); in cx18_try_fmt_vbi_cap()
246 static int cx18_try_fmt_sliced_vbi_cap(struct file *file, void *fh, in cx18_try_fmt_sliced_vbi_cap() argument
265 static int cx18_s_fmt_vid_cap(struct file *file, void *fh, in cx18_s_fmt_vid_cap() argument
277 ret = cx18_try_fmt_vid_cap(file, fh, fmt); in cx18_s_fmt_vid_cap()
305 return cx18_g_fmt_vid_cap(file, fh, fmt); in cx18_s_fmt_vid_cap()
[all …]
/drivers/misc/genwqe/
Dcard_debugfs.c38 struct file *file) \
40 return single_open(file, _showfn, inode->i_private); \
347 struct dentry *file; in genwqe_init_debugfs() local
362 file = debugfs_create_file("ddcb_info", S_IRUGO, root, cd, in genwqe_init_debugfs()
364 if (!file) { in genwqe_init_debugfs()
369 file = debugfs_create_file("info", S_IRUGO, root, cd, in genwqe_init_debugfs()
371 if (!file) { in genwqe_init_debugfs()
376 file = debugfs_create_x64("err_inject", 0666, root, &cd->err_inject); in genwqe_init_debugfs()
377 if (!file) { in genwqe_init_debugfs()
382 file = debugfs_create_u32("ddcb_software_timeout", 0666, root, in genwqe_init_debugfs()
[all …]
/drivers/net/ethernet/netronome/nfp/
Dnfp_net_debugfs.c41 static int nfp_net_debugfs_rx_q_read(struct seq_file *file, void *data) in nfp_net_debugfs_rx_q_read() argument
44 struct nfp_net_r_vector *r_vec = file->private; in nfp_net_debugfs_rx_q_read()
67 seq_printf(file, "RX[%02d]: H_RD=%d H_WR=%d FL_RD=%d FL_WR=%d RX_RD=%d RX_WR=%d\n", in nfp_net_debugfs_rx_q_read()
73 seq_printf(file, "%04d: 0x%08x 0x%08x", i, in nfp_net_debugfs_rx_q_read()
78 seq_printf(file, " skb->head=%p skb->data=%p", in nfp_net_debugfs_rx_q_read()
82 seq_printf(file, " dma_addr=%pad", in nfp_net_debugfs_rx_q_read()
86 seq_puts(file, " H_RD "); in nfp_net_debugfs_rx_q_read()
88 seq_puts(file, " H_WR "); in nfp_net_debugfs_rx_q_read()
90 seq_puts(file, " FL_RD"); in nfp_net_debugfs_rx_q_read()
92 seq_puts(file, " FL_WR"); in nfp_net_debugfs_rx_q_read()
[all …]

12345678910>>...60