Lines Matching refs:port

51 /* HSI port event codes */
93 * @port: Port number in the controller where the client sits
102 unsigned int port;
121 * struct hsi_client - HSI client attached to an HSI port
205 * struct hsi_port - HSI port device
210 * @shared: Set when port can be shared by different clients
211 * @claimed: Reference count of clients which claimed the port
212 * @lock: Serialize port claim
218 * @release: Callback to inform that a client no longer uses the port
219 * @n_head: Notifier chain for signaling port events to the clients.
242 int hsi_event(struct hsi_port *port, unsigned long event);
251 static inline void hsi_port_set_drvdata(struct hsi_port *port, void *data)
253 dev_set_drvdata(&port->device, data);
256 static inline void *hsi_port_drvdata(struct hsi_port *port)
258 return dev_get_drvdata(&port->device);
267 * @port: Array of HSI ports
274 struct hsi_port **port;
283 struct hsi_client *hsi_new_client(struct hsi_port *port,
286 void hsi_port_unregister_clients(struct hsi_port *port);
289 void hsi_add_clients_from_dt(struct hsi_port *port,
292 static inline void hsi_add_clients_from_dt(struct hsi_port *port,
313 return (num < hsi->num_ports) ? hsi->port[num] : NULL;
335 * hsi_port_id - Gets the port number a client is attached to
338 * Return the port number associated to the client
346 * hsi_setup - Configure the client's port
362 * hsi_flush - Flush all pending transactions on the client's port
365 * This function will destroy all pending hsi_msg in the port and reset
366 * the HW port so it is ready to receive and transmit from a clean state.
404 * hsi_start_tx - Signal the port that the client wants to start a TX
417 * hsi_stop_tx - Signal the port that the client no longer wants to transmit