Home
last modified time | relevance | path

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

12

/drivers/staging/greybus/
Dconnection.c30 struct gb_connection *connection; in gb_connection_cport_in_use() local
41 static void gb_connection_get(struct gb_connection *connection) in gb_connection_get()
48 static void gb_connection_put(struct gb_connection *connection) in gb_connection_put()
61 struct gb_connection *connection; in gb_connection_hd_find() local
84 struct gb_connection *connection; in greybus_data_rcvd() local
101 struct gb_connection *connection; in gb_connection_kref_release() local
110 static void gb_connection_init_name(struct gb_connection *connection) in gb_connection_init_name()
155 struct gb_connection *connection; in _gb_connection_create() local
284 static int gb_connection_hd_cport_enable(struct gb_connection *connection) in gb_connection_hd_cport_enable()
303 static void gb_connection_hd_cport_disable(struct gb_connection *connection) in gb_connection_hd_cport_disable()
[all …]
Daudio_apbridgea.c14 int gb_audio_apbridgea_set_config(struct gb_connection *connection, in gb_audio_apbridgea_set_config()
31 int gb_audio_apbridgea_register_cport(struct gb_connection *connection, in gb_audio_apbridgea_register_cport()
52 int gb_audio_apbridgea_unregister_cport(struct gb_connection *connection, in gb_audio_apbridgea_unregister_cport()
73 int gb_audio_apbridgea_set_tx_data_size(struct gb_connection *connection, in gb_audio_apbridgea_set_tx_data_size()
87 int gb_audio_apbridgea_prepare_tx(struct gb_connection *connection, in gb_audio_apbridgea_prepare_tx()
100 int gb_audio_apbridgea_start_tx(struct gb_connection *connection, in gb_audio_apbridgea_start_tx()
114 int gb_audio_apbridgea_stop_tx(struct gb_connection *connection, __u16 i2s_port) in gb_audio_apbridgea_stop_tx()
126 int gb_audio_apbridgea_shutdown_tx(struct gb_connection *connection, in gb_audio_apbridgea_shutdown_tx()
139 int gb_audio_apbridgea_set_rx_data_size(struct gb_connection *connection, in gb_audio_apbridgea_set_rx_data_size()
153 int gb_audio_apbridgea_prepare_rx(struct gb_connection *connection, in gb_audio_apbridgea_prepare_rx()
[all …]
Daudio_gb.c15 int gb_audio_gb_get_topology(struct gb_connection *connection, in gb_audio_gb_get_topology()
49 int gb_audio_gb_get_control(struct gb_connection *connection, in gb_audio_gb_get_control()
71 int gb_audio_gb_set_control(struct gb_connection *connection, in gb_audio_gb_set_control()
86 int gb_audio_gb_enable_widget(struct gb_connection *connection, in gb_audio_gb_enable_widget()
98 int gb_audio_gb_disable_widget(struct gb_connection *connection, in gb_audio_gb_disable_widget()
110 int gb_audio_gb_get_pcm(struct gb_connection *connection, u16 data_cport, in gb_audio_gb_get_pcm()
134 int gb_audio_gb_set_pcm(struct gb_connection *connection, u16 data_cport, in gb_audio_gb_set_pcm()
151 int gb_audio_gb_set_tx_data_size(struct gb_connection *connection, in gb_audio_gb_set_tx_data_size()
164 int gb_audio_gb_activate_tx(struct gb_connection *connection, in gb_audio_gb_activate_tx()
176 int gb_audio_gb_deactivate_tx(struct gb_connection *connection, in gb_audio_gb_deactivate_tx()
[all …]
Doperation.c45 struct gb_connection *connection = operation->connection; in gb_operation_get_active() local
82 struct gb_connection *connection = operation->connection; in gb_operation_put_active() local
99 struct gb_connection *connection = operation->connection; in gb_operation_is_active() local
197 gb_operation_find_outgoing(struct gb_connection *connection, u16 operation_id) in gb_operation_find_outgoing()
218 struct gb_connection *connection = message->operation->connection; in gb_message_send() local
239 struct gb_connection *connection = operation->connection; in gb_operation_request_handle() local
497 gb_operation_create_common(struct gb_connection *connection, u8 type, in gb_operation_create_common()
551 gb_operation_create_flags(struct gb_connection *connection, in gb_operation_create_flags()
577 gb_operation_create_core(struct gb_connection *connection, in gb_operation_create_core()
596 size_t gb_operation_get_payload_size_max(struct gb_connection *connection) in gb_operation_get_payload_size_max()
[all …]
Dconnection.h77 static inline bool gb_connection_is_static(struct gb_connection *connection) in gb_connection_is_static()
97 static inline bool gb_connection_e2efc_enabled(struct gb_connection *connection) in gb_connection_e2efc_enabled()
103 gb_connection_flow_control_disabled(struct gb_connection *connection) in gb_connection_flow_control_disabled()
108 static inline bool gb_connection_is_offloaded(struct gb_connection *connection) in gb_connection_is_offloaded()
113 static inline bool gb_connection_is_control(struct gb_connection *connection) in gb_connection_is_control()
118 static inline void *gb_connection_get_data(struct gb_connection *connection) in gb_connection_get_data()
123 static inline void gb_connection_set_data(struct gb_connection *connection, in gb_connection_set_data()
Dlight.c66 struct gb_connection *connection; member
120 struct gb_connection *connection = get_conn_from_channel(channel); in __gb_lights_flash_intensity_set() local
323 struct gb_connection *connection = get_conn_from_channel(channel); in gb_lights_fade_set() local
349 struct gb_connection *connection = get_conn_from_channel(channel); in gb_lights_color_set() local
375 struct gb_connection *connection = get_conn_from_channel(channel); in __gb_lights_led_brightness_set() local
457 struct gb_connection *connection = get_conn_from_channel(channel); in gb_blink_set() local
536 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 …]
Dlog.c17 struct gb_connection *connection; member
22 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
Dpower_supply.c52 struct gb_connection *connection; member
363 struct gb_connection *connection = get_conn_from_psy(gbpsy); in gb_power_supply_state_change() local
478 struct gb_connection *connection = get_conn_from_psy(gbpsy); in gb_power_supply_description_get() local
510 struct gb_connection *connection = get_conn_from_psy(gbpsy); in gb_power_supply_prop_descriptors_get() local
594 struct gb_connection *connection = get_conn_from_psy(gbpsy); in __gb_power_supply_property_update() local
663 struct gb_connection *connection = get_conn_from_psy(gbpsy); in _gb_power_supply_property_get() local
699 struct gb_connection *connection = get_conn_from_psy(gbpsy); in gb_power_supply_status_get() local
770 struct gb_connection *connection = get_conn_from_psy(gbpsy); in gb_power_supply_property_set() local
821 struct gb_connection *connection = get_conn_from_psy(gbpsy); in gb_power_supply_register() local
937 struct gb_connection *connection = supplies->connection; in gb_power_supplies_setup() local
[all …]
Dauthentication.c31 struct gb_connection *connection; member
89 struct gb_connection *connection = cap->connection; in cap_get_endpoint_uid() local
108 struct gb_connection *connection = cap->connection; in cap_get_ims_certificate() local
147 struct gb_connection *connection = cap->connection; in cap_authenticate() local
301 int gb_cap_connection_init(struct gb_connection *connection) in gb_cap_connection_init()
367 void gb_cap_connection_exit(struct gb_connection *connection) in gb_cap_connection_exit()
Dfw-download.c39 struct gb_connection *connection; member
224 struct gb_connection *connection = op->connection; in fw_download_find_firmware() local
270 struct gb_connection *connection = op->connection; in fw_download_fetch_firmware() local
353 struct gb_connection *connection = op->connection; in fw_download_release_firmware() local
404 int gb_fw_download_connection_init(struct gb_connection *connection) in gb_fw_download_connection_init()
436 void gb_fw_download_connection_exit(struct gb_connection *connection) in gb_fw_download_connection_exit()
Dfw-management.c26 struct gb_connection *connection; member
108 struct gb_connection *connection = fw_mgmt->connection; in fw_mgmt_interface_fw_version_operation() local
195 struct gb_connection *connection = op->connection; in fw_mgmt_interface_fw_loaded_operation() local
246 struct gb_connection *connection = fw_mgmt->connection; in fw_mgmt_backend_fw_version_operation() local
345 struct gb_connection *connection = op->connection; in fw_mgmt_backend_fw_updated_operation() local
588 int gb_fw_mgmt_connection_init(struct gb_connection *connection) in gb_fw_mgmt_connection_init()
659 void gb_fw_mgmt_connection_exit(struct gb_connection *connection) in gb_fw_mgmt_connection_exit()
Di2c.c19 struct gb_connection *connection; member
72 gb_i2c_operation_create(struct gb_connection *connection, in gb_i2c_operation_create()
170 struct gb_connection *connection = gb_i2c_dev->connection; in gb_i2c_transfer_operation() local
255 struct gb_connection *connection; in gb_i2c_probe() local
316 struct gb_connection *connection = gb_i2c_dev->connection; in gb_i2c_remove() local
Dsvc.c505 struct gb_connection *connection = svc->connection; in gb_svc_connection_destroy() local
524 struct gb_connection *connection = svc->connection; in gb_svc_timesync_enable() local
538 struct gb_connection *connection = svc->connection; in gb_svc_timesync_disable() local
547 struct gb_connection *connection = svc->connection; in gb_svc_timesync_authoritative() local
564 struct gb_connection *connection = svc->connection; in gb_svc_timesync_ping() local
581 struct gb_connection *connection = svc->connection; in gb_svc_timesync_wake_pins_acquire() local
593 struct gb_connection *connection = svc->connection; in gb_svc_timesync_wake_pins_release() local
724 struct gb_connection *connection = op->connection; in gb_svc_version_request() local
918 struct gb_connection *connection = op->connection; in gb_svc_hello() local
999 struct gb_connection *connection = operation->connection; in gb_svc_process_hello_deferred() local
[all …]
Draw.c21 struct gb_connection *connection; member
93 struct gb_connection *connection = op->connection; in gb_raw_request_handler() local
127 struct gb_connection *connection = raw->connection; in gb_raw_send() local
154 struct gb_connection *connection; in gb_raw_probe() local
229 struct gb_connection *connection = raw->connection; in gb_raw_disconnect() local
Dbootrom.c35 struct gb_connection *connection; member
113 struct gb_connection *connection = bootrom->connection; in bootrom_es2_fixup_vid_pid() local
145 struct gb_connection *connection = bootrom->connection; in find_firmware() local
310 struct gb_connection *connection = op->connection; in gb_bootrom_ready_to_boot() local
413 struct gb_connection *connection; in gb_bootrom_probe() local
Dfw-core.c32 static int gb_fw_spi_connection_init(struct gb_connection *connection) in gb_fw_spi_connection_init()
53 static void gb_fw_spi_connection_exit(struct gb_connection *connection) in gb_fw_spi_connection_exit()
66 struct gb_connection *connection; in gb_fw_core_probe() local
Dspi.c21 struct gb_connection *connection; in gb_spi_probe() local
53 struct gb_connection *connection = gb_gbphy_get_data(gbphy_dev); in gb_spi_remove() local
Doperation.h89 struct gb_connection *connection; member
145 gb_operation_create(struct gb_connection *connection, in gb_operation_create()
191 static inline int gb_operation_sync(struct gb_connection *connection, int type, in gb_operation_sync()
200 static inline int gb_operation_unidirectional(struct gb_connection *connection, in gb_operation_unidirectional()
/drivers/block/drbd/
Ddrbd_receiver.c230 static void conn_reclaim_net_peer_reqs(struct drbd_connection *connection) in conn_reclaim_net_peer_reqs()
520 static int drbd_recv(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv()
553 static int drbd_recv_all(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv_all()
566 static int drbd_recv_all_warn(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv_all_warn()
595 static struct socket *drbd_try_connect(struct drbd_connection *connection) in drbd_try_connect()
684 struct drbd_connection *connection; member
702 static int prepare_listen_socket(struct drbd_connection *connection, struct accept_wait_data *ad) in prepare_listen_socket()
773 static struct socket *drbd_wait_for_connect(struct drbd_connection *connection, struct accept_wait_… in drbd_wait_for_connect()
812 static int send_first_packet(struct drbd_connection *connection, struct drbd_socket *sock, in send_first_packet()
820 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.c192 void tl_release(struct drbd_connection *connection, unsigned int barrier_nr, in tl_release()
276 void _tl_restart(struct drbd_connection *connection, enum drbd_req_event what) in _tl_restart()
284 void tl_restart(struct drbd_connection *connection, enum drbd_req_event what) in tl_restart()
299 void tl_clear(struct drbd_connection *connection) in tl_clear()
310 struct drbd_connection *connection = first_peer_device(device)->connection; in tl_abort_disk_io() local
487 int conn_lowest_minor(struct drbd_connection *connection) in conn_lowest_minor()
567 unsigned int drbd_header_size(struct drbd_connection *connection) in drbd_header_size()
607 static unsigned int prepare_header(struct drbd_connection *connection, int vnr, in prepare_header()
619 static void *__conn_prepare_command(struct drbd_connection *connection, in __conn_prepare_command()
627 void *conn_prepare_command(struct drbd_connection *connection, struct drbd_socket *sock) in conn_prepare_command()
[all …]
Ddrbd_req.c185 static void wake_all_senders(struct drbd_connection *connection) in wake_all_senders()
191 void start_new_tl_epoch(struct drbd_connection *connection) in start_new_tl_epoch()
339 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in set_if_null_req_next() local
348 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in advance_conn_req_next() local
365 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in set_if_null_req_ack_pending() local
374 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in advance_conn_req_ack_pending() local
391 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in set_if_null_req_not_net_done() local
400 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in advance_conn_req_not_net_done() local
584 struct drbd_connection *const connection = peer_device ? peer_device->connection : NULL; in __req_mod() local
1006 struct drbd_connection *connection = first_peer_device(device)->connection; in maybe_pull_ahead() local
[all …]
Ddrbd_nl.c311 static void setup_khelper_env(struct drbd_connection *connection, char **envp) in setup_khelper_env()
348 struct drbd_connection *connection = first_peer_device(device)->connection; in drbd_khelper() local
390 enum drbd_peer_state conn_khelper(struct drbd_connection *connection, char *cmd) in conn_khelper()
427 static enum drbd_fencing_p highest_fencing_policy(struct drbd_connection *connection) in highest_fencing_policy()
453 bool conn_try_outdate_peer(struct drbd_connection *connection) in conn_try_outdate_peer()
572 struct drbd_connection *connection = (struct drbd_connection *)data; in _try_outdate_peer_async() local
580 void conn_try_outdate_peer_async(struct drbd_connection *connection) in conn_try_outdate_peer_async()
602 struct drbd_connection *const connection = peer_device ? peer_device->connection : NULL; in drbd_set_role() local
611 struct drbd_connection *connection; in drbd_set_role() local
1180 static unsigned int drbd_max_discard_sectors(struct drbd_connection *connection) in drbd_max_discard_sectors()
[all …]
Ddrbd_worker.c116 struct drbd_connection *connection = peer_device->connection; in drbd_endio_write_sec_final() local
590 struct drbd_connection *const connection = peer_device ? peer_device->connection : NULL; in make_resync_request() local
845 struct drbd_connection *connection = first_peer_device(device)->connection; in ping_peer() local
855 struct drbd_connection *connection = first_peer_device(device)->connection; in drbd_resync_finished() local
1366 static int drbd_send_barrier(struct drbd_connection *connection) in drbd_send_barrier()
1397 static void re_init_if_first_write(struct drbd_connection *connection, unsigned int epoch) in re_init_if_first_write()
1407 static void maybe_send_barrier(struct drbd_connection *connection, unsigned int epoch) in maybe_send_barrier()
1424 struct drbd_connection *const connection = peer_device->connection; in w_send_out_of_sync() local
1455 struct drbd_connection *connection = peer_device->connection; in w_send_dblock() local
1484 struct drbd_connection *connection = peer_device->connection; in w_send_read_req() local
[all …]
Ddrbd_debugfs.c302 struct drbd_connection *connection, in seq_print_resource_transfer_log_summary()
363 struct drbd_connection *connection; in in_flight_summary_show() local
554 struct drbd_connection *connection = m->private; in callback_history_show() local
568 struct drbd_connection *connection = inode->i_private; in callback_history_open() local
575 struct drbd_connection *connection = inode->i_private; in callback_history_release() local
590 struct drbd_connection *connection = m->private; in connection_oldest_requests_show() local
615 struct drbd_connection *connection = inode->i_private; in connection_oldest_requests_open() local
622 struct drbd_connection *connection = inode->i_private; in connection_oldest_requests_release() local
635 void drbd_debugfs_connection_add(struct drbd_connection *connection) in drbd_debugfs_connection_add()
670 void drbd_debugfs_connection_cleanup(struct drbd_connection *connection) in drbd_debugfs_connection_cleanup()

12