Searched refs:dfops (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/net/wireless/broadcom/b43legacy/ |
D | debugfs.c | 56 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(debugfs_real_fops(file), in b43legacy_debugfs_read() 226 if (!dfops->read) { in b43legacy_debugfs_read() 230 dfile = fops_to_dfs_file(dev, dfops); in b43legacy_debugfs_read() 239 if (dfops->take_irqlock) { in b43legacy_debugfs_read() 241 ret = dfops->read(dev, buf, bufsize); in b43legacy_debugfs_read() 244 ret = dfops->read(dev, buf, bufsize); in b43legacy_debugfs_read() 273 struct b43legacy_debugfs_fops *dfops; in b43legacy_debugfs_write() local [all …]
|
/Linux-v4.19/drivers/net/wireless/ath/carl9170/ |
D | debug.c | 65 struct carl9170_debugfs_fops *dfops; in carl9170_debugfs_read() local 78 dfops = container_of(debugfs_real_fops(file), in carl9170_debugfs_read() 81 if (!dfops->read) in carl9170_debugfs_read() 84 if (dfops->read_bufsize) { in carl9170_debugfs_read() 85 buf = vmalloc(dfops->read_bufsize); in carl9170_debugfs_read() 91 if (!CHK_DEV_STATE(ar, dfops->req_dev_state)) { in carl9170_debugfs_read() 97 res_buf = dfops->read(ar, buf, dfops->read_bufsize, &ret); in carl9170_debugfs_read() 105 WARN_ON_ONCE(dfops->read_bufsize && (res_buf != buf)); in carl9170_debugfs_read() 116 struct carl9170_debugfs_fops *dfops; in carl9170_debugfs_write() local 131 dfops = container_of(debugfs_real_fops(file), in carl9170_debugfs_write() [all …]
|
/Linux-v4.19/drivers/net/wireless/broadcom/b43/ |
D | debugfs.c | 53 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(debugfs_real_fops(file), in b43_debugfs_read() 529 if (!dfops->read) { in b43_debugfs_read() 533 dfile = fops_to_dfs_file(dev, dfops); in b43_debugfs_read() 542 ret = dfops->read(dev, buf, bufsize); in b43_debugfs_read() 571 struct b43_debugfs_fops *dfops; in b43_debugfs_write() local 589 dfops = container_of(debugfs_real_fops(file), in b43_debugfs_write() 591 if (!dfops->write) { in b43_debugfs_write() [all …]
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | cmd.c | 1266 static const struct file_operations dfops = { variable 1363 dev, &dfops); in create_debugfs_files() 1368 dev, &dfops); in create_debugfs_files()
|