Home
last modified time | relevance | path

Searched refs:bundle (Results 1 - 25 of 185) sorted by relevance

12345678

/kernel/linux/linux-5.10/drivers/greybus/
H A Dbundle.c15 struct gb_bundle *bundle = to_gb_bundle(dev); in bundle_class_show() local
17 return sprintf(buf, "0x%02x\n", bundle->class); in bundle_class_show()
24 struct gb_bundle *bundle = to_gb_bundle(dev); in bundle_id_show() local
26 return sprintf(buf, "%u\n", bundle->id); in bundle_id_show()
33 struct gb_bundle *bundle = to_gb_bundle(dev); in state_show() local
35 if (!bundle->state) in state_show()
38 return sprintf(buf, "%s\n", bundle->state); in state_show()
44 struct gb_bundle *bundle = to_gb_bundle(dev); in state_store() local
46 kfree(bundle->state); in state_store()
47 bundle in state_store()
65 ATTRIBUTE_GROUPS(bundle); global() variable
70 struct gb_bundle *bundle; gb_bundle_find() local
82 struct gb_bundle *bundle = to_gb_bundle(dev); gb_bundle_release() local
92 gb_bundle_disable_all_connections(struct gb_bundle *bundle) gb_bundle_disable_all_connections() argument
100 gb_bundle_enable_all_connections(struct gb_bundle *bundle) gb_bundle_enable_all_connections() argument
110 struct gb_bundle *bundle = to_gb_bundle(dev); gb_bundle_suspend() local
137 struct gb_bundle *bundle = to_gb_bundle(dev); gb_bundle_resume() local
183 struct gb_bundle *bundle; gb_bundle_create() local
224 gb_bundle_add(struct gb_bundle *bundle) gb_bundle_add() argument
242 gb_bundle_destroy(struct gb_bundle *bundle) gb_bundle_destroy() argument
[all...]
H A Dcore.c30 static bool greybus_match_one_id(struct gb_bundle *bundle, in greybus_match_one_id() argument
34 (id->vendor != bundle->intf->vendor_id)) in greybus_match_one_id()
38 (id->product != bundle->intf->product_id)) in greybus_match_one_id()
42 (id->class != bundle->class)) in greybus_match_one_id()
49 greybus_match_id(struct gb_bundle *bundle, const struct greybus_bundle_id *id) in greybus_match_id() argument
56 if (greybus_match_one_id(bundle, id)) in greybus_match_id()
66 struct gb_bundle *bundle; in greybus_match_device() local
72 bundle = to_gb_bundle(dev); in greybus_match_device()
74 id = greybus_match_id(bundle, driver->id_table); in greybus_match_device()
87 struct gb_bundle *bundle in greybus_uevent() local
168 struct gb_bundle *bundle = to_gb_bundle(dev); greybus_probe() local
228 struct gb_bundle *bundle = to_gb_bundle(dev); greybus_remove() local
[all...]
H A Dmanifest.c23 return "bundle"; in get_descriptor_type_string()
71 if (desc_cport->bundle == bundle_id) in release_cport_descriptors()
224 * bundle, and set up data structures for the functions that use
225 * them. Returns the number of cports set up for the bundle, or 0
228 static u32 gb_manifest_parse_cports(struct gb_bundle *bundle) in gb_manifest_parse_cports() argument
230 struct gb_interface *intf = bundle->intf; in gb_manifest_parse_cports()
234 u8 bundle_id = bundle->id; in gb_manifest_parse_cports()
239 /* Set up all cport descriptors associated with this bundle */ in gb_manifest_parse_cports()
245 if (desc_cport->bundle != bundle_id) in gb_manifest_parse_cports()
254 dev_err(&bundle in gb_manifest_parse_cports()
315 struct gb_bundle *bundle; gb_manifest_parse_bundles() local
[all...]
/kernel/linux/linux-6.6/drivers/greybus/
H A Dbundle.c15 struct gb_bundle *bundle = to_gb_bundle(dev); in bundle_class_show() local
17 return sprintf(buf, "0x%02x\n", bundle->class); in bundle_class_show()
24 struct gb_bundle *bundle = to_gb_bundle(dev); in bundle_id_show() local
26 return sprintf(buf, "%u\n", bundle->id); in bundle_id_show()
33 struct gb_bundle *bundle = to_gb_bundle(dev); in state_show() local
35 if (!bundle->state) in state_show()
38 return sprintf(buf, "%s\n", bundle->state); in state_show()
44 struct gb_bundle *bundle = to_gb_bundle(dev); in state_store() local
46 kfree(bundle->state); in state_store()
47 bundle in state_store()
65 ATTRIBUTE_GROUPS(bundle); global() variable
70 struct gb_bundle *bundle; gb_bundle_find() local
82 struct gb_bundle *bundle = to_gb_bundle(dev); gb_bundle_release() local
92 gb_bundle_disable_all_connections(struct gb_bundle *bundle) gb_bundle_disable_all_connections() argument
100 gb_bundle_enable_all_connections(struct gb_bundle *bundle) gb_bundle_enable_all_connections() argument
110 struct gb_bundle *bundle = to_gb_bundle(dev); gb_bundle_suspend() local
137 struct gb_bundle *bundle = to_gb_bundle(dev); gb_bundle_resume() local
183 struct gb_bundle *bundle; gb_bundle_create() local
224 gb_bundle_add(struct gb_bundle *bundle) gb_bundle_add() argument
242 gb_bundle_destroy(struct gb_bundle *bundle) gb_bundle_destroy() argument
[all...]
H A Dcore.c30 static bool greybus_match_one_id(struct gb_bundle *bundle, in greybus_match_one_id() argument
34 (id->vendor != bundle->intf->vendor_id)) in greybus_match_one_id()
38 (id->product != bundle->intf->product_id)) in greybus_match_one_id()
42 (id->class != bundle->class)) in greybus_match_one_id()
49 greybus_match_id(struct gb_bundle *bundle, const struct greybus_bundle_id *id) in greybus_match_id() argument
56 if (greybus_match_one_id(bundle, id)) in greybus_match_id()
66 struct gb_bundle *bundle; in greybus_match_device() local
72 bundle = to_gb_bundle(dev); in greybus_match_device()
74 id = greybus_match_id(bundle, driver->id_table); in greybus_match_device()
87 const struct gb_bundle *bundle in greybus_uevent() local
168 struct gb_bundle *bundle = to_gb_bundle(dev); greybus_probe() local
228 struct gb_bundle *bundle = to_gb_bundle(dev); greybus_remove() local
[all...]
/kernel/linux/linux-6.6/net/rxrpc/
H A Dconn_client.c37 static void rxrpc_activate_bundle(struct rxrpc_bundle *bundle) in rxrpc_activate_bundle() argument
39 atomic_inc(&bundle->active); in rxrpc_activate_bundle()
71 * Allocate a connection bundle.
77 struct rxrpc_bundle *bundle; in rxrpc_alloc_bundle() local
79 bundle = kzalloc(sizeof(*bundle), gfp); in rxrpc_alloc_bundle()
80 if (bundle) { in rxrpc_alloc_bundle()
81 bundle->local = call->local; in rxrpc_alloc_bundle()
82 bundle->peer = rxrpc_get_peer(call->peer, rxrpc_peer_get_bundle); in rxrpc_alloc_bundle()
83 bundle in rxrpc_alloc_bundle()
98 rxrpc_get_bundle(struct rxrpc_bundle *bundle, enum rxrpc_bundle_trace why) rxrpc_get_bundle() argument
108 rxrpc_free_bundle(struct rxrpc_bundle *bundle) rxrpc_free_bundle() argument
117 rxrpc_put_bundle(struct rxrpc_bundle *bundle, enum rxrpc_bundle_trace why) rxrpc_put_bundle() argument
145 rxrpc_alloc_client_connection(struct rxrpc_bundle *bundle) rxrpc_alloc_client_connection() argument
245 struct rxrpc_bundle *bundle, *candidate; rxrpc_look_up_bundle() local
331 rxrpc_add_conn_to_bundle(struct rxrpc_bundle *bundle, unsigned int slot) rxrpc_add_conn_to_bundle() argument
363 rxrpc_bundle_has_space(struct rxrpc_bundle *bundle) rxrpc_bundle_has_space() argument
407 struct rxrpc_bundle *bundle = conn->bundle; rxrpc_activate_one_channel() local
461 rxrpc_activate_channels(struct rxrpc_bundle *bundle) rxrpc_activate_channels() argument
506 struct rxrpc_bundle *bundle = call->bundle; rxrpc_connect_client_calls() local
561 rxrpc_disconnect_client_call(struct rxrpc_bundle *bundle, struct rxrpc_call *call) rxrpc_disconnect_client_call() argument
661 struct rxrpc_bundle *bundle = conn->bundle; rxrpc_unbundle_conn() local
685 rxrpc_deactivate_bundle(struct rxrpc_bundle *bundle) rxrpc_deactivate_bundle() argument
[all...]
/kernel/linux/linux-5.10/net/rxrpc/
H A Dconn_client.c43 static void rxrpc_deactivate_bundle(struct rxrpc_bundle *bundle);
116 * Allocate a connection bundle.
121 struct rxrpc_bundle *bundle; in rxrpc_alloc_bundle() local
123 bundle = kzalloc(sizeof(*bundle), gfp); in rxrpc_alloc_bundle()
124 if (bundle) { in rxrpc_alloc_bundle()
125 bundle->params = *cp; in rxrpc_alloc_bundle()
126 rxrpc_get_peer(bundle->params.peer); in rxrpc_alloc_bundle()
127 refcount_set(&bundle->ref, 1); in rxrpc_alloc_bundle()
128 atomic_set(&bundle in rxrpc_alloc_bundle()
135 rxrpc_get_bundle(struct rxrpc_bundle *bundle) rxrpc_get_bundle() argument
141 rxrpc_free_bundle(struct rxrpc_bundle *bundle) rxrpc_free_bundle() argument
147 rxrpc_put_bundle(struct rxrpc_bundle *bundle) rxrpc_put_bundle() argument
164 rxrpc_alloc_client_connection(struct rxrpc_bundle *bundle, gfp_t gfp) rxrpc_alloc_client_connection() argument
276 struct rxrpc_bundle *bundle, *candidate; rxrpc_look_up_bundle() local
368 struct rxrpc_bundle *bundle; rxrpc_prep_call() local
475 rxrpc_maybe_add_conn(struct rxrpc_bundle *bundle, gfp_t gfp) rxrpc_maybe_add_conn() argument
523 struct rxrpc_bundle *bundle = conn->bundle; rxrpc_activate_one_channel() local
577 rxrpc_unidle_conn(struct rxrpc_bundle *bundle, struct rxrpc_connection *conn) rxrpc_unidle_conn() argument
599 rxrpc_activate_channels_locked(struct rxrpc_bundle *bundle) rxrpc_activate_channels_locked() argument
635 rxrpc_activate_channels(struct rxrpc_bundle *bundle) rxrpc_activate_channels() argument
653 rxrpc_wait_for_channel(struct rxrpc_bundle *bundle, struct rxrpc_call *call, gfp_t gfp) rxrpc_wait_for_channel() argument
714 struct rxrpc_bundle *bundle; rxrpc_connect_call() local
801 rxrpc_disconnect_client_call(struct rxrpc_bundle *bundle, struct rxrpc_call *call) rxrpc_disconnect_client_call() argument
914 struct rxrpc_bundle *bundle = conn->bundle; rxrpc_unbundle_conn() local
944 rxrpc_deactivate_bundle(struct rxrpc_bundle *bundle) rxrpc_deactivate_bundle() argument
[all...]
/kernel/linux/linux-5.10/include/linux/greybus/
H A Dbundle.h42 int gb_bundle_add(struct gb_bundle *bundle);
43 void gb_bundle_destroy(struct gb_bundle *bundle);
47 static inline int gb_pm_runtime_get_sync(struct gb_bundle *bundle) in gb_pm_runtime_get_sync() argument
51 retval = pm_runtime_get_sync(&bundle->dev); in gb_pm_runtime_get_sync()
53 dev_err(&bundle->dev, in gb_pm_runtime_get_sync()
55 pm_runtime_put_noidle(&bundle->dev); in gb_pm_runtime_get_sync()
62 static inline int gb_pm_runtime_put_autosuspend(struct gb_bundle *bundle) in gb_pm_runtime_put_autosuspend() argument
66 pm_runtime_mark_last_busy(&bundle->dev); in gb_pm_runtime_put_autosuspend()
67 retval = pm_runtime_put_autosuspend(&bundle->dev); in gb_pm_runtime_put_autosuspend()
72 static inline void gb_pm_runtime_get_noresume(struct gb_bundle *bundle) in gb_pm_runtime_get_noresume() argument
77 gb_pm_runtime_put_noidle(struct gb_bundle *bundle) gb_pm_runtime_put_noidle() argument
83 gb_pm_runtime_get_sync(struct gb_bundle *bundle) gb_pm_runtime_get_sync() argument
85 gb_pm_runtime_put_autosuspend(struct gb_bundle *bundle) gb_pm_runtime_put_autosuspend() argument
88 gb_pm_runtime_get_noresume(struct gb_bundle *bundle) gb_pm_runtime_get_noresume() argument
89 gb_pm_runtime_put_noidle(struct gb_bundle *bundle) gb_pm_runtime_put_noidle() argument
[all...]
/kernel/linux/linux-6.6/include/linux/greybus/
H A Dbundle.h42 int gb_bundle_add(struct gb_bundle *bundle);
43 void gb_bundle_destroy(struct gb_bundle *bundle);
47 static inline int gb_pm_runtime_get_sync(struct gb_bundle *bundle) in gb_pm_runtime_get_sync() argument
51 retval = pm_runtime_get_sync(&bundle->dev); in gb_pm_runtime_get_sync()
53 dev_err(&bundle->dev, in gb_pm_runtime_get_sync()
55 pm_runtime_put_noidle(&bundle->dev); in gb_pm_runtime_get_sync()
62 static inline int gb_pm_runtime_put_autosuspend(struct gb_bundle *bundle) in gb_pm_runtime_put_autosuspend() argument
66 pm_runtime_mark_last_busy(&bundle->dev); in gb_pm_runtime_put_autosuspend()
67 retval = pm_runtime_put_autosuspend(&bundle->dev); in gb_pm_runtime_put_autosuspend()
72 static inline void gb_pm_runtime_get_noresume(struct gb_bundle *bundle) in gb_pm_runtime_get_noresume() argument
77 gb_pm_runtime_put_noidle(struct gb_bundle *bundle) gb_pm_runtime_put_noidle() argument
83 gb_pm_runtime_get_sync(struct gb_bundle *bundle) gb_pm_runtime_get_sync() argument
85 gb_pm_runtime_put_autosuspend(struct gb_bundle *bundle) gb_pm_runtime_put_autosuspend() argument
88 gb_pm_runtime_get_noresume(struct gb_bundle *bundle) gb_pm_runtime_get_noresume() argument
89 gb_pm_runtime_put_noidle(struct gb_bundle *bundle) gb_pm_runtime_put_noidle() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/greybus/
H A Dfw-core.c42 ret = gb_spilib_master_init(connection, &connection->bundle->dev, in gb_fw_spi_connection_init()
61 static int gb_fw_core_probe(struct gb_bundle *bundle, in gb_fw_core_probe() argument
76 for (i = 0; i < bundle->num_cports; i++) { in gb_fw_core_probe()
77 cport_desc = &bundle->cport_desc[i]; in gb_fw_core_probe()
85 dev_err(&bundle->dev, in gb_fw_core_probe()
91 connection = gb_connection_create(bundle, cport_id, in gb_fw_core_probe()
95 dev_err(&bundle->dev, in gb_fw_core_probe()
106 dev_err(&bundle->dev, in gb_fw_core_probe()
112 connection = gb_connection_create(bundle, cport_id, in gb_fw_core_probe()
115 dev_err(&bundle in gb_fw_core_probe()
231 gb_fw_core_disconnect(struct gb_bundle *bundle) gb_fw_core_disconnect() argument
[all...]
H A Dgbphy.c23 struct gb_bundle *bundle; member
78 struct gb_bundle *bundle = gbphy_dev->bundle; in gbphy_dev_uevent() local
79 struct gb_interface *intf = bundle->intf; in gbphy_dev_uevent()
92 if (add_uevent_var(env, "BUNDLE=%u", gbphy_dev->bundle->id)) in gbphy_dev_uevent()
94 if (add_uevent_var(env, "BUNDLE_CLASS=%02x", bundle->class)) in gbphy_dev_uevent()
145 ret = gb_pm_runtime_get_sync(gbphy_dev->bundle); in gbphy_dev_probe()
167 gb_pm_runtime_put_autosuspend(gbphy_dev->bundle); in gbphy_dev_probe()
223 static struct gbphy_device *gb_gbphy_create_dev(struct gb_bundle *bundle, in gb_gbphy_create_dev() argument
241 gbphy_dev->bundle in gb_gbphy_create_dev()
259 gb_gbphy_disconnect(struct gb_bundle *bundle) gb_gbphy_disconnect() argument
277 gb_gbphy_probe(struct gb_bundle *bundle, const struct greybus_bundle_id *id) gb_gbphy_probe() argument
[all...]
H A Dvibrator.c31 struct gb_bundle *bundle = vib->connection->bundle; in turn_off() local
37 gb_pm_runtime_put_autosuspend(bundle); in turn_off()
44 struct gb_bundle *bundle = vib->connection->bundle; in turn_on() local
47 ret = gb_pm_runtime_get_sync(bundle); in turn_on()
58 gb_pm_runtime_put_autosuspend(bundle); in turn_on()
116 static int gb_vibrator_probe(struct gb_bundle *bundle, in gb_vibrator_probe() argument
125 if (bundle->num_cports != 1) in gb_vibrator_probe()
128 cport_desc = &bundle in gb_vibrator_probe()
188 gb_vibrator_disconnect(struct gb_bundle *bundle) gb_vibrator_disconnect() argument
[all...]
H A Dbootrom.c57 struct device *dev = &bootrom->connection->bundle->dev; in gb_bootrom_timedout()
115 struct gb_interface *intf = connection->bundle->intf; in bootrom_es2_fixup_vid_pid()
124 dev_err(&connection->bundle->dev, in bootrom_es2_fixup_vid_pid()
139 dev_dbg(&connection->bundle->dev, "Bootrom got vid (0x%x)/pid (0x%x)\n", in bootrom_es2_fixup_vid_pid()
147 struct gb_interface *intf = connection->bundle->intf; in find_firmware()
156 dev_err(&connection->bundle->dev, "Invalid boot stage: %u\n", in find_firmware()
175 dev_info(&connection->bundle->dev, "Firmware file '%s' requested\n", in find_firmware()
179 &connection->bundle->dev); in find_firmware()
181 dev_err(&connection->bundle->dev, in find_firmware()
194 struct device *dev = &op->connection->bundle in gb_bootrom_firmware_size_request()
377 struct gb_bundle *bundle = bootrom->connection->bundle; gb_bootrom_get_version() local
412 gb_bootrom_probe(struct gb_bundle *bundle, const struct greybus_bundle_id *id) gb_bootrom_probe() argument
490 gb_bootrom_disconnect(struct gb_bundle *bundle) gb_bootrom_disconnect() argument
[all...]
H A Daudio_module.c145 greybus_get_drvdata(connection->bundle); in gbaudio_codec_request_handler()
169 dev_err_ratelimited(&connection->bundle->dev, in gbaudio_codec_request_handler()
179 struct gb_bundle *bundle) in gb_audio_add_mgmt_connection()
185 dev_err(&bundle->dev, in gb_audio_add_mgmt_connection()
190 connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id), in gb_audio_add_mgmt_connection()
195 greybus_set_drvdata(bundle, gbmodule); in gb_audio_add_mgmt_connection()
203 struct gb_bundle *bundle) in gb_audio_add_data_connection()
212 connection = gb_connection_create_offloaded(bundle, in gb_audio_add_data_connection()
220 greybus_set_drvdata(bundle, gbmodule); in gb_audio_add_data_connection()
233 static int gb_audio_probe(struct gb_bundle *bundle, in gb_audio_probe() argument
177 gb_audio_add_mgmt_connection(struct gbaudio_module_info *gbmodule, struct greybus_descriptor_cport *cport_desc, struct gb_bundle *bundle) gb_audio_add_mgmt_connection() argument
201 gb_audio_add_data_connection(struct gbaudio_module_info *gbmodule, struct greybus_descriptor_cport *cport_desc, struct gb_bundle *bundle) gb_audio_add_data_connection() argument
386 gb_audio_disconnect(struct gb_bundle *bundle) gb_audio_disconnect() argument
424 struct gb_bundle *bundle = to_gb_bundle(dev); gb_audio_suspend() local
438 struct gb_bundle *bundle = to_gb_bundle(dev); gb_audio_resume() local
[all...]
H A Dhid.c19 struct gb_bundle *bundle; member
46 ret = gb_pm_runtime_get_sync(ghid->bundle); in gb_hid_get_report_desc()
54 gb_pm_runtime_put_autosuspend(ghid->bundle); in gb_hid_get_report_desc()
63 ret = gb_pm_runtime_get_sync(ghid->bundle); in gb_hid_set_power()
69 gb_pm_runtime_put_autosuspend(ghid->bundle); in gb_hid_set_power()
80 ret = gb_pm_runtime_get_sync(ghid->bundle); in gb_hid_get_report()
90 gb_pm_runtime_put_autosuspend(ghid->bundle); in gb_hid_get_report()
102 ret = gb_pm_runtime_get_sync(ghid->bundle); in gb_hid_set_report()
110 gb_pm_runtime_put_autosuspend(ghid->bundle); in gb_hid_set_report()
121 dev_err(&operation->connection->bundle in gb_hid_set_report()
421 gb_hid_probe(struct gb_bundle *bundle, const struct greybus_bundle_id *id) gb_hid_probe() argument
492 gb_hid_disconnect(struct gb_bundle *bundle) gb_hid_disconnect() argument
[all...]
/kernel/linux/linux-6.6/drivers/staging/greybus/
H A Dfw-core.c42 ret = gb_spilib_master_init(connection, &connection->bundle->dev, in gb_fw_spi_connection_init()
61 static int gb_fw_core_probe(struct gb_bundle *bundle, in gb_fw_core_probe() argument
76 for (i = 0; i < bundle->num_cports; i++) { in gb_fw_core_probe()
77 cport_desc = &bundle->cport_desc[i]; in gb_fw_core_probe()
85 dev_err(&bundle->dev, in gb_fw_core_probe()
91 connection = gb_connection_create(bundle, cport_id, in gb_fw_core_probe()
95 dev_err(&bundle->dev, in gb_fw_core_probe()
106 dev_err(&bundle->dev, in gb_fw_core_probe()
112 connection = gb_connection_create(bundle, cport_id, in gb_fw_core_probe()
115 dev_err(&bundle in gb_fw_core_probe()
231 gb_fw_core_disconnect(struct gb_bundle *bundle) gb_fw_core_disconnect() argument
[all...]
H A Dgbphy.c23 struct gb_bundle *bundle; member
78 const struct gb_bundle *bundle = gbphy_dev->bundle; in gbphy_dev_uevent() local
79 const struct gb_interface *intf = bundle->intf; in gbphy_dev_uevent()
92 if (add_uevent_var(env, "BUNDLE=%u", gbphy_dev->bundle->id)) in gbphy_dev_uevent()
94 if (add_uevent_var(env, "BUNDLE_CLASS=%02x", bundle->class)) in gbphy_dev_uevent()
145 ret = gb_pm_runtime_get_sync(gbphy_dev->bundle); in gbphy_dev_probe()
167 gb_pm_runtime_put_autosuspend(gbphy_dev->bundle); in gbphy_dev_probe()
221 static struct gbphy_device *gb_gbphy_create_dev(struct gb_bundle *bundle, in gb_gbphy_create_dev() argument
239 gbphy_dev->bundle in gb_gbphy_create_dev()
257 gb_gbphy_disconnect(struct gb_bundle *bundle) gb_gbphy_disconnect() argument
275 gb_gbphy_probe(struct gb_bundle *bundle, const struct greybus_bundle_id *id) gb_gbphy_probe() argument
[all...]
H A Dvibrator.c31 struct gb_bundle *bundle = vib->connection->bundle; in turn_off() local
37 gb_pm_runtime_put_autosuspend(bundle); in turn_off()
44 struct gb_bundle *bundle = vib->connection->bundle; in turn_on() local
47 ret = gb_pm_runtime_get_sync(bundle); in turn_on()
58 gb_pm_runtime_put_autosuspend(bundle); in turn_on()
115 static int gb_vibrator_probe(struct gb_bundle *bundle, in gb_vibrator_probe() argument
124 if (bundle->num_cports != 1) in gb_vibrator_probe()
127 cport_desc = &bundle in gb_vibrator_probe()
187 gb_vibrator_disconnect(struct gb_bundle *bundle) gb_vibrator_disconnect() argument
[all...]
H A Dbootrom.c57 struct device *dev = &bootrom->connection->bundle->dev; in gb_bootrom_timedout()
115 struct gb_interface *intf = connection->bundle->intf; in bootrom_es2_fixup_vid_pid()
124 dev_err(&connection->bundle->dev, in bootrom_es2_fixup_vid_pid()
139 dev_dbg(&connection->bundle->dev, "Bootrom got vid (0x%x)/pid (0x%x)\n", in bootrom_es2_fixup_vid_pid()
147 struct gb_interface *intf = connection->bundle->intf; in find_firmware()
156 dev_err(&connection->bundle->dev, "Invalid boot stage: %u\n", in find_firmware()
175 dev_info(&connection->bundle->dev, "Firmware file '%s' requested\n", in find_firmware()
179 &connection->bundle->dev); in find_firmware()
181 dev_err(&connection->bundle->dev, in find_firmware()
194 struct device *dev = &op->connection->bundle in gb_bootrom_firmware_size_request()
377 struct gb_bundle *bundle = bootrom->connection->bundle; gb_bootrom_get_version() local
412 gb_bootrom_probe(struct gb_bundle *bundle, const struct greybus_bundle_id *id) gb_bootrom_probe() argument
490 gb_bootrom_disconnect(struct gb_bundle *bundle) gb_bootrom_disconnect() argument
[all...]
H A Daudio_module.c145 greybus_get_drvdata(connection->bundle); in gbaudio_codec_request_handler()
169 dev_err_ratelimited(&connection->bundle->dev, in gbaudio_codec_request_handler()
179 struct gb_bundle *bundle) in gb_audio_add_mgmt_connection()
185 dev_err(&bundle->dev, in gb_audio_add_mgmt_connection()
190 connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id), in gb_audio_add_mgmt_connection()
195 greybus_set_drvdata(bundle, gbmodule); in gb_audio_add_mgmt_connection()
203 struct gb_bundle *bundle) in gb_audio_add_data_connection()
212 connection = gb_connection_create_offloaded(bundle, in gb_audio_add_data_connection()
220 greybus_set_drvdata(bundle, gbmodule); in gb_audio_add_data_connection()
233 static int gb_audio_probe(struct gb_bundle *bundle, in gb_audio_probe() argument
177 gb_audio_add_mgmt_connection(struct gbaudio_module_info *gbmodule, struct greybus_descriptor_cport *cport_desc, struct gb_bundle *bundle) gb_audio_add_mgmt_connection() argument
201 gb_audio_add_data_connection(struct gbaudio_module_info *gbmodule, struct greybus_descriptor_cport *cport_desc, struct gb_bundle *bundle) gb_audio_add_data_connection() argument
386 gb_audio_disconnect(struct gb_bundle *bundle) gb_audio_disconnect() argument
424 struct gb_bundle *bundle = to_gb_bundle(dev); gb_audio_suspend() local
438 struct gb_bundle *bundle = to_gb_bundle(dev); gb_audio_resume() local
[all...]
H A Dhid.c19 struct gb_bundle *bundle; member
46 ret = gb_pm_runtime_get_sync(ghid->bundle); in gb_hid_get_report_desc()
54 gb_pm_runtime_put_autosuspend(ghid->bundle); in gb_hid_get_report_desc()
63 ret = gb_pm_runtime_get_sync(ghid->bundle); in gb_hid_set_power()
69 gb_pm_runtime_put_autosuspend(ghid->bundle); in gb_hid_set_power()
80 ret = gb_pm_runtime_get_sync(ghid->bundle); in gb_hid_get_report()
90 gb_pm_runtime_put_autosuspend(ghid->bundle); in gb_hid_get_report()
102 ret = gb_pm_runtime_get_sync(ghid->bundle); in gb_hid_set_report()
110 gb_pm_runtime_put_autosuspend(ghid->bundle); in gb_hid_set_report()
121 dev_err(&operation->connection->bundle in gb_hid_set_report()
421 gb_hid_probe(struct gb_bundle *bundle, const struct greybus_bundle_id *id) gb_hid_probe() argument
492 gb_hid_disconnect(struct gb_bundle *bundle) gb_hid_disconnect() argument
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Duverbs_ioctl.c64 * Must be last. bundle ends in a flex array which overlaps
67 struct uverbs_attr_bundle bundle; member
82 sizeof(*pbundle->bundle.attrs) * method_elm->key_bitmap_len + in uapi_compute_bundle_size()
94 * uverbs_alloc() - Quickly allocate memory for use with a bundle
95 * @bundle: The bundle
99 * The bundle allocator is intended for allocations that are connected with
100 * processing the system call related to the bundle. The allocated memory is
106 __malloc void *_uverbs_alloc(struct uverbs_attr_bundle *bundle, size_t size, in _uverbs_alloc() argument
110 container_of(bundle, struc in _uverbs_alloc()
148 uverbs_set_output(const struct uverbs_attr_bundle *bundle, const struct uverbs_attr *attr) uverbs_set_output() argument
690 uverbs_fill_udata(struct uverbs_attr_bundle *bundle, struct ib_udata *udata, unsigned int attr_in, unsigned int attr_out) uverbs_fill_udata() argument
723 uverbs_copy_to(const struct uverbs_attr_bundle *bundle, size_t idx, const void *from, size_t size) uverbs_copy_to() argument
745 uverbs_output_written(const struct uverbs_attr_bundle *bundle, size_t idx) uverbs_output_written() argument
778 uverbs_copy_to_struct_or_zero(const struct uverbs_attr_bundle *bundle, size_t idx, const void *from, size_t size) uverbs_copy_to_struct_or_zero() argument
796 uverbs_finalize_uobj_create(const struct uverbs_attr_bundle *bundle, u16 idx) uverbs_finalize_uobj_create() argument
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Duverbs_ioctl.c64 * Must be last. bundle ends in a flex array which overlaps
67 struct uverbs_attr_bundle bundle; member
82 sizeof(*pbundle->bundle.attrs) * method_elm->key_bitmap_len + in uapi_compute_bundle_size()
94 * _uverbs_alloc() - Quickly allocate memory for use with a bundle
95 * @bundle: The bundle
99 * The bundle allocator is intended for allocations that are connected with
100 * processing the system call related to the bundle. The allocated memory is
106 __malloc void *_uverbs_alloc(struct uverbs_attr_bundle *bundle, size_t size, in _uverbs_alloc() argument
110 container_of(bundle, struc in _uverbs_alloc()
148 uverbs_set_output(const struct uverbs_attr_bundle *bundle, const struct uverbs_attr *attr) uverbs_set_output() argument
698 uverbs_fill_udata(struct uverbs_attr_bundle *bundle, struct ib_udata *udata, unsigned int attr_in, unsigned int attr_out) uverbs_fill_udata() argument
731 uverbs_copy_to(const struct uverbs_attr_bundle *bundle, size_t idx, const void *from, size_t size) uverbs_copy_to() argument
753 uverbs_output_written(const struct uverbs_attr_bundle *bundle, size_t idx) uverbs_output_written() argument
810 uverbs_copy_to_struct_or_zero(const struct uverbs_attr_bundle *bundle, size_t idx, const void *from, size_t size) uverbs_copy_to_struct_or_zero() argument
828 uverbs_finalize_uobj_create(const struct uverbs_attr_bundle *bundle, u16 idx) uverbs_finalize_uobj_create() argument
[all...]
/kernel/linux/linux-5.10/arch/ia64/kernel/
H A Dbrl_emu.c58 unsigned long bundle[2]; in ia64_emulate_brl() local
67 * Decode the instruction bundle. in ia64_emulate_brl()
70 if (copy_from_user(bundle, (void *) (regs->cr_iip), sizeof(bundle))) in ia64_emulate_brl()
79 if ((bundle[0] & 0x1e) != 0x4) return rv; in ia64_emulate_brl()
81 opcode = (bundle[1] >> 60); in ia64_emulate_brl()
82 btype = ((bundle[1] >> 29) & 0x7); in ia64_emulate_brl()
83 qp = ((bundle[1] >> 23) & 0x3f); in ia64_emulate_brl()
84 offset = ((bundle[1] & 0x0800000000000000L) << 4) in ia64_emulate_brl()
85 | ((bundle[ in ia64_emulate_brl()
[all...]
/kernel/linux/linux-6.6/arch/ia64/kernel/
H A Dbrl_emu.c58 unsigned long bundle[2]; in ia64_emulate_brl() local
67 * Decode the instruction bundle. in ia64_emulate_brl()
70 if (copy_from_user(bundle, (void *) (regs->cr_iip), sizeof(bundle))) in ia64_emulate_brl()
79 if ((bundle[0] & 0x1e) != 0x4) return rv; in ia64_emulate_brl()
81 opcode = (bundle[1] >> 60); in ia64_emulate_brl()
82 btype = ((bundle[1] >> 29) & 0x7); in ia64_emulate_brl()
83 qp = ((bundle[1] >> 23) & 0x3f); in ia64_emulate_brl()
84 offset = ((bundle[1] & 0x0800000000000000L) << 4) in ia64_emulate_brl()
85 | ((bundle[ in ia64_emulate_brl()
[all...]

Completed in 11 milliseconds

12345678