Home
last modified time | relevance | path

Searched refs:gb_bundle (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v4.19/drivers/staging/greybus/
Dbundle.h17 struct gb_bundle { struct
34 #define to_gb_bundle(d) container_of(d, struct gb_bundle, dev) argument
37 struct gb_bundle *gb_bundle_create(struct gb_interface *intf, u8 bundle_id,
39 int gb_bundle_add(struct gb_bundle *bundle);
40 void gb_bundle_destroy(struct gb_bundle *bundle);
44 static inline int gb_pm_runtime_get_sync(struct gb_bundle *bundle) in gb_pm_runtime_get_sync()
59 static inline int gb_pm_runtime_put_autosuspend(struct gb_bundle *bundle) in gb_pm_runtime_put_autosuspend()
69 static inline void gb_pm_runtime_get_noresume(struct gb_bundle *bundle) in gb_pm_runtime_get_noresume()
74 static inline void gb_pm_runtime_put_noidle(struct gb_bundle *bundle) in gb_pm_runtime_put_noidle()
80 static inline int gb_pm_runtime_get_sync(struct gb_bundle *bundle) in gb_pm_runtime_get_sync()
[all …]
Dbundle.c15 struct gb_bundle *bundle = to_gb_bundle(dev); in bundle_class_show()
24 struct gb_bundle *bundle = to_gb_bundle(dev); in bundle_id_show()
33 struct gb_bundle *bundle = to_gb_bundle(dev); in state_show()
44 struct gb_bundle *bundle = to_gb_bundle(dev); in state_store()
67 static struct gb_bundle *gb_bundle_find(struct gb_interface *intf, in gb_bundle_find()
70 struct gb_bundle *bundle; in gb_bundle_find()
82 struct gb_bundle *bundle = to_gb_bundle(dev); in gb_bundle_release()
92 static void gb_bundle_disable_all_connections(struct gb_bundle *bundle) in gb_bundle_disable_all_connections()
100 static void gb_bundle_enable_all_connections(struct gb_bundle *bundle) in gb_bundle_enable_all_connections()
110 struct gb_bundle *bundle = to_gb_bundle(dev); in gb_bundle_suspend()
[all …]
Dgreybus.h59 int (*probe)(struct gb_bundle *bundle,
61 void (*disconnect)(struct gb_bundle *bundle);
69 static inline void greybus_set_drvdata(struct gb_bundle *bundle, void *data) in greybus_set_drvdata()
74 static inline void *greybus_get_drvdata(struct gb_bundle *bundle) in greybus_get_drvdata()
Dconnection.h38 struct gb_bundle *bundle;
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,
Dcore.c30 static bool greybus_match_one_id(struct gb_bundle *bundle, in greybus_match_one_id()
49 greybus_match_id(struct gb_bundle *bundle, const struct greybus_bundle_id *id) in greybus_match_id()
66 struct gb_bundle *bundle; in greybus_match_device()
87 struct gb_bundle *bundle = NULL; in greybus_uevent()
168 struct gb_bundle *bundle = to_gb_bundle(dev); in greybus_probe()
228 struct gb_bundle *bundle = to_gb_bundle(dev); in greybus_remove()
Dvibrator.c32 struct gb_bundle *bundle = vib->connection->bundle; in turn_off()
45 struct gb_bundle *bundle = vib->connection->bundle; in turn_on()
117 static int gb_vibrator_probe(struct gb_bundle *bundle, in gb_vibrator_probe()
189 static void gb_vibrator_disconnect(struct gb_bundle *bundle) in gb_vibrator_disconnect()
Dgbphy.c23 struct gb_bundle *bundle;
78 struct gb_bundle *bundle = gbphy_dev->bundle; in gbphy_dev_uevent()
223 static struct gbphy_device *gb_gbphy_create_dev(struct gb_bundle *bundle, in gb_gbphy_create_dev()
259 static void gb_gbphy_disconnect(struct gb_bundle *bundle) in gb_gbphy_disconnect()
277 static int gb_gbphy_probe(struct gb_bundle *bundle, in gb_gbphy_probe()
Daudio_module.c179 struct gb_bundle *bundle) in gb_audio_add_mgmt_connection()
203 struct gb_bundle *bundle) in gb_audio_add_data_connection()
233 static int gb_audio_probe(struct gb_bundle *bundle, in gb_audio_probe()
385 static void gb_audio_disconnect(struct gb_bundle *bundle) in gb_audio_disconnect()
423 struct gb_bundle *bundle = to_gb_bundle(dev); in gb_audio_suspend()
437 struct gb_bundle *bundle = to_gb_bundle(dev); in gb_audio_resume()
Dgreybus_trace.h19 struct gb_bundle;
237 DECLARE_EVENT_CLASS(gb_bundle,
239 TP_PROTO(struct gb_bundle *bundle),
263 DEFINE_EVENT(gb_bundle, name, \
264 TP_PROTO(struct gb_bundle *bundle), \
Dlog.c66 static int gb_log_probe(struct gb_bundle *bundle, in gb_log_probe()
108 static void gb_log_disconnect(struct gb_bundle *bundle) in gb_log_disconnect()
Dlight.c120 struct gb_bundle *bundle = connection->bundle; in __gb_lights_flash_intensity_set()
323 struct gb_bundle *bundle = connection->bundle; in gb_lights_fade_set()
349 struct gb_bundle *bundle = connection->bundle; in gb_lights_color_set()
375 struct gb_bundle *bundle = connection->bundle; in __gb_lights_led_brightness_set()
457 struct gb_bundle *bundle = connection->bundle; in gb_blink_set()
638 struct gb_bundle *bundle = connection->bundle; in gb_lights_flash_strobe_set()
679 struct gb_bundle *bundle = connection->bundle; in gb_lights_flash_timeout_set()
710 struct gb_bundle *bundle = connection->bundle; in gb_lights_flash_fault_get()
1263 static int gb_lights_probe(struct gb_bundle *bundle, in gb_lights_probe()
1332 static void gb_lights_disconnect(struct gb_bundle *bundle) in gb_lights_disconnect()
Dmanifest.c228 static u32 gb_manifest_parse_cports(struct gb_bundle *bundle) in gb_manifest_parse_cports()
316 struct gb_bundle *bundle; in gb_manifest_parse_bundles()
317 struct gb_bundle *bundle_next; in gb_manifest_parse_bundles()
Dbootrom.c376 struct gb_bundle *bundle = bootrom->connection->bundle; in gb_bootrom_get_version()
411 static int gb_bootrom_probe(struct gb_bundle *bundle, in gb_bootrom_probe()
489 static void gb_bootrom_disconnect(struct gb_bundle *bundle) in gb_bootrom_disconnect()
Dfw-core.c61 static int gb_fw_core_probe(struct gb_bundle *bundle, in gb_fw_core_probe()
231 static void gb_fw_core_disconnect(struct gb_bundle *bundle) in gb_fw_core_disconnect()
Daudio_topology.c221 struct gb_bundle *bundle; in gbcodec_mixer_ctl_get()
283 struct gb_bundle *bundle; in gbcodec_mixer_ctl_put()
392 struct gb_bundle *bundle; in gbcodec_mixer_dapm_ctl_get()
442 struct gb_bundle *bundle; in gbcodec_mixer_dapm_ctl_put()
561 struct gb_bundle *bundle; in gbcodec_enum_ctl_get()
606 struct gb_bundle *bundle; in gbcodec_enum_ctl_put()
726 struct gb_bundle *bundle; in gbcodec_enum_dapm_ctl_get()
774 struct gb_bundle *bundle; in gbcodec_enum_dapm_ctl_put()
942 struct gb_bundle *bundle; in gbaudio_widget_event()
Dhid.c20 struct gb_bundle *bundle;
422 static int gb_hid_probe(struct gb_bundle *bundle, in gb_hid_probe()
493 static void gb_hid_disconnect(struct gb_bundle *bundle) in gb_hid_disconnect()
Dgbphy.h14 struct gb_bundle *bundle;
Dconnection.c150 struct gb_bundle *bundle, int cport_id, in _gb_connection_create()
248 gb_connection_create(struct gb_bundle *bundle, u16 cport_id, in gb_connection_create()
259 gb_connection_create_flags(struct gb_bundle *bundle, u16 cport_id, in gb_connection_create_flags()
274 gb_connection_create_offloaded(struct gb_bundle *bundle, u16 cport_id, in gb_connection_create_offloaded()
Draw.c149 static int gb_raw_probe(struct gb_bundle *bundle, in gb_raw_probe()
225 static void gb_raw_disconnect(struct gb_bundle *bundle) in gb_raw_disconnect()
Dcamera.c51 struct gb_bundle *bundle;
1236 static int gb_camera_probe(struct gb_bundle *bundle,
1319 static void gb_camera_disconnect(struct gb_bundle *bundle)
1340 struct gb_bundle *bundle = to_gb_bundle(dev);
1353 struct gb_bundle *bundle = to_gb_bundle(dev);
Dcontrol.c57 struct gb_bundle *bundle) in gb_control_get_bundle_version()
89 struct gb_bundle *bundle; in gb_control_get_bundle_versions()
Dinterface.c1071 struct gb_bundle *bundle, *tmp; in gb_interface_enable()
1183 struct gb_bundle *bundle; in gb_interface_disable()
1184 struct gb_bundle *next; in gb_interface_disable()
Daudio_codec.c418 struct gb_bundle *bundle; in gbcodec_hw_params()
519 struct gb_bundle *bundle; in gbcodec_prepare()
586 struct gb_bundle *bundle; in gbcodec_mute_stream()
Dloopback.c850 struct gb_bundle *bundle = gb->connection->bundle; in gb_loopback_fn()
1031 static int gb_loopback_probe(struct gb_bundle *bundle, in gb_loopback_probe()
1152 static void gb_loopback_disconnect(struct gb_bundle *bundle) in gb_loopback_disconnect()
Dauthentication.c266 struct gb_bundle *bundle = cap->connection->bundle; in cap_ioctl_unlocked()

12