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

1 2

  /src/sys/arch/hpcmips/vr/
ite8181_vrip.c 91 struct ite8181_vrip_softc *vsc = device_private(self); local in function:ite8181_vrip_attach
92 struct ite8181_softc *sc = &vsc->sc_ite8181;
mq200_vrip.c 94 struct mq200_vrip_softc *vsc = device_private(self); local in function:mq200_vrip_attach
95 struct mq200_softc *sc = &vsc->sc_mq200;
com_vrip.c 167 struct com_vrip_softc *vsc = device_private(self); local in function:com_vrip_attach
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 in function:pcic_vrip_attach
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 in function:pcic_vrip_chip_intr_establish
206 vsc = device_private(h->ph_parent);
207 sc = &vsc->sc_pcic
235 struct pcic_vrip_softc *vsc; local in function:pcic_vrip_chip_intr_disestablish
273 struct pcic_vrip_softc *vsc = arg; local in function:pcic_vrip_intr
    [all...]
  /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
gemini-sl93512r.dts 124 vsc: port@6 { label
gemini-sq201.dts 109 vsc: port@6 { label
  /src/sys/arch/evbmips/mipssim/
virtio_mainbus.c 86 struct virtio_softc *vsc = &msc->sc_sc; local in function:virtio_mainbus_attach
106 vsc->sc_dev = self;
107 vsc->sc_dmat = ma->ma_dmat;
121 struct virtio_softc *vsc = &msc->sc_sc; local in function:virtio_mainbus_rescan
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 in function:virtio_mainbus_alloc_interrupts
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/dev/hyperv/
hvheartbeat.c 110 struct vmbusic_softc *vsc = &sc->sc_vmbusic; local in function:hvheartbeat_channel_cb
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 in function:hvshutdown_channel_cb
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 in function:do_timesync
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 in function:hvtimesync_channel_cb
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 in function:hvtimesync_sysctl_setup
    [all...]
  /src/sys/arch/virt68k/dev/
virtio_mainbus.c 87 struct virtio_softc *vsc = &msc->sc_sc; local in function:virtio_mainbus_attach
107 vsc->sc_dev = self;
108 vsc->sc_dmat = ma->ma_dmat;
121 struct virtio_softc *vsc = &msc->sc_sc; local in function:virtio_mainbus_rescan
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 in function:virtio_mainbus_alloc_interrupts
158 aprint_error_dev(vsc->sc_dev,
163 aprint_normal_dev(vsc->sc_dev, "interrupting at %s\n"
    [all...]
  /src/sys/dev/pci/
viornd.c 87 struct virtio_softc *vsc = sc->sc_virtio; local in function:viornd_get
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 in function:viornd_attach
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 in function:viornd_vq_done
    [all...]
viomb.c 126 struct virtio_softc *vsc = device_private(parent); local in function:viomb_attach
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 in function:inflate
329 struct virtio_softc *vsc = vq->vq_owner; local in function:inflateq_done
343 struct virtio_softc *vsc = sc->sc_virtio; local in function:inflate_done
385 struct virtio_softc *vsc = sc->sc_virtio; local in function:deflate
446 struct virtio_softc *vsc = vq->vq_owner; local in function:deflateq_done
460 struct virtio_softc *vsc = sc->sc_virtio; local in function:deflate_done
    [all...]
vioscsi.c 117 struct virtio_softc *vsc = device_private(parent); local in function:vioscsi_attach
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 in function:vioscsi_detach
269 struct virtio_softc *vsc = device_private(device_parent(sc->sc_dev)); local in function:vioscsi_scsipi_request
523 struct virtio_softc *vsc = vq->vq_owner; local in function:vioscsi_vq_done
555 struct virtio_softc *vsc = device_private(device_parent(sc->sc_dev)); local in function:vioscsi_req_get
    [all...]
vio9p.c 220 struct virtio_softc *vsc = sc->sc_virtio; local in function:vio9p_read
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 in function:vio9p_write
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 in function:vio9p_attach
619 struct virtio_softc *vsc = vq->vq_owner; local in function:vio9p_request_done
    [all...]
viogpu.c 207 struct virtio_softc *vsc = device_private(parent); local in function:viogpu_attach
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 in function:viogpu_attach_postintr
485 struct virtio_softc *vsc = sc->sc_virtio; local in function:viogpu_cmd_req
535 struct virtio_softc *vsc = vq->vq_owner; local in function:viogpu_vq_done
618 struct virtio_softc *vsc = sc->sc_virtio; local in function:viogpu_get_display_info
647 struct virtio_softc *vsc = sc->sc_virtio; local in function:viogpu_create_2d
672 struct virtio_softc *vsc = sc->sc_virtio; local in function:viogpu_set_scanout
697 struct virtio_softc *vsc = sc->sc_virtio; local in function:viogpu_attach_backing
734 struct virtio_softc *vsc = sc->sc_virtio; local in function:viogpu_transfer_to_host_2d
756 struct virtio_softc *vsc = sc->sc_virtio; local in function:viogpu_flush_resource
    [all...]
  /src/sys/dev/acpi/
virtio_acpi.c 84 struct virtio_softc * const vsc = &msc->sc_sc; local in function:virtio_acpi_attach
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 in function:virtio_acpi_rescan
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 in function:virtio_acpi_alloc_interrupts
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 in function:virtio_mmio_fdt_attach
93 vsc->sc_dev = self;
94 vsc->sc_dmat = faa->faa_dmat;
117 struct virtio_softc * const vsc = &msc->sc_sc; local in function:virtio_mmio_fdt_rescan
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 in function:virtio_mmio_fdt_alloc_interrupts
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/virtio/arch/x86/
virtio_mmio_cmdline.c 242 struct virtio_softc *const vsc = &msc->sc_sc; local in function:virtio_mmio_cmdline_do_attach
246 vsc->sc_dmat = pvaa->pvaa_dmat;
248 vsc->sc_dev = self;
281 struct virtio_softc *const vsc = &msc->sc_sc; local in function:virtio_mmio_cmdline_rescan
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 in function:virtio_mmio_cmdline_alloc_interrupts
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 in function:ie_mbmemreset
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 in function:ie_mbmemattend
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 in function:ie_mbmemrun
280 write_iev(vsc, status, read_iev(vsc, status
287 struct ie_mbmem_softc *vsc = (struct ie_mbmem_softc *)sc; local in function:ie_mbmemintr
400 struct ie_mbmem_softc *vsc = device_private(self); local in function:ie_mbmem_attach
    [all...]
  /src/sys/arch/vax/vsa/
asc_vsbus.c 228 struct vsbus_softc *vsc = device_private(parent); local in function:asc_vsbus_attach
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/vme/
if_ie_vme.c 256 struct ie_vme_softc *vsc = (struct ie_vme_softc *)sc; local in function:ie_vmereset
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 in function:ie_vmeattend
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 in function:ie_vmerun
279 write_iev(vsc, status, read_iev(vsc, status
286 struct ie_vme_softc *vsc = (struct ie_vme_softc *)sc; local in function:ie_vmeintr
459 struct ie_vme_softc *vsc = device_private(self); local in function:ie_vme_attach
    [all...]
  /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 in function:virtio_mmio_common_attach
348 struct virtio_softc *vsc = &sc->sc_sc; local in function:virtio_mmio_common_detach
463 struct virtio_softc *vsc = &sc->sc_sc; local in function:virtio_mmio_intr
    [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 in function:viocon_attach
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 in function:viocon_port_create
260 virtio_init_vq_vqdone(vsc, &sc->sc_vqs[rxidx], rxidx
330 struct virtio_softc *vsc = vq->vq_owner; local in function:viocon_tx_drain
347 struct virtio_softc *vsc = vq->vq_owner; local in function:viocon_tx_intr
368 struct virtio_softc *vsc = vp->vp_sc->sc_virtio; local in function:viocon_rx_fill
389 struct virtio_softc *vsc = vq->vq_owner; local in function:viocon_rx_intr
403 struct virtio_softc *vsc = vq->vq_owner; local in function:viocon_rx_soft
426 struct virtio_softc *vsc; local in function:vioconstart
    [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 28 milliseconds

1 2