Lines Matching defs:connection

77 void gb_connection_destroy(struct gb_connection *connection);
79 static inline bool gb_connection_is_static(struct gb_connection *connection)
81 return !connection->intf;
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);
96 void gb_connection_latency_tag_enable(struct gb_connection *connection);
97 void gb_connection_latency_tag_disable(struct gb_connection *connection);
99 static inline bool gb_connection_e2efc_enabled(struct gb_connection *connection)
101 return !(connection->flags & GB_CONNECTION_FLAG_CSD);
105 gb_connection_flow_control_disabled(struct gb_connection *connection)
107 return connection->flags & GB_CONNECTION_FLAG_NO_FLOWCTRL;
110 static inline bool gb_connection_is_offloaded(struct gb_connection *connection)
112 return connection->flags & GB_CONNECTION_FLAG_OFFLOADED;
115 static inline bool gb_connection_is_control(struct gb_connection *connection)
117 return connection->flags & GB_CONNECTION_FLAG_CONTROL;
120 static inline void *gb_connection_get_data(struct gb_connection *connection)
122 return connection->private;
125 static inline void gb_connection_set_data(struct gb_connection *connection,
128 connection->private = data;