/Linux-v4.19/arch/sparc/kernel/ |
D | viohs.c | 18 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 …]
|
/Linux-v4.19/drivers/block/ |
D | sunvdc.c | 55 struct vio_driver_state vio; member 90 static inline struct vdc_port *to_vdc_port(struct vio_driver_state *vio) in to_vdc_port() argument 92 return container_of(vio, struct vdc_port, vio); in to_vdc_port() 105 return port->vio.ver.major == major && port->vio.ver.minor >= minor; in vdc_version_supported() 172 struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_TX_RING]; in vdc_blk_queue_start() 185 static void vdc_finish(struct vio_driver_state *vio, int err, int waiting_for) in vdc_finish() argument 187 if (vio->cmp && in vdc_finish() 189 vio->cmp->waiting_for == waiting_for)) { in vdc_finish() 190 vio->cmp->err = err; in vdc_finish() 191 complete(&vio->cmp->com); in vdc_finish() [all …]
|
/Linux-v4.19/drivers/net/ethernet/sun/ |
D | sunvnet_common.c | 61 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 …]
|
D | sunvnet_common.h | 59 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() 146 int sunvnet_send_attr_common(struct vio_driver_state *vio); 147 int sunvnet_handle_attr_common(struct vio_driver_state *vio, void *arg); 148 void sunvnet_handshake_complete_common(struct vio_driver_state *vio);
|
D | ldmvsw.c | 131 struct vio_driver_state *vio = &port->vio; in ldmvsw_open() local 134 vio_link_state_change(vio, LDC_EVENT_RESET); in ldmvsw_open() 136 vio_port_up(vio); in ldmvsw_open() 349 err = vio_driver_init(&port->vio, vdev, VDEV_NETWORK, in vsw_port_probe() 355 err = vio_ldc_alloc(&port->vio, &vsw_ldc_cfg, port); in vsw_port_probe() 381 vio_port_up(&port->vio); in vsw_port_probe() 401 vio_ldc_free(&port->vio); in vsw_port_probe() 414 del_timer_sync(&port->vio.timer); in vsw_port_remove() 428 vio_ldc_free(&port->vio); in vsw_port_remove() 461 MODULE_DEVICE_TABLE(vio, vsw_port_match);
|
D | sunvnet.c | 459 err = vio_driver_init(&port->vio, vdev, VDEV_NETWORK, in vnet_port_probe() 465 err = vio_ldc_alloc(&port->vio, &vnet_ldc_cfg, port); in vnet_port_probe() 500 vio_port_up(&port->vio); in vnet_port_probe() 519 del_timer_sync(&port->vio.timer); in vnet_port_remove() 531 vio_ldc_free(&port->vio); in vnet_port_remove() 546 MODULE_DEVICE_TABLE(vio, vnet_port_match);
|
/Linux-v4.19/arch/sparc/include/asm/ |
D | vio.h | 379 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 …]
|
/Linux-v4.19/drivers/tty/ |
D | vcc.c | 28 struct vio_driver_state vio; member 263 struct vio_driver_state *vio = &port->vio; in vcc_kick_rx() local 268 disable_irq_nosync(vio->vdev->rx_irq); in vcc_kick_rx() 315 struct vio_driver_state *vio = &port->vio; in vcc_ldc_read() local 322 rv = ldc_rx_reset(vio->lp); in vcc_ldc_read() 334 vccdbgl(vio->lp); in vcc_ldc_read() 336 rv = ldc_read(vio->lp, &pkt, sizeof(pkt)); in vcc_ldc_read() 367 struct vio_driver_state *vio; in vcc_rx_timer() local 374 vio = &port->vio; in vcc_rx_timer() 376 enable_irq(vio->vdev->rx_irq); in vcc_rx_timer() [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/input/touchscreen/ |
D | tsc2005.txt | 11 - vio-supply : Regulator specifier 26 vio-supply = <&vio>; 49 vio-supply = <&vio>;
|
D | zet6223.txt | 10 - vio-supply : Specification for VIO supply (1.8V or 3.3V,
|
/Linux-v4.19/drivers/staging/greybus/ |
D | arche-apb-ctrl.c | 39 struct regulator *vio; member 94 if (!IS_ERR(apb->vio)) { in coldboot_seq() 95 ret = regulator_enable(apb->vio); in coldboot_seq() 134 ret = regulator_enable(apb->vio); in fw_flashing_seq() 216 if (!IS_ERR(apb->vio) && regulator_is_enabled(apb->vio) > 0) in poweroff_seq() 217 regulator_disable(apb->vio); in poweroff_seq() 392 apb->vio = devm_regulator_get(dev, "vio"); in apb_ctrl_get_devtree_data() 393 if (IS_ERR(apb->vio)) in apb_ctrl_get_devtree_data()
|
/Linux-v4.19/Documentation/devicetree/bindings/media/ |
D | si4713.txt | 16 - vio-supply: phandle for Vio regulator 27 vio-supply = <&vio>;
|
/Linux-v4.19/drivers/net/wireless/ti/wl1251/ |
D | spi.c | 319 wl->vio = devm_regulator_get(&spi->dev, "vio"); in wl1251_spi_probe() 320 if (IS_ERR(wl->vio)) { in wl1251_spi_probe() 321 ret = PTR_ERR(wl->vio); in wl1251_spi_probe() 326 ret = regulator_enable(wl->vio); in wl1251_spi_probe() 337 regulator_disable(wl->vio); in wl1251_spi_probe() 349 regulator_disable(wl->vio); in wl1251_spi_remove()
|
/Linux-v4.19/Documentation/devicetree/bindings/net/wireless/ |
D | ti,wl1251.txt | 11 - vio-supply : phandle to regulator providing VIO 34 vio-supply = <&vio>;
|
/Linux-v4.19/drivers/input/touchscreen/ |
D | tsc200x-core.c | 113 struct regulator *vio; member 499 ts->vio = devm_regulator_get(dev, "vio"); in tsc200x_probe() 500 if (IS_ERR(ts->vio)) { in tsc200x_probe() 501 error = PTR_ERR(ts->vio); in tsc200x_probe() 558 error = regulator_enable(ts->vio); in tsc200x_probe() 583 regulator_disable(ts->vio); in tsc200x_probe() 594 regulator_disable(ts->vio); in tsc200x_remove()
|
/Linux-v4.19/drivers/nvme/host/ |
D | lightnvm.c | 874 struct nvm_user_vio vio; in nvme_nvm_submit_vio() local 879 if (copy_from_user(&vio, uvio, sizeof(vio))) in nvme_nvm_submit_vio() 881 if (vio.flags) in nvme_nvm_submit_vio() 885 c.ph_rw.opcode = vio.opcode; in nvme_nvm_submit_vio() 887 c.ph_rw.control = cpu_to_le16(vio.control); in nvme_nvm_submit_vio() 888 c.ph_rw.length = cpu_to_le16(vio.nppas); in nvme_nvm_submit_vio() 890 length = (vio.nppas + 1) << ns->lba_shift; in nvme_nvm_submit_vio() 893 (void __user *)(uintptr_t)vio.addr, length, in nvme_nvm_submit_vio() 894 (void __user *)(uintptr_t)vio.metadata, in nvme_nvm_submit_vio() 895 vio.metadata_len, in nvme_nvm_submit_vio() [all …]
|
/Linux-v4.19/arch/arm/boot/dts/ |
D | twl4030.dtsi | 62 vio: regulator-vio { label 63 compatible = "ti,twl4030-vio";
|
D | omap3-devkit8000-lcd-common.dtsi | 43 &vio { 53 vcc-supply = <&vio>;
|
D | omap3-n900.dts | 457 &vio { 571 IOVDD-supply = <&vio>; 572 DVDD-supply = <&vio>; 584 IOVDD-supply = <&vio>; 585 DVDD-supply = <&vio>; 695 vio-supply = <&vio>; 725 Vdd_IO-supply = <&vio>; 958 vio-supply = <&vio>; 1001 vio-supply = <&vio>;
|
/Linux-v4.19/drivers/media/radio/si4713/ |
D | si4713.c | 374 if (sdev->vio) { in si4713_powerup() 375 err = regulator_enable(sdev->vio); in si4713_powerup() 415 if (sdev->vio) { in si4713_powerup() 416 err = regulator_disable(sdev->vio); in si4713_powerup() 456 if (sdev->vio) { in si4713_powerdown() 457 err = regulator_disable(sdev->vio); in si4713_powerdown() 1475 sdev->vio = devm_regulator_get_optional(&client->dev, "vio"); in si4713_probe() 1476 if (IS_ERR(sdev->vio)) { in si4713_probe() 1477 rval = PTR_ERR(sdev->vio); in si4713_probe() 1482 sdev->vio = NULL; in si4713_probe()
|
/Linux-v4.19/Documentation/devicetree/bindings/mfd/ |
D | twl6040.txt | 17 - vio-supply: Regulator for the twl6040 VIO supply 49 vio-supply = <&v1v8>;
|
D | tps65910.txt | 23 tps65910: vrtc, vio, vdd1, vdd2, vdd3, vdig1, vdig2, vpll, vdac, vaux1, 25 tps65911: vrtc, vio, vdd1, vdd2, vddctrl, ldo1, ldo2, ldo3, ldo4, ldo5, 136 regulator-compatible = "vio";
|
/Linux-v4.19/Documentation/powerpc/ |
D | hvcs.txt | 254 Pow5:/sys/bus/vio/drivers/hvcs/30000004 # cat index 310 Pow5:/sys/bus/vio/drivers/hvcs/30000004 # cat vterm_state 313 Pow5:/sys/bus/vio/drivers/hvcs/30000004 # echo 0 > vterm_state 315 Pow5:/sys/bus/vio/drivers/hvcs/30000004 # cat vterm_state 324 Each vty-server has a sysfs entry in the /sys/devices/vio directory, which 328 Pow5:/sys/bus/vio/drivers/hvcs # ls 339 Pow5:/sys/bus/vio/drivers/hvcs # echo 1 > rescan 349 Pow5:/sys/bus/vio/drivers/hvcs/30000004 # ls 357 Pow5:/sys/bus/vio/drivers/hvcs/30000003 # cat name 364 Pow5:/sys/bus/vio/drivers/hvcs/30000004 # cat devspec [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/regulator/ |
D | twl-regulator.txt | 34 - "ti,twl6032-vio" for VIO SMPS 49 - "ti,twl4030-vio" for VIO LDO
|
/Linux-v4.19/drivers/char/hw_random/ |
D | pseries-rng.c | 79 MODULE_DEVICE_TABLE(vio, pseries_rng_driver_ids);
|