HomeSort by: relevance | last modified time | path
    Searched defs:vsc (Results 1 - 25 of 36) sorted by relevancy

1 2

  /src/sys/arch/hpcmips/vr/
ite8181_vrip.c 91 struct ite8181_vrip_softc *vsc = device_private(self); local
92 struct ite8181_softc *sc = &vsc->sc_ite8181;
mq200_vrip.c 94 struct mq200_vrip_softc *vsc = device_private(self); local
95 struct mq200_softc *sc = &vsc->sc_mq200;
com_vrip.c 167 struct com_vrip_softc *vsc = device_private(self); local
168 struct com_softc *sc = &vsc->sc_com;
175 vsc->sc_pwctl = device_cfdata(self)->cf_loc[VRIPIFCF_PWCTL];
193 config_hook_call(CONFIG_HOOK_POWERCONTROL, vsc->sc_pwctl, (void*)1);
205 VPRINTF(("%s: pwctl %d\n", device_xname(self), vsc->sc_pwctl));
vrecu.c 107 struct pcic_vrip_softc *vsc = device_private(self); local
108 struct pcic_softc *sc = &vsc->sc_pcic;
115 vsc->sc_intr_valid = PCIC_INTR_IRQ_VALIDMASK;
116 vsc->sc_intr_mask = 0xffff;
118 vsc->sc_intrhand[i].ih_fun = NULL;
121 IPL_NET, pcic_vrip_intr, vsc))
137 vsc->sc_intr_mask);
185 struct pcic_vrip_softc *vsc; local
206 vsc = device_private(h->ph_parent);
207 sc = &vsc->sc_pcic
235 struct pcic_vrip_softc *vsc; local
273 struct pcic_vrip_softc *vsc = arg; local
    [all...]
  /src/sys/arch/evbmips/mipssim/
