Home
last modified time | relevance | path

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

1234567

/linux/arch/sparc/kernel/
A Dviohs.c128 memset(&vio->ver, 0, sizeof(vio->ver)); in vio_link_state_change()
233 if (!vio->ops) in send_attr()
236 return vio->ops->send_attr(vio); in send_attr()
266 memset(&vio->ver, 0, sizeof(vio->ver)); in process_ver_info()
388 if (!vio->ops) in process_attr()
391 err = vio->ops->handle_attr(vio, pkt); in process_attr()
668 vio->ops->handshake_complete(vio); in vio_control_pkt_engine()
714 tp->sid, vio->_peer_sid, vio->_local_sid); in vio_validate_sid()
748 vio->lp = lp; in vio_ldc_alloc()
780 vio->name, vio->vdev->channel_id, err); in vio_port_up()
[all …]
/linux/drivers/md/dm-vdo/
A Dvio.h26 struct vio vio; member
65 static inline void assert_vio_in_bio_zone(struct vio *vio) in assert_vio_in_bio_zone() argument
80 unsigned int block_count, char *data, struct vio *vio);
95 void free_vio_components(struct vio *vio);
96 void free_vio(struct vio *vio);
114 vio->bio = bio; in initialize_vio()
134 static inline bool is_data_vio(struct vio *vio) in is_data_vio() argument
158 static inline void continue_vio(struct vio *vio, int result) in continue_vio() argument
177 continue_vio(vio, blk_status_to_errno(vio->bio->bi_status)); in continue_vio_after_io()
180 void vio_record_metadata_io_error(struct vio *vio);
[all …]
A Dio-submitter.c74 static void count_all_bios(struct vio *vio, struct bio *bio) in count_all_bios() argument
95 static void assert_in_bio_zone(struct vio *vio) in assert_in_bio_zone() argument
107 static void send_bio_to_device(struct vio *vio, struct bio *bio) in send_bio_to_device() argument
124 struct vio *vio = as_vio(completion); in vdo_submit_vio() local
126 send_bio_to_device(vio, vio->bio); in vdo_submit_vio()
138 static struct bio *get_bio_list(struct vio *vio) in get_bio_list() argument
167 struct vio *vio = as_vio(completion); in submit_data_vio() local
189 static struct vio *get_mergeable_locked(struct int_map *map, struct vio *vio, in get_mergeable_locked() argument
224 static int map_merged_vio(struct int_map *bio_map, struct vio *vio) in map_merged_vio() argument
238 static int merge_to_prev_tail(struct int_map *bio_map, struct vio *vio, in merge_to_prev_tail() argument
[all …]
A Dvio.c43 struct vio *vio = bio->bi_private; in pbn_from_vio_bio() local
80 unsigned int block_count, char *data, struct vio *vio) in allocate_vio_components() argument
123 struct vio *vio; in create_multi_block_metadata_vio() local
132 result = vdo_allocate(1, struct vio, __func__, &vio); in create_multi_block_metadata_vio()
153 void free_vio_components(struct vio *vio) in free_vio_components() argument
166 void free_vio(struct vio *vio) in free_vio() argument
169 vdo_free(vio); in free_vio()
277 void vio_record_metadata_io_error(struct vio *vio) in vio_record_metadata_io_error() argument
430 vio->vio.completion.error_handler = NULL; in return_vio_to_pool()
431 vio->vio.completion.parent = NULL; in return_vio_to_pool()
[all …]
A Dio-submitter.h27 void __submit_metadata_vio(struct vio *vio, physical_block_number_t physical,
31 static inline void vdo_submit_metadata_vio(struct vio *vio, physical_block_number_t physical, in vdo_submit_metadata_vio() argument
35 __submit_metadata_vio(vio, physical, callback, error_handler, in vdo_submit_metadata_vio()
36 operation, vio->data); in vdo_submit_metadata_vio()
39 static inline void vdo_submit_flush_vio(struct vio *vio, bio_end_io_t callback, in vdo_submit_flush_vio() argument
43 __submit_metadata_vio(vio, 0, callback, error_handler, in vdo_submit_flush_vio()
A Ddata-vio.h267 struct vio vio; member
281 static inline struct data_vio *vio_as_data_vio(struct vio *vio) in vio_as_data_vio() argument
284 return container_of(vio, struct data_vio, vio); in vio_as_data_vio()
315 return data_vio->vio.completion.vdo; in vdo_from_data_vio()
353 vdo_launch_completion(&data_vio->vio.completion); in continue_data_vio()
397 vdo_launch_completion(&data_vio->vio.completion); in launch_data_vio_hash_zone_callback()
425 vdo_launch_completion(&data_vio->vio.completion); in launch_data_vio_logical_callback()
455 vdo_launch_completion(&data_vio->vio.completion); in launch_data_vio_allocated_zone_callback()
485 vdo_launch_completion(&data_vio->vio.completion); in launch_data_vio_duplicate_zone_callback()
550 vdo_launch_completion(&data_vio->vio.completion); in launch_data_vio_journal_callback()
[all …]
A Dblock-map.c755 struct vio *vio = bio->bi_private; in load_cache_page_endio() local
806 struct vio *vio = bio->bi_private; in flush_endio() local
816 struct vio *vio; in save_pages() local
829 vio = info->vio; in save_pages()
1034 struct vio *vio = bio->bi_private; in write_cache_page_endio() local
1557 struct vio *vio = as_vio(completion); in finish_page_write() local
1603 struct vio *vio = as_vio(completion); in handle_write_error() local
1616 struct vio *vio = as_vio(completion); in write_initialized_page() local
1643 continue_vio_after_io(&vio->vio, in write_page_endio()
1865 struct vio *vio = bio->bi_private; in load_page_endio() local
[all …]
A Dslab-depot.c303 struct vio *vio = bio->bi_private; in write_slab_summary_endio() local
436 struct vio *vio = bio->bi_private; in flush_endio() local
454 struct vio *vio = &pooled->vio; in flush_for_reaping() local
729 struct vio *vio = bio->bi_private; in write_slab_journal_endio() local
745 struct vio *vio = &pooled->vio; in write_slab_journal_block() local
1155 struct vio *vio = bio->bi_private; in write_reference_block_endio() local
2256 struct vio *vio = bio->bi_private; in load_reference_block_endio() local
2272 struct vio *vio = &pooled->vio; in load_reference_block() local
2439 struct vio *vio = bio->bi_private; in read_slab_journal_tail_endio() local
2471 struct vio *vio = &pooled->vio; in read_slab_journal_tail() local
[all …]
A Ddata-vio.c573 copy_from_bio(bio, data_vio->vio.data); in launch_bio()
793 &data_vio->vio.data); in initialize_data_vio()
1143 update_vio_error_stats(&data_vio->vio, in update_data_vio_error_stats()
1477 char *data = data_vio->vio.data; in modify_for_partial_write()
1499 char *data = data_vio->vio.data; in complete_read()
1567 struct vio *vio = as_vio(completion); in read_block() local
1584 result = vio_reset_bio(vio, vio->data, read_endio, opf, in read_block()
1588 bio_reset(vio->bio, vio->bio->bi_bdev, opf); in read_block()
1593 vdo_set_bio_properties(vio->bio, vio, read_endio, opf, in read_block()
1633 completion = &data_vio->vio.completion; in update_block_map()
[all …]
A Dvdo.c274 struct vio *vio; in read_geometry_block() local
283 block, &vio); in read_geometry_block()
297 free_vio(vdo_forget(vio)); in read_geometry_block()
303 submit_bio_wait(vio->bio); in read_geometry_block()
305 free_vio(vdo_forget(vio)); in read_geometry_block()
660 free_vio_components(&super_block->vio); in uninitialize_super_block()
742 &vdo->super_block.vio); in initialize_super_block()
774 struct vio *vio = bio->bi_private; in read_super_block_endio() local
946 struct vio *vio = bio->bi_private; in super_block_write_endio() local
975 super_block->vio.completion.parent = parent; in vdo_save_components()
[all …]
A Drecovery-journal.h126 struct vio vio; member
201 struct vio *flush_vio;
A Drecovery-journal.c506 struct vio *vio = bio->bi_private; in flush_endio() local
507 struct recovery_journal *journal = vio->completion.parent; in flush_endio()
509 continue_vio_after_io(vio, complete_reaping, journal->thread_id); in flush_endio()
678 VIO_PRIORITY_HIGH, block, 1, data, &block->vio); in initialize_recovery_block()
813 vdo_free(vdo_forget(block->vio.data)); in vdo_free_recovery_journal()
814 free_vio_components(&block->vio); in vdo_free_recovery_journal()
919 return (struct packed_journal_header *) block->vio.data; in get_block_header()
965 memset(block->vio.data, 0x0, VDO_BLOCK_SIZE); in advance_tail()
1317 struct vio *vio = bio->bi_private; in complete_write_endio() local
1318 struct recovery_journal_block *block = vio->completion.parent; in complete_write_endio()
[all …]
/linux/drivers/block/
A Dsunvdc.c97 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()
193 if (vio->cmp && in vdc_finish()
196 vio->cmp->err = err; in vdc_finish()
198 vio->cmp = NULL; in vdc_finish()
273 vio->name, in vdc_handle_attr()
358 struct vio_driver_state *vio = &port->vio; in vdc_event() local
675 port->vio.cmp = ∁ in generic_request()
881 port->vio.ver.major, port->vio.ver.minor); in probe_disk()
1139 vio = &port->vio; in vdc_ldc_reset_timer_work()
[all …]
/linux/drivers/net/ethernet/sun/
A Dsunvnet_common.c62 ldc_disconnect(port->vio.lp); in vnet_handle_unknown()
556 struct vio_driver_state *vio = &port->vio; in vnet_walk_rx_one() local
577 trace_vnet_rx_one(port->vio._local_sid, port->vio._peer_sid, in vnet_walk_rx_one()
590 struct vio_driver_state *vio = &port->vio; in vnet_walk_rx() local
649 struct vio_driver_state *vio = &port->vio; in vnet_rx() local
774 struct vio_driver_state *vio = &vnet->vio; in sunvnet_port_is_up_common() local
783 struct vio_driver_state *vio = &port->vio; in vnet_event_napi() local
803 vio_port_up(vio); in vnet_event_napi()
859 vio_conn_reset(vio); in vnet_event_napi()
917 struct vio_driver_state *vio = &port->vio; in sunvnet_poll_common() local
[all …]
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);
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()
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 del_timer_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);
/linux/arch/sparc/include/asm/
A Dvio.h379 int (*send_attr)(struct vio_driver_state *vio);
447 u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; in vio_version_before()
456 u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; in vio_version_after()
465 u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; in vio_version_after_eq()
472 do { if (vio->debug & VIO_DEBUG_##TYPE) \
474 vio->vdev->channel_id, ## a); \
491 void vio_conn_reset(struct vio_driver_state *vio);
495 u32 vio_send_sid(struct vio_driver_state *vio);
496 int vio_ldc_alloc(struct vio_driver_state *vio,
498 void vio_ldc_free(struct vio_driver_state *vio);
[all …]
/linux/drivers/tty/
A Dvcc.c23 struct vio_driver_state vio; member
256 struct vio_driver_state *vio = &port->vio; in vcc_kick_rx() local
308 struct vio_driver_state *vio = &port->vio; in vcc_ldc_read() local
327 vccdbgl(vio->lp); in vcc_ldc_read()
367 vio = &port->vio; in vcc_rx_timer()
376 vio_conn_reset(vio); in vcc_rx_timer()
404 vccdbgl(port->vio.lp); in vcc_tx_timer()
440 vio = &port->vio; in vcc_event()
453 vio_conn_reset(vio); in vcc_event()
713 kfree(port->vio.name); in vcc_remove()
[all …]
/linux/drivers/staging/greybus/
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()
/linux/drivers/iio/light/
A Dgp2ap002.c144 struct regulator *vio; member
524 gp2ap002->vio = devm_regulator_get(dev, "vio"); in gp2ap002_probe()
525 if (IS_ERR(gp2ap002->vio)) in gp2ap002_probe()
526 return dev_err_probe(dev, PTR_ERR(gp2ap002->vio), in gp2ap002_probe()
542 ret = regulator_set_voltage(gp2ap002->vio, 1650000, ret); in gp2ap002_probe()
553 ret = regulator_enable(gp2ap002->vio); in gp2ap002_probe()
615 regulator_disable(gp2ap002->vio); in gp2ap002_probe()
631 regulator_disable(gp2ap002->vio); in gp2ap002_remove()
654 regulator_disable(gp2ap002->vio); in gp2ap002_runtime_suspend()
671 ret = regulator_enable(gp2ap002->vio); in gp2ap002_runtime_resume()
/linux/Documentation/devicetree/bindings/input/touchscreen/
A Dti,tsc2005.yaml48 vio-supply:
86 vio-supply = <&vio>;
113 vio-supply = <&vio>;
/linux/Documentation/devicetree/bindings/media/i2c/
A Dasahi-kasei,ak7375.yaml28 vio-supply:
35 - vio-supply
50 vio-supply = <&vreg_lvs1a_1p8>;
/linux/Documentation/devicetree/bindings/media/
A Dsi4713.txt16 - vio-supply: phandle for Vio regulator
27 vio-supply = <&vio>;
/linux/drivers/net/wireless/ti/wl1251/
A Dspi.c301 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/
A Dti,wl1251.txt11 - vio-supply : phandle to regulator providing VIO
35 vio-supply = <&vio>;

Completed in 89 milliseconds

1234567