/src/sys/dev/pci/ |
ld_twe.c | 97 struct twe_softc *twe = device_private(parent); local in function:ld_twe_attach 98 struct twe_drive *td = &twe->sc_units[twea->twea_unit]; 106 twe_register_callbacks(twe, twea->twea_unit, &ld_twe_callbacks); 113 ld->sc_maxqueuecnt = twe->sc_openings; 140 error = twe_param_get_1(twe, TWE_PARAM_UNITINFO + twea->twea_unit, 177 struct twe_softc *twe; local in function:ld_twe_dobio 180 twe = device_private(device_parent(sc->sc_ld.sc_dv)); 183 if ((ccb = twe_ccb_alloc(twe, flags)) == NULL) 202 if ((rv = twe_ccb_map(twe, ccb)) != 0) { 203 twe_ccb_free(twe, ccb) 242 struct twe_softc *twe; local in function:ld_twe_handler 277 struct twe_softc *twe = device_private(device_parent(ld->sc_dv)); local in function:ld_twe_flush [all...] |
ld_twe.c | 97 struct twe_softc *twe = device_private(parent); local in function:ld_twe_attach 98 struct twe_drive *td = &twe->sc_units[twea->twea_unit]; 106 twe_register_callbacks(twe, twea->twea_unit, &ld_twe_callbacks); 113 ld->sc_maxqueuecnt = twe->sc_openings; 140 error = twe_param_get_1(twe, TWE_PARAM_UNITINFO + twea->twea_unit, 177 struct twe_softc *twe; local in function:ld_twe_dobio 180 twe = device_private(device_parent(sc->sc_ld.sc_dv)); 183 if ((ccb = twe_ccb_alloc(twe, flags)) == NULL) 202 if ((rv = twe_ccb_map(twe, ccb)) != 0) { 203 twe_ccb_free(twe, ccb) 242 struct twe_softc *twe; local in function:ld_twe_handler 277 struct twe_softc *twe = device_private(device_parent(ld->sc_dv)); local in function:ld_twe_flush [all...] |
twe.c | 1 /* $NetBSD: twe.c,v 1.111 2024/02/02 22:26:58 andvar Exp $ */ 58 * from FreeBSD: twe.c,v 1.1 2000/05/24 23:35:23 msmith Exp 66 __KERNEL_RCSID(0, "$NetBSD: twe.c,v 1.111 2024/02/02 22:26:58 andvar Exp $"); 127 CFATTACH_DECL3_NEW(twe, sizeof(struct twe_softc), 464 SYSCTL_DESCR("twe driver information"), 1705 struct twe_softc *twe; local in function:tweopen 1707 if ((twe = device_lookup_private(&twe_cd, minor(dev))) == NULL) 1709 if ((twe->sc_flags & TWEF_OPEN) != 0) 1712 twe->sc_flags |= TWEF_OPEN; 1723 struct twe_softc *twe; local in function:tweclose 1744 struct twe_softc *twe; local in function:tweioctl [all...] |
twe.c | 1 /* $NetBSD: twe.c,v 1.111 2024/02/02 22:26:58 andvar Exp $ */ 58 * from FreeBSD: twe.c,v 1.1 2000/05/24 23:35:23 msmith Exp 66 __KERNEL_RCSID(0, "$NetBSD: twe.c,v 1.111 2024/02/02 22:26:58 andvar Exp $"); 127 CFATTACH_DECL3_NEW(twe, sizeof(struct twe_softc), 464 SYSCTL_DESCR("twe driver information"), 1705 struct twe_softc *twe; local in function:tweopen 1707 if ((twe = device_lookup_private(&twe_cd, minor(dev))) == NULL) 1709 if ((twe->sc_flags & TWEF_OPEN) != 0) 1712 twe->sc_flags |= TWEF_OPEN; 1723 struct twe_softc *twe; local in function:tweclose 1744 struct twe_softc *twe; local in function:tweioctl [all...] |