Lines Matching refs:file
41 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()
94 seq_puts(file, " RX_RD"); in nfp_net_debugfs_rx_q_read()
96 seq_puts(file, " RX_WR"); in nfp_net_debugfs_rx_q_read()
98 seq_putc(file, '\n'); in nfp_net_debugfs_rx_q_read()
105 static int nfp_net_debugfs_rx_q_open(struct inode *inode, struct file *f) in nfp_net_debugfs_rx_q_open()
118 static int nfp_net_debugfs_tx_q_read(struct seq_file *file, void *data) in nfp_net_debugfs_tx_q_read() argument
120 struct nfp_net_r_vector *r_vec = file->private; in nfp_net_debugfs_tx_q_read()
142 seq_printf(file, "TX[%02d]: H_RD=%d H_WR=%d D_RD=%d D_WR=%d\n", in nfp_net_debugfs_tx_q_read()
147 seq_printf(file, "%04d: 0x%08x 0x%08x 0x%08x 0x%08x", i, in nfp_net_debugfs_tx_q_read()
153 seq_printf(file, " skb->head=%p skb->data=%p", in nfp_net_debugfs_tx_q_read()
156 seq_printf(file, " dma_addr=%pad", in nfp_net_debugfs_tx_q_read()
160 seq_puts(file, " H_RD"); in nfp_net_debugfs_tx_q_read()
162 seq_puts(file, " H_WR"); in nfp_net_debugfs_tx_q_read()
164 seq_puts(file, " D_RD"); in nfp_net_debugfs_tx_q_read()
166 seq_puts(file, " D_WR"); in nfp_net_debugfs_tx_q_read()
168 seq_putc(file, '\n'); in nfp_net_debugfs_tx_q_read()
175 static int nfp_net_debugfs_tx_q_open(struct inode *inode, struct file *f) in nfp_net_debugfs_tx_q_open()