Home
last modified time | relevance | path

Searched refs:mly_dev (Results 1 – 2 of 2) sorted by relevance

/freebsd-13-stable/sys/dev/mly/
HDmly.c217 sc->mly_dev = dev; in mly_attach()
223 if (device_get_unit(sc->mly_dev) == 0) in mly_attach()
323 S_IRUSR | S_IWUSR, "mly%d", device_get_unit(sc->mly_dev)); in mly_attach()
357 pci_enable_busmaster(sc->mly_dev); in mly_pci_attach()
363 if ((sc->mly_regs_resource = bus_alloc_resource_any(sc->mly_dev, in mly_pci_attach()
373 if ((sc->mly_irq = bus_alloc_resource_any(sc->mly_dev, SYS_RES_IRQ, in mly_pci_attach()
378 …if (bus_setup_intr(sc->mly_dev, sc->mly_irq, INTR_TYPE_CAM | INTR_ENTROPY | INTR_MPSAFE, NULL, mly… in mly_pci_attach()
391 if (bus_dma_tag_create(bus_get_dma_tag(sc->mly_dev),/* PCI parent */ in mly_pci_attach()
447 if ((mly_identifiers[i].vendor == pci_get_vendor(sc->mly_dev)) && in mly_pci_attach()
448 (mly_identifiers[i].device == pci_get_device(sc->mly_dev))) { in mly_pci_attach()
[all …]
HDmlyvar.h88 #define mly_printf(sc, fmt, args...) device_printf(sc->mly_dev, fmt , ##args)
156 device_t mly_dev; member