Searched refs:fmb (Results 1 – 3 of 3) sorted by relevance
101 if (!zdev->fmb) { in pci_perf_show()109 seq_printf(m, "Samples: %u\n", zdev->fmb->samples); in pci_perf_show()110 seq_printf(m, "Last update TOD: %Lx\n", zdev->fmb->last_update); in pci_perf_show()113 &zdev->fmb->ld_ops); in pci_perf_show()115 switch (zdev->fmb->format) { in pci_perf_show()117 if (!(zdev->fmb->fmt_ind & ZPCI_FMB_DMA_COUNTER_VALID)) in pci_perf_show()120 &zdev->fmb->fmt0.dma_rbytes); in pci_perf_show()124 &zdev->fmb->fmt1.rx_bytes); in pci_perf_show()128 &zdev->fmb->fmt2.consumed_work_units); in pci_perf_show()132 &zdev->fmb->fmt3.tx_bytes); in pci_perf_show()
177 if (zdev->fmb || sizeof(*zdev->fmb) < zdev->fmb_length) in zpci_fmb_enable_device()180 zdev->fmb = kmem_cache_zalloc(zdev_fmb_cache, GFP_KERNEL); in zpci_fmb_enable_device()181 if (!zdev->fmb) in zpci_fmb_enable_device()183 WARN_ON((u64) zdev->fmb & 0xf); in zpci_fmb_enable_device()198 fib.fmb_addr = virt_to_phys(zdev->fmb); in zpci_fmb_enable_device()202 kmem_cache_free(zdev_fmb_cache, zdev->fmb); in zpci_fmb_enable_device()203 zdev->fmb = NULL; in zpci_fmb_enable_device()215 if (!zdev->fmb) in zpci_fmb_disable_device()226 kmem_cache_free(zdev_fmb_cache, zdev->fmb); in zpci_fmb_disable_device()227 zdev->fmb = NULL; in zpci_fmb_disable_device()
181 struct zpci_fmb *fmb; member
Completed in 8 milliseconds