Searched refs:amr_dev (Results 1 - 5 of 5) sorted by relevance
/freebsd-11-stable/sys/dev/amr/ |
H A D | amr_pci.c | 194 sc->amr_dev = dev; 225 device_printf(sc->amr_dev, "can't allocate register window\n"); 235 sc->amr_irq = bus_alloc_resource_any(sc->amr_dev, SYS_RES_IRQ, &rid, 238 device_printf(sc->amr_dev, "can't allocate interrupt\n"); 241 if (bus_setup_intr(sc->amr_dev, sc->amr_irq, 244 device_printf(sc->amr_dev, "can't set up interrupt\n"); 288 device_printf(sc->amr_dev, "can't allocate buffer DMA tag\n"); 304 device_printf(sc->amr_dev, "can't allocate buffer DMA tag\n"); 388 device_printf(sc->amr_dev, "flushing cache..."); 396 if((error = device_delete_child(sc->amr_dev,s [all...] |
H A D | amr.c | 254 child = device_add_child(sc->amr_dev, "amrp", -1); 259 bus_generic_attach(sc->amr_dev); 265 sc->amr_dev_t = make_dev(&amr_cdevsw, device_get_unit(sc->amr_dev), UID_ROOT, GID_OPERATOR, 266 S_IRUSR | S_IWUSR, "amr%d", device_get_unit(sc->amr_dev)); 269 if (device_get_unit(sc->amr_dev) == 0) 280 device_printf(sc->amr_dev, "can't establish configuration hook\n"); 312 device_printf(sc->amr_dev, "can't scan controller for drives\n"); 330 dr->al_disk = device_add_child(sc->amr_dev, NULL, -1); 332 device_printf(sc->amr_dev, "device_add_child failed\n"); 337 if ((error = bus_generic_attach(sc->amr_dev)) ! [all...] |
H A D | amrreg.h | 587 pci_write_config((sc)->amr_dev, 0x40, pci_read_config((sc)->amr_dev, 0x40, 1) | 0x20, 1); \ 588 pci_write_config((sc)->amr_dev, 0x64, 0x1122, 1); \ 590 #define AMR_QGET_INITSTATUS(sc) pci_read_config((sc)->amr_dev, 0x9c, 1) 591 #define AMR_QGET_INITCHAN(sc) pci_read_config((sc)->amr_dev, 0x9f, 1) 592 #define AMR_QGET_INITTARG(sc) pci_read_config((sc)->amr_dev, 0x9e, 1)
|
H A D | amr_cam.c | 179 amr_cam_poll, "amr", sc, device_get_unit(sc->amr_dev), 182 device_printf(sc->amr_dev, "CAM SIM attach failed\n"); 188 error = xpt_bus_register(sc->amr_cam_sim[chn], sc->amr_dev,chn); 191 device_printf(sc->amr_dev,
|
H A D | amrvar.h | 175 device_t amr_dev; member in struct:amr_softc
|
Completed in 125 milliseconds