Home
last modified time | relevance | path

Searched refs:dfops (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/drivers/net/wireless/b43legacy/
Ddebugfs.c56 const struct b43legacy_debugfs_fops *dfops) in fops_to_dfs_file() argument
61 p += dfops->file_struct_offset; in fops_to_dfs_file()
204 struct b43legacy_debugfs_fops *dfops; in b43legacy_debugfs_read() local
224 dfops = container_of(file->f_op, struct b43legacy_debugfs_fops, fops); in b43legacy_debugfs_read()
225 if (!dfops->read) { in b43legacy_debugfs_read()
229 dfile = fops_to_dfs_file(dev, dfops); in b43legacy_debugfs_read()
238 if (dfops->take_irqlock) { in b43legacy_debugfs_read()
240 ret = dfops->read(dev, buf, bufsize); in b43legacy_debugfs_read()
243 ret = dfops->read(dev, buf, bufsize); in b43legacy_debugfs_read()
272 struct b43legacy_debugfs_fops *dfops; in b43legacy_debugfs_write() local
[all …]
/linux-4.4.14/drivers/net/wireless/ath/carl9170/
Ddebug.c65 struct carl9170_debugfs_fops *dfops; in carl9170_debugfs_read() local
78 dfops = container_of(file->f_op, struct carl9170_debugfs_fops, fops); in carl9170_debugfs_read()
80 if (!dfops->read) in carl9170_debugfs_read()
83 if (dfops->read_bufsize) { in carl9170_debugfs_read()
84 buf = vmalloc(dfops->read_bufsize); in carl9170_debugfs_read()
90 if (!CHK_DEV_STATE(ar, dfops->req_dev_state)) { in carl9170_debugfs_read()
96 res_buf = dfops->read(ar, buf, dfops->read_bufsize, &ret); in carl9170_debugfs_read()
104 WARN_ON_ONCE(dfops->read_bufsize && (res_buf != buf)); in carl9170_debugfs_read()
115 struct carl9170_debugfs_fops *dfops; in carl9170_debugfs_write() local
130 dfops = container_of(file->f_op, struct carl9170_debugfs_fops, fops); in carl9170_debugfs_write()
[all …]
/linux-4.4.14/drivers/net/wireless/b43/
Ddebugfs.c53 const struct b43_debugfs_fops *dfops) in fops_to_dfs_file() argument
58 p += dfops->file_struct_offset; in fops_to_dfs_file()
507 struct b43_debugfs_fops *dfops; in b43_debugfs_read() local
527 dfops = container_of(file->f_op, struct b43_debugfs_fops, fops); in b43_debugfs_read()
528 if (!dfops->read) { in b43_debugfs_read()
532 dfile = fops_to_dfs_file(dev, dfops); in b43_debugfs_read()
541 ret = dfops->read(dev, buf, bufsize); in b43_debugfs_read()
570 struct b43_debugfs_fops *dfops; in b43_debugfs_write() local
588 dfops = container_of(file->f_op, struct b43_debugfs_fops, fops); in b43_debugfs_write()
589 if (!dfops->write) { in b43_debugfs_write()
[all …]
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Dcmd.c1059 static const struct file_operations dfops = { variable
1166 dev, &dfops); in create_debugfs_files()
1171 dev, &dfops); in create_debugfs_files()