Home
last modified time | relevance | path

Searched defs:connection (Results 1 – 25 of 124) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/greybus/
Dconnection.c25 struct gb_connection *connection; in gb_connection_cport_in_use() local
36 static void gb_connection_get(struct gb_connection *connection) in gb_connection_get()
43 static void gb_connection_put(struct gb_connection *connection) in gb_connection_put()
56 struct gb_connection *connection; in gb_connection_hd_find() local
79 struct gb_connection *connection; in greybus_data_rcvd() local
96 struct gb_connection *connection; in gb_connection_kref_release() local
105 static void gb_connection_init_name(struct gb_connection *connection) in gb_connection_init_name()
150 struct gb_connection *connection; in _gb_connection_create() local
279 static int gb_connection_hd_cport_enable(struct gb_connection *connection) in gb_connection_hd_cport_enable()
298 static void gb_connection_hd_cport_disable(struct gb_connection *connection) in gb_connection_hd_cport_disable()
[all …]
Doperation.c44 struct gb_connection *connection = operation->connection; in gb_operation_get_active() local
81 struct gb_connection *connection = operation->connection; in gb_operation_put_active() local
98 struct gb_connection *connection = operation->connection; in gb_operation_is_active() local
196 gb_operation_find_outgoing(struct gb_connection *connection, u16 operation_id) in gb_operation_find_outgoing()
217 struct gb_connection *connection = message->operation->connection; in gb_message_send() local
238 struct gb_connection *connection = operation->connection; in gb_operation_request_handle() local
519 gb_operation_create_common(struct gb_connection *connection, u8 type, in gb_operation_create_common()
575 gb_operation_create_flags(struct gb_connection *connection, in gb_operation_create_flags()
601 gb_operation_create_core(struct gb_connection *connection, in gb_operation_create_core()
621 size_t gb_operation_get_payload_size_max(struct gb_connection *connection) in gb_operation_get_payload_size_max()
[all …]
/kernel/linux/linux-4.19/drivers/staging/greybus/
Dconnection.c29 struct gb_connection *connection; in gb_connection_cport_in_use() local
40 static void gb_connection_get(struct gb_connection *connection) in gb_connection_get()
47 static void gb_connection_put(struct gb_connection *connection) in gb_connection_put()
60 struct gb_connection *connection; in gb_connection_hd_find() local
83 struct gb_connection *connection; in greybus_data_rcvd() local
100 struct gb_connection *connection; in gb_connection_kref_release() local
109 static void gb_connection_init_name(struct gb_connection *connection) in gb_connection_init_name()
154 struct gb_connection *connection; in _gb_connection_create() local
283 static int gb_connection_hd_cport_enable(struct gb_connection *connection) in gb_connection_hd_cport_enable()
302 static void gb_connection_hd_cport_disable(struct gb_connection *connection) in gb_connection_hd_cport_disable()
[all …]
Daudio_apbridgea.c13 int gb_audio_apbridgea_set_config(struct gb_connection *connection, in gb_audio_apbridgea_set_config()
30 int gb_audio_apbridgea_register_cport(struct gb_connection *connection, in gb_audio_apbridgea_register_cport()
51 int gb_audio_apbridgea_unregister_cport(struct gb_connection *connection, in gb_audio_apbridgea_unregister_cport()
72 int gb_audio_apbridgea_set_tx_data_size(struct gb_connection *connection, in gb_audio_apbridgea_set_tx_data_size()
86 int gb_audio_apbridgea_prepare_tx(struct gb_connection *connection, in gb_audio_apbridgea_prepare_tx()
99 int gb_audio_apbridgea_start_tx(struct gb_connection *connection, in gb_audio_apbridgea_start_tx()
113 int gb_audio_apbridgea_stop_tx(struct gb_connection *connection, __u16 i2s_port) in gb_audio_apbridgea_stop_tx()
125 int gb_audio_apbridgea_shutdown_tx(struct gb_connection *connection, in gb_audio_apbridgea_shutdown_tx()
138 int gb_audio_apbridgea_set_rx_data_size(struct gb_connection *connection, in gb_audio_apbridgea_set_rx_data_size()
152 int gb_audio_apbridgea_prepare_rx(struct gb_connection *connection, in gb_audio_apbridgea_prepare_rx()
[all …]
Daudio_gb.c14 int gb_audio_gb_get_topology(struct gb_connection *connection, in gb_audio_gb_get_topology()
48 int gb_audio_gb_get_control(struct gb_connection *connection, in gb_audio_gb_get_control()
70 int gb_audio_gb_set_control(struct gb_connection *connection, in gb_audio_gb_set_control()
85 int gb_audio_gb_enable_widget(struct gb_connection *connection, in gb_audio_gb_enable_widget()
97 int gb_audio_gb_disable_widget(struct gb_connection *connection, in gb_audio_gb_disable_widget()
109 int gb_audio_gb_get_pcm(struct gb_connection *connection, u16 data_cport, in gb_audio_gb_get_pcm()
133 int gb_audio_gb_set_pcm(struct gb_connection *connection, u16 data_cport, in gb_audio_gb_set_pcm()
150 int gb_audio_gb_set_tx_data_size(struct gb_connection *connection, in gb_audio_gb_set_tx_data_size()
163 int gb_audio_gb_activate_tx(struct gb_connection *connection, in gb_audio_gb_activate_tx()
175 int gb_audio_gb_deactivate_tx(struct gb_connection *connection, in gb_audio_gb_deactivate_tx()
[all …]
Doperation.c44 struct gb_connection *connection = operation->connection; in gb_operation_get_active() local
81 struct gb_connection *connection = operation->connection; in gb_operation_put_active() local
98 struct gb_connection *connection = operation->connection; in gb_operation_is_active() local
196 gb_operation_find_outgoing(struct gb_connection *connection, u16 operation_id) in gb_operation_find_outgoing()
217 struct gb_connection *connection = message->operation->connection; in gb_message_send() local
238 struct gb_connection *connection = operation->connection; in gb_operation_request_handle() local
518 gb_operation_create_common(struct gb_connection *connection, u8 type, in gb_operation_create_common()
574 gb_operation_create_flags(struct gb_connection *connection, in gb_operation_create_flags()
600 gb_operation_create_core(struct gb_connection *connection, in gb_operation_create_core()
619 size_t gb_operation_get_payload_size_max(struct gb_connection *connection) in gb_operation_get_payload_size_max()
[all …]
Dconnection.h76 static inline bool gb_connection_is_static(struct gb_connection *connection) in gb_connection_is_static()
96 static inline bool gb_connection_e2efc_enabled(struct gb_connection *connection) in gb_connection_e2efc_enabled()
102 gb_connection_flow_control_disabled(struct gb_connection *connection) in gb_connection_flow_control_disabled()
107 static inline bool gb_connection_is_offloaded(struct gb_connection *connection) in gb_connection_is_offloaded()
112 static inline bool gb_connection_is_control(struct gb_connection *connection) in gb_connection_is_control()
117 static inline void *gb_connection_get_data(struct gb_connection *connection) in gb_connection_get_data()
122 static inline void gb_connection_set_data(struct gb_connection *connection, in gb_connection_set_data()
Dlog.c16 struct gb_connection *connection; member
21 struct gb_connection *connection = op->connection; in gb_log_request_handler() local
70 struct gb_connection *connection; in gb_log_probe() local
111 struct gb_connection *connection = log->connection; in gb_log_disconnect() local
Dlight.c65 struct gb_connection *connection; member
119 struct gb_connection *connection = get_conn_from_channel(channel); in __gb_lights_flash_intensity_set() local
322 struct gb_connection *connection = get_conn_from_channel(channel); in gb_lights_fade_set() local
348 struct gb_connection *connection = get_conn_from_channel(channel); in gb_lights_color_set() local
374 struct gb_connection *connection = get_conn_from_channel(channel); in __gb_lights_led_brightness_set() local
456 struct gb_connection *connection = get_conn_from_channel(channel); in gb_blink_set() local
535 struct gb_connection *connection = get_conn_from_light(light); in gb_lights_light_v4l2_register() local
595 struct gb_connection *connection = get_conn_from_light(light); in gb_lights_light_v4l2_register() local
637 struct gb_connection *connection = get_conn_from_channel(channel); in gb_lights_flash_strobe_set() local
678 struct gb_connection *connection = get_conn_from_channel(channel); in gb_lights_flash_timeout_set() local
[all …]
/kernel/linux/linux-5.10/drivers/staging/greybus/
Daudio_apbridgea.c12 int gb_audio_apbridgea_set_config(struct gb_connection *connection, in gb_audio_apbridgea_set_config()
29 int gb_audio_apbridgea_register_cport(struct gb_connection *connection, in gb_audio_apbridgea_register_cport()
50 int gb_audio_apbridgea_unregister_cport(struct gb_connection *connection, in gb_audio_apbridgea_unregister_cport()
71 int gb_audio_apbridgea_set_tx_data_size(struct gb_connection *connection, in gb_audio_apbridgea_set_tx_data_size()
85 int gb_audio_apbridgea_prepare_tx(struct gb_connection *connection, in gb_audio_apbridgea_prepare_tx()
98 int gb_audio_apbridgea_start_tx(struct gb_connection *connection, in gb_audio_apbridgea_start_tx()
112 int gb_audio_apbridgea_stop_tx(struct gb_connection *connection, __u16 i2s_port) in gb_audio_apbridgea_stop_tx()
124 int gb_audio_apbridgea_shutdown_tx(struct gb_connection *connection, in gb_audio_apbridgea_shutdown_tx()
137 int gb_audio_apbridgea_set_rx_data_size(struct gb_connection *connection, in gb_audio_apbridgea_set_rx_data_size()
151 int gb_audio_apbridgea_prepare_rx(struct gb_connection *connection, in gb_audio_apbridgea_prepare_rx()
[all …]
Daudio_gb.c12 int gb_audio_gb_get_topology(struct gb_connection *connection, in gb_audio_gb_get_topology()
46 int gb_audio_gb_get_control(struct gb_connection *connection, in gb_audio_gb_get_control()
68 int gb_audio_gb_set_control(struct gb_connection *connection, in gb_audio_gb_set_control()
83 int gb_audio_gb_enable_widget(struct gb_connection *connection, in gb_audio_gb_enable_widget()
95 int gb_audio_gb_disable_widget(struct gb_connection *connection, in gb_audio_gb_disable_widget()
107 int gb_audio_gb_get_pcm(struct gb_connection *connection, u16 data_cport, in gb_audio_gb_get_pcm()
131 int gb_audio_gb_set_pcm(struct gb_connection *connection, u16 data_cport, in gb_audio_gb_set_pcm()
148 int gb_audio_gb_set_tx_data_size(struct gb_connection *connection, in gb_audio_gb_set_tx_data_size()
161 int gb_audio_gb_activate_tx(struct gb_connection *connection, in gb_audio_gb_activate_tx()
173 int gb_audio_gb_deactivate_tx(struct gb_connection *connection, in gb_audio_gb_deactivate_tx()
[all …]
Dlog.c15 struct gb_connection *connection; member
20 struct gb_connection *connection = op->connection; in gb_log_request_handler() local
69 struct gb_connection *connection; in gb_log_probe() local
110 struct gb_connection *connection = log->connection; in gb_log_disconnect() local
Dlight.c63 struct gb_connection *connection; member
117 struct gb_connection *connection = get_conn_from_channel(channel); in __gb_lights_flash_intensity_set() local
320 struct gb_connection *connection = get_conn_from_channel(channel); in gb_lights_fade_set() local
346 struct gb_connection *connection = get_conn_from_channel(channel); in gb_lights_color_set() local
372 struct gb_connection *connection = get_conn_from_channel(channel); in __gb_lights_led_brightness_set() local
454 struct gb_connection *connection = get_conn_from_channel(channel); in gb_blink_set() local
533 struct gb_connection *connection = get_conn_from_light(light); in gb_lights_light_v4l2_register() local
593 struct gb_connection *connection = get_conn_from_light(light); in gb_lights_light_v4l2_register() local
635 struct gb_connection *connection = get_conn_from_channel(channel); in gb_lights_flash_strobe_set() local
676 struct gb_connection *connection = get_conn_from_channel(channel); in gb_lights_flash_timeout_set() local
[all …]
/kernel/linux/linux-5.10/drivers/block/drbd/
Ddrbd_receiver.c221 static void conn_reclaim_net_peer_reqs(struct drbd_connection *connection) in conn_reclaim_net_peer_reqs()
512 static int drbd_recv(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv()
545 static int drbd_recv_all(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv_all()
558 static int drbd_recv_all_warn(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv_all_warn()
587 static struct socket *drbd_try_connect(struct drbd_connection *connection) in drbd_try_connect()
676 struct drbd_connection *connection; member
694 static int prepare_listen_socket(struct drbd_connection *connection, struct accept_wait_data *ad) in prepare_listen_socket()
765 static struct socket *drbd_wait_for_connect(struct drbd_connection *connection, struct accept_wait_… in drbd_wait_for_connect()
804 static int send_first_packet(struct drbd_connection *connection, struct drbd_socket *sock, in send_first_packet()
812 static int receive_first_packet(struct drbd_connection *connection, struct socket *sock) in receive_first_packet()
[all …]
Ddrbd_state.c46 struct drbd_connection *connection; in count_objects() local
88 struct drbd_connection *connection; in remember_old_state() local
184 struct drbd_connection *connection = in remember_new_state() local
270 struct drbd_connection *connection = in forget_state_change() local
294 bool conn_all_vols_unconf(struct drbd_connection *connection) in conn_all_vols_unconf()
335 enum drbd_role conn_highest_role(struct drbd_connection *connection) in conn_highest_role()
351 enum drbd_role conn_highest_peer(struct drbd_connection *connection) in conn_highest_peer()
367 enum drbd_disk_state conn_highest_disk(struct drbd_connection *connection) in conn_highest_disk()
383 enum drbd_disk_state conn_lowest_disk(struct drbd_connection *connection) in conn_lowest_disk()
399 enum drbd_disk_state conn_highest_pdsk(struct drbd_connection *connection) in conn_highest_pdsk()
[all …]
Ddrbd_req.c160 static void wake_all_senders(struct drbd_connection *connection) in wake_all_senders()
166 void start_new_tl_epoch(struct drbd_connection *connection) in start_new_tl_epoch()
322 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in set_if_null_req_next() local
331 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in advance_conn_req_next() local
348 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in set_if_null_req_ack_pending() local
357 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in advance_conn_req_ack_pending() local
374 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in set_if_null_req_not_net_done() local
383 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in advance_conn_req_not_net_done() local
552 struct drbd_connection *const connection = peer_device ? peer_device->connection : NULL; in __req_mod() local
974 struct drbd_connection *connection = first_peer_device(device)->connection; in maybe_pull_ahead() local
[all …]
Ddrbd_main.c183 void tl_release(struct drbd_connection *connection, unsigned int barrier_nr, in tl_release()
267 void _tl_restart(struct drbd_connection *connection, enum drbd_req_event what) in _tl_restart()
275 void tl_restart(struct drbd_connection *connection, enum drbd_req_event what) in tl_restart()
290 void tl_clear(struct drbd_connection *connection) in tl_clear()
301 struct drbd_connection *connection = first_peer_device(device)->connection; in tl_abort_disk_io() local
480 int conn_lowest_minor(struct drbd_connection *connection) in conn_lowest_minor()
561 unsigned int drbd_header_size(struct drbd_connection *connection) in drbd_header_size()
601 static unsigned int prepare_header(struct drbd_connection *connection, int vnr, in prepare_header()
613 static void *__conn_prepare_command(struct drbd_connection *connection, in __conn_prepare_command()
621 void *conn_prepare_command(struct drbd_connection *connection, struct drbd_socket *sock) in conn_prepare_command()
[all …]
/kernel/linux/linux-4.19/drivers/block/drbd/
Ddrbd_receiver.c232 static void conn_reclaim_net_peer_reqs(struct drbd_connection *connection) in conn_reclaim_net_peer_reqs()
523 static int drbd_recv(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv()
556 static int drbd_recv_all(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv_all()
569 static int drbd_recv_all_warn(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv_all_warn()
598 static struct socket *drbd_try_connect(struct drbd_connection *connection) in drbd_try_connect()
687 struct drbd_connection *connection; member
705 static int prepare_listen_socket(struct drbd_connection *connection, struct accept_wait_data *ad) in prepare_listen_socket()
776 static struct socket *drbd_wait_for_connect(struct drbd_connection *connection, struct accept_wait_… in drbd_wait_for_connect()
815 static int send_first_packet(struct drbd_connection *connection, struct drbd_socket *sock, in send_first_packet()
823 static int receive_first_packet(struct drbd_connection *connection, struct socket *sock) in receive_first_packet()
[all …]
Ddrbd_state.c58 struct drbd_connection *connection; in count_objects() local
100 struct drbd_connection *connection; in remember_old_state() local
196 struct drbd_connection *connection = in remember_new_state() local
282 struct drbd_connection *connection = in forget_state_change() local
306 bool conn_all_vols_unconf(struct drbd_connection *connection) in conn_all_vols_unconf()
347 enum drbd_role conn_highest_role(struct drbd_connection *connection) in conn_highest_role()
363 enum drbd_role conn_highest_peer(struct drbd_connection *connection) in conn_highest_peer()
379 enum drbd_disk_state conn_highest_disk(struct drbd_connection *connection) in conn_highest_disk()
395 enum drbd_disk_state conn_lowest_disk(struct drbd_connection *connection) in conn_lowest_disk()
411 enum drbd_disk_state conn_highest_pdsk(struct drbd_connection *connection) in conn_highest_pdsk()
[all …]
Ddrbd_main.c194 void tl_release(struct drbd_connection *connection, unsigned int barrier_nr, in tl_release()
278 void _tl_restart(struct drbd_connection *connection, enum drbd_req_event what) in _tl_restart()
286 void tl_restart(struct drbd_connection *connection, enum drbd_req_event what) in tl_restart()
301 void tl_clear(struct drbd_connection *connection) in tl_clear()
312 struct drbd_connection *connection = first_peer_device(device)->connection; in tl_abort_disk_io() local
491 int conn_lowest_minor(struct drbd_connection *connection) in conn_lowest_minor()
572 unsigned int drbd_header_size(struct drbd_connection *connection) in drbd_header_size()
612 static unsigned int prepare_header(struct drbd_connection *connection, int vnr, in prepare_header()
624 static void *__conn_prepare_command(struct drbd_connection *connection, in __conn_prepare_command()
632 void *conn_prepare_command(struct drbd_connection *connection, struct drbd_socket *sock) in conn_prepare_command()
[all …]
/kernel/linux/linux-5.10/include/linux/greybus/
Dconnection.h79 static inline bool gb_connection_is_static(struct gb_connection *connection) in gb_connection_is_static()
99 static inline bool gb_connection_e2efc_enabled(struct gb_connection *connection) in gb_connection_e2efc_enabled()
105 gb_connection_flow_control_disabled(struct gb_connection *connection) in gb_connection_flow_control_disabled()
110 static inline bool gb_connection_is_offloaded(struct gb_connection *connection) in gb_connection_is_offloaded()
115 static inline bool gb_connection_is_control(struct gb_connection *connection) in gb_connection_is_control()
120 static inline void *gb_connection_get_data(struct gb_connection *connection) in gb_connection_get_data()
125 static inline void gb_connection_set_data(struct gb_connection *connection, in gb_connection_set_data()
/kernel/linux/linux-4.19/arch/um/drivers/
Dport_kern.c36 struct connection { struct
47 struct connection *conn = data; in pipe_interrupt() argument
/kernel/linux/linux-5.10/arch/um/drivers/
Dport_kern.c36 struct connection { struct
47 struct connection *conn = data; in pipe_interrupt() argument
/kernel/linux/linux-5.10/fs/dlm/
Dlowcomms.c68 struct connection { struct
83 int (*rx_action) (struct connection *); /* What to do when active */ argument
84 void (*connect_action) (struct connection *); /* What to do to connect */ argument
85 void (*shutdown_action)(struct connection *con); /* What to do to shutdown */ argument
89 struct connection *othercon; argument
98 #define sock2con(x) ((struct connection *)(x)->sk_user_data) argument
/kernel/linux/linux-5.10/fs/hmdfs/comm/
Dconnection.h54 struct connection { struct
66 struct connection_stat stat; argument
72 void (*close)(struct connection *connect); argument
73 int (*send_message)(struct connection *connect, argument
75 uint32_t crypto;

12345