Home
last modified time | relevance | path

Searched refs:vio (Results 1 – 25 of 102) sorted by relevance

12345

/OK3568_Linux_fs/kernel/arch/sparc/kernel/
H A Dviohs.c18 int vio_ldc_send(struct vio_driver_state *vio, void *data, int len) in vio_ldc_send() argument
24 err = ldc_write(vio->lp, data, len); in vio_ldc_send()
34 static int send_ctrl(struct vio_driver_state *vio, in send_ctrl() argument
37 tag->sid = vio_send_sid(vio); in send_ctrl()
38 return vio_ldc_send(vio, tag, len); in send_ctrl()
48 static int send_version(struct vio_driver_state *vio, u16 major, u16 minor) in send_version() argument
52 vio->_local_sid = (u32) sched_clock(); in send_version()
58 pkt.dev_class = vio->dev_class; in send_version()
61 major, minor, vio->dev_class); in send_version()
63 return send_ctrl(vio, &pkt.tag, sizeof(pkt)); in send_version()
[all …]
/OK3568_Linux_fs/kernel/drivers/block/
H A Dsunvdc.c58 struct vio_driver_state vio; member
96 static inline struct vdc_port *to_vdc_port(struct vio_driver_state *vio) in to_vdc_port() argument
98 return container_of(vio, struct vdc_port, vio); in to_vdc_port()
111 return port->vio.ver.major == major && port->vio.ver.minor >= minor; in vdc_version_supported()
179 struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_TX_RING]; in vdc_blk_queue_start()
189 static void vdc_finish(struct vio_driver_state *vio, int err, int waiting_for) in vdc_finish() argument
191 if (vio->cmp && in vdc_finish()
193 vio->cmp->waiting_for == waiting_for)) { in vdc_finish()
194 vio->cmp->err = err; in vdc_finish()
195 complete(&vio->cmp->com); in vdc_finish()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sun/
H A Dsunvnet_common.c61 ldc_disconnect(port->vio.lp); in vnet_handle_unknown()
68 int sunvnet_send_attr_common(struct vio_driver_state *vio) in sunvnet_send_attr_common() argument
70 struct vnet_port *port = to_vnet_port(vio); in sunvnet_send_attr_common()
76 err = vnet_port_alloc_tx_ring(to_vnet_port(vio)); in sunvnet_send_attr_common()
84 pkt.tag.sid = vio_send_sid(vio); in sunvnet_send_attr_common()
85 if (vio_version_before(vio, 1, 2)) in sunvnet_send_attr_common()
93 if (vio_version_after(vio, 1, 3)) { in sunvnet_send_attr_common()
101 if (vio_version_after_eq(vio, 1, 6)) in sunvnet_send_attr_common()
103 } else if (vio_version_before(vio, 1, 3)) { in sunvnet_send_attr_common()
110 if (vio_version_after_eq(vio, 1, 7) && port->tso) { in sunvnet_send_attr_common()
[all …]
H A Dsunvnet_common.h59 struct vio_driver_state vio; member
93 static inline struct vnet_port *to_vnet_port(struct vio_driver_state *vio) in to_vnet_port() argument
95 return container_of(vio, struct vnet_port, vio); in to_vnet_port()
147 int sunvnet_send_attr_common(struct vio_driver_state *vio);
148 int sunvnet_handle_attr_common(struct vio_driver_state *vio, void *arg);
149 void sunvnet_handshake_complete_common(struct vio_driver_state *vio);
H A Dldmvsw.c130 struct vio_driver_state *vio = &port->vio; in ldmvsw_open() local
133 vio_link_state_change(vio, LDC_EVENT_RESET); in ldmvsw_open()
135 vio_port_up(vio); in ldmvsw_open()
348 err = vio_driver_init(&port->vio, vdev, VDEV_NETWORK, in vsw_port_probe()
354 err = vio_ldc_alloc(&port->vio, &vsw_ldc_cfg, port); in vsw_port_probe()
380 vio_port_up(&port->vio); in vsw_port_probe()
400 vio_ldc_free(&port->vio); in vsw_port_probe()
413 del_timer_sync(&port->vio.timer); in vsw_port_remove()
427 vio_ldc_free(&port->vio); in vsw_port_remove()
460 MODULE_DEVICE_TABLE(vio, vsw_port_match);
H A Dsunvnet.c458 err = vio_driver_init(&port->vio, vdev, VDEV_NETWORK, in vnet_port_probe()
464 err = vio_ldc_alloc(&port->vio, &vnet_ldc_cfg, port); in vnet_port_probe()
499 vio_port_up(&port->vio); in vnet_port_probe()
518 del_timer_sync(&port->vio.timer); in vnet_port_remove()
530 vio_ldc_free(&port->vio); in vnet_port_remove()
545 MODULE_DEVICE_TABLE(vio, vnet_port_match);
/OK3568_Linux_fs/kernel/arch/sparc/include/asm/
H A Dvio.h379 int (*send_attr)(struct vio_driver_state *vio);
380 int (*handle_attr)(struct vio_driver_state *vio, void *pkt);
381 void (*handshake_complete)(struct vio_driver_state *vio);
444 static inline bool vio_version_before(struct vio_driver_state *vio, in vio_version_before() argument
447 u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; in vio_version_before()
453 static inline bool vio_version_after(struct vio_driver_state *vio, in vio_version_after() argument
456 u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; in vio_version_after()
462 static inline bool vio_version_after_eq(struct vio_driver_state *vio, in vio_version_after_eq() argument
465 u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; in vio_version_after_eq()
472 do { if (vio->debug & VIO_DEBUG_##TYPE) \
[all …]
/OK3568_Linux_fs/kernel/drivers/tty/
H A Dvcc.c29 struct vio_driver_state vio; member
264 struct vio_driver_state *vio = &port->vio; in vcc_kick_rx() local
269 disable_irq_nosync(vio->vdev->rx_irq); in vcc_kick_rx()
316 struct vio_driver_state *vio = &port->vio; in vcc_ldc_read() local
323 rv = ldc_rx_reset(vio->lp); in vcc_ldc_read()
335 vccdbgl(vio->lp); in vcc_ldc_read()
337 rv = ldc_read(vio->lp, &pkt, sizeof(pkt)); in vcc_ldc_read()
368 struct vio_driver_state *vio; in vcc_rx_timer() local
375 vio = &port->vio; in vcc_rx_timer()
377 enable_irq(vio->vdev->rx_irq); in vcc_rx_timer()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/touchscreen/
H A Dtsc2005.txt11 - vio-supply : Regulator specifier
26 vio-supply = <&vio>;
49 vio-supply = <&vio>;
/OK3568_Linux_fs/kernel/drivers/staging/greybus/
H A Darche-apb-ctrl.c37 struct regulator *vio; member
91 if (!IS_ERR(apb->vio)) { in coldboot_seq()
92 ret = regulator_enable(apb->vio); in coldboot_seq()
131 ret = regulator_enable(apb->vio); in fw_flashing_seq()
211 if (!IS_ERR(apb->vio) && regulator_is_enabled(apb->vio) > 0) in poweroff_seq()
212 regulator_disable(apb->vio); in poweroff_seq()
365 apb->vio = devm_regulator_get(dev, "vio"); in apb_ctrl_get_devtree_data()
366 if (IS_ERR(apb->vio)) in apb_ctrl_get_devtree_data()
/OK3568_Linux_fs/kernel/drivers/iio/light/
H A Dgp2ap002.c144 struct regulator *vio; member
529 gp2ap002->vio = devm_regulator_get(dev, "vio"); in gp2ap002_probe()
530 if (IS_ERR(gp2ap002->vio)) { in gp2ap002_probe()
532 return PTR_ERR(gp2ap002->vio); in gp2ap002_probe()
548 ret = regulator_set_voltage(gp2ap002->vio, 1650000, ret); in gp2ap002_probe()
559 ret = regulator_enable(gp2ap002->vio); in gp2ap002_probe()
621 regulator_disable(gp2ap002->vio); in gp2ap002_probe()
637 regulator_disable(gp2ap002->vio); in gp2ap002_remove()
662 regulator_disable(gp2ap002->vio); in gp2ap002_runtime_suspend()
679 ret = regulator_enable(gp2ap002->vio); in gp2ap002_runtime_resume()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ti/wl1251/
H A Dspi.c305 wl->vio = devm_regulator_get(&spi->dev, "vio"); in wl1251_spi_probe()
306 if (IS_ERR(wl->vio)) { in wl1251_spi_probe()
307 ret = PTR_ERR(wl->vio); in wl1251_spi_probe()
312 ret = regulator_enable(wl->vio); in wl1251_spi_probe()
323 regulator_disable(wl->vio); in wl1251_spi_probe()
335 regulator_disable(wl->vio); in wl1251_spi_remove()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/
H A Dsi4713.txt16 - vio-supply: phandle for Vio regulator
27 vio-supply = <&vio>;
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/wireless/
H A Dti,wl1251.txt11 - vio-supply : phandle to regulator providing VIO
35 vio-supply = <&vio>;
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A Dtsc200x-core.c105 struct regulator *vio; member
491 ts->vio = devm_regulator_get(dev, "vio"); in tsc200x_probe()
492 if (IS_ERR(ts->vio)) { in tsc200x_probe()
493 error = PTR_ERR(ts->vio); in tsc200x_probe()
550 error = regulator_enable(ts->vio); in tsc200x_probe()
575 regulator_disable(ts->vio); in tsc200x_probe()
586 regulator_disable(ts->vio); in tsc200x_remove()
/OK3568_Linux_fs/kernel/drivers/nvme/host/
H A Dlightnvm.c856 struct nvm_user_vio vio; in nvme_nvm_submit_vio() local
861 if (copy_from_user(&vio, uvio, sizeof(vio))) in nvme_nvm_submit_vio()
863 if (vio.flags) in nvme_nvm_submit_vio()
867 c.ph_rw.opcode = vio.opcode; in nvme_nvm_submit_vio()
869 c.ph_rw.control = cpu_to_le16(vio.control); in nvme_nvm_submit_vio()
870 c.ph_rw.length = cpu_to_le16(vio.nppas); in nvme_nvm_submit_vio()
872 length = (vio.nppas + 1) << ns->lba_shift; in nvme_nvm_submit_vio()
875 (void __user *)(uintptr_t)vio.addr, length, in nvme_nvm_submit_vio()
876 (void __user *)(uintptr_t)vio.metadata, in nvme_nvm_submit_vio()
877 vio.metadata_len, in nvme_nvm_submit_vio()
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dtwl4030.dtsi59 vio: regulator-vio { label
60 compatible = "ti,twl4030-vio";
H A Domap3-devkit8000-lcd-common.dtsi40 &vio {
50 vcc-supply = <&vio>;
H A Domap3-n900.dts473 &vio {
592 IOVDD-supply = <&vio>;
593 DVDD-supply = <&vio>;
605 IOVDD-supply = <&vio>;
606 DVDD-supply = <&vio>;
745 vio-supply = <&vio>;
775 Vdd_IO-supply = <&vio>;
1016 vio-supply = <&vio>;
1059 vio-supply = <&vio>;
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dtwl4030.dtsi60 vio: regulator-vio { label
61 compatible = "ti,twl4030-vio";
/OK3568_Linux_fs/buildroot/package/lshw/
H A D0001-Fix-musl-build-basename-is-in-libgen.h.patch56 if (bustype == "vio")
57 - return string("vio@") + basename(path.c_str());
58 + return string("vio@") + basename(const_cast<char*>(path.c_str()));
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/lshw/files/
H A D0001-Fix-musl-build.patch80 if (bustype == "vio")
81 - return string("vio@") + basename(path.c_str());
82 + return string("vio@") + basename(const_cast<char*>(path.c_str()));
/OK3568_Linux_fs/kernel/drivers/media/radio/si4713/
H A Dsi4713.c365 if (sdev->vio) { in si4713_powerup()
366 err = regulator_enable(sdev->vio); in si4713_powerup()
406 if (sdev->vio) { in si4713_powerup()
407 err = regulator_disable(sdev->vio); in si4713_powerup()
447 if (sdev->vio) { in si4713_powerdown()
448 err = regulator_disable(sdev->vio); in si4713_powerdown()
1465 sdev->vio = devm_regulator_get_optional(&client->dev, "vio"); in si4713_probe()
1466 if (IS_ERR(sdev->vio)) { in si4713_probe()
1467 rval = PTR_ERR(sdev->vio); in si4713_probe()
1472 sdev->vio = NULL; in si4713_probe()
/OK3568_Linux_fs/buildroot/package/oracle-mysql/
H A D0007-dont-install-in-mysql-directory.patch159 diff -Nrup mysql-5.1.73.orig/vio/Makefile.am mysql-5.1.73/vio/Makefile.am
160 --- mysql-5.1.73.orig/vio/Makefile.am 2013-11-04 19:52:27.000000000 +0100
161 +++ mysql-5.1.73/vio/Makefile.am 2015-12-14 00:34:58.567937603 +0100
/OK3568_Linux_fs/kernel/Documentation/powerpc/
H A Dhvcs.rst257 Pow5:/sys/bus/vio/drivers/hvcs/30000004 # cat index
313 Pow5:/sys/bus/vio/drivers/hvcs/30000004 # cat vterm_state
316 Pow5:/sys/bus/vio/drivers/hvcs/30000004 # echo 0 > vterm_state
318 Pow5:/sys/bus/vio/drivers/hvcs/30000004 # cat vterm_state
327 Each vty-server has a sysfs entry in the /sys/devices/vio directory, which
331 Pow5:/sys/bus/vio/drivers/hvcs # ls
342 Pow5:/sys/bus/vio/drivers/hvcs # echo 1 > rescan
352 Pow5:/sys/bus/vio/drivers/hvcs/30000004 # ls
360 Pow5:/sys/bus/vio/drivers/hvcs/30000003 # cat name
367 Pow5:/sys/bus/vio/drivers/hvcs/30000004 # cat devspec
[all …]

12345