Lines Matching full:connection

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);
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) in gb_connection_e2efc_enabled() argument
101 return !(connection->flags & GB_CONNECTION_FLAG_CSD); in gb_connection_e2efc_enabled()
105 gb_connection_flow_control_disabled(struct gb_connection *connection) in gb_connection_flow_control_disabled() argument
107 return connection->flags & GB_CONNECTION_FLAG_NO_FLOWCTRL; in gb_connection_flow_control_disabled()
110 static inline bool gb_connection_is_offloaded(struct gb_connection *connection) in gb_connection_is_offloaded() argument
112 return connection->flags & GB_CONNECTION_FLAG_OFFLOADED; in gb_connection_is_offloaded()
115 static inline bool gb_connection_is_control(struct gb_connection *connection) in gb_connection_is_control() argument
117 return connection->flags & GB_CONNECTION_FLAG_CONTROL; in gb_connection_is_control()
120 static inline void *gb_connection_get_data(struct gb_connection *connection) in gb_connection_get_data() argument
122 return connection->private; in gb_connection_get_data()
125 static inline void gb_connection_set_data(struct gb_connection *connection, in gb_connection_set_data() argument
128 connection->private = data; in gb_connection_set_data()