| /linux/arch/sparc/kernel/ |
| H A 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/drivers/md/dm-vdo/ |
| H A D | vio.h | 26 struct vio vio; member 43 static inline struct vio *as_vio(struct vdo_completion *completion) in as_vio() 46 return container_of(completion, struct vio, completion); in as_vio() 56 static inline thread_id_t __must_check get_vio_bio_zone_thread_id(struct vio *vio) in get_vio_bio_zone_thread_id() argument 58 return vio->completion.vdo->thread_config.bio_threads[vio->bio_zone]; in get_vio_bio_zone_thread_id() 67 static inline void assert_vio_in_bio_zone(struct vio *vio) in assert_vio_in_bio_zone() argument 69 thread_id_t expected = get_vio_bio_zone_thread_id(vio); in assert_vio_in_bio_zone() 74 (unsigned long long) pbn_from_vio_bio(vio->bio), thread_id, in assert_vio_in_bio_zone() 82 unsigned int block_count, char *data, struct vio *vio); 86 char *data, struct vio **vio_ptr); [all …]
|
| H A D | recovery-journal.h | 126 struct vio vio; member 201 struct vio *flush_vio;
|
| H A D | Makefile | 12 data-vio.o \ 41 vio.o \
|
| H A D | dump.c | 193 if (data_vio->vio.completion.result != VDO_SUCCESS) in encode_vio_dump_flags() 233 vdo_dump_completion_to_buffer(&data_vio->vio.completion, in dump_data_vio()
|
| /linux/drivers/block/ |
| H A D | sunvdc.c | 57 struct vio_driver_state vio; member 95 static inline struct vdc_port *to_vdc_port(struct vio_driver_state *vio) in to_vdc_port() argument 97 return container_of(vio, struct vdc_port, vio); in to_vdc_port() 110 return port->vio.ver.major == major && port->vio.ver.minor >= minor; in vdc_version_supported() 180 struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_TX_RING]; in vdc_blk_queue_start() 190 static void vdc_finish(struct vio_driver_state *vio, int err, int waiting_for) in vdc_finish() argument 192 if (vio->cmp && in vdc_finish() 194 vio->cmp->waiting_for == waiting_for)) { in vdc_finish() 195 vio->cmp->err = err; in vdc_finish() 196 complete(&vio->cmp->com); in vdc_finish() [all …]
|
| /linux/drivers/net/ethernet/sun/ |
| H A D | sunvnet_common.c | 62 ldc_disconnect(port->vio.lp); in vnet_handle_unknown() 69 int sunvnet_send_attr_common(struct vio_driver_state *vio) in sunvnet_send_attr_common() argument 71 struct vnet_port *port = to_vnet_port(vio); in sunvnet_send_attr_common() 77 err = vnet_port_alloc_tx_ring(to_vnet_port(vio)); in sunvnet_send_attr_common() 85 pkt.tag.sid = vio_send_sid(vio); in sunvnet_send_attr_common() 86 if (vio_version_before(vio, 1, 2)) in sunvnet_send_attr_common() 94 if (vio_version_after(vio, 1, 3)) { in sunvnet_send_attr_common() 102 if (vio_version_after_eq(vio, 1, 6)) in sunvnet_send_attr_common() 104 } else if (vio_version_before(vio, 1, 3)) { in sunvnet_send_attr_common() 111 if (vio_version_after_eq(vio, 1, 7) && port->tso) { in sunvnet_send_attr_common() [all …]
|
| H A 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() 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 D | ldmvsw.c | 130 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() 347 err = vio_driver_init(&port->vio, vdev, VDEV_NETWORK, in vsw_port_probe() 353 err = vio_ldc_alloc(&port->vio, &vsw_ldc_cfg, port); in vsw_port_probe() 378 vio_port_up(&port->vio); in vsw_port_probe() 398 vio_ldc_free(&port->vio); in vsw_port_probe() 411 timer_delete_sync(&port->vio.timer); in vsw_port_remove() 425 vio_ldc_free(&port->vio); in vsw_port_remove() 456 MODULE_DEVICE_TABLE(vio, vsw_port_match);
|
| H A D | sunvnet.c | 449 err = vio_driver_init(&port->vio, vdev, VDEV_NETWORK, in vnet_port_probe() 455 err = vio_ldc_alloc(&port->vio, &vnet_ldc_cfg, port); in vnet_port_probe() 489 vio_port_up(&port->vio); in vnet_port_probe() 508 timer_delete_sync(&port->vio.timer); in vnet_port_remove() 520 vio_ldc_free(&port->vio); in vnet_port_remove() 534 MODULE_DEVICE_TABLE(vio, vnet_port_match);
|
| /linux/arch/sparc/include/asm/ |
| H A 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/drivers/tty/ |
| H A D | vcc.c | 23 struct vio_driver_state vio; member 256 struct vio_driver_state *vio = &port->vio; in vcc_kick_rx() local 261 disable_irq_nosync(vio->vdev->rx_irq); in vcc_kick_rx() 308 struct vio_driver_state *vio = &port->vio; in vcc_ldc_read() local 315 rv = ldc_rx_reset(vio->lp); in vcc_ldc_read() 327 vccdbgl(vio->lp); in vcc_ldc_read() 329 rv = ldc_read(vio->lp, &pkt, sizeof(pkt)); in vcc_ldc_read() 360 struct vio_driver_state *vio; in vcc_rx_timer() local 367 vio = &port->vio; in vcc_rx_timer() 369 enable_irq(vio->vdev->rx_irq); in vcc_rx_timer() [all …]
|
| /linux/Documentation/devicetree/bindings/media/ |
| H A D | si4713.txt | 16 - vio-supply: phandle for Vio regulator 27 vio-supply = <&vio>;
|
| /linux/drivers/net/wireless/ti/wl1251/ |
| H A D | spi.c | 301 wl->vio = devm_regulator_get(&spi->dev, "vio"); in wl1251_spi_probe() 302 if (IS_ERR(wl->vio)) { in wl1251_spi_probe() 303 ret = PTR_ERR(wl->vio); in wl1251_spi_probe() 308 ret = regulator_enable(wl->vio); in wl1251_spi_probe() 319 regulator_disable(wl->vio); in wl1251_spi_probe() 331 regulator_disable(wl->vio); in wl1251_spi_remove()
|
| /linux/Documentation/devicetree/bindings/net/wireless/ |
| H A D | ti,wl1251.txt | 11 - vio-supply : phandle to regulator providing VIO 35 vio-supply = <&vio>;
|
| /linux/drivers/media/radio/si4713/ |
| H A D | si4713.c | 365 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()
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | omap3-n900.dts | 474 &vio { 593 IOVDD-supply = <&vio>; 594 DVDD-supply = <&vio>; 606 IOVDD-supply = <&vio>; 607 DVDD-supply = <&vio>; 746 vio-supply = <&vio>; 776 vddio-supply = <&vio>; 979 vio-supply = <&vio>; 1022 vio-supply = <&vio>;
|
| H A D | omap3-n950-n9.dtsi | 249 &vio { 250 regulator-name = "vio"; 285 Vdd_IO-supply = <&vio>;
|
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | twl6040.txt | 17 - vio-supply: Regulator for the twl6040 VIO supply 49 vio-supply = <&v1v8>;
|
| /linux/Documentation/arch/powerpc/ |
| H A D | hvcs.rst | 257 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 …]
|
| /linux/drivers/char/hw_random/ |
| H A D | pseries-rng.c | 66 MODULE_DEVICE_TABLE(vio, pseries_rng_driver_ids);
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | qcom-msm8974pro-sony-xperia-shinano-leo.dts | 43 vio-supply = <&pm8941_s3>;
|
| H A D | qcom-msm8974pro-sony-xperia-shinano-aries.dts | 43 vio-supply = <&pm8941_s3>;
|
| H A D | qcom-msm8926-microsoft-superman-lte.dts | 32 vio-supply = <&pm8226_l6>;
|
| H A D | qcom-msm8926-microsoft-tesla.dts | 35 vio-supply = <&pm8226_l6>;
|