/Linux-v4.19/drivers/staging/greybus/ |
D | bundle.h | 17 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 …]
|
D | bundle.c | 15 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 …]
|
D | greybus.h | 59 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()
|
D | connection.h | 38 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,
|
D | core.c | 30 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()
|
D | vibrator.c | 32 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()
|
D | gbphy.c | 23 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()
|
D | audio_module.c | 179 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()
|
D | greybus_trace.h | 19 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), \
|
D | log.c | 66 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()
|
D | light.c | 120 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()
|
D | manifest.c | 228 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()
|
D | bootrom.c | 376 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()
|
D | fw-core.c | 61 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()
|
D | audio_topology.c | 221 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()
|
D | hid.c | 20 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()
|
D | gbphy.h | 14 struct gb_bundle *bundle;
|
D | connection.c | 150 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()
|
D | raw.c | 149 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()
|
D | camera.c | 51 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);
|
D | control.c | 57 struct gb_bundle *bundle) in gb_control_get_bundle_version() 89 struct gb_bundle *bundle; in gb_control_get_bundle_versions()
|
D | interface.c | 1071 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()
|
D | audio_codec.c | 418 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()
|
D | loopback.c | 850 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()
|
D | authentication.c | 266 struct gb_bundle *bundle = cap->connection->bundle; in cap_ioctl_unlocked()
|