Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/arch/sparc/kernel/
H A Dviohs.c16 #include <asm/vio.h>
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 in send_version()
66 start_handshake(struct vio_driver_state *vio) start_handshake() argument
83 flush_rx_dring(struct vio_driver_state *vio) flush_rx_dring() argument
101 vio_link_state_change(struct vio_driver_state *vio, int event) vio_link_state_change() argument
135 handshake_failure(struct vio_driver_state *vio) handshake_failure() argument
161 process_unknown(struct vio_driver_state *vio, void *arg) process_unknown() argument
176 send_dreg(struct vio_driver_state *vio) send_dreg() argument
218 send_rdx(struct vio_driver_state *vio) send_rdx() argument
231 send_attr(struct vio_driver_state *vio) send_attr() argument
239 find_by_major(struct vio_driver_state *vio, u16 major) find_by_major() argument
255 process_ver_info(struct vio_driver_state *vio, struct vio_ver_info *pkt) process_ver_info() argument
311 process_ver_ack(struct vio_driver_state *vio, struct vio_ver_info *pkt) process_ver_ack() argument
344 process_ver_nack(struct vio_driver_state *vio, struct vio_ver_info *pkt) process_ver_nack() argument
364 process_ver(struct vio_driver_state *vio, struct vio_ver_info *pkt) process_ver() argument
381 process_attr(struct vio_driver_state *vio, void *pkt) process_attr() argument
409 all_drings_registered(struct vio_driver_state *vio) all_drings_registered() argument
427 process_dreg_info(struct vio_driver_state *vio, struct vio_dring_register *pkt) process_dreg_info() argument
502 process_dreg_ack(struct vio_driver_state *vio, struct vio_dring_register *pkt) process_dreg_ack() argument
529 process_dreg_nack(struct vio_driver_state *vio, struct vio_dring_register *pkt) process_dreg_nack() argument
541 process_dreg(struct vio_driver_state *vio, struct vio_dring_register *pkt) process_dreg() argument
562 process_dunreg(struct vio_driver_state *vio, struct vio_dring_unregister *pkt) process_dunreg() argument
583 process_rdx_info(struct vio_driver_state *vio, struct vio_rdx *pkt) process_rdx_info() argument
596 process_rdx_ack(struct vio_driver_state *vio, struct vio_rdx *pkt) process_rdx_ack() argument
607 process_rdx_nack(struct vio_driver_state *vio, struct vio_rdx *pkt) process_rdx_nack() argument
614 process_rdx(struct vio_driver_state *vio, struct vio_rdx *pkt) process_rdx() argument
634 vio_control_pkt_engine(struct vio_driver_state *vio, void *pkt) vio_control_pkt_engine() argument
677 vio_conn_reset(struct vio_driver_state *vio) vio_conn_reset() argument
687 vio_validate_sid(struct vio_driver_state *vio, struct vio_msg_tag *tp) vio_validate_sid() argument
721 vio_send_sid(struct vio_driver_state *vio) vio_send_sid() argument
736 vio_ldc_alloc(struct vio_driver_state *vio, struct ldc_channel_config *base_cfg, void *event_arg) vio_ldc_alloc() argument
756 vio_ldc_free(struct vio_driver_state *vio) vio_ldc_free() argument
767 vio_port_up(struct vio_driver_state *vio) vio_port_up() argument
809 struct vio_driver_state *vio = from_timer(vio, t, timer); vio_port_timer() local
814 vio_driver_init(struct vio_driver_state *vio, struct vio_dev *vdev, u8 dev_class, struct vio_version *ver_table, int ver_table_size, struct vio_driver_ops *ops, char *name) vio_driver_init() argument
[all...]
/kernel/linux/linux-6.6/arch/sparc/kernel/
H A Dviohs.c16 #include <asm/vio.h>
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 in send_version()
66 start_handshake(struct vio_driver_state *vio) start_handshake() argument
83 flush_rx_dring(struct vio_driver_state *vio) flush_rx_dring() argument
101 vio_link_state_change(struct vio_driver_state *vio, int event) vio_link_state_change() argument
135 handshake_failure(struct vio_driver_state *vio) handshake_failure() argument
161 process_unknown(struct vio_driver_state *vio, void *arg) process_unknown() argument
176 send_dreg(struct vio_driver_state *vio) send_dreg() argument
218 send_rdx(struct vio_driver_state *vio) send_rdx() argument
231 send_attr(struct vio_driver_state *vio) send_attr() argument
239 find_by_major(struct vio_driver_state *vio, u16 major) find_by_major() argument
255 process_ver_info(struct vio_driver_state *vio, struct vio_ver_info *pkt) process_ver_info() argument
311 process_ver_ack(struct vio_driver_state *vio, struct vio_ver_info *pkt) process_ver_ack() argument
344 process_ver_nack(struct vio_driver_state *vio, struct vio_ver_info *pkt) process_ver_nack() argument
364 process_ver(struct vio_driver_state *vio, struct vio_ver_info *pkt) process_ver() argument
381 process_attr(struct vio_driver_state *vio, void *pkt) process_attr() argument
409 all_drings_registered(struct vio_driver_state *vio) all_drings_registered() argument
427 process_dreg_info(struct vio_driver_state *vio, struct vio_dring_register *pkt) process_dreg_info() argument
500 process_dreg_ack(struct vio_driver_state *vio, struct vio_dring_register *pkt) process_dreg_ack() argument
527 process_dreg_nack(struct vio_driver_state *vio, struct vio_dring_register *pkt) process_dreg_nack() argument
539 process_dreg(struct vio_driver_state *vio, struct vio_dring_register *pkt) process_dreg() argument
560 process_dunreg(struct vio_driver_state *vio, struct vio_dring_unregister *pkt) process_dunreg() argument
581 process_rdx_info(struct vio_driver_state *vio, struct vio_rdx *pkt) process_rdx_info() argument
594 process_rdx_ack(struct vio_driver_state *vio, struct vio_rdx *pkt) process_rdx_ack() argument
605 process_rdx_nack(struct vio_driver_state *vio, struct vio_rdx *pkt) process_rdx_nack() argument
612 process_rdx(struct vio_driver_state *vio, struct vio_rdx *pkt) process_rdx() argument
632 vio_control_pkt_engine(struct vio_driver_state *vio, void *pkt) vio_control_pkt_engine() argument
675 vio_conn_reset(struct vio_driver_state *vio) vio_conn_reset() argument
685 vio_validate_sid(struct vio_driver_state *vio, struct vio_msg_tag *tp) vio_validate_sid() argument
719 vio_send_sid(struct vio_driver_state *vio) vio_send_sid() argument
734 vio_ldc_alloc(struct vio_driver_state *vio, struct ldc_channel_config *base_cfg, void *event_arg) vio_ldc_alloc() argument
754 vio_ldc_free(struct vio_driver_state *vio) vio_ldc_free() argument
765 vio_port_up(struct vio_driver_state *vio) vio_port_up() argument
807 struct vio_driver_state *vio = from_timer(vio, t, timer); vio_port_timer() local
812 vio_driver_init(struct vio_driver_state *vio, struct vio_dev *vdev, u8 dev_class, struct vio_version *ver_table, int ver_table_size, struct vio_driver_ops *ops, char *name) vio_driver_init() argument
[all...]
/kernel/linux/linux-5.10/drivers/block/
H A Dsunvdc.c22 #include <asm/vio.h>
58 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 in vdc_finish()
200 vdc_handshake_complete(struct vio_driver_state *vio) vdc_handshake_complete() argument
222 vdc_send_attr(struct vio_driver_state *vio) vdc_send_attr() argument
244 vdc_handle_attr(struct vio_driver_state *vio, void *arg) vdc_handle_attr() argument
356 struct vio_driver_state *vio = &port->vio; vdc_event() local
1150 struct vio_driver_state *vio; vdc_ldc_reset_timer_work() local
1168 struct vio_driver_state *vio; vdc_ldc_reset_work() local
[all...]
/kernel/linux/linux-6.6/drivers/block/
H A Dsunvdc.c21 #include <asm/vio.h>
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()
181 struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_TX_RING]; in vdc_blk_queue_start()
191 static void vdc_finish(struct vio_driver_state *vio, int err, int waiting_for) in vdc_finish() argument
193 if (vio in vdc_finish()
202 vdc_handshake_complete(struct vio_driver_state *vio) vdc_handshake_complete() argument
224 vdc_send_attr(struct vio_driver_state *vio) vdc_send_attr() argument
246 vdc_handle_attr(struct vio_driver_state *vio, void *arg) vdc_handle_attr() argument
358 struct vio_driver_state *vio = &port->vio; vdc_event() local
1135 struct vio_driver_state *vio; vdc_ldc_reset_timer_work() local
1153 struct vio_driver_state *vio; vdc_ldc_reset_work() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
H A Dsunvnet_common.c31 #include <asm/vio.h>
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, in sunvnet_send_attr_common()
131 handle_attr_info(struct vio_driver_state *vio, struct vio_net_attr_info *pkt) handle_attr_info() argument
224 handle_attr_ack(struct vio_driver_state *vio, struct vio_net_attr_info *pkt) handle_attr_ack() argument
232 handle_attr_nack(struct vio_driver_state *vio, struct vio_net_attr_info *pkt) handle_attr_nack() argument
240 sunvnet_handle_attr_common(struct vio_driver_state *vio, void *arg) sunvnet_handle_attr_common() argument
260 sunvnet_handshake_complete_common(struct vio_driver_state *vio) sunvnet_handshake_complete_common() argument
555 struct vio_driver_state *vio = &port->vio; vnet_walk_rx_one() local
589 struct vio_driver_state *vio = &port->vio; vnet_walk_rx() local
648 struct vio_driver_state *vio = &port->vio; vnet_rx() local
773 struct vio_driver_state *vio = &vnet->vio; sunvnet_port_is_up_common() local
782 struct vio_driver_state *vio = &port->vio; vnet_event_napi() local
916 struct vio_driver_state *vio = &port->vio; sunvnet_poll_common() local
931 struct vio_driver_state *vio = &port->vio; sunvnet_event_common() local
[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.c30 #include <asm/vio.h>
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()
351 err = vio_driver_init(&port->vio, vdev, VDEV_NETWORK, in vsw_port_probe()
357 err = vio_ldc_alloc(&port->vio, &vsw_ldc_cfg, port); in vsw_port_probe()
383 vio_port_up(&port->vio); in vsw_port_probe()
403 vio_ldc_free(&port->vio); in vsw_port_probe()
416 del_timer_sync(&port->vio in vsw_port_remove()
[all...]
H A Dsunvnet.c31 #include <asm/vio.h>
461 err = vio_driver_init(&port->vio, vdev, VDEV_NETWORK, in vnet_port_probe()
467 err = vio_ldc_alloc(&port->vio, &vnet_ldc_cfg, port); in vnet_port_probe()
502 vio_port_up(&port->vio); in vnet_port_probe()
521 del_timer_sync(&port->vio.timer); in vnet_port_remove()
533 vio_ldc_free(&port->vio); in vnet_port_remove()
548 MODULE_DEVICE_TABLE(vio, vnet_port_match);
/kernel/linux/linux-6.6/drivers/net/ethernet/sun/
H A Dsunvnet_common.c32 #include <asm/vio.h>
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, in sunvnet_send_attr_common()
132 handle_attr_info(struct vio_driver_state *vio, struct vio_net_attr_info *pkt) handle_attr_info() argument
225 handle_attr_ack(struct vio_driver_state *vio, struct vio_net_attr_info *pkt) handle_attr_ack() argument
233 handle_attr_nack(struct vio_driver_state *vio, struct vio_net_attr_info *pkt) handle_attr_nack() argument
241 sunvnet_handle_attr_common(struct vio_driver_state *vio, void *arg) sunvnet_handle_attr_common() argument
261 sunvnet_handshake_complete_common(struct vio_driver_state *vio) sunvnet_handshake_complete_common() argument
556 struct vio_driver_state *vio = &port->vio; vnet_walk_rx_one() local
590 struct vio_driver_state *vio = &port->vio; vnet_walk_rx() local
649 struct vio_driver_state *vio = &port->vio; vnet_rx() local
774 struct vio_driver_state *vio = &vnet->vio; sunvnet_port_is_up_common() local
783 struct vio_driver_state *vio = &port->vio; vnet_event_napi() local
917 struct vio_driver_state *vio = &port->vio; sunvnet_poll_common() local
932 struct vio_driver_state *vio = &port->vio; sunvnet_event_common() local
[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.c30 #include <asm/vio.h>
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 del_timer_sync(&port->vio in vsw_port_remove()
[all...]
H A Dsunvnet.c31 #include <asm/vio.h>
463 err = vio_driver_init(&port->vio, vdev, VDEV_NETWORK, in vnet_port_probe()
469 err = vio_ldc_alloc(&port->vio, &vnet_ldc_cfg, port); in vnet_port_probe()
503 vio_port_up(&port->vio); in vnet_port_probe()
522 del_timer_sync(&port->vio.timer); in vnet_port_remove()
534 vio_ldc_free(&port->vio); in vnet_port_remove()
548 MODULE_DEVICE_TABLE(vio, vnet_port_match);
/kernel/linux/linux-5.10/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
[all...]
/kernel/linux/linux-6.6/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
[all...]
/kernel/linux/linux-5.10/drivers/tty/
H A Dvcc.c14 #include <asm/vio.h>
29 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 in vcc_ldc_read()
368 struct vio_driver_state *vio; vcc_rx_timer() local
442 struct vio_driver_state *vio; vcc_event() local
[all...]
/kernel/linux/linux-6.6/drivers/tty/
H A Dvcc.c15 #include <asm/vio.h>
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 in vcc_ldc_read()
360 struct vio_driver_state *vio; vcc_rx_timer() local
434 struct vio_driver_state *vio; vcc_event() local
[all...]
/kernel/linux/linux-5.10/drivers/iio/light/
H A Dgp2ap002.c131 * @vio: regulator controlling VIO
144 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()
[all...]
/kernel/linux/linux-6.6/drivers/iio/light/
H A Dgp2ap002.c131 * @vio: regulator controlling VIO
144 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()
[all...]
/kernel/linux/linux-5.10/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()
[all...]
/kernel/linux/linux-6.6/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()
[all...]
/kernel/linux/linux-5.10/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()
308 wl1251_error("vio regulator missing: %d", ret); 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()
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wl1251/
H 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()
304 wl1251_error("vio regulator missing: %d", ret); 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()
/kernel/linux/linux-5.10/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()
494 dev_err(dev, "error acquiring vio regulator: %d", error); 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()
/kernel/linux/linux-6.6/drivers/input/touchscreen/
H A Dtsc200x-core.c107 struct regulator *vio; member
492 ts->vio = devm_regulator_get(dev, "vio"); in tsc200x_probe()
493 if (IS_ERR(ts->vio)) { in tsc200x_probe()
494 error = PTR_ERR(ts->vio); in tsc200x_probe()
495 dev_err(dev, "error acquiring vio regulator: %d", error); in tsc200x_probe()
551 error = regulator_enable(ts->vio); in tsc200x_probe()
576 regulator_disable(ts->vio); in tsc200x_probe()
587 regulator_disable(ts->vio); in tsc200x_remove()
/kernel/linux/linux-5.10/drivers/char/hw_random/
H A Dpseries-rng.c13 #include <asm/vio.h>
67 MODULE_DEVICE_TABLE(vio, pseries_rng_driver_ids);

Completed in 28 milliseconds

12345