Home
last modified time | relevance | path

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

12

/linux/include/linux/greybus/
H A 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 …]
H A 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/drivers/staging/greybus/
H A 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 …]
H A 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);
H A 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 …]
H A 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 …]
H A 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()
H A 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);
H A Dlight.c59 struct gb_connection *connection;
67 static struct gb_connection *get_conn_from_channel(struct gb_channel *channel) in get_conn_from_channel()
72 static struct gb_connection *get_conn_from_light(struct gb_light *light) in get_conn_from_light()
112 struct gb_connection *connection = get_conn_from_channel(channel); in __gb_lights_flash_intensity_set()
301 struct gb_connection *connection = get_conn_from_channel(channel); in gb_lights_fade_set()
327 struct gb_connection *connection = get_conn_from_channel(channel); in gb_lights_color_set()
353 struct gb_connection *connection = get_conn_from_channel(channel); in __gb_lights_led_brightness_set()
435 struct gb_connection *connection = get_conn_from_channel(channel); in gb_blink_set()
514 struct gb_connection *connection = get_conn_from_light(light); in gb_lights_light_v4l2_register()
577 struct gb_connection *connection = get_conn_from_light(light); in gb_lights_light_v4l2_register()
[all …]
H A 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()
H A 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 …]
H A 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()
H A Dauthentication.c28 struct gb_connection *connection;
89 struct gb_connection *connection = cap->connection; in cap_get_endpoint_uid()
108 struct gb_connection *connection = cap->connection; in cap_get_ims_certificate()
147 struct gb_connection *connection = cap->connection; in cap_authenticate()
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()
H A Dfw-download.c38 struct gb_connection *connection;
223 struct gb_connection *connection = op->connection; in fw_download_find_firmware()
270 struct gb_connection *connection = op->connection; in fw_download_fetch_firmware()
353 struct gb_connection *connection = op->connection; in fw_download_release_firmware()
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()
H A Draw.c19 struct gb_connection *connection;
94 struct gb_connection *connection = op->connection; in gb_raw_request_handler()
128 struct gb_connection *connection = raw->connection; in gb_raw_send()
155 struct gb_connection *connection; in gb_raw_probe()
230 struct gb_connection *connection = raw->connection; in gb_raw_disconnect()
H A 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()
H A Dpwm.c18 struct gb_connection *connection;
27 static int gb_pwm_get_npwm(struct gb_connection *connection) in gb_pwm_get_npwm()
247 struct gb_connection *connection; in gb_pwm_probe()
303 struct gb_connection *connection = pwmc->connection; in gb_pwm_remove()
H A 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()
H A 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()
H A 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()
H A Dvibrator.c19 struct gb_connection *connection;
119 struct gb_connection *connection; in gb_vibrator_probe()
/linux/drivers/greybus/
H A 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 …]
H A 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 …]
H A 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), \
H A Dsvc.c503 struct gb_connection *connection = svc->connection; in gb_svc_connection_destroy()
643 struct gb_connection *connection = op->connection; in gb_svc_version_request()
840 struct gb_connection *connection = op->connection; in gb_svc_hello()
924 struct gb_connection *connection = operation->connection; in gb_svc_process_hello_deferred()
957 struct gb_connection *connection = operation->connection; in gb_svc_process_module_inserted()
1005 struct gb_connection *connection = operation->connection; in gb_svc_process_module_removed()
1033 struct gb_connection *connection = operation->connection; in gb_svc_process_intf_oops()
1064 struct gb_connection *connection = operation->connection; in gb_svc_process_intf_mailbox_event()
1234 struct gb_connection *connection = op->connection; in gb_svc_request_handler()

12