Searched refs:fmb (Results 1 – 4 of 4) sorted by relevance
150 fmb->mii_bus->irq[phy_addr] = irq; in fixed_phy_add_gpiod()158 list_add_tail(&fp->node, &fmb->phys); in fixed_phy_add_gpiod()236 if (!fmb->mii_bus || fmb->mii_bus->state != MDIOBUS_REGISTERED) in __fixed_phy_register()344 fmb->mii_bus = mdiobus_alloc(); in fixed_mdio_bus_init()345 if (fmb->mii_bus == NULL) { in fixed_mdio_bus_init()352 fmb->mii_bus->priv = fmb; in fixed_mdio_bus_init()353 fmb->mii_bus->parent = &pdev->dev; in fixed_mdio_bus_init()356 fmb->mii_bus->phy_mask = ~0; in fixed_mdio_bus_init()365 mdiobus_free(fmb->mii_bus); in fixed_mdio_bus_init()377 mdiobus_unregister(fmb->mii_bus); in fixed_mdio_bus_exit()[all …]
95 if (!zdev->fmb) { in pci_perf_show()103 seq_printf(m, "Samples: %u\n", zdev->fmb->samples); in pci_perf_show()104 seq_printf(m, "Last update TOD: %Lx\n", zdev->fmb->last_update); in pci_perf_show()107 &zdev->fmb->ld_ops); in pci_perf_show()109 switch (zdev->fmb->format) { in pci_perf_show()111 if (!(zdev->fmb->fmt_ind & ZPCI_FMB_DMA_COUNTER_VALID)) in pci_perf_show()114 &zdev->fmb->fmt0.dma_rbytes); in pci_perf_show()118 &zdev->fmb->fmt1.rx_bytes); in pci_perf_show()122 &zdev->fmb->fmt2.consumed_work_units); in pci_perf_show()126 &zdev->fmb->fmt3.tx_bytes); in pci_perf_show()
165 if (zdev->fmb || sizeof(*zdev->fmb) < zdev->fmb_length) in zpci_fmb_enable_device()168 zdev->fmb = kmem_cache_zalloc(zdev_fmb_cache, GFP_KERNEL); in zpci_fmb_enable_device()169 if (!zdev->fmb) in zpci_fmb_enable_device()171 WARN_ON((u64) zdev->fmb & 0xf); in zpci_fmb_enable_device()184 fib.fmb_addr = virt_to_phys(zdev->fmb); in zpci_fmb_enable_device()188 kmem_cache_free(zdev_fmb_cache, zdev->fmb); in zpci_fmb_enable_device()189 zdev->fmb = NULL; in zpci_fmb_enable_device()201 if (!zdev->fmb) in zpci_fmb_disable_device()212 kmem_cache_free(zdev_fmb_cache, zdev->fmb); in zpci_fmb_disable_device()213 zdev->fmb = NULL; in zpci_fmb_disable_device()
174 struct zpci_fmb *fmb; member
Completed in 11 milliseconds