Lines Matching refs:stats_cmd
383 struct be_cmd_resp_get_stats_v0 *cmd = adapter->stats_cmd.va; in hw_stats_from_cmd()
387 struct be_cmd_resp_get_stats_v1 *cmd = adapter->stats_cmd.va; in hw_stats_from_cmd()
391 struct be_cmd_resp_get_stats_v2 *cmd = adapter->stats_cmd.va; in hw_stats_from_cmd()
5508 &adapter->stats_cmd); in be_worker()
5510 be_cmd_get_stats(adapter, &adapter->stats_cmd); in be_worker()
5620 mem = &adapter->stats_cmd; in be_drv_cleanup()
5631 struct be_dma_mem *stats_cmd = &adapter->stats_cmd; in be_drv_init() local
5655 stats_cmd->size = sizeof(struct lancer_cmd_req_pport_stats); in be_drv_init()
5657 stats_cmd->size = sizeof(struct be_cmd_req_get_stats_v0); in be_drv_init()
5659 stats_cmd->size = sizeof(struct be_cmd_req_get_stats_v1); in be_drv_init()
5661 stats_cmd->size = sizeof(struct be_cmd_req_get_stats_v2); in be_drv_init()
5662 stats_cmd->va = dma_alloc_coherent(dev, stats_cmd->size, in be_drv_init()
5663 &stats_cmd->dma, GFP_KERNEL); in be_drv_init()
5664 if (!stats_cmd->va) { in be_drv_init()