Searched refs:fxp_ctrl (Results 1 – 2 of 2) sorted by relevance
| /openbsd/src/sys/dev/ic/ |
| D | fxpvar.h | 96 struct fxp_ctrl { struct 137 struct fxp_ctrl *sc_ctrl; 177 offsetof(struct fxp_ctrl, u.mcs), sizeof(struct fxp_cb_mcs), (p)) 181 offsetof(struct fxp_ctrl, u.ias), sizeof(struct fxp_cb_ias), (p)) 185 offsetof(struct fxp_ctrl, u.cfg), sizeof(struct fxp_cb_config), (p)) 189 offsetof(struct fxp_ctrl, u.code), sizeof(struct fxp_cb_ucode), (p)) 193 offsetof(struct fxp_ctrl, stats), sizeof(struct fxp_stats), (p))
|
| D | fxp.c | 336 if (bus_dmamem_alloc(sc->sc_dmat, sizeof(struct fxp_ctrl), in fxp_attach() 341 sizeof(struct fxp_ctrl), (caddr_t *)&sc->sc_ctrl, in fxp_attach() 346 if (bus_dmamap_create(sc->sc_dmat, sizeof(struct fxp_ctrl), in fxp_attach() 347 1, sizeof(struct fxp_ctrl), 0, BUS_DMA_NOWAIT, in fxp_attach() 350 sizeof(struct fxp_ctrl)); in fxp_attach() 355 sizeof(struct fxp_ctrl), NULL, BUS_DMA_NOWAIT)) { in fxp_attach() 358 sizeof(struct fxp_ctrl)); in fxp_attach() 372 sc->txs[i].tx_off = offsetof(struct fxp_ctrl, tx_cb[i]); in fxp_attach() 1195 offsetof(struct fxp_ctrl, stats)); in fxp_init() 1294 offsetof(struct fxp_ctrl, u.cfg)); in fxp_init() [all …]
|