Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/phy/
H A Dfixed_phy.c150 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 = &fdev->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 …]
/linux-6.15/arch/s390/pci/
H A Dpci_debug.c101 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()
H A Dpci.c167 if (zdev->fmb || sizeof(*zdev->fmb) < zdev->fmb_length) in zpci_fmb_enable_device()
170 zdev->fmb = kmem_cache_zalloc(zdev_fmb_cache, GFP_KERNEL); in zpci_fmb_enable_device()
171 if (!zdev->fmb) in zpci_fmb_enable_device()
173 WARN_ON((u64) zdev->fmb & 0xf); in zpci_fmb_enable_device()
188 fib.fmb_addr = virt_to_phys(zdev->fmb); in zpci_fmb_enable_device()
192 kmem_cache_free(zdev_fmb_cache, zdev->fmb); in zpci_fmb_enable_device()
193 zdev->fmb = NULL; in zpci_fmb_enable_device()
205 if (!zdev->fmb) in zpci_fmb_disable_device()
216 kmem_cache_free(zdev_fmb_cache, zdev->fmb); in zpci_fmb_disable_device()
217 zdev->fmb = NULL; in zpci_fmb_disable_device()
/linux-6.15/arch/s390/include/asm/
H A Dpci.h181 struct zpci_fmb *fmb; member