Home
last modified time | relevance | path

Searched refs:vsc (Results 1 – 25 of 1814) sorted by relevance

12345678910>>...73

/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/dsa/
H A Dvitesse-vsc73xx-core.c379 return vsc->ops->read(vsc, block, subblock, reg, val); in vsc73xx_read()
385 return vsc->ops->write(vsc, block, subblock, reg, val); in vsc73xx_write()
693 val = (vsc->addr[5] << 16) | (vsc->addr[4] << 8) | (vsc->addr[3]); in vsc73xx_init_port()
698 val = (vsc->addr[2] << 16) | (vsc->addr[1] << 8) | (vsc->addr[0]); in vsc73xx_init_port()
1124 vsc->gc.parent = vsc->dev; in vsc73xx_gpio_probe()
1126 vsc->gc.of_node = vsc->dev->of_node; in vsc73xx_gpio_probe()
1135 ret = devm_gpiochip_add_data(vsc->dev, &vsc->gc, vsc); in vsc73xx_gpio_probe()
1180 vsc->addr[0], vsc->addr[1], vsc->addr[2], in vsc73xx_probe()
1181 vsc->addr[3], vsc->addr[4], vsc->addr[5]); in vsc73xx_probe()
1195 if (!vsc->ds) in vsc73xx_probe()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/dsa/
H A Dvitesse-vsc73xx-core.c379 return vsc->ops->read(vsc, block, subblock, reg, val); in vsc73xx_read()
385 return vsc->ops->write(vsc, block, subblock, reg, val); in vsc73xx_write()
693 val = (vsc->addr[5] << 16) | (vsc->addr[4] << 8) | (vsc->addr[3]); in vsc73xx_init_port()
698 val = (vsc->addr[2] << 16) | (vsc->addr[1] << 8) | (vsc->addr[0]); in vsc73xx_init_port()
1124 vsc->gc.parent = vsc->dev; in vsc73xx_gpio_probe()
1126 vsc->gc.of_node = vsc->dev->of_node; in vsc73xx_gpio_probe()
1135 ret = devm_gpiochip_add_data(vsc->dev, &vsc->gc, vsc); in vsc73xx_gpio_probe()
1180 vsc->addr[0], vsc->addr[1], vsc->addr[2], in vsc73xx_probe()
1181 vsc->addr[3], vsc->addr[4], vsc->addr[5]); in vsc73xx_probe()
1195 if (!vsc->ds) in vsc73xx_probe()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/dsa/
H A Dvitesse-vsc73xx-core.c379 return vsc->ops->read(vsc, block, subblock, reg, val); in vsc73xx_read()
385 return vsc->ops->write(vsc, block, subblock, reg, val); in vsc73xx_write()
693 val = (vsc->addr[5] << 16) | (vsc->addr[4] << 8) | (vsc->addr[3]); in vsc73xx_init_port()
698 val = (vsc->addr[2] << 16) | (vsc->addr[1] << 8) | (vsc->addr[0]); in vsc73xx_init_port()
1124 vsc->gc.parent = vsc->dev; in vsc73xx_gpio_probe()
1126 vsc->gc.of_node = vsc->dev->of_node; in vsc73xx_gpio_probe()
1135 ret = devm_gpiochip_add_data(vsc->dev, &vsc->gc, vsc); in vsc73xx_gpio_probe()
1180 vsc->addr[0], vsc->addr[1], vsc->addr[2], in vsc73xx_probe()
1181 vsc->addr[3], vsc->addr[4], vsc->addr[5]); in vsc73xx_probe()
1195 if (!vsc->ds) in vsc73xx_probe()
[all …]
/dports/www/varnish6/varnish-cache-varnish-6.6.2/lib/libvarnishapi/
H A Dvsc.c97 struct vsc { struct
128 struct vsc * argument
131 struct vsc *vsc; in VSC_New() local
165 vsc_f_arg(struct vsc *vsc, const char *opt) in vsc_f_arg() argument
179 VSC_Arg(struct vsc *vsc, char arg, const char *opt) in VSC_Arg() argument
189 case 'r': vsc->raw = !vsc->raw; return (1); in VSC_Arg()
195 VSC_IsRaw(const struct vsc *vsc) in VSC_IsRaw() argument
206 vsc_filter(const struct vsc *vsc, const char *nm) in vsc_filter() argument
421 pp->point.priv = vsc->fnew(vsc->priv, &pp->point); in vsc_expose()
423 vsc->fdestroy(vsc->priv, &pp->point); in vsc_expose()
[all …]
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/sofia-sip/libsofia-sip-ua/tport/
H A Dtport_stub_sigcomp.c64 if (vsc == NULL) in tport_init_compressor()
110 if (vsc) in tport_comp_name()
122 if (vsc) in tport_can_recv_sigcomp()
133 if (vsc) in tport_can_send_sigcomp()
152 if (vsc) in tport_set_compression()
165 if (vsc) in tport_sigcomp_option()
180 if (!vsc) in tport_sigcomp_assign()
198 if (!vsc) in tport_sigcomp_assign_if_needed()
234 if (vsc) in tport_sigcomp_accept()
271 if (vsc) in tport_recv_comp_dgram()
[all …]
/dports/net/sofia-sip/sofia-sip-1.13.4/libsofia-sip-ua/tport/
H A Dtport_stub_sigcomp.c64 if (vsc == NULL) in tport_init_compressor()
110 if (vsc) in tport_comp_name()
122 if (vsc) in tport_can_recv_sigcomp()
133 if (vsc) in tport_can_send_sigcomp()
152 if (vsc) in tport_set_compression()
165 if (vsc) in tport_sigcomp_option()
180 if (!vsc) in tport_sigcomp_assign()
198 if (!vsc) in tport_sigcomp_assign_if_needed()
234 if (vsc) in tport_sigcomp_accept()
271 if (vsc) in tport_recv_comp_dgram()
[all …]
/dports/emulators/qemu/qemu-6.2.0/hw/scsi/
H A Dvhost-scsi-common.c55 assert(vsc->inflight == NULL); in vhost_scsi_common_start()
65 ret = vhost_dev_set_inflight(&vsc->dev, vsc->inflight); in vhost_scsi_common_start()
82 vhost_virtqueue_mask(&vsc->dev, vdev, vsc->dev.vq_index + i, false); in vhost_scsi_common_start()
88 g_free(vsc->inflight); in vhost_scsi_common_start()
89 vsc->inflight = NULL; in vhost_scsi_common_start()
104 vhost_dev_stop(&vsc->dev, vdev); in vhost_scsi_common_stop()
114 if (vsc->inflight) { in vhost_scsi_common_stop()
116 vsc->inflight = NULL; in vhost_scsi_common_stop()
128 features |= vsc->host_features; in vhost_scsi_common_get_features()
130 return vhost_get_features(&vsc->dev, vsc->feature_bits, features); in vhost_scsi_common_get_features()
[all …]
H A Dvhost-scsi.c110 vhost_scsi_common_stop(vsc);
146 VHostSCSICommon *vsc = opaque;
150 assert(!vsc->dev.started);
204 if (!vsc->migratable) {
216 vsc->dev.vqs = g_new0(struct vhost_virtqueue, vsc->dev.nvqs);
217 vsc->dev.vq_index = 0;
227 vsc->channel = 0;
228 vsc->lun = 0;
235 g_free(vsc->dev.vqs);
236 if (!vsc->migratable) {
[all …]
/dports/emulators/qemu60/qemu-6.0.0/hw/scsi/
H A Dvhost-scsi-common.c55 assert(vsc->inflight == NULL); in vhost_scsi_common_start()
65 ret = vhost_dev_set_inflight(&vsc->dev, vsc->inflight); in vhost_scsi_common_start()
82 vhost_virtqueue_mask(&vsc->dev, vdev, vsc->dev.vq_index + i, false); in vhost_scsi_common_start()
88 g_free(vsc->inflight); in vhost_scsi_common_start()
89 vsc->inflight = NULL; in vhost_scsi_common_start()
104 vhost_dev_stop(&vsc->dev, vdev); in vhost_scsi_common_stop()
114 if (vsc->inflight) { in vhost_scsi_common_stop()
116 vsc->inflight = NULL; in vhost_scsi_common_stop()
128 features |= vsc->host_features; in vhost_scsi_common_get_features()
130 return vhost_get_features(&vsc->dev, vsc->feature_bits, features); in vhost_scsi_common_get_features()
[all …]
H A Dvhost-scsi.c110 vhost_scsi_common_stop(vsc); in vhost_scsi_stop()
146 VHostSCSICommon *vsc = opaque; in vhost_scsi_pre_save() local
150 assert(!vsc->dev.started); in vhost_scsi_pre_save()
204 if (!vsc->migratable) { in vhost_scsi_realize()
217 vsc->dev.vqs = g_new0(struct vhost_virtqueue, vsc->dev.nvqs); in vhost_scsi_realize()
218 vsc->dev.vq_index = 0; in vhost_scsi_realize()
230 vsc->channel = 0; in vhost_scsi_realize()
231 vsc->lun = 0; in vhost_scsi_realize()
238 if (!vsc->migratable) { in vhost_scsi_realize()
241 g_free(vsc->dev.vqs); in vhost_scsi_realize()
[all …]
/dports/emulators/qemu5/qemu-5.2.0/hw/scsi/
H A Dvhost-scsi-common.c55 assert(vsc->inflight == NULL); in vhost_scsi_common_start()
65 ret = vhost_dev_set_inflight(&vsc->dev, vsc->inflight); in vhost_scsi_common_start()
82 vhost_virtqueue_mask(&vsc->dev, vdev, vsc->dev.vq_index + i, false); in vhost_scsi_common_start()
88 g_free(vsc->inflight); in vhost_scsi_common_start()
89 vsc->inflight = NULL; in vhost_scsi_common_start()
104 vhost_dev_stop(&vsc->dev, vdev); in vhost_scsi_common_stop()
114 if (vsc->inflight) { in vhost_scsi_common_stop()
116 vsc->inflight = NULL; in vhost_scsi_common_stop()
128 features |= vsc->host_features; in vhost_scsi_common_get_features()
130 return vhost_get_features(&vsc->dev, vsc->feature_bits, features); in vhost_scsi_common_get_features()
[all …]
H A Dvhost-scsi.c110 vhost_scsi_common_stop(vsc); in vhost_scsi_stop()
146 VHostSCSICommon *vsc = opaque; in vhost_scsi_pre_save() local
150 assert(!vsc->dev.started); in vhost_scsi_pre_save()
204 if (!vsc->migratable) { in vhost_scsi_realize()
217 vsc->dev.vqs = g_new0(struct vhost_virtqueue, vsc->dev.nvqs); in vhost_scsi_realize()
218 vsc->dev.vq_index = 0; in vhost_scsi_realize()
230 vsc->channel = 0; in vhost_scsi_realize()
231 vsc->lun = 0; in vhost_scsi_realize()
238 if (!vsc->migratable) { in vhost_scsi_realize()
241 g_free(vsc->dev.vqs); in vhost_scsi_realize()
[all …]
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/hw/scsi/
H A Dvhost-scsi-common.c55 assert(vsc->inflight == NULL);
65 ret = vhost_dev_set_inflight(&vsc->dev, vsc->inflight);
82 vhost_virtqueue_mask(&vsc->dev, vdev, vsc->dev.vq_index + i, false);
88 g_free(vsc->inflight);
89 vsc->inflight = NULL;
104 vhost_dev_stop(&vsc->dev, vdev);
114 if (vsc->inflight) {
116 vsc->inflight = NULL;
128 features |= vsc->host_features;
130 return vhost_get_features(&vsc->dev, vsc->feature_bits, features);
[all …]
H A Dvhost-scsi.c110 vhost_scsi_common_stop(vsc); in vhost_scsi_stop()
146 VHostSCSICommon *vsc = opaque; in vhost_scsi_pre_save() local
150 assert(!vsc->dev.started); in vhost_scsi_pre_save()
204 if (!vsc->migratable) { in vhost_scsi_realize()
216 vsc->dev.vqs = g_new0(struct vhost_virtqueue, vsc->dev.nvqs); in vhost_scsi_realize()
217 vsc->dev.vq_index = 0; in vhost_scsi_realize()
227 vsc->channel = 0; in vhost_scsi_realize()
228 vsc->lun = 0; in vhost_scsi_realize()
235 g_free(vsc->dev.vqs); in vhost_scsi_realize()
236 if (!vsc->migratable) { in vhost_scsi_realize()
[all …]
/dports/emulators/qemu42/qemu-4.2.1/hw/scsi/
H A Dvhost-scsi.c110 vhost_scsi_common_stop(vsc); in vhost_scsi_stop()
146 VHostSCSICommon *vsc = opaque; in vhost_scsi_pre_save() local
150 assert(!vsc->dev.started); in vhost_scsi_pre_save()
204 if (!vsc->migratable) { in vhost_scsi_realize()
219 vsc->dev.vqs = g_new0(struct vhost_virtqueue, vsc->dev.nvqs); in vhost_scsi_realize()
220 vsc->dev.vq_index = 0; in vhost_scsi_realize()
232 vsc->channel = 0; in vhost_scsi_realize()
233 vsc->lun = 0; in vhost_scsi_realize()
240 if (!vsc->migratable) { in vhost_scsi_realize()
243 g_free(vsc->dev.vqs); in vhost_scsi_realize()
[all …]
H A Dvhost-scsi-common.c28 int vhost_scsi_common_start(VHostSCSICommon *vsc) in vhost_scsi_common_start() argument
31 VirtIODevice *vdev = VIRTIO_DEVICE(vsc); in vhost_scsi_common_start()
52 ret = vhost_dev_start(&vsc->dev, vdev); in vhost_scsi_common_start()
62 for (i = 0; i < vsc->dev.nvqs; i++) { in vhost_scsi_common_start()
63 vhost_virtqueue_mask(&vsc->dev, vdev, vsc->dev.vq_index + i, false); in vhost_scsi_common_start()
71 vhost_dev_disable_notifiers(&vsc->dev, vdev); in vhost_scsi_common_start()
77 VirtIODevice *vdev = VIRTIO_DEVICE(vsc); in vhost_scsi_common_stop()
82 vhost_dev_stop(&vsc->dev, vdev); in vhost_scsi_common_stop()
101 features |= vsc->host_features; in vhost_scsi_common_get_features()
103 return vhost_get_features(&vsc->dev, vsc->feature_bits, features); in vhost_scsi_common_get_features()
[all …]
/dports/emulators/qemu-utils/qemu-4.2.1/hw/scsi/
H A Dvhost-scsi.c110 vhost_scsi_common_stop(vsc); in vhost_scsi_stop()
146 VHostSCSICommon *vsc = opaque; in vhost_scsi_pre_save() local
150 assert(!vsc->dev.started); in vhost_scsi_pre_save()
204 if (!vsc->migratable) { in vhost_scsi_realize()
219 vsc->dev.vqs = g_new0(struct vhost_virtqueue, vsc->dev.nvqs); in vhost_scsi_realize()
220 vsc->dev.vq_index = 0; in vhost_scsi_realize()
232 vsc->channel = 0; in vhost_scsi_realize()
233 vsc->lun = 0; in vhost_scsi_realize()
240 if (!vsc->migratable) { in vhost_scsi_realize()
243 g_free(vsc->dev.vqs); in vhost_scsi_realize()
[all …]
H A Dvhost-scsi-common.c28 int vhost_scsi_common_start(VHostSCSICommon *vsc) in vhost_scsi_common_start() argument
31 VirtIODevice *vdev = VIRTIO_DEVICE(vsc); in vhost_scsi_common_start()
52 ret = vhost_dev_start(&vsc->dev, vdev); in vhost_scsi_common_start()
62 for (i = 0; i < vsc->dev.nvqs; i++) { in vhost_scsi_common_start()
63 vhost_virtqueue_mask(&vsc->dev, vdev, vsc->dev.vq_index + i, false); in vhost_scsi_common_start()
71 vhost_dev_disable_notifiers(&vsc->dev, vdev); in vhost_scsi_common_start()
77 VirtIODevice *vdev = VIRTIO_DEVICE(vsc); in vhost_scsi_common_stop()
82 vhost_dev_stop(&vsc->dev, vdev); in vhost_scsi_common_stop()
101 features |= vsc->host_features; in vhost_scsi_common_get_features()
103 return vhost_get_features(&vsc->dev, vsc->feature_bits, features); in vhost_scsi_common_get_features()
[all …]
/dports/emulators/qemu-guest-agent/qemu-5.0.1/hw/scsi/
H A Dvhost-scsi.c110 vhost_scsi_common_stop(vsc); in vhost_scsi_stop()
146 VHostSCSICommon *vsc = opaque; in vhost_scsi_pre_save() local
150 assert(!vsc->dev.started); in vhost_scsi_pre_save()
204 if (!vsc->migratable) { in vhost_scsi_realize()
219 vsc->dev.vqs = g_new0(struct vhost_virtqueue, vsc->dev.nvqs); in vhost_scsi_realize()
220 vsc->dev.vq_index = 0; in vhost_scsi_realize()
232 vsc->channel = 0; in vhost_scsi_realize()
233 vsc->lun = 0; in vhost_scsi_realize()
240 if (!vsc->migratable) { in vhost_scsi_realize()
243 g_free(vsc->dev.vqs); in vhost_scsi_realize()
[all …]
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/hw/scsi/
H A Dvhost-scsi.c110 vhost_scsi_common_stop(vsc); in vhost_scsi_stop()
146 VHostSCSICommon *vsc = opaque; in vhost_scsi_pre_save() local
150 assert(!vsc->dev.started); in vhost_scsi_pre_save()
204 if (!vsc->migratable) { in vhost_scsi_realize()
219 vsc->dev.vqs = g_new0(struct vhost_virtqueue, vsc->dev.nvqs); in vhost_scsi_realize()
220 vsc->dev.vq_index = 0; in vhost_scsi_realize()
232 vsc->channel = 0; in vhost_scsi_realize()
233 vsc->lun = 0; in vhost_scsi_realize()
240 if (!vsc->migratable) { in vhost_scsi_realize()
243 g_free(vsc->dev.vqs); in vhost_scsi_realize()
[all …]
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/hw/scsi/
H A Dvhost-scsi.c97 vhost_scsi_common_stop(vsc); in vhost_scsi_start()
108 vhost_scsi_common_stop(vsc); in vhost_scsi_stop()
117 if (vsc->dev.started == start) { in vhost_scsi_set_status()
186 vsc->dev.vqs = g_new(struct vhost_virtqueue, vsc->dev.nvqs); in vhost_scsi_realize()
187 vsc->dev.vq_index = 0; in vhost_scsi_realize()
188 vsc->dev.backend_features = 0; in vhost_scsi_realize()
199 vsc->channel = 0; in vhost_scsi_realize()
200 vsc->lun = 0; in vhost_scsi_realize()
208 g_free(vsc->dev.vqs); in vhost_scsi_realize()
225 vhost_dev_cleanup(&vsc->dev); in vhost_scsi_unrealize()
[all …]
H A Dvhost-scsi-common.c27 int vhost_scsi_common_start(VHostSCSICommon *vsc) in vhost_scsi_common_start() argument
30 VirtIODevice *vdev = VIRTIO_DEVICE(vsc); in vhost_scsi_common_start()
51 ret = vhost_dev_start(&vsc->dev, vdev); in vhost_scsi_common_start()
61 for (i = 0; i < vsc->dev.nvqs; i++) { in vhost_scsi_common_start()
62 vhost_virtqueue_mask(&vsc->dev, vdev, vsc->dev.vq_index + i, false); in vhost_scsi_common_start()
70 vhost_dev_disable_notifiers(&vsc->dev, vdev); in vhost_scsi_common_start()
76 VirtIODevice *vdev = VIRTIO_DEVICE(vsc); in vhost_scsi_common_stop()
81 vhost_dev_stop(&vsc->dev, vdev); in vhost_scsi_common_stop()
100 features |= vsc->host_features; in vhost_scsi_common_get_features()
102 return vhost_get_features(&vsc->dev, vsc->feature_bits, features); in vhost_scsi_common_get_features()
[all …]
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/pci/
H A Dif_vioif.c524 sc->sc_virtio = vsc; in vioif_attach()
526 vsc->sc_child = self; in vioif_attach()
527 vsc->sc_ipl = IPL_NET; in vioif_attach()
531 vsc->sc_flags = 0; in vioif_attach()
607 vsc->sc_nvqs = 1; in vioif_attach()
618 vsc->sc_nvqs = 2; in vioif_attach()
642 vsc->sc_nvqs = 3; in vioif_attach()
689 virtio_free_vq(vsc, &sc->sc_vq[--vsc->sc_nvqs]); in vioif_attach()
757 virtio_reset(vsc); in vioif_stop()
766 virtio_negotiate_features(vsc, vsc->sc_features); in vioif_stop()
[all …]
H A Dviornd.c110 virtio_enqueue_abort(vsc, vq, slot); in viornd_get()
140 vsc->sc_vqs = &sc->sc_vq; in viornd_attach()
141 vsc->sc_nvqs = 1; in viornd_attach()
142 vsc->sc_config_change = NULL; in viornd_attach()
143 if (vsc->sc_child != NULL) in viornd_attach()
145 vsc->sc_child = self; in viornd_attach()
146 vsc->sc_ipl = IPL_NET; in viornd_attach()
147 vsc->sc_intrhand = virtio_vq_intr; in viornd_attach()
148 sc->sc_virtio = vsc; in viornd_attach()
203 virtio_start_vq_intr(vsc, &sc->sc_vq); in viornd_attach()
[all …]
/dports/science/cdk/cdk-cdk-2.3/base/test-core/src/test/java/org/openscience/cdk/graph/
H A DVertexShortCyclesTest.java46 int[][] paths = vsc.paths(); in paths_norbornane()
55 int[][] paths = vsc.paths(); in paths_bicyclo()
64 int[][] paths = vsc.paths(); in paths_napthalene()
73 int[][] paths = vsc.paths(); in paths_anthracene()
82 int[][] paths = vsc.paths(); in paths_cyclophane_even()
92 int[][] paths = vsc.paths(); in paths_cyclophane_odd()
102 int[][] paths = vsc.paths(); in size_norbornane()
110 assertThat(vsc.size(), is(3)); in size_bicyclo()
117 assertThat(vsc.size(), is(2)); in size_napthalene()
145 int[][] paths = vsc.paths(); in paths_cyclophanelike1()
[all …]

12345678910>>...73