Home
last modified time | relevance | path

Searched full:connection (Results 1 – 25 of 6489) sorted by relevance

12345678910>>...260

/openbmc/linux/drivers/greybus/
H A Dconnection.c25 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 …]
H A Doperation.c37 * 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 …]
H A Dcontrol.c20 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 …]
/openbmc/openbmc-test-automation/lib/
H A Dgen_robot_ssh.py29 def sprint_connection(connection, indent=0): argument
31 sprint data from the connection object to a string and return it.
33connection A connection object which is created by the SSHlibrary open_connec…
39 buffer += "connection:\n"
41 buffer += gp.sprint_varx("index", connection.index, 0, indent)
42 buffer += gp.sprint_varx("host", connection.host, 0, indent)
43 buffer += gp.sprint_varx("alias", connection.alias, 0, indent)
44 buffer += gp.sprint_varx("port", connection.port, 0, indent)
45 buffer += gp.sprint_varx("timeout", connection.timeout, 0, indent)
46 buffer += gp.sprint_varx("newline", connection.newline, 0, indent)
[all …]
H A Dconnection_client.robot2 Documentation This module is for SSH connection override to QEMU
12 Open Connection And Log In
13 [Documentation] Opens a connection with the given arguments, and logs in.
18 # username The username to log into the connection with.
19 # password The password to log into the connection with.
20 # connection_args A dictionary of acceptable inputs to the Open Connection
27 # Of the above arguments to Open Connection, this keyword
46 # to the dictionary and open the connection. Otherwise, open the connection
51 ... SSHLibrary.Open connection &{connection_args}
52 ... ELSE Run Keyword SSHLibrary.Open connection &{connection_args}
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/
H A DConnection_v1.xml4 <!--# Redfish Schema: Connection v1.4.0 -->
49 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Connection">
53 <EntityType Name="Connection" BaseType="Resource.v1_0_0.Resource" Abstract="true">
54 …<Annotation Term="OData.Description" String="The `Connection` schema describes the access permissi…
55 …Description" String="This resource shall represent information about a connection in the Redfish S…
79 …<Annotation Term="OData.Description" String="This action adds a volume to the connection. Volumes…
80 …="OData.LongDescription" String="This action shall add a volume to the connection. Services shall…
81 <Parameter Name="Connection" Type="Connection.v1_0_0.Actions"/>
90 <Parameter Name="AccessCapabilities" Type="Collection(Connection.v1_0_0.AccessCapability)">
105 …Term="OData.Description" String="This action removes a volume from the connection. Volumes are re…
[all …]
/openbmc/linux/include/linux/greybus/
H A Dconnection.h77 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 …]
/openbmc/linux/drivers/staging/greybus/
H A Dfw-core.c31 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 …]
H A Daudio_apbridgea.c12 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 …]
H A Daudio_codec.h95 struct gb_connection *connection; member
142 /* connection info */
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 Daudio_gb.c12 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 …]
H A Dbootrom.c34 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 …]
H A Dspi.c20 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 …]
H A Dlog.c15 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 …]
H A Di2c.c18 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 …]
/openbmc/linux/drivers/block/drbd/
H A Ddrbd_receiver.c56 static int drbd_do_features(struct drbd_connection *connection);
57 static int drbd_do_auth(struct drbd_connection *connection);
59 static void conn_wait_active_ee_empty(struct drbd_connection *connection);
222 static void conn_reclaim_net_peer_reqs(struct drbd_connection *connection) in conn_reclaim_net_peer_reqs() argument
228 idr_for_each_entry(&connection->peer_devices, peer_device, vnr) { in conn_reclaim_net_peer_reqs()
272 nc = rcu_dereference(peer_device->connection->net_conf); in drbd_alloc_pages()
513 static int drbd_recv(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv() argument
517 rv = drbd_recv_short(connection->data.socket, buf, size, 0); in drbd_recv()
521 drbd_info(connection, "sock was reset by peer\n"); in drbd_recv()
523 drbd_err(connection, "sock_recvmsg returned %d\n", rv); in drbd_recv()
[all …]
H A Ddrbd_main.c161 * @connection: DRBD connection.
167 * termination of the connection.
169 void tl_release(struct drbd_connection *connection, unsigned int barrier_nr, in tl_release() argument
177 spin_lock_irq(&connection->resource->req_lock); in tl_release()
181 list_for_each_entry(r, &connection->transfer_log, tl_requests) { in tl_release()
206 drbd_err(connection, "BAD! BarrierAck #%u received, but no epoch in tl!?\n", in tl_release()
211 drbd_err(connection, "BAD! BarrierAck #%u received, expected #%u!\n", in tl_release()
217 drbd_err(connection, "BAD! BarrierAck #%u received with n_writes=%u, expected n_writes=%u!\n", in tl_release()
226 list_for_each_entry(req, &connection->transfer_log, tl_requests) in tl_release()
231 req = list_prepare_entry(tmp, &connection->transfer_log, tl_requests); in tl_release()
[all …]
H A Ddrbd_state.c46 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 …]
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_devids.h9 /* Intel(R) Ethernet Connection E823-L for backplane */
11 /* Intel(R) Ethernet Connection E823-L for SFP */
13 /* Intel(R) Ethernet Connection E823-L/X557-AT 10GBASE-T */
15 /* Intel(R) Ethernet Connection E823-L 1GbE */
17 /* Intel(R) Ethernet Connection E823-L for QSFP */
46 /* Intel(R) Ethernet Connection E823-C for backplane */
48 /* Intel(R) Ethernet Connection E823-C for QSFP */
50 /* Intel(R) Ethernet Connection E823-C for SFP */
52 /* Intel(R) Ethernet Connection E823-C/X557-AT 10GBASE-T */
54 /* Intel(R) Ethernet Connection E82
[all...]
/openbmc/bmcweb/http/
H A Dserver_sent_event.hpp16 struct Connection : public std::enable_shared_from_this<Connection> struct
19 Connection() = default;
21 Connection(const Connection&) = delete;
22 Connection(Connection&&) = delete;
23 Connection& operator=(const Connection&) = delete;
24 Connection& operator=(const Connection&&) = delete;
25 virtual ~Connection() = default;
H A Dwebsocket.hpp21 struct Connection : std::enable_shared_from_this<Connection> struct
24 Connection() = default;
26 Connection(const Connection&) = delete;
27 Connection(Connection&&) = delete;
28 Connection& operator=(const Connection&) = delete;
29 Connection& operator=(const Connection&&) = delete;
38 virtual ~Connection() = default;
/openbmc/linux/include/rdma/
H A Dib_cm.h312 * Communication identifiers are used to track connection states, service
320 * ib_destroy_cm_id - Destroy a connection identifier.
321 * @cm_id: Connection identifier to destroy.
323 * This call blocks until the connection identifier is destroyed.
336 * connection and service ID resolution requests.
337 * @cm_id: Connection identifier associated with the listen request.
338 * @service_id: Service identifier matched against incoming connection
374 * ib_send_cm_req - Sends a connection request to the remote node.
375 * @cm_id: Connection identifier that will be associated with the
376 * connection request.
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/
H A DOutboundConnection.v1_0_2.json112 "description": "The link to the session for this outbound connection.",
113 … a resource of type `Session` that represents the active connection for this outbound connection.",
142 … to a remote client over a WebSocket connection. This allows a service behind a firewall to estab…
143 …hall represent the connection configuration necessary to connect to a remote client. Services sha…
185 "description": "The authentication mechanism for the WebSocket connection.",
186 …ription": "This property shall contain the authentication mechanism for the WebSocket connection.",
192 …nt prior to completing the connection. If the remote client cannot be verified, the service shall…
202 "description": "Indicates if the outbound connection is enabled.",
203connection is enabled. If `true`, the service shall attempt to establish an outbound connection t…
222 "description": "The URI of the WebSocket connection to the remote client.",
[all …]
H A DConnection.v1_4_0.json2 "$id": "http://redfish.dmtf.org/schemas/v1/Connection.v1_4_0.json",
3 "$ref": "#/definitions/Connection",
41 …Description": "This type shall describe the access to the associated resource in this connection.",
63 "#Connection.AddVolumeInfo": {
66 "#Connection.RemoveVolumeInfo": {
79 …"description": "This action adds a volume to the connection. Volumes are added to the `VolumeInfo…
80 …"longDescription": "This action shall add a volume to the connection. Services shall add the volu…
132 "description": "The CHAP-specific permission key information for a connection.",
133 …ption": "This object shall contain the CHAP-specific permission key information for a connection.",
205 "Connection": { object
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/gammu/gammu/
H A Dgammurc12 connection = at115200
28 ;connection = fbusblue
37 ; Step 1. Please find required Connection parameter and look into assigned
38 ; with it device type. With some Connection you must set concrete model
42 ; Connection "fbus", device type serial
44 ; Connection "fbusdlr3"/"dlr3", device type serial
47 ; Connection "dku2phonet"/"dku2", device type dku2 on Windows
48 ; Connection "fbususb" on Linux
51 ; Connection "dku5fbus"/"dku5", device type dku5
54 ; Connection "fbuspl2303", device type usb
[all …]

12345678910>>...260