/src/sys/dev/ic/ |
ld_mlx.c | 90 struct mlx_softc *mlx = device_private(parent); local in function:ld_mlx_attach 91 struct mlx_sysdrive *ms = &mlx->mlx_sysdrive[mlxa->mlxa_unit]; 140 struct mlx_softc *mlx = device_private(device_parent(dv)); local in function:ld_mlx_detach 146 mlx_flush(mlx, 1); 156 struct mlx_softc *mlx; local in function:ld_mlx_dobio 160 mlx = device_private(device_parent(sc->sc_ld.sc_dv)); 162 if ((rv = mlx_ccb_alloc(mlx, &mc, bp == NULL)) != 0) 166 rv = mlx_ccb_map(mlx, mc, data, datasize, 169 mlx_ccb_free(mlx, mc); 174 sgphys = mlx->mlx_sgls_paddr + (MLX_SGL_SIZE * mc->mc_ident) 220 struct mlx_softc *mlx; local in function:ld_mlx_handler [all...] |
ld_mlx.c | 90 struct mlx_softc *mlx = device_private(parent); local in function:ld_mlx_attach 91 struct mlx_sysdrive *ms = &mlx->mlx_sysdrive[mlxa->mlxa_unit]; 140 struct mlx_softc *mlx = device_private(device_parent(dv)); local in function:ld_mlx_detach 146 mlx_flush(mlx, 1); 156 struct mlx_softc *mlx; local in function:ld_mlx_dobio 160 mlx = device_private(device_parent(sc->sc_ld.sc_dv)); 162 if ((rv = mlx_ccb_alloc(mlx, &mc, bp == NULL)) != 0) 166 rv = mlx_ccb_map(mlx, mc, data, datasize, 169 mlx_ccb_free(mlx, mc); 174 sgphys = mlx->mlx_sgls_paddr + (MLX_SGL_SIZE * mc->mc_ident) 220 struct mlx_softc *mlx; local in function:ld_mlx_handler [all...] |
mlx.c | 1 /* $NetBSD: mlx.c,v 1.70 2021/08/07 16:19:12 thorpej Exp $ */ 57 * from FreeBSD: mlx.c,v 1.14.2.3 2000/08/04 06:52:50 msmith Exp 70 __KERNEL_RCSID(0, "$NetBSD: mlx.c,v 1.70 2021/08/07 16:19:12 thorpej Exp $"); 260 mlx_init(struct mlx_softc *mlx, const char *intrstr) 271 SIMPLEQ_INIT(&mlx->mlx_ccb_queue); 272 SLIST_INIT(&mlx->mlx_ccb_freelist); 273 TAILQ_INIT(&mlx->mlx_ccb_worklist); 276 printf("%s: interrupting at %s\n", device_xname(mlx->mlx_dv), 284 if ((rv = bus_dmamem_alloc(mlx->mlx_dmat, size, PAGE_SIZE, 0, &seg, 1, 286 aprint_error_dev(mlx->mlx_dv 669 struct mlx_softc *mlx; local in function:mlx_shutdown 703 struct mlx_softc *mlx; local in function:mlxopen 722 struct mlx_softc *mlx; local in function:mlxclose 735 struct mlx_softc *mlx; local in function:mlxioctl 956 struct mlx_softc *mlx; local in function:mlx_periodic_thread 1064 struct mlx_softc *mlx; local in function:mlx_periodic_enquiry 1273 struct mlx_softc *mlx; local in function:mlx_periodic_eventlog_respond 1378 struct mlx_softc *mlx; local in function:mlx_periodic_rebuild 1499 struct mlx_softc *mlx; local in function:mlx_pause_done 2105 struct mlx_softc *mlx; local in function:mlx_intr [all...] |
mlx.c | 1 /* $NetBSD: mlx.c,v 1.70 2021/08/07 16:19:12 thorpej Exp $ */ 57 * from FreeBSD: mlx.c,v 1.14.2.3 2000/08/04 06:52:50 msmith Exp 70 __KERNEL_RCSID(0, "$NetBSD: mlx.c,v 1.70 2021/08/07 16:19:12 thorpej Exp $"); 260 mlx_init(struct mlx_softc *mlx, const char *intrstr) 271 SIMPLEQ_INIT(&mlx->mlx_ccb_queue); 272 SLIST_INIT(&mlx->mlx_ccb_freelist); 273 TAILQ_INIT(&mlx->mlx_ccb_worklist); 276 printf("%s: interrupting at %s\n", device_xname(mlx->mlx_dv), 284 if ((rv = bus_dmamem_alloc(mlx->mlx_dmat, size, PAGE_SIZE, 0, &seg, 1, 286 aprint_error_dev(mlx->mlx_dv 669 struct mlx_softc *mlx; local in function:mlx_shutdown 703 struct mlx_softc *mlx; local in function:mlxopen 722 struct mlx_softc *mlx; local in function:mlxclose 735 struct mlx_softc *mlx; local in function:mlxioctl 956 struct mlx_softc *mlx; local in function:mlx_periodic_thread 1064 struct mlx_softc *mlx; local in function:mlx_periodic_enquiry 1273 struct mlx_softc *mlx; local in function:mlx_periodic_eventlog_respond 1378 struct mlx_softc *mlx; local in function:mlx_periodic_rebuild 1499 struct mlx_softc *mlx; local in function:mlx_pause_done 2105 struct mlx_softc *mlx; local in function:mlx_intr [all...] |
/src/sys/dev/eisa/ |
mlx_eisa.c | 33 * EISA front-end for mlx(4) driver. 113 struct mlx_softc *mlx; local in function:mlx_eisa_attach 119 mlx = device_private(self); 126 mlx->mlx_ci.ci_nchan = (int)dce->value; 127 mlx->mlx_ci.ci_iftype = 1; 129 mlx->mlx_submit = mlx_v1_submit; 130 mlx->mlx_findcomplete = mlx_v1_findcomplete; 131 mlx->mlx_intaction = mlx_v1_intaction; 132 mlx->mlx_fw_handshake = mlx_v1_fw_handshake; 134 mlx->mlx_reset = mlx_v1_reset [all...] |
mlx_eisa.c | 33 * EISA front-end for mlx(4) driver. 113 struct mlx_softc *mlx; local in function:mlx_eisa_attach 119 mlx = device_private(self); 126 mlx->mlx_ci.ci_nchan = (int)dce->value; 127 mlx->mlx_ci.ci_iftype = 1; 129 mlx->mlx_submit = mlx_v1_submit; 130 mlx->mlx_findcomplete = mlx_v1_findcomplete; 131 mlx->mlx_intaction = mlx_v1_intaction; 132 mlx->mlx_fw_handshake = mlx_v1_fw_handshake; 134 mlx->mlx_reset = mlx_v1_reset [all...] |
/src/sys/dev/pci/ |
mlx_pci.c | 61 * PCI front-end for the mlx(4) driver. 204 struct mlx_softc *mlx; local in function:mlx_pci_attach 215 mlx = device_private(self); 220 mlx->mlx_dv = self; 221 mlx->mlx_dmat = pa->pa_dmat; 222 mlx->mlx_ci.ci_iftype = mpi->mpi_iftype; 254 mlx->mlx_iot = memt; 255 mlx->mlx_ioh = memh; 257 mlx->mlx_iot = iot; 258 mlx->mlx_ioh = ioh [all...] |
mlx_pci.c | 61 * PCI front-end for the mlx(4) driver. 204 struct mlx_softc *mlx; local in function:mlx_pci_attach 215 mlx = device_private(self); 220 mlx->mlx_dv = self; 221 mlx->mlx_dmat = pa->pa_dmat; 222 mlx->mlx_ci.ci_iftype = mpi->mpi_iftype; 254 mlx->mlx_iot = memt; 255 mlx->mlx_ioh = memh; 257 mlx->mlx_iot = iot; 258 mlx->mlx_ioh = ioh [all...] |