Home
last modified time | relevance | path

Searched refs:pfile (Results 1 – 9 of 9) sorted by relevance

/drivers/staging/rtl8712/
Dxmit_linux.c32 static uint remainder_len(struct pkt_file *pfile) in remainder_len() argument
34 return (uint)(pfile->buf_len - ((addr_t)(pfile->cur_addr) - in remainder_len()
35 (addr_t)(pfile->buf_start))); in remainder_len()
38 void _r8712_open_pktfile(_pkt *pktptr, struct pkt_file *pfile) in _r8712_open_pktfile() argument
40 pfile->pkt = pktptr; in _r8712_open_pktfile()
41 pfile->cur_addr = pfile->buf_start = pktptr->data; in _r8712_open_pktfile()
42 pfile->pkt_len = pfile->buf_len = pktptr->len; in _r8712_open_pktfile()
43 pfile->cur_buffer = pfile->buf_start; in _r8712_open_pktfile()
46 uint _r8712_pktfile_read(struct pkt_file *pfile, u8 *rmem, uint rlen) in _r8712_pktfile_read() argument
50 len = remainder_len(pfile); in _r8712_pktfile_read()
[all …]
Dxmit_osdep.h46 void _r8712_open_pktfile(_pkt *pktptr, struct pkt_file *pfile);
47 uint _r8712_pktfile_read(struct pkt_file *pfile, u8 *rmem, uint rlen);
48 sint r8712_endofpktfile(struct pkt_file *pfile);
/drivers/staging/rtl8723bs/os_dep/
Dxmit_linux.c13 uint rtw_remainder_len(struct pkt_file *pfile) in rtw_remainder_len() argument
15 return (pfile->buf_len - ((SIZE_PTR)(pfile->cur_addr) - (SIZE_PTR)(pfile->buf_start))); in rtw_remainder_len()
18 void _rtw_open_pktfile(_pkt *pktptr, struct pkt_file *pfile) in _rtw_open_pktfile() argument
20 pfile->pkt = pktptr; in _rtw_open_pktfile()
21 pfile->cur_addr = pfile->buf_start = pktptr->data; in _rtw_open_pktfile()
22 pfile->pkt_len = pfile->buf_len = pktptr->len; in _rtw_open_pktfile()
24 pfile->cur_buffer = pfile->buf_start; in _rtw_open_pktfile()
27 uint _rtw_pktfile_read(struct pkt_file *pfile, u8 *rmem, uint rlen) in _rtw_pktfile_read() argument
31 len = rtw_remainder_len(pfile); in _rtw_pktfile_read()
35 skb_copy_bits(pfile->pkt, pfile->buf_len - pfile->pkt_len, rmem, len); in _rtw_pktfile_read()
[all …]
/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_debugfs.c1353 struct dentry *pfile; in rvu_dbg_nix_init() local
1361 pfile = debugfs_create_file("sq_ctx", 0600, rvu->rvu_dbg.nix, rvu, in rvu_dbg_nix_init()
1363 if (!pfile) in rvu_dbg_nix_init()
1366 pfile = debugfs_create_file("rq_ctx", 0600, rvu->rvu_dbg.nix, rvu, in rvu_dbg_nix_init()
1368 if (!pfile) in rvu_dbg_nix_init()
1371 pfile = debugfs_create_file("cq_ctx", 0600, rvu->rvu_dbg.nix, rvu, in rvu_dbg_nix_init()
1373 if (!pfile) in rvu_dbg_nix_init()
1376 pfile = debugfs_create_file("ndc_tx_cache", 0600, rvu->rvu_dbg.nix, rvu, in rvu_dbg_nix_init()
1378 if (!pfile) in rvu_dbg_nix_init()
1381 pfile = debugfs_create_file("ndc_rx_cache", 0600, rvu->rvu_dbg.nix, rvu, in rvu_dbg_nix_init()
[all …]
/drivers/staging/rtl8723bs/include/
Dxmit_osdep.h36 extern uint rtw_remainder_len(struct pkt_file *pfile);
37 extern void _rtw_open_pktfile(_pkt *pkt, struct pkt_file *pfile);
38 extern uint _rtw_pktfile_read(struct pkt_file *pfile, u8 *rmem, uint rlen);
39 extern sint rtw_endofpktfile(struct pkt_file *pfile);
/drivers/gpu/drm/panfrost/
Dpanfrost_perfcnt.c268 struct panfrost_file_priv *pfile = file_priv->driver_priv; in panfrost_perfcnt_close() local
269 struct panfrost_device *pfdev = pfile->pfdev; in panfrost_perfcnt_close()
274 if (perfcnt->user == pfile) in panfrost_perfcnt_close()
/drivers/net/netdevsim/
Dipsec.c286 ns->ipsec.pfile = debugfs_create_file("ipsec", 0400, in nsim_ipsec_init()
298 debugfs_remove_recursive(ipsec->pfile); in nsim_ipsec_teardown()
Dnetdevsim.h48 struct dentry *pfile; member
/drivers/target/
Dtarget_core_file.c601 struct file *pfile = fd_dev->fd_prot_file; in fd_execute_rw_buffered() local
610 ret = fd_do_rw(cmd, pfile, dev->prot_length, in fd_execute_rw_buffered()
663 ret = fd_do_rw(cmd, pfile, dev->prot_length, in fd_execute_rw_buffered()