Lines Matching defs:dev
31 * $Id: //depot/aic7xxx/freebsd/dev/aic7xxx/ahc_pci.c#19 $
37 #include <dev/aic7xxx/aic7xxx_osm.h>
39 static int ahc_pci_probe(device_t dev);
40 static int ahc_pci_attach(device_t dev);
61 ahc_pci_probe(device_t dev)
65 entry = ahc_find_pci_device(dev);
67 device_set_desc(dev, entry->name);
74 ahc_pci_attach(device_t dev)
81 entry = ahc_find_pci_device(dev);
90 name = malloc(strlen(device_get_nameunit(dev)) + 1, M_DEVBUF, M_NOWAIT);
93 strcpy(name, device_get_nameunit(dev));
94 ahc = ahc_alloc(dev, name);
98 ahc_set_unit(ahc, device_get_unit(dev));
108 error = aic_dma_tag_create(ahc, /*parent*/bus_get_dma_tag(dev),
127 ahc->dev_softc = dev;