Lines Matching defs:dev

30 __FBSDID("$FreeBSD: stable/11/sys/dev/bnxt/if_bnxt.c 361762 2020-06-03 18:09:32Z kp $");
45 #include <dev/pci/pcireg.h>
46 #include <dev/pci/pcivar.h>
155 static void *bnxt_register(device_t dev);
334 bnxt_register(device_t dev)
548 device_printf(softc->dev,
672 softc->dev = iflib_get_dev(ctx);
679 switch (pci_get_device(softc->dev)) {
702 pci_enable_busmaster(softc->dev);
708 BNXT_HWRM_LOCK_INIT(softc, device_get_nameunit(softc->dev));
719 device_printf(softc->dev,
730 device_printf(softc->dev, "attach: hwrm ver get failed\n");
746 device_printf(softc->dev,
760 device_printf(softc->dev, "attach: hwrm drv rgtr failed\n");
766 device_printf(softc->dev, "attach: hwrm rgtr async evts failed\n");
778 device_printf(softc->dev, "attach: hwrm func qcfg failed\n");
804 device_printf(softc->dev, "attach: hwrm qportcfg failed\n");
827 device_printf(softc->dev,
831 device_printf(softc->dev,
843 scctx->isc_nrxqsets_max = min(pci_msix_count(softc->dev)-1,
856 scctx->isc_msix_bar = pci_msix_table_bar(softc->dev);
937 pci_disable_busmaster(softc->dev);
1005 pci_disable_busmaster(softc->dev);
1213 device_printf(softc->dev,
1350 device_printf(softc->dev,
1973 device_printf(softc->dev,
2088 device_printf(softc->dev, "Unknown phy type\n");
2093 device_printf(softc->dev, "phy type %d not supported by driver\n", phy_type);
2106 device_printf(softc->dev, "Bar %d already mapped\n", bar_num);
2116 bus_alloc_resource_any(softc->dev,
2120 device_printf(softc->dev,
2149 bus_release_resource(softc->dev, SYS_RES_MEMORY,
2154 bus_release_resource(softc->dev, SYS_RES_MEMORY,
2218 device_printf(softc->dev, "Link is UP %s, %s - %d Mbps \n", duplex,
2223 device_printf(softc->dev, "Link is Down\n");
2321 device_printf(softc->dev,
2325 device_printf(softc->dev,
2374 device_printf(softc->dev,
2378 device_printf(softc->dev,
2428 device_printf(softc->dev,
2437 device_printf(softc->dev,
2446 device_printf(softc->dev,