Home
last modified time | relevance | path

Searched refs:stats_mem (Results 1 – 5 of 5) sorted by relevance

/drivers/infiniband/hw/ocrdma/
Docrdma_stats.c69 struct stats_mem *mem = &dev->stats_mem; in ocrdma_alloc_stats_resources()
93 struct stats_mem *mem = &dev->stats_mem; in ocrdma_release_stats_resources()
104 char *stats = dev->stats_mem.debugfs_mem, *pcur; in ocrdma_resource_stats()
106 (struct ocrdma_rdma_stats_resp *)dev->stats_mem.va; in ocrdma_resource_stats()
221 char *stats = dev->stats_mem.debugfs_mem, *pcur; in ocrdma_rx_stats()
223 (struct ocrdma_rdma_stats_resp *)dev->stats_mem.va; in ocrdma_rx_stats()
269 (struct ocrdma_rdma_stats_resp *)dev->stats_mem.va; in ocrdma_sysfs_rcv_pkts()
280 (struct ocrdma_rdma_stats_resp *)dev->stats_mem.va; in ocrdma_sysfs_rcv_data()
289 char *stats = dev->stats_mem.debugfs_mem, *pcur; in ocrdma_tx_stats()
291 (struct ocrdma_rdma_stats_resp *)dev->stats_mem.va; in ocrdma_tx_stats()
[all …]
Docrdma.h221 struct stats_mem { struct
299 struct stats_mem stats_mem; member
Docrdma_hw.c1288 struct ocrdma_rdma_stats_req *req = dev->stats_mem.va; in ocrdma_mbx_rdma_stats()
1289 struct ocrdma_mqe *mqe = &dev->stats_mem.mqe; in ocrdma_mbx_rdma_stats()
1298 mqe->hdr.pyld_len = dev->stats_mem.size; in ocrdma_mbx_rdma_stats()
1302 mqe->u.nonemb_req.sge[0].pa_lo = (u32) (dev->stats_mem.pa & 0xffffffff); in ocrdma_mbx_rdma_stats()
1303 mqe->u.nonemb_req.sge[0].pa_hi = (u32) upper_32_bits(dev->stats_mem.pa); in ocrdma_mbx_rdma_stats()
1304 mqe->u.nonemb_req.sge[0].len = dev->stats_mem.size; in ocrdma_mbx_rdma_stats()
1308 memset(req, 0, dev->stats_mem.size); in ocrdma_mbx_rdma_stats()
1313 dev->stats_mem.size); in ocrdma_mbx_rdma_stats()
1317 status = ocrdma_nonemb_mbx_cmd(dev, mqe, dev->stats_mem.va); in ocrdma_mbx_rdma_stats()
1322 ocrdma_le32_to_cpu(req, dev->stats_mem.size); in ocrdma_mbx_rdma_stats()
/drivers/net/ethernet/neterion/
Ds2io.h813 void *stats_mem; /* orignal pointer to allocated mem */ member
Ds2io.c837 mac_control->stats_mem = in init_shared_mem()
841 if (!mac_control->stats_mem) { in init_shared_mem()
852 tmp_v_addr = mac_control->stats_mem; in init_shared_mem()
994 if (mac_control->stats_mem) { in free_shared_mem()
998 mac_control->stats_mem, in free_shared_mem()