Searched refs:stats_mem (Results 1 – 5 of 5) sorted by relevance
69 struct stats_mem *mem = &dev->stats_mem; in ocrdma_alloc_stats_mem()96 struct stats_mem *mem = &dev->stats_mem; in ocrdma_release_stats_mem()106 char *stats = dev->stats_mem.debugfs_mem, *pcur; in ocrdma_resource_stats()108 (struct ocrdma_rdma_stats_resp *)dev->stats_mem.va; in ocrdma_resource_stats()223 char *stats = dev->stats_mem.debugfs_mem, *pcur; in ocrdma_rx_stats()225 (struct ocrdma_rdma_stats_resp *)dev->stats_mem.va; in ocrdma_rx_stats()271 (struct ocrdma_rdma_stats_resp *)dev->stats_mem.va; in ocrdma_sysfs_rcv_pkts()282 (struct ocrdma_rdma_stats_resp *)dev->stats_mem.va; in ocrdma_sysfs_rcv_data()291 char *stats = dev->stats_mem.debugfs_mem, *pcur; in ocrdma_tx_stats()293 (struct ocrdma_rdma_stats_resp *)dev->stats_mem.va; in ocrdma_tx_stats()[all …]
220 struct stats_mem { struct298 struct stats_mem stats_mem; member
1282 struct ocrdma_rdma_stats_req *req = dev->stats_mem.va; in ocrdma_mbx_rdma_stats()1283 struct ocrdma_mqe *mqe = &dev->stats_mem.mqe; in ocrdma_mbx_rdma_stats()1292 mqe->hdr.pyld_len = dev->stats_mem.size; in ocrdma_mbx_rdma_stats()1296 mqe->u.nonemb_req.sge[0].pa_lo = (u32) (dev->stats_mem.pa & 0xffffffff); in ocrdma_mbx_rdma_stats()1297 mqe->u.nonemb_req.sge[0].pa_hi = (u32) upper_32_bits(dev->stats_mem.pa); in ocrdma_mbx_rdma_stats()1298 mqe->u.nonemb_req.sge[0].len = dev->stats_mem.size; in ocrdma_mbx_rdma_stats()1302 memset(req, 0, dev->stats_mem.size); in ocrdma_mbx_rdma_stats()1307 dev->stats_mem.size); in ocrdma_mbx_rdma_stats()1311 status = ocrdma_nonemb_mbx_cmd(dev, mqe, dev->stats_mem.va); in ocrdma_mbx_rdma_stats()1316 ocrdma_le32_to_cpu(req, dev->stats_mem.size); in ocrdma_mbx_rdma_stats()
812 void *stats_mem; /* orignal pointer to allocated mem */ member
846 mac_control->stats_mem = in init_shared_mem()850 if (!mac_control->stats_mem) { in init_shared_mem()861 tmp_v_addr = mac_control->stats_mem; in init_shared_mem()1003 if (mac_control->stats_mem) { in free_shared_mem()1007 mac_control->stats_mem, in free_shared_mem()