/openbsd-current/sys/dev/pv/ |
H A D | virtiovar.h | 168 struct virtio_ops *sc_ops; /* set by transport */ member in struct:virtio_softc 189 #define virtio_read_device_config_1(sc, o) (sc)->sc_ops->read_dev_cfg_1(sc, o) 190 #define virtio_read_device_config_2(sc, o) (sc)->sc_ops->read_dev_cfg_2(sc, o) 191 #define virtio_read_device_config_4(sc, o) (sc)->sc_ops->read_dev_cfg_4(sc, o) 192 #define virtio_read_device_config_8(sc, o) (sc)->sc_ops->read_dev_cfg_8(sc, o) 193 #define virtio_write_device_config_1(sc, o, v) (sc)->sc_ops->write_dev_cfg_1(sc, o, v) 194 #define virtio_write_device_config_2(sc, o, v) (sc)->sc_ops->write_dev_cfg_2(sc, o, v) 195 #define virtio_write_device_config_4(sc, o, v) (sc)->sc_ops->write_dev_cfg_4(sc, o, v) 196 #define virtio_write_device_config_8(sc, o, v) (sc)->sc_ops->write_dev_cfg_8(sc, o, v) 197 #define virtio_read_queue_size(sc, i) (sc)->sc_ops [all...] |
H A D | virtio.c | 737 sc->sc_ops->kick(sc, vq->vq_index); 744 sc->sc_ops->kick(sc, vq->vq_index);
|
/openbsd-current/sys/dev/ic/ |
H A D | rtwn.c | 361 sc->sc_ops.write_1(sc->sc_ops.cookie, addr, val); 367 sc->sc_ops.write_2(sc->sc_ops.cookie, addr, val); 373 sc->sc_ops.write_4(sc->sc_ops.cookie, addr, val); 379 return sc->sc_ops.read_1(sc->sc_ops.cookie, addr); 385 return sc->sc_ops.read_2(sc->sc_ops [all...] |
H A D | rtwnvar.h | 62 /* sc_ops must be initialized by the attachment driver! */ 63 struct rtwn_ops sc_ops; member in struct:rtwn_softc
|
H A D | nvmevar.h | 96 const struct nvme_ops *sc_ops; member in struct:nvme_softc
|
H A D | nvme.c | 248 if (sc->sc_ops->op_enable != NULL) 249 sc->sc_ops->op_enable(sc); 311 if (sc->sc_ops == NULL) 312 sc->sc_ops = &nvme_ops; 1077 tail = sc->sc_ops->op_sq_enter(sc, q, ccb); 1089 sc->sc_ops->op_sq_leave(sc, q, ccb); 1198 sc->sc_ops->op_cq_done(sc, q, ccb); 1499 if (sc->sc_ops->op_q_alloc != NULL) { 1500 if (sc->sc_ops->op_q_alloc(sc, q) != 0) 1541 if (sc->sc_ops [all...] |
/openbsd-current/sys/dev/pci/ |
H A D | if_rtwn.c | 376 sc->sc_sc.sc_ops.cookie = sc; 377 sc->sc_sc.sc_ops.write_1 = rtwn_pci_write_1; 378 sc->sc_sc.sc_ops.write_2 = rtwn_pci_write_2; 379 sc->sc_sc.sc_ops.write_4 = rtwn_pci_write_4; 380 sc->sc_sc.sc_ops.read_1 = rtwn_pci_read_1; 381 sc->sc_sc.sc_ops.read_2 = rtwn_pci_read_2; 382 sc->sc_sc.sc_ops.read_4 = rtwn_pci_read_4; 383 sc->sc_sc.sc_ops.tx = rtwn_tx; 384 sc->sc_sc.sc_ops.power_on = rtwn_power_on; 385 sc->sc_sc.sc_ops [all...] |
H A D | virtio_pci.c | 611 vsc->sc_ops = &virtio_pci_ops;
|
/openbsd-current/sys/dev/isa/ |
H A D | fd.c | 119 int sc_ops; /* I/O ops since last switch */ member in struct:fd_softc 489 if (TAILQ_NEXT(fd, sc_drivechain) != NULL && ++fd->sc_ops >= 8) { 490 fd->sc_ops = 0; 678 fd->sc_ops = 0;
|
/openbsd-current/sys/dev/pcmcia/ |
H A D | cfxga.c | 91 struct wsdisplay_emulops sc_ops; member in struct:cfxga_softc 381 wsd->textops = &sc->sc_ops; 527 bcopy(&ri->ri_ops, &sc->sc_ops, sizeof(sc->sc_ops));
|
/openbsd-current/sys/arch/arm64/dev/ |
H A D | aplns.c | 235 sc->sc_ops = &nvme_ans_ops;
|
/openbsd-current/sys/arch/sparc64/dev/ |
H A D | fd.c | 269 int sc_ops; /* I/O ops since last switch */ member in struct:fd_softc 789 if (TAILQ_NEXT(fd, sc_drivechain) != NULL && ++fd->sc_ops >= 8) { 790 fd->sc_ops = 0; 1267 fd->sc_ops = 0;
|
/openbsd-current/sys/dev/fdt/ |
H A D | virtio_mmio.c | 284 vsc->sc_ops = &virtio_mmio_ops;
|