Home
last modified time | relevance | path

Searched refs:offp (Results 1 – 25 of 32) sorted by relevance

12

/drivers/ntb/test/
Dntb_tool.c342 size_t size, loff_t *offp, in tool_fn_read() argument
356 return simple_read_from_buffer(ubuf, size, offp, buf, pos); in tool_fn_read()
361 size_t size, loff_t *offp, in tool_fn_write() argument
370 if (*offp) in tool_fn_write()
413 size_t size, loff_t *offp) in tool_port_read() argument
421 return simple_read_from_buffer(ubuf, size, offp, buf, pos); in tool_port_read()
429 size_t size, loff_t *offp) in tool_peer_port_read() argument
439 return simple_read_from_buffer(ubuf, size, offp, buf, pos); in tool_peer_port_read()
470 size_t size, loff_t *offp) in tool_link_write() argument
496 size_t size, loff_t *offp) in tool_peer_link_read() argument
[all …]
Dntb_perf.c1183 size_t size, loff_t *offp) in perf_dbgfs_read_info() argument
1254 ret = simple_read_from_buffer(ubuf, size, offp, buf, pos); in perf_dbgfs_read_info()
1266 size_t size, loff_t *offp) in perf_dbgfs_read_run() argument
1280 ret = simple_read_from_buffer(ubuf, size, offp, buf, pos); in perf_dbgfs_read_run()
1288 size_t size, loff_t *offp) in perf_dbgfs_write_run() argument
1317 size_t size, loff_t *offp) in perf_dbgfs_read_tcnt() argument
1325 return simple_read_from_buffer(ubuf, size, offp, buf, pos); in perf_dbgfs_read_tcnt()
1330 size_t size, loff_t *offp) in perf_dbgfs_write_tcnt() argument
/drivers/char/
Dadi.c55 size_t count, loff_t *offp) in adi_read() argument
68 offset = (*offp) * adi_blksize(); in adi_read()
94 (*offp) += bytes_read; in adi_read()
132 size_t count, loff_t *offp) in adi_write() argument
148 offset = (*offp) * adi_blksize(); in adi_write()
169 (*offp) += bytes_written; in adi_write()
/drivers/crypto/ccp/
Dccp-debugfs.c43 size_t count, loff_t *offp) in ccp5_debugfs_info_read() argument
88 ret = simple_read_from_buffer(ubuf, count, offp, obuf, oboff); in ccp5_debugfs_info_read()
98 size_t count, loff_t *offp) in ccp5_debugfs_stats_read() argument
150 ret = simple_read_from_buffer(ubuf, count, offp, obuf, oboff); in ccp5_debugfs_stats_read()
176 size_t count, loff_t *offp) in ccp5_debugfs_stats_write() argument
192 size_t count, loff_t *offp) in ccp5_debugfs_queue_read() argument
236 ret = simple_read_from_buffer(ubuf, count, offp, obuf, oboff); in ccp5_debugfs_queue_read()
247 size_t count, loff_t *offp) in ccp5_debugfs_queue_write() argument
/drivers/mtd/ubi/
Dcdev.c172 loff_t *offp) in vol_cdev_read() argument
182 count, *offp, vol->vol_id); in vol_cdev_read()
192 if (*offp == vol->used_bytes || count == 0) in vol_cdev_read()
198 if (*offp + count > vol->used_bytes) in vol_cdev_read()
199 count_save = count = vol->used_bytes - *offp; in vol_cdev_read()
209 lnum = div_u64_rem(*offp, vol->usable_leb_size, &off); in vol_cdev_read()
228 *offp += len; in vol_cdev_read()
249 size_t count, loff_t *offp) in vol_cdev_direct_write() argument
262 count, *offp, vol->vol_id); in vol_cdev_direct_write()
267 lnum = div_u64_rem(*offp, vol->usable_leb_size, &off); in vol_cdev_direct_write()
[all …]
/drivers/ntb/hw/intel/
Dntb_hw_gen4.h107 size_t count, loff_t *offp);
110 size_t count, loff_t *offp);
Dntb_hw_gen3.h105 size_t count, loff_t *offp);
Dntb_hw_gen1.c492 size_t count, loff_t *offp) in ndev_ntb_debugfs_read() argument
752 ret = simple_read_from_buffer(ubuf, count, offp, buf, off); in ndev_ntb_debugfs_read()
758 size_t count, loff_t *offp) in ndev_debugfs_read() argument
763 return ndev_ntb_debugfs_read(filp, ubuf, count, offp); in ndev_debugfs_read()
765 return ndev_ntb3_debugfs_read(filp, ubuf, count, offp); in ndev_debugfs_read()
767 return ndev_ntb4_debugfs_read(filp, ubuf, count, offp); in ndev_debugfs_read()
Dntb_hw_gen4.c220 size_t count, loff_t *offp) in ndev_ntb4_debugfs_read() argument
332 ret = simple_read_from_buffer(ubuf, count, offp, buf, off); in ndev_ntb4_debugfs_read()
Dntb_hw_gen3.c256 size_t count, loff_t *offp) in ndev_ntb3_debugfs_read() argument
413 ret = simple_read_from_buffer(ubuf, count, offp, buf, off); in ndev_ntb3_debugfs_read()
/drivers/gpu/drm/i915/
Di915_debugfs_params.c51 loff_t *offp) in i915_param_int_write() argument
104 loff_t *offp) in i915_param_uint_write() argument
167 loff_t *offp) in i915_param_charp_write() argument
/drivers/gpu/drm/i915/display/
Dintel_display_debugfs.c970 size_t len, loff_t *offp) in crtc_updates_write() argument
1161 size_t len, loff_t *offp) in i915_ipc_status_write() argument
1412 size_t len, loff_t *offp) in i915_displayport_test_active_write() argument
1467 *offp += len; in i915_displayport_test_active_write()
1723 size_t len, loff_t *offp, u16 wm[8]) in wm_latency_write() argument
1769 size_t len, loff_t *offp) in pri_wm_latency_write() argument
1780 return wm_latency_write(file, ubuf, len, offp, latencies); in pri_wm_latency_write()
1784 size_t len, loff_t *offp) in spr_wm_latency_write() argument
1795 return wm_latency_write(file, ubuf, len, offp, latencies); in spr_wm_latency_write()
1799 size_t len, loff_t *offp) in cur_wm_latency_write() argument
[all …]
/drivers/gpu/drm/
Ddrm_debugfs_crc.c121 size_t len, loff_t *offp) in crc_control_write() argument
165 *offp += len; in crc_control_write()
Ddrm_debugfs.c301 size_t len, loff_t *offp) in connector_write() argument
348 size_t len, loff_t *offp) in edid_write() argument
/drivers/misc/eeprom/
Didt_89hpesx.c904 size_t count, loff_t *offp) in idt_dbgfs_csr_write() argument
912 if (*offp) in idt_dbgfs_csr_write()
1002 size_t count, loff_t *offp) in idt_dbgfs_csr_read() argument
1022 return simple_read_from_buffer(ubuf, count, offp, buf, size); in idt_dbgfs_csr_read()
/drivers/crypto/bcm/
Dutil.c351 size_t count, loff_t *offp) in spu_debugfs_read() argument
469 ret = simple_read_from_buffer(ubuf, count, offp, buf, out_offset); in spu_debugfs_read()
/drivers/gpu/drm/msm/dp/
Ddp_debug.c268 size_t len, loff_t *offp) in dp_test_active_write() argument
315 *offp += len; in dp_test_active_write()
/drivers/firmware/efi/
Dcapsule-loader.c169 size_t count, loff_t *offp) in efi_capsule_write() argument
/drivers/gpu/drm/nouveau/
Dnouveau_debugfs.c142 size_t len, loff_t *offp) in nouveau_debugfs_pstate_set() argument
/drivers/block/aoe/
Daoechr.c160 aoechr_write(struct file *filp, const char __user *buf, size_t cnt, loff_t *offp) in aoechr_write() argument
/drivers/char/hw_random/
Dcore.c210 size_t size, loff_t *offp) in rng_dev_read() argument
/drivers/ntb/hw/amd/
Dntb_hw_amd.c839 size_t count, loff_t *offp) in ndev_debugfs_read() argument
930 ret = simple_read_from_buffer(ubuf, count, offp, buf, off); in ndev_debugfs_read()
/drivers/mailbox/
Dbcm-pdc-mailbox.c425 size_t count, loff_t *offp) in pdc_debugfs_read() argument
473 ret = simple_read_from_buffer(ubuf, count, offp, buf, out_offset); in pdc_debugfs_read()
/drivers/ntb/hw/idt/
Dntb_hw_idt.c2316 size_t count, loff_t *offp);
2335 size_t count, loff_t *offp) in idt_dbgfs_info_read() argument
2495 ret = simple_read_from_buffer(ubuf, count, offp, strbuf, off); in idt_dbgfs_info_read()
/drivers/video/fbdev/
Dpxa3xx-gcu.c377 size_t count, loff_t *offp) in pxa3xx_gcu_write() argument

12