Home
last modified time | relevance | path

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

12

/Linux-v6.6/include/linux/greybus/
Dconnection.h38 struct gb_connection { struct
67 struct gb_connection *gb_connection_create_static(struct gb_host_device *hd, argument
69 struct gb_connection *gb_connection_create_control(struct gb_interface *intf);
70 struct gb_connection *gb_connection_create(struct gb_bundle *bundle,
72 struct gb_connection *gb_connection_create_flags(struct gb_bundle *bundle,
75 struct gb_connection *gb_connection_create_offloaded(struct gb_bundle *bundle,
77 void gb_connection_destroy(struct gb_connection *connection);
79 static inline bool gb_connection_is_static(struct gb_connection *connection) in gb_connection_is_static()
84 int gb_connection_enable(struct gb_connection *connection);
85 int gb_connection_enable_tx(struct gb_connection *connection);
[all …]
Doperation.h93 struct gb_connection *connection;
139 void gb_connection_recv(struct gb_connection *connection,
144 size_t gb_operation_get_payload_size_max(struct gb_connection *connection);
146 gb_operation_create_flags(struct gb_connection *connection,
152 gb_operation_create(struct gb_connection *connection, in gb_operation_create()
161 gb_operation_create_core(struct gb_connection *connection,
191 int gb_operation_sync_timeout(struct gb_connection *connection, int type,
195 int gb_operation_unidirectional_timeout(struct gb_connection *connection,
199 static inline int gb_operation_sync(struct gb_connection *connection, int type, in gb_operation_sync()
208 static inline int gb_operation_unidirectional(struct gb_connection *connection, in gb_operation_unidirectional()
/Linux-v6.6/drivers/staging/greybus/
Daudio_codec.h95 struct gb_connection *connection;
143 struct gb_connection *mgmt_connection;
181 int gb_audio_gb_get_topology(struct gb_connection *connection,
183 int gb_audio_gb_get_control(struct gb_connection *connection,
186 int gb_audio_gb_set_control(struct gb_connection *connection,
189 int gb_audio_gb_enable_widget(struct gb_connection *connection,
191 int gb_audio_gb_disable_widget(struct gb_connection *connection,
193 int gb_audio_gb_get_pcm(struct gb_connection *connection,
197 int gb_audio_gb_set_pcm(struct gb_connection *connection,
201 int gb_audio_gb_set_tx_data_size(struct gb_connection *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.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 …]
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 …]
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);
Dlog.c15 struct gb_connection *connection;
20 struct gb_connection *connection = op->connection; in gb_log_request_handler()
69 struct gb_connection *connection; in gb_log_probe()
110 struct gb_connection *connection = log->connection; in gb_log_disconnect()
Dlight.c63 struct gb_connection *connection;
71 static struct gb_connection *get_conn_from_channel(struct gb_channel *channel) in get_conn_from_channel()
76 static struct gb_connection *get_conn_from_light(struct gb_light *light) in get_conn_from_light()
117 struct gb_connection *connection = get_conn_from_channel(channel); in __gb_lights_flash_intensity_set()
319 struct gb_connection *connection = get_conn_from_channel(channel); in gb_lights_fade_set()
345 struct gb_connection *connection = get_conn_from_channel(channel); in gb_lights_color_set()
371 struct gb_connection *connection = get_conn_from_channel(channel); in __gb_lights_led_brightness_set()
453 struct gb_connection *connection = get_conn_from_channel(channel); in gb_blink_set()
532 struct gb_connection *connection = get_conn_from_light(light); in gb_lights_light_v4l2_register()
592 struct gb_connection *connection = get_conn_from_light(light); in gb_lights_light_v4l2_register()
[all …]
Dpower_supply.c50 struct gb_connection *connection;
310 static struct gb_connection *get_conn_from_psy(struct gb_power_supply *gbpsy) in get_conn_from_psy()
361 struct gb_connection *connection = get_conn_from_psy(gbpsy); in gb_power_supply_state_change()
476 struct gb_connection *connection = get_conn_from_psy(gbpsy); in gb_power_supply_description_get()
508 struct gb_connection *connection = get_conn_from_psy(gbpsy); in gb_power_supply_prop_descriptors_get()
592 struct gb_connection *connection = get_conn_from_psy(gbpsy); in __gb_power_supply_property_update()
661 struct gb_connection *connection = get_conn_from_psy(gbpsy); in _gb_power_supply_property_get()
697 struct gb_connection *connection = get_conn_from_psy(gbpsy); in gb_power_supply_status_get()
768 struct gb_connection *connection = get_conn_from_psy(gbpsy); in gb_power_supply_property_set()
819 struct gb_connection *connection = get_conn_from_psy(gbpsy); in gb_power_supply_register()
[all …]
Di2c.c18 struct gb_connection *connection;
78 gb_i2c_operation_create(struct gb_connection *connection, in gb_i2c_operation_create()
176 struct gb_connection *connection = gb_i2c_dev->connection; in gb_i2c_transfer_operation()
233 struct gb_connection *connection; in gb_i2c_probe()
294 struct gb_connection *connection = gb_i2c_dev->connection; in gb_i2c_remove()
Dauthentication.c28 struct gb_connection *connection;
86 struct gb_connection *connection = cap->connection; in cap_get_endpoint_uid()
105 struct gb_connection *connection = cap->connection; in cap_get_ims_certificate()
144 struct gb_connection *connection = cap->connection; in cap_authenticate()
298 int gb_cap_connection_init(struct gb_connection *connection) in gb_cap_connection_init()
364 void gb_cap_connection_exit(struct gb_connection *connection) in gb_cap_connection_exit()
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()
Draw.c19 struct gb_connection *connection;
91 struct gb_connection *connection = op->connection; in gb_raw_request_handler()
125 struct gb_connection *connection = raw->connection; in gb_raw_send()
152 struct gb_connection *connection; in gb_raw_probe()
227 struct gb_connection *connection = raw->connection; in gb_raw_disconnect()
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()
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()
Dbootrom.c34 struct gb_connection *connection;
114 struct gb_connection *connection = bootrom->connection; in bootrom_es2_fixup_vid_pid()
146 struct gb_connection *connection = bootrom->connection; in find_firmware()
313 struct gb_connection *connection = op->connection; in gb_bootrom_ready_to_boot()
416 struct gb_connection *connection; in gb_bootrom_probe()
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()
Dspilib.c19 struct gb_connection *connection;
163 struct gb_connection *connection, struct spi_message *msg) in gb_spi_operation_create()
331 struct gb_connection *connection = spi->connection; in gb_spi_transfer_one_message()
485 int gb_spilib_master_init(struct gb_connection *connection, struct device *dev, in gb_spilib_master_init()
562 void gb_spilib_master_exit(struct gb_connection *connection) in gb_spilib_master_exit()
Dpwm.c18 struct gb_connection *connection;
267 struct gb_connection *connection; in gb_pwm_probe()
325 struct gb_connection *connection = pwmc->connection; in gb_pwm_remove()
Duart.c48 struct gb_connection *connection;
75 struct gb_connection *connection = op->connection; in gb_uart_receive_data_handler()
131 struct gb_connection *connection = op->connection; in gb_uart_serial_state_handler()
151 struct gb_connection *connection = op->connection; in gb_uart_receive_credits_handler()
201 struct gb_connection *connection = op->connection; in gb_uart_request_handler()
805 struct gb_connection *connection; in gb_uart_probe()
916 struct gb_connection *connection = gb_tty->connection; in gb_uart_remove()
/Linux-v6.6/drivers/greybus/
Dconnection.c25 struct gb_connection *connection; in gb_connection_cport_in_use()
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()
53 static struct gb_connection *
56 struct gb_connection *connection; in gb_connection_hd_find()
79 struct gb_connection *connection; in greybus_data_rcvd()
96 struct gb_connection *connection; in gb_connection_kref_release()
98 connection = container_of(kref, struct gb_connection, kref); in gb_connection_kref_release()
105 static void gb_connection_init_name(struct gb_connection *connection) in gb_connection_init_name()
143 static struct gb_connection *
[all …]
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()
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 …]
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), \

12