Home
last modified time | relevance | path

Searched refs:fmb (Results 1 – 3 of 3) sorted by relevance

/linux/arch/s390/pci/
H A Dpci_debug.c100 if (!zdev->fmb) { in pci_perf_show()
108 seq_printf(m, "Samples: %u\n", zdev->fmb->samples); in pci_perf_show()
109 seq_printf(m, "Last update TOD: %Lx\n", zdev->fmb->last_update); in pci_perf_show()
112 &zdev->fmb->ld_ops); in pci_perf_show()
114 switch (zdev->fmb->format) { in pci_perf_show()
116 if (!(zdev->fmb->fmt_ind & ZPCI_FMB_DMA_COUNTER_VALID)) in pci_perf_show()
119 &zdev->fmb->fmt0.dma_rbytes); in pci_perf_show()
123 &zdev->fmb->fmt1.rx_bytes); in pci_perf_show()
127 &zdev->fmb->fmt2.consumed_work_units); in pci_perf_show()
131 &zdev->fmb->fmt3.tx_bytes); in pci_perf_show()
H A Dpci.c176 if (zdev->fmb || sizeof(*zdev->fmb) < zdev->fmb_length) in zpci_fmb_enable_device()
179 zdev->fmb = kmem_cache_zalloc(zdev_fmb_cache, GFP_KERNEL); in zpci_fmb_enable_device()
180 if (!zdev->fmb) in zpci_fmb_enable_device()
182 WARN_ON((u64) zdev->fmb & 0xf); in zpci_fmb_enable_device()
197 fib.fmb_addr = virt_to_phys(zdev->fmb); in zpci_fmb_enable_device()
201 kmem_cache_free(zdev_fmb_cache, zdev->fmb); in zpci_fmb_enable_device()
202 zdev->fmb = NULL; in zpci_fmb_enable_device()
214 if (!zdev->fmb) in zpci_fmb_disable_device()
225 kmem_cache_free(zdev_fmb_cache, zdev->fmb); in zpci_fmb_disable_device()
226 zdev->fmb = NULL; in zpci_fmb_disable_device()
/linux/arch/s390/include/asm/
H A Dpci.h182 struct zpci_fmb *fmb; member