Home
last modified time | relevance | path

Searched refs:gb_connection (Results 1 – 25 of 38) sorted by relevance

12

/Linux-v4.19/drivers/staging/greybus/
Dconnection.h35 struct gb_connection { struct
64 struct gb_connection *gb_connection_create_static(struct gb_host_device *hd, argument
66 struct gb_connection *gb_connection_create_control(struct gb_interface *intf);
67 struct gb_connection *gb_connection_create(struct gb_bundle *bundle,
69 struct gb_connection *gb_connection_create_flags(struct gb_bundle *bundle,
72 struct gb_connection *gb_connection_create_offloaded(struct gb_bundle *bundle,
74 void gb_connection_destroy(struct gb_connection *connection);
76 static inline bool gb_connection_is_static(struct gb_connection *connection) in gb_connection_is_static()
81 int gb_connection_enable(struct gb_connection *connection);
82 int gb_connection_enable_tx(struct gb_connection *connection);
[all …]
Daudio_codec.h96 struct gb_connection *connection;
139 struct gb_connection *mgmt_connection;
176 extern int gb_audio_gb_get_topology(struct gb_connection *connection,
178 extern int gb_audio_gb_get_control(struct gb_connection *connection,
181 extern int gb_audio_gb_set_control(struct gb_connection *connection,
184 extern int gb_audio_gb_enable_widget(struct gb_connection *connection,
186 extern int gb_audio_gb_disable_widget(struct gb_connection *connection,
188 extern int gb_audio_gb_get_pcm(struct gb_connection *connection,
192 extern int gb_audio_gb_set_pcm(struct gb_connection *connection,
196 extern int gb_audio_gb_set_tx_data_size(struct gb_connection *connection,
[all …]
Dconnection.c29 struct gb_connection *connection; in gb_connection_cport_in_use()
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()
57 static struct gb_connection *
60 struct gb_connection *connection; in gb_connection_hd_find()
83 struct gb_connection *connection; in greybus_data_rcvd()
100 struct gb_connection *connection; in gb_connection_kref_release()
102 connection = container_of(kref, struct gb_connection, kref); in gb_connection_kref_release()
109 static void gb_connection_init_name(struct gb_connection *connection) in gb_connection_init_name()
147 static struct gb_connection *
[all …]
Dfirmware.h25 struct gb_connection *to_fw_mgmt_connection(struct device *dev);
27 int gb_fw_mgmt_connection_init(struct gb_connection *connection);
28 void gb_fw_mgmt_connection_exit(struct gb_connection *connection);
32 int gb_fw_download_connection_init(struct gb_connection *connection);
33 void gb_fw_download_connection_exit(struct gb_connection *connection);
38 int gb_cap_connection_init(struct gb_connection *connection);
39 void gb_cap_connection_exit(struct gb_connection *connection);
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 …]
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 …]
Doperation.h88 struct gb_connection *connection;
134 void gb_connection_recv(struct gb_connection *connection,
139 size_t gb_operation_get_payload_size_max(struct gb_connection *connection);
141 gb_operation_create_flags(struct gb_connection *connection,
147 gb_operation_create(struct gb_connection *connection, in gb_operation_create()
156 gb_operation_create_core(struct gb_connection *connection,
186 int gb_operation_sync_timeout(struct gb_connection *connection, int type,
190 int gb_operation_unidirectional_timeout(struct gb_connection *connection,
194 static inline int gb_operation_sync(struct gb_connection *connection, int type, in gb_operation_sync()
203 static inline int gb_operation_unidirectional(struct gb_connection *connection, in gb_operation_unidirectional()
Dfw-core.c16 struct gb_connection *download_connection;
17 struct gb_connection *mgmt_connection;
18 struct gb_connection *spi_connection;
19 struct gb_connection *cap_connection;
24 struct gb_connection *to_fw_mgmt_connection(struct device *dev) in to_fw_mgmt_connection()
31 static int gb_fw_spi_connection_init(struct gb_connection *connection) in gb_fw_spi_connection_init()
52 static void gb_fw_spi_connection_exit(struct gb_connection *connection) in gb_fw_spi_connection_exit()
65 struct gb_connection *connection; in gb_fw_core_probe()
Dspilib.h15 struct gb_connection;
22 int gb_spilib_master_init(struct gb_connection *connection,
24 void gb_spilib_master_exit(struct gb_connection *connection);
Doperation.c44 struct gb_connection *connection = operation->connection; in gb_operation_get_active()
81 struct gb_connection *connection = operation->connection; in gb_operation_put_active()
98 struct gb_connection *connection = operation->connection; in gb_operation_is_active()
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()
238 struct gb_connection *connection = operation->connection; in gb_operation_request_handle()
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 …]
Dlog.c16 struct gb_connection *connection;
21 struct gb_connection *connection = op->connection; in gb_log_request_handler()
70 struct gb_connection *connection; in gb_log_probe()
111 struct gb_connection *connection = log->connection; in gb_log_disconnect()
Dlight.c65 struct gb_connection *connection;
73 static struct gb_connection *get_conn_from_channel(struct gb_channel *channel) in get_conn_from_channel()
78 static struct gb_connection *get_conn_from_light(struct gb_light *light) in get_conn_from_light()
119 struct gb_connection *connection = get_conn_from_channel(channel); in __gb_lights_flash_intensity_set()
322 struct gb_connection *connection = get_conn_from_channel(channel); in gb_lights_fade_set()
348 struct gb_connection *connection = get_conn_from_channel(channel); in gb_lights_color_set()
374 struct gb_connection *connection = get_conn_from_channel(channel); in __gb_lights_led_brightness_set()
456 struct gb_connection *connection = get_conn_from_channel(channel); in gb_blink_set()
535 struct gb_connection *connection = get_conn_from_light(light); in gb_lights_light_v4l2_register()
595 struct gb_connection *connection = get_conn_from_light(light); in gb_lights_light_v4l2_register()
[all …]
Dpower_supply.c51 struct gb_connection *connection;
311 static struct gb_connection *get_conn_from_psy(struct gb_power_supply *gbpsy) in get_conn_from_psy()
362 struct gb_connection *connection = get_conn_from_psy(gbpsy); in gb_power_supply_state_change()
477 struct gb_connection *connection = get_conn_from_psy(gbpsy); in gb_power_supply_description_get()
509 struct gb_connection *connection = get_conn_from_psy(gbpsy); in gb_power_supply_prop_descriptors_get()
593 struct gb_connection *connection = get_conn_from_psy(gbpsy); in __gb_power_supply_property_update()
662 struct gb_connection *connection = get_conn_from_psy(gbpsy); in _gb_power_supply_property_get()
698 struct gb_connection *connection = get_conn_from_psy(gbpsy); in gb_power_supply_status_get()
769 struct gb_connection *connection = get_conn_from_psy(gbpsy); in gb_power_supply_property_set()
820 struct gb_connection *connection = get_conn_from_psy(gbpsy); in gb_power_supply_register()
[all …]
Dauthentication.c29 struct gb_connection *connection;
87 struct gb_connection *connection = cap->connection; in cap_get_endpoint_uid()
106 struct gb_connection *connection = cap->connection; in cap_get_ims_certificate()
145 struct gb_connection *connection = cap->connection; in cap_authenticate()
299 int gb_cap_connection_init(struct gb_connection *connection) in gb_cap_connection_init()
365 void gb_cap_connection_exit(struct gb_connection *connection) in gb_cap_connection_exit()
Di2c.c18 struct gb_connection *connection;
71 gb_i2c_operation_create(struct gb_connection *connection, in gb_i2c_operation_create()
169 struct gb_connection *connection = gb_i2c_dev->connection; in gb_i2c_transfer_operation()
254 struct gb_connection *connection; in gb_i2c_probe()
315 struct gb_connection *connection = gb_i2c_dev->connection; in gb_i2c_remove()
Dfw-download.c38 struct gb_connection *connection;
224 struct gb_connection *connection = op->connection; in fw_download_find_firmware()
271 struct gb_connection *connection = op->connection; in fw_download_fetch_firmware()
354 struct gb_connection *connection = op->connection; in fw_download_release_firmware()
405 int gb_fw_download_connection_init(struct gb_connection *connection) in gb_fw_download_connection_init()
437 void gb_fw_download_connection_exit(struct gb_connection *connection) in gb_fw_download_connection_exit()
Dspi.c20 struct gb_connection *connection; in gb_spi_probe()
52 struct gb_connection *connection = gb_gbphy_get_data(gbphy_dev); in gb_spi_remove()
Dgreybus_trace.h18 struct gb_connection;
163 DECLARE_EVENT_CLASS(gb_connection,
165 TP_PROTO(struct gb_connection *connection),
194 DEFINE_EVENT(gb_connection, name, \
195 TP_PROTO(struct gb_connection *connection), \
Draw.c20 struct gb_connection *connection;
92 struct gb_connection *connection = op->connection; in gb_raw_request_handler()
126 struct gb_connection *connection = raw->connection; in gb_raw_send()
153 struct gb_connection *connection; in gb_raw_probe()
228 struct gb_connection *connection = raw->connection; in gb_raw_disconnect()
Dfw-management.c25 struct gb_connection *connection;
107 struct gb_connection *connection = fw_mgmt->connection; in fw_mgmt_interface_fw_version_operation()
194 struct gb_connection *connection = op->connection; in fw_mgmt_interface_fw_loaded_operation()
245 struct gb_connection *connection = fw_mgmt->connection; in fw_mgmt_backend_fw_version_operation()
344 struct gb_connection *connection = op->connection; in fw_mgmt_backend_fw_updated_operation()
587 int gb_fw_mgmt_connection_init(struct gb_connection *connection) in gb_fw_mgmt_connection_init()
658 void gb_fw_mgmt_connection_exit(struct gb_connection *connection) in gb_fw_mgmt_connection_exit()
Dusb.c34 struct gb_connection *connection;
161 struct gb_connection *connection; in gb_usb_probe()
222 struct gb_connection *connection = gb_usb_dev->connection; in gb_usb_remove()
Dbootrom.c34 struct gb_connection *connection;
113 struct gb_connection *connection = bootrom->connection; in bootrom_es2_fixup_vid_pid()
145 struct gb_connection *connection = bootrom->connection; in find_firmware()
312 struct gb_connection *connection = op->connection; in gb_bootrom_ready_to_boot()
415 struct gb_connection *connection; in gb_bootrom_probe()
Dspilib.c19 struct gb_connection *connection;
163 struct gb_connection *connection, struct spi_message *msg) in gb_spi_operation_create()
327 struct gb_connection *connection = spi->connection; in gb_spi_transfer_one_message()
481 int gb_spilib_master_init(struct gb_connection *connection, struct device *dev, in gb_spilib_master_init()
558 void gb_spilib_master_exit(struct gb_connection *connection) in gb_spilib_master_exit()
Dpwm.c18 struct gb_connection *connection;
250 struct gb_connection *connection; in gb_pwm_probe()
309 struct gb_connection *connection = pwmc->connection; in gb_pwm_remove()
Dsvc.c504 struct gb_connection *connection = svc->connection; in gb_svc_connection_destroy()
644 struct gb_connection *connection = op->connection; in gb_svc_version_request()
841 struct gb_connection *connection = op->connection; in gb_svc_hello()
915 struct gb_connection *connection = operation->connection; in gb_svc_process_hello_deferred()
948 struct gb_connection *connection = operation->connection; in gb_svc_process_module_inserted()
996 struct gb_connection *connection = operation->connection; in gb_svc_process_module_removed()
1024 struct gb_connection *connection = operation->connection; in gb_svc_process_intf_oops()
1055 struct gb_connection *connection = operation->connection; in gb_svc_process_intf_mailbox_event()
1225 struct gb_connection *connection = op->connection; in gb_svc_request_handler()

12