virtio_mainbus.c 86 struct virtio_softc *vsc = &msc->sc_sc; local
106 vsc->sc_dev = self;
107 vsc->sc_dmat = ma->ma_dmat;
121 struct virtio_softc *vsc = &msc->sc_sc; local
124 if (vsc->sc_child) /* child already attached? */
128 va.sc_childdevid = vsc->sc_childdevid;
132 if (virtio_attach_failed(vsc))
152 struct virtio_softc * const vsc = &msc->sc_sc; local
157 aprint_error_dev(vsc->sc_dev,
162 aprint_normal_dev(vsc->sc_dev, "interrupting at irq %d\n", sc->sc_irq)
    [all...]
  /src/sys/arch/virt68k/dev/
virtio_mainbus.c 87 struct virtio_softc *vsc = &msc->sc_sc; local
107 vsc->sc_dev = self;
108 vsc->sc_dmat = ma->ma_dmat;
121 struct virtio_softc *vsc = &msc->sc_sc; local
124 if (vsc->sc_child) /* child already attached? */
128 va.sc_childdevid = vsc->sc_childdevid;
132 if (virtio_attach_failed(vsc))
152 struct virtio_softc * const vsc = &msc->sc_sc; local
158 aprint_error_dev(vsc->sc_dev,
163 aprint_normal_dev(vsc->sc_dev, "interrupting at %s\n"
    [all...]
  /src/sys/dev/hyperv/
hvheartbeat.c 110 struct vmbusic_softc *vsc = &sc->sc_vmbusic; local
111 struct vmbus_channel *ch = vsc->sc_chan;
118 error = vmbus_channel_recv(ch, vsc->sc_buf, vsc->sc_buflen,
123 device_xname(vsc->sc_dev), error, rlen);
129 device_xname(vsc->sc_dev), rlen);
133 hdr = (struct vmbus_icmsg_hdr *)vsc->sc_buf;
136 error = vmbusic_negotiate(vsc, hdr, &rlen,
145 device_xname(vsc->sc_dev), rlen);
154 device_printf(vsc->sc_dev
    [all...]
hvshutdown.c 132 struct vmbusic_softc *vsc = &sc->sc_vmbusic; local
133 struct vmbus_channel *ch = vsc->sc_chan;
141 error = vmbus_channel_recv(ch, vsc->sc_buf, vsc->sc_buflen,
146 device_xname(vsc->sc_dev), error, rlen);
152 device_xname(vsc->sc_dev), rlen);
156 hdr = (struct vmbus_icmsg_hdr *)vsc->sc_buf;
159 error = vmbusic_negotiate(vsc, hdr, &rlen, VMBUS_SHUTDOWN_FWVER,
168 device_xname(vsc->sc_dev), rlen);
174 device_printf(vsc->sc_dev, "shutdown requested\n")
    [all...]
hvtimesync.c 125 struct vmbusic_softc *vsc = &sc->sc_vmbusic; local
139 device_printf(vsc->sc_dev,
153 device_printf(vsc->sc_dev,
166 device_printf(vsc->sc_dev,
182 struct vmbusic_softc *vsc = &sc->sc_vmbusic; local
183 struct vmbus_channel *ch = vsc->sc_chan;
189 error = vmbus_channel_recv(ch, vsc->sc_buf, vsc->sc_buflen,
194 device_xname(vsc->sc_dev), error, rlen);
200 device_xname(vsc->sc_dev), rlen)
256 struct vmbusic_softc *vsc = &sc->sc_vmbusic; local
    [all...]
  /src/sys/dev/acpi/
virtio_acpi.c 84 struct virtio_softc * const vsc = &msc->sc_sc; local
94 vsc->sc_dev = self;
98 vsc->sc_dmat = aa->aa_dmat64;
101 vsc->sc_dmat = aa->aa_dmat;
154 struct virtio_softc * const vsc = &msc->sc_sc; local
157 if (vsc->sc_child)
161 va.sc_childdevid = vsc->sc_childdevid;
165 if (virtio_attach_failed(vsc))
175 struct virtio_softc * const vsc = &msc->sc_sc; local
177 msc->sc_ih = acpi_intr_establish(vsc->sc_dev
    [all...]
  /src/sys/dev/fdt/
virtio_mmio_fdt.c 77 struct virtio_softc * const vsc = &msc->sc_sc; local
93 vsc->sc_dev = self;
94 vsc->sc_dmat = faa->faa_dmat;
117 struct virtio_softc * const vsc = &msc->sc_sc; local
120 if (vsc->sc_child) /* Child already attached? */
124 va.sc_childdevid = vsc->sc_childdevid;
128 if (virtio_attach_failed(vsc))
147 struct virtio_softc * const vsc = &msc->sc_sc; local
152 aprint_error_dev(vsc->sc_dev, "failed to decode interrupt\n");
156 if (vsc->sc_flags & VIRTIO_F_INTR_MPSAFE
    [all...]
  /src/sys/dev/pci/
viornd.c 87 struct virtio_softc *vsc = sc->sc_virtio; local
101 bus_dmamap_sync(virtio_dmat(vsc), sc->sc_dmamap, 0, VIORND_BUFSIZE,
103 if (virtio_enqueue_prep(vsc, vq, &slot)) {
106 if (virtio_enqueue_reserve(vsc, vq, slot, 1)) {
109 virtio_enqueue(vsc, vq, slot, sc->sc_dmamap, 0);
110 virtio_enqueue_commit(vsc, vq, slot, 1);
131 struct virtio_softc *vsc = device_private(parent); local
136 if (virtio_child(vsc) != NULL)
140 sc->sc_virtio = vsc;
144 error = bus_dmamem_alloc(virtio_dmat(vsc),
223 struct virtio_softc *vsc = vq->vq_owner; local
    [all...]
viomb.c 126 struct virtio_softc *vsc = device_private(parent); local
130 if (virtio_child(vsc) != NULL) {
149 sc->sc_virtio = vsc;
151 virtio_child_attach_start(vsc, self, IPL_VM,
154 features = virtio_features(vsc);
166 virtio_init_vq_vqdone(vsc, &sc->sc_vq[VQ_INFLATE], VQ_INFLATE,
168 virtio_init_vq_vqdone(vsc, &sc->sc_vq[VQ_DEFLATE], VQ_DEFLATE,
171 if (virtio_alloc_vq(vsc, &sc->sc_vq[VQ_INFLATE],
175 if (virtio_alloc_vq(vsc, &sc->sc_vq[VQ_DEFLATE],
180 if (bus_dmamap_create(virtio_dmat(vsc), sizeof(uint32_t)*PGS_PER_REQ
274 struct virtio_softc *vsc = sc->sc_virtio; local
329 struct virtio_softc *vsc = vq->vq_owner; local
343 struct virtio_softc *vsc = sc->sc_virtio; local
385 struct virtio_softc *vsc = sc->sc_virtio; local
446 struct virtio_softc *vsc = vq->vq_owner; local
460 struct virtio_softc *vsc = sc->sc_virtio; local
    [all...]
vio9p.c 220 struct virtio_softc *vsc = sc->sc_virtio; local
263 error = virtio_dequeue(vsc, vq, &slot, &len);
272 bus_dmamap_sync(virtio_dmat(vsc), sc->sc_dmamap_tx, 0, VIO9P_MAX_REQLEN,
274 bus_dmamap_sync(virtio_dmat(vsc), sc->sc_dmamap_rx, 0, VIO9P_MAX_REQLEN,
276 virtio_dequeue_commit(vsc, vq, slot);
316 struct virtio_softc *vsc = sc->sc_virtio; local
356 error = virtio_enqueue_prep(vsc, vq, &slot);
363 error = virtio_enqueue_reserve(vsc, vq, slot,
372 bus_dmamap_sync(virtio_dmat(vsc), sc->sc_dmamap_tx, 0,
374 virtio_enqueue(vsc, vq, slot, sc->sc_dmamap_tx, true)
490 struct virtio_softc *vsc = device_private(parent); local
619 struct virtio_softc *vsc = vq->vq_owner; local
    [all...]
vioscsi.c 117 struct virtio_softc *vsc = device_private(parent); local
123 if (virtio_child(vsc) != NULL) {
131 virtio_child_attach_start(vsc, self, ipl,
136 uint32_t cmd_per_lun = virtio_read_device_config_4(vsc,
139 uint32_t seg_max = virtio_read_device_config_4(vsc,
142 uint16_t max_target = virtio_read_device_config_2(vsc,
145 uint32_t max_lun = virtio_read_device_config_4(vsc,
151 virtio_init_vq_vqdone(vsc, &sc->sc_vqs[i], i,
153 rv = virtio_alloc_vq(vsc, &sc->sc_vqs[i], MAXPHYS,
167 if (vioscsi_alloc_reqs(sc, vsc, qsize)
222 struct virtio_softc *vsc = device_private(device_parent(sc->sc_dev)); local
269 struct virtio_softc *vsc = device_private(device_parent(sc->sc_dev)); local
523 struct virtio_softc *vsc = vq->vq_owner; local
555 struct virtio_softc *vsc = device_private(device_parent(sc->sc_dev)); local
    [all...]
viogpu.c 207 struct virtio_softc *vsc = device_private(parent); local
210 if (virtio_child(vsc) != NULL) {
217 sc->sc_virtio = vsc;
227 virtio_child_attach_start(vsc, self, IPL_VM,
230 if (!virtio_version_1(vsc)) {
236 virtio_init_vq_vqdone(vsc, &sc->sc_vqs[VQCTRL], 0, viogpu_vq_done);
237 error = virtio_alloc_vq(vsc, &sc->sc_vqs[VQCTRL], NBPG, 1, "control");
243 virtio_init_vq_vqdone(vsc, &sc->sc_vqs[VQCURS], 1, viogpu_vq_done);
244 error = virtio_alloc_vq(vsc, &sc->sc_vqs[VQCURS], NBPG, 1, "cursor");
250 if (virtio_child_attach_finish(vsc, sc->sc_vqs
275 struct virtio_softc *vsc = sc->sc_virtio; local
482 struct virtio_softc *vsc = sc->sc_virtio; local
532 struct virtio_softc *vsc = vq->vq_owner; local
615 struct virtio_softc *vsc = sc->sc_virtio; local
644 struct virtio_softc *vsc = sc->sc_virtio; local
669 struct virtio_softc *vsc = sc->sc_virtio; local
694 struct virtio_softc *vsc = sc->sc_virtio; local
731 struct virtio_softc *vsc = sc->sc_virtio; local
753 struct virtio_softc *vsc = sc->sc_virtio; local
    [all...]
ld_virtio.c 315 struct virtio_softc *vsc = device_private(parent); local
319 if (virtio_child(vsc) != NULL) {
326 sc->sc_virtio = vsc;
328 virtio_child_attach_start(vsc, self, IPL_BIO,
335 features = virtio_features(vsc);
345 ld->sc_secsize = virtio_read_device_config_4(vsc,
351 sc->sc_seg_max = virtio_read_device_config_4(vsc,
366 sc->sc_size_max = virtio_read_device_config_4(vsc,
391 virtio_init_vq_vqdone(vsc, &sc->sc_vq, 0,
394 if (virtio_alloc_vq(vsc, &sc->sc_vq, sc->sc_size_max
475 struct virtio_softc *vsc = sc->sc_virtio; local
600 struct virtio_softc *vsc = sc->sc_virtio; local
741 struct virtio_softc *vsc = vq->vq_owner; local
759 struct virtio_softc *vsc = sc->sc_virtio; local
894 struct virtio_softc * const vsc = sc->sc_virtio; local
979 struct virtio_softc * const vsc = sc->sc_virtio; local
996 struct virtio_softc * const vsc = sc->sc_virtio; local
1038 struct virtio_softc * const vsc = sc->sc_virtio; local
    [all...]
  /src/sys/dev/virtio/arch/x86/
virtio_mmio_cmdline.c 242 struct virtio_softc *const vsc = &msc->sc_sc; local
246 vsc->sc_dmat = pvaa->pvaa_dmat;
248 vsc->sc_dev = self;
281 struct virtio_softc *const vsc = &msc->sc_sc; local
284 if (vsc->sc_child)
288 va.sc_childdevid = vsc->sc_childdevid;
292 if (virtio_attach_failed(vsc))
304 struct virtio_softc *const vsc = &msc->sc_sc; local
321 mpsafe = (0 != (vsc->sc_flags & VIRTIO_F_INTR_MPSAFE));
323 msc->sc_ih = intr_establish_xname(irq, pic, pin, IST_LEVEL, vsc->sc_ipl
    [all...]
  /src/sys/arch/sun2/dev/
if_ie_mbmem.c 258 struct ie_mbmem_softc *vsc = (struct ie_mbmem_softc *)sc; local
259 write_iev(vsc, status, IEMBMEM_RESET);
261 write_iev(vsc, status, 0);
267 struct ie_mbmem_softc *vsc = (struct ie_mbmem_softc *)sc; local
270 write_iev(vsc, status, read_iev(vsc, status) | IEMBMEM_ATTEN);
272 write_iev(vsc, status, read_iev(vsc, status) & ~IEMBMEM_ATTEN);
278 struct ie_mbmem_softc *vsc = (struct ie_mbmem_softc *)sc; local
280 write_iev(vsc, status, read_iev(vsc, status
287 struct ie_mbmem_softc *vsc = (struct ie_mbmem_softc *)sc; local
400 struct ie_mbmem_softc *vsc = device_private(self); local
    [all...]
  /src/sys/arch/vax/vsa/
asc_vsbus.c 228 struct vsbus_softc *vsc = device_private(parent); local
230 (bus_space_handle_t)(vsc->sc_vsregs + ASC_REG_KA49_ADR);
232 (bus_space_handle_t)(vsc->sc_vsregs + ASC_REG_KA49_DIR);
  /src/sys/dev/virtio/
virtio_mmio.c 184 virtio_mmio_read_queue_size(struct virtio_softc *vsc, uint16_t idx)
186 struct virtio_mmio_softc *sc = (struct virtio_mmio_softc *)vsc;
192 virtio_mmio_v1_setup_queue(struct virtio_softc *vsc, uint16_t idx,
195 struct virtio_mmio_softc *sc = (struct virtio_mmio_softc *)vsc;
207 virtio_mmio_v2_setup_queue(struct virtio_softc *vsc, uint16_t idx,
210 struct virtio_mmio_softc *sc = (struct virtio_mmio_softc *)vsc;
220 vq = &vsc->sc_vqs[idx];
236 virtio_mmio_get_status(struct virtio_softc *vsc)
238 struct virtio_mmio_softc *sc = (struct virtio_mmio_softc *)vsc;
244 virtio_mmio_set_status(struct virtio_softc *vsc, int status
269 struct virtio_softc *vsc = &sc->sc_sc; local
348 struct virtio_softc *vsc = &sc->sc_sc; local
463 struct virtio_softc *vsc = &sc->sc_sc; local
    [all...]
viocon.c 44 #define virtio_notify(vsc, vq) virtio_enqueue_commit(vsc, vq, -1, true)
198 struct virtio_softc *vsc = device_private(parent); local
203 if (virtio_child(vsc) != NULL) {
208 sc->sc_virtio = vsc;
217 virtio_child_attach_start(vsc, self, IPL_TTY,
226 if (virtio_child_attach_finish(vsc, sc->sc_vqs, nvqs,
236 virtio_child_attach_failed(vsc);
242 struct virtio_softc *vsc = sc->sc_virtio; local
260 virtio_init_vq_vqdone(vsc, &sc->sc_vqs[rxidx], rxidx
330 struct virtio_softc *vsc = vq->vq_owner; local
347 struct virtio_softc *vsc = vq->vq_owner; local
368 struct virtio_softc *vsc = vp->vp_sc->sc_virtio; local
389 struct virtio_softc *vsc = vq->vq_owner; local
403 struct virtio_softc *vsc = vq->vq_owner; local
426 struct virtio_softc *vsc; local
    [all...]
  /src/sys/dev/vme/
if_ie_vme.c 256 struct ie_vme_softc *vsc = (struct ie_vme_softc *)sc; local
258 write_iev(vsc, status, IEVME_RESET);
260 write_iev(vsc, status, 0);
266 struct ie_vme_softc *vsc = (struct ie_vme_softc *)sc; local
269 write_iev(vsc, status, read_iev(vsc, status) | IEVME_ATTEN);
271 write_iev(vsc, status, read_iev(vsc, status) & ~IEVME_ATTEN);
277 struct ie_vme_softc *vsc = (struct ie_vme_softc *)sc; local
279 write_iev(vsc, status, read_iev(vsc, status
286 struct ie_vme_softc *vsc = (struct ie_vme_softc *)sc; local
459 struct ie_vme_softc *vsc = device_private(self); local
    [all...]
  /src/sys/arch/arm/amlogic/
meson_genfb.c 410 uint32_t scctl, sci_wh, sco_h, sco_v, hsc, vsc, hps, vps, hip, vip; local
463 vsc = VPU_READ(sc, VPP_OSD_VSC_CTRL0_REG);
465 vsc &= ~VPP_OSD_VSC_CTRL0_BANK_LENGTH;
466 vsc |= __SHIFTIN(4, VPP_OSD_VSC_CTRL0_BANK_LENGTH);
467 vsc &= ~VPP_OSD_VSC_CTRL0_TOP_INI_RCV_NUM0;
468 vsc |= __SHIFTIN(4, VPP_OSD_VSC_CTRL0_TOP_INI_RCV_NUM0);
469 vsc &= ~VPP_OSD_VSC_CTRL0_TOP_RPT_P0_NUM0;
470 vsc |= __SHIFTIN(1, VPP_OSD_VSC_CTRL0_TOP_RPT_P0_NUM0);
471 vsc &= ~VPP_OSD_VSC_CTRL0_BOT_INI_RCV_NUM0;
472 vsc &= ~VPP_OSD_VSC_CTRL0_BOT_RPT_P0_NUM0
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/hw/
stream_encoder.h 85 struct dc_info_packet vsc; member in struct:encoder_info_frame

Completed in 65 milliseconds

1 2