/kernel/linux/linux-5.10/drivers/greybus/ |
D | connection.c | 25 struct gb_connection *connection; in gb_connection_cport_in_use() local 27 list_for_each_entry(connection, &hd->connections, hd_links) { in gb_connection_cport_in_use() 28 if (connection->intf == intf && in gb_connection_cport_in_use() 29 connection->intf_cport_id == cport_id) in gb_connection_cport_in_use() 36 static void gb_connection_get(struct gb_connection *connection) in gb_connection_get() argument 38 kref_get(&connection->kref); in gb_connection_get() 40 trace_gb_connection_get(connection); in gb_connection_get() 43 static void gb_connection_put(struct gb_connection *connection) in gb_connection_put() argument 45 trace_gb_connection_put(connection); in gb_connection_put() 47 kref_put(&connection->kref, gb_connection_kref_release); in gb_connection_put() [all …]
|
D | operation.c | 37 * Increment operation active count and add to connection list unless the 38 * connection is going away. 44 struct gb_connection *connection = operation->connection; in gb_operation_get_active() local 47 spin_lock_irqsave(&connection->lock, flags); in gb_operation_get_active() 48 switch (connection->state) { in gb_operation_get_active() 64 list_add_tail(&operation->links, &connection->operations); in gb_operation_get_active() 68 spin_unlock_irqrestore(&connection->lock, flags); in gb_operation_get_active() 73 spin_unlock_irqrestore(&connection->lock, flags); in gb_operation_get_active() 81 struct gb_connection *connection = operation->connection; in gb_operation_put_active() local 84 spin_lock_irqsave(&connection->lock, flags); in gb_operation_put_active() [all …]
|
D | control.c | 20 struct gb_interface *intf = control->connection->intf; in gb_control_get_version() 28 ret = gb_operation_sync(control->connection, in gb_control_get_version() 58 struct gb_interface *intf = control->connection->intf; in gb_control_get_bundle_version() 65 ret = gb_operation_sync(control->connection, in gb_control_get_bundle_version() 87 struct gb_interface *intf = control->connection->intf; in gb_control_get_bundle_versions() 107 struct gb_connection *connection = intf->control->connection; in gb_control_get_manifest_size_operation() local 110 ret = gb_operation_sync(connection, GB_CONTROL_TYPE_GET_MANIFEST_SIZE, in gb_control_get_manifest_size_operation() 113 dev_err(&connection->intf->dev, in gb_control_get_manifest_size_operation() 125 struct gb_connection *connection = intf->control->connection; in gb_control_get_manifest_operation() local 127 return gb_operation_sync(connection, GB_CONTROL_TYPE_GET_MANIFEST, in gb_control_get_manifest_operation() [all …]
|
/kernel/linux/linux-5.10/include/linux/greybus/ |
D | connection.h | 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() argument 81 return !connection->intf; in gb_connection_is_static() 84 int gb_connection_enable(struct gb_connection *connection); 85 int gb_connection_enable_tx(struct gb_connection *connection); 86 void gb_connection_disable_rx(struct gb_connection *connection); 87 void gb_connection_disable(struct gb_connection *connection); 88 void gb_connection_disable_forced(struct gb_connection *connection); 90 void gb_connection_mode_switch_prepare(struct gb_connection *connection); 91 void gb_connection_mode_switch_complete(struct gb_connection *connection); [all …]
|
D | operation.h | 74 * connection between two UniPro interfaces. 77 * end of the connection coupled with a reply message returned to 79 * dependent on the protocol associated with the connection. 82 * directly usable by protocol handlers: the operation's connection 93 struct gb_connection *connection; member 111 struct list_head links; /* connection->operations */ 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() argument [all …]
|
/kernel/linux/linux-5.10/drivers/staging/greybus/ |
D | fw-core.c | 31 static int gb_fw_spi_connection_init(struct gb_connection *connection) in gb_fw_spi_connection_init() argument 35 if (!connection) in gb_fw_spi_connection_init() 38 ret = gb_connection_enable(connection); in gb_fw_spi_connection_init() 42 ret = gb_spilib_master_init(connection, &connection->bundle->dev, in gb_fw_spi_connection_init() 45 gb_connection_disable(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() argument 54 if (!connection) in gb_fw_spi_connection_exit() 57 gb_spilib_master_exit(connection); in gb_fw_spi_connection_exit() 58 gb_connection_disable(connection); in gb_fw_spi_connection_exit() 65 struct gb_connection *connection; in gb_fw_core_probe() local [all …]
|
D | audio_apbridgea.c | 12 int gb_audio_apbridgea_set_config(struct gb_connection *connection, in gb_audio_apbridgea_set_config() argument 24 return gb_hd_output(connection->hd, &req, sizeof(req), in gb_audio_apbridgea_set_config() 29 int gb_audio_apbridgea_register_cport(struct gb_connection *connection, in gb_audio_apbridgea_register_cport() argument 41 ret = gb_pm_runtime_get_sync(connection->bundle); in gb_audio_apbridgea_register_cport() 45 return gb_hd_output(connection->hd, &req, sizeof(req), in gb_audio_apbridgea_register_cport() 50 int gb_audio_apbridgea_unregister_cport(struct gb_connection *connection, in gb_audio_apbridgea_unregister_cport() argument 62 ret = gb_hd_output(connection->hd, &req, sizeof(req), in gb_audio_apbridgea_unregister_cport() 65 gb_pm_runtime_put_autosuspend(connection->bundle); 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() argument 80 return gb_hd_output(connection->hd, &req, sizeof(req), in gb_audio_apbridgea_set_tx_data_size() [all …]
|
D | audio_codec.h | 94 struct gb_connection *connection; member 141 /* connection info */ 180 int gb_audio_gb_get_topology(struct gb_connection *connection, 182 int gb_audio_gb_get_control(struct gb_connection *connection, 185 int gb_audio_gb_set_control(struct gb_connection *connection, 188 int gb_audio_gb_enable_widget(struct gb_connection *connection, 190 int gb_audio_gb_disable_widget(struct gb_connection *connection, 192 int gb_audio_gb_get_pcm(struct gb_connection *connection, 196 int gb_audio_gb_set_pcm(struct gb_connection *connection, 200 int gb_audio_gb_set_tx_data_size(struct gb_connection *connection, [all …]
|
D | audio_gb.c | 12 int gb_audio_gb_get_topology(struct gb_connection *connection, in gb_audio_gb_get_topology() argument 20 ret = gb_operation_sync(connection, GB_AUDIO_TYPE_GET_TOPOLOGY_SIZE, in gb_audio_gb_get_topology() 33 ret = gb_operation_sync(connection, GB_AUDIO_TYPE_GET_TOPOLOGY, NULL, 0, in gb_audio_gb_get_topology() 46 int gb_audio_gb_get_control(struct gb_connection *connection, in gb_audio_gb_get_control() argument 57 ret = gb_operation_sync(connection, GB_AUDIO_TYPE_GET_CONTROL, in gb_audio_gb_get_control() 68 int gb_audio_gb_set_control(struct gb_connection *connection, in gb_audio_gb_set_control() argument 78 return gb_operation_sync(connection, GB_AUDIO_TYPE_SET_CONTROL, in gb_audio_gb_set_control() 83 int gb_audio_gb_enable_widget(struct gb_connection *connection, in gb_audio_gb_enable_widget() argument 90 return gb_operation_sync(connection, GB_AUDIO_TYPE_ENABLE_WIDGET, in gb_audio_gb_enable_widget() 95 int gb_audio_gb_disable_widget(struct gb_connection *connection, in gb_audio_gb_disable_widget() argument [all …]
|
D | bootrom.c | 34 struct gb_connection *connection; member 57 struct device *dev = &bootrom->connection->bundle->dev; in gb_bootrom_timedout() 114 struct gb_connection *connection = bootrom->connection; in bootrom_es2_fixup_vid_pid() local 115 struct gb_interface *intf = connection->bundle->intf; in bootrom_es2_fixup_vid_pid() 121 ret = gb_operation_sync(connection, GB_BOOTROM_TYPE_GET_VID_PID, 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() 146 struct gb_connection *connection = bootrom->connection; in find_firmware() local 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() [all …]
|
D | spi.c | 20 struct gb_connection *connection; in gb_spi_probe() local 23 connection = gb_connection_create(gbphy_dev->bundle, in gb_spi_probe() 26 if (IS_ERR(connection)) in gb_spi_probe() 27 return PTR_ERR(connection); in gb_spi_probe() 29 ret = gb_connection_enable(connection); in gb_spi_probe() 33 ret = gb_spilib_master_init(connection, &gbphy_dev->dev, spilib_ops); in gb_spi_probe() 37 gb_gbphy_set_data(gbphy_dev, connection); in gb_spi_probe() 43 gb_connection_disable(connection); in gb_spi_probe() 45 gb_connection_destroy(connection); in gb_spi_probe() 52 struct gb_connection *connection = gb_gbphy_get_data(gbphy_dev); in gb_spi_remove() local [all …]
|
D | log.c | 15 struct gb_connection *connection; member 20 struct gb_connection *connection = op->connection; in gb_log_request_handler() local 21 struct device *dev = &connection->bundle->dev; in gb_log_request_handler() 69 struct gb_connection *connection; in gb_log_probe() local 84 connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id), in gb_log_probe() 86 if (IS_ERR(connection)) { in gb_log_probe() 87 retval = PTR_ERR(connection); in gb_log_probe() 91 log->connection = connection; in gb_log_probe() 94 retval = gb_connection_enable(connection); in gb_log_probe() 101 gb_connection_destroy(connection); in gb_log_probe() [all …]
|
D | pwm.c | 18 struct gb_connection *connection; member 33 ret = gb_operation_sync(pwmc->connection, GB_PWM_TYPE_PWM_COUNT, in gb_pwm_count_operation() 58 ret = gb_operation_sync(pwmc->connection, GB_PWM_TYPE_ACTIVATE, in gb_pwm_activate_operation() 83 ret = gb_operation_sync(pwmc->connection, GB_PWM_TYPE_DEACTIVATE, in gb_pwm_deactivate_operation() 110 ret = gb_operation_sync(pwmc->connection, GB_PWM_TYPE_CONFIG, in gb_pwm_config_operation() 136 ret = gb_operation_sync(pwmc->connection, GB_PWM_TYPE_POLARITY, in gb_pwm_set_polarity_operation() 161 ret = gb_operation_sync(pwmc->connection, GB_PWM_TYPE_ENABLE, in gb_pwm_enable_operation() 181 ret = gb_operation_sync(pwmc->connection, GB_PWM_TYPE_DISABLE, in gb_pwm_disable_operation() 250 struct gb_connection *connection; in gb_pwm_probe() local 259 connection = gb_connection_create(gbphy_dev->bundle, in gb_pwm_probe() [all …]
|
D | i2c.c | 18 struct gb_connection *connection; member 39 * Note: gb_i2c_dev->connection is assumed to have been valid. 47 ret = gb_operation_sync(gb_i2c_dev->connection, in gb_i2c_device_setup() 78 gb_i2c_operation_create(struct gb_connection *connection, in gb_i2c_operation_create() argument 81 struct gb_i2c_device *gb_i2c_dev = gb_connection_get_data(connection); in gb_i2c_operation_create() 116 operation = gb_operation_create(connection, GB_I2C_TYPE_TRANSFER, in gb_i2c_operation_create() 176 struct gb_connection *connection = gb_i2c_dev->connection; in gb_i2c_transfer_operation() local 181 operation = gb_i2c_operation_create(connection, msgs, msg_count); in gb_i2c_transfer_operation() 233 struct gb_connection *connection; in gb_i2c_probe() local 242 connection = in gb_i2c_probe() [all …]
|
D | usb.c | 34 struct gb_connection *connection; member 53 ret = gb_operation_sync(dev->connection, GB_USB_TYPE_HCD_STOP, in hcd_stop() 65 ret = gb_operation_sync(dev->connection, GB_USB_TYPE_HCD_START, in hcd_start() 111 operation = gb_operation_create(dev->connection, in hub_control() 161 struct gb_connection *connection; in gb_usb_probe() local 171 connection = gb_connection_create(gbphy_dev->bundle, in gb_usb_probe() 174 if (IS_ERR(connection)) { in gb_usb_probe() 175 retval = PTR_ERR(connection); in gb_usb_probe() 180 gb_usb_dev->connection = connection; in gb_usb_probe() 181 gb_connection_set_data(connection, gb_usb_dev); in gb_usb_probe() [all …]
|
D | authentication.c | 28 struct gb_connection *connection; member 31 bool disabled; /* connection getting disabled */ 86 struct gb_connection *connection = cap->connection; in cap_get_endpoint_uid() local 90 ret = gb_operation_sync(connection, GB_CAP_TYPE_GET_ENDPOINT_UID, NULL, in cap_get_endpoint_uid() 105 struct gb_connection *connection = cap->connection; in cap_get_ims_certificate() local 108 size_t max_size = gb_operation_get_payload_size_max(connection); in cap_get_ims_certificate() 112 op = gb_operation_create_flags(connection, in cap_get_ims_certificate() 144 struct gb_connection *connection = cap->connection; in cap_authenticate() local 147 size_t max_size = gb_operation_get_payload_size_max(connection); in cap_authenticate() 151 op = gb_operation_create_flags(connection, GB_CAP_TYPE_AUTHENTICATE, in cap_authenticate() [all …]
|
D | vibrator.c | 19 struct gb_connection *connection; member 31 struct gb_bundle *bundle = vib->connection->bundle; in turn_off() 34 ret = gb_operation_sync(vib->connection, GB_VIBRATOR_TYPE_OFF, in turn_off() 44 struct gb_bundle *bundle = vib->connection->bundle; in turn_on() 55 ret = gb_operation_sync(vib->connection, GB_VIBRATOR_TYPE_ON, in turn_on() 120 struct gb_connection *connection; in gb_vibrator_probe() local 136 connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id), in gb_vibrator_probe() 138 if (IS_ERR(connection)) { in gb_vibrator_probe() 139 retval = PTR_ERR(connection); in gb_vibrator_probe() 142 gb_connection_set_data(connection, vib); in gb_vibrator_probe() [all …]
|
D | light.c | 63 struct gb_connection *connection; member 73 return channel->light->glights->connection; in get_conn_from_channel() 78 return light->glights->connection; in get_conn_from_light() 117 struct gb_connection *connection = get_conn_from_channel(channel); in __gb_lights_flash_intensity_set() local 118 struct gb_bundle *bundle = connection->bundle; in __gb_lights_flash_intensity_set() 133 ret = gb_operation_sync(connection, GB_LIGHTS_TYPE_SET_FLASH_INTENSITY, in __gb_lights_flash_intensity_set() 320 struct gb_connection *connection = get_conn_from_channel(channel); in gb_lights_fade_set() local 321 struct gb_bundle *bundle = connection->bundle; in gb_lights_fade_set() 336 ret = gb_operation_sync(connection, GB_LIGHTS_TYPE_SET_FADE, in gb_lights_fade_set() 346 struct gb_connection *connection = get_conn_from_channel(channel); in gb_lights_color_set() local [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
D | ice_devids.h | 8 /* Intel(R) Ethernet Connection E823-L for backplane */ 10 /* Intel(R) Ethernet Connection E823-L for SFP */ 12 /* Intel(R) Ethernet Connection E823-L/X557-AT 10GBASE-T */ 14 /* Intel(R) Ethernet Connection E823-L 1GbE */ 16 /* Intel(R) Ethernet Connection E823-L for QSFP */ 30 /* Intel(R) Ethernet Connection E823-C for backplane */ 32 /* Intel(R) Ethernet Connection E823-C for QSFP */ 34 /* Intel(R) Ethernet Connection E823-C for SFP */ 36 /* Intel(R) Ethernet Connection E823-C/X557-AT 10GBASE-T */ 38 /* Intel(R) Ethernet Connection E823-C 1GbE */ [all …]
|
/kernel/linux/linux-5.10/drivers/block/drbd/ |
D | drbd_receiver.c | 57 static int drbd_do_features(struct drbd_connection *connection); 58 static int drbd_do_auth(struct drbd_connection *connection); 60 static void conn_wait_active_ee_empty(struct drbd_connection *connection); 221 static void conn_reclaim_net_peer_reqs(struct drbd_connection *connection) in conn_reclaim_net_peer_reqs() argument 227 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_reclaim_net_peer_reqs() 271 nc = rcu_dereference(peer_device->connection->net_conf); in drbd_alloc_pages() 512 static int drbd_recv(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv() argument 516 rv = drbd_recv_short(connection->data.socket, buf, size, 0); in drbd_recv() 520 drbd_info(connection, "sock was reset by peer\n"); in drbd_recv() 522 drbd_err(connection, "sock_recvmsg returned %d\n", rv); in drbd_recv() [all …]
|
D | drbd_main.c | 175 * @connection: DRBD connection. 181 * termination of the connection. 183 void tl_release(struct drbd_connection *connection, unsigned int barrier_nr, in tl_release() argument 191 spin_lock_irq(&connection->resource->req_lock); in tl_release() 195 list_for_each_entry(r, &connection->transfer_log, tl_requests) { in tl_release() 220 drbd_err(connection, "BAD! BarrierAck #%u received, but no epoch in tl!?\n", in tl_release() 225 drbd_err(connection, "BAD! BarrierAck #%u received, expected #%u!\n", in tl_release() 231 drbd_err(connection, "BAD! BarrierAck #%u received with n_writes=%u, expected n_writes=%u!\n", in tl_release() 240 list_for_each_entry(req, &connection->transfer_log, tl_requests) in tl_release() 245 req = list_prepare_entry(tmp, &connection->transfer_log, tl_requests); in tl_release() [all …]
|
D | drbd_state.c | 46 struct drbd_connection *connection; in count_objects() local 54 for_each_connection(connection, resource) in count_objects() 79 state_change->connections[n].connection = NULL; in alloc_state_change() 88 struct drbd_connection *connection; in remember_old_state() local 112 for_each_connection(connection, resource) { in remember_old_state() 113 kref_get(&connection->kref); in remember_old_state() 114 connection_state_change->connection = connection; in remember_old_state() 116 connection->cstate; in remember_old_state() 118 conn_highest_peer(connection); in remember_old_state() 131 for_each_connection(connection, resource) { in remember_old_state() [all …]
|
D | drbd_worker.c | 96 drbd_queue_work(&peer_device->connection->sender_work, &peer_req->w); in drbd_endio_read_sec_final() 107 struct drbd_connection *connection = peer_device->connection; in drbd_endio_write_sec_final() local 149 if (connection->cstate >= C_WF_REPORT_PARAMS) { in drbd_endio_write_sec_final() 151 if (!queue_work(connection->ack_sender, &peer_device->send_acks_work)) in drbd_endio_write_sec_final() 358 digest_size = crypto_shash_digestsize(peer_device->connection->csums_tfm); in w_e_send_csum() 363 drbd_csum_ee(peer_device->connection->csums_tfm, peer_req, digest); in w_e_send_csum() 453 &first_peer_device(device)->connection->sender_work, in resync_timer_fn() 591 struct drbd_connection *const connection = peer_device ? peer_device->connection : NULL; in make_resync_request() local 619 if (connection->agreed_features & DRBD_FF_THIN_RESYNC) { in make_resync_request() 633 mutex_lock(&connection->data.mutex); in make_resync_request() [all …]
|
/kernel/linux/linux-5.10/include/rdma/ |
D | ib_cm.h | 313 * Communication identifiers are used to track connection states, service 321 * ib_destroy_cm_id - Destroy a connection identifier. 322 * @cm_id: Connection identifier to destroy. 324 * This call blocks until the connection identifier is destroyed. 337 * connection and service ID resolution requests. 338 * @cm_id: Connection identifier associated with the listen request. 339 * @service_id: Service identifier matched against incoming connection 378 * ib_send_cm_req - Sends a connection request to the remote node. 379 * @cm_id: Connection identifier that will be associated with the 380 * connection request. [all …]
|
/kernel/linux/linux-5.10/sound/firewire/ |
D | cmp.h | 17 * struct cmp_connection - manages an isochronous connection to a device 18 * @speed: the connection's actual speed 38 int cmp_connection_init(struct cmp_connection *connection, 42 int cmp_connection_check_used(struct cmp_connection *connection, bool *used); 43 void cmp_connection_destroy(struct cmp_connection *connection); 45 int cmp_connection_reserve(struct cmp_connection *connection, 47 void cmp_connection_release(struct cmp_connection *connection); 49 int cmp_connection_establish(struct cmp_connection *connection); 50 int cmp_connection_update(struct cmp_connection *connection); 51 void cmp_connection_break(struct cmp_connection *connection);
|