Home
last modified time | relevance | path

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

/linux/drivers/net/phy/
A Dfixed_phy.c75 struct fixed_mdio_bus *fmb = bus->priv; in fixed_mdio_read() local
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()
364 mdiobus_free(fmb->mii_bus); in fixed_mdio_bus_init()
376 mdiobus_unregister(fmb->mii_bus); in fixed_mdio_bus_exit()
[all …]
/linux/arch/s390/pci/
A Dpci_debug.c89 if (!zdev->fmb) { in pci_perf_show()
97 seq_printf(m, "Samples: %u\n", zdev->fmb->samples); in pci_perf_show()
98 seq_printf(m, "Last update TOD: %Lx\n", zdev->fmb->last_update); in pci_perf_show()
101 &zdev->fmb->ld_ops); in pci_perf_show()
103 switch (zdev->fmb->format) { in pci_perf_show()
105 if (!(zdev->fmb->fmt_ind & ZPCI_FMB_DMA_COUNTER_VALID)) in pci_perf_show()
108 &zdev->fmb->fmt0.dma_rbytes); in pci_perf_show()
112 &zdev->fmb->fmt1.rx_bytes); in pci_perf_show()
116 &zdev->fmb->fmt2.consumed_work_units); in pci_perf_show()
120 &zdev->fmb->fmt3.tx_bytes); in pci_perf_show()
A Dpci.c148 if (zdev->fmb || sizeof(*zdev->fmb) < zdev->fmb_length) in zpci_fmb_enable_device()
151 zdev->fmb = kmem_cache_zalloc(zdev_fmb_cache, GFP_KERNEL); in zpci_fmb_enable_device()
152 if (!zdev->fmb) in zpci_fmb_enable_device()
154 WARN_ON((u64) zdev->fmb & 0xf); in zpci_fmb_enable_device()
161 fib.fmb_addr = virt_to_phys(zdev->fmb); in zpci_fmb_enable_device()
164 kmem_cache_free(zdev_fmb_cache, zdev->fmb); in zpci_fmb_enable_device()
165 zdev->fmb = NULL; in zpci_fmb_enable_device()
177 if (!zdev->fmb) in zpci_fmb_disable_device()
186 kmem_cache_free(zdev_fmb_cache, zdev->fmb); in zpci_fmb_disable_device()
187 zdev->fmb = NULL; in zpci_fmb_disable_device()
/linux/arch/s390/include/asm/
A Dpci.h176 struct zpci_fmb *fmb; member

Completed in 12 milliseconds