Lines Matching refs:hsi_client
142 struct hsi_client { struct
147 void (*ehandler)(struct hsi_client *, unsigned long); argument
152 #define to_hsi_client(dev) container_of(dev, struct hsi_client, device) argument
154 static inline void hsi_client_set_drvdata(struct hsi_client *cl, void *data) in hsi_client_set_drvdata()
159 static inline void *hsi_client_drvdata(struct hsi_client *cl) in hsi_client_drvdata()
164 int hsi_register_port_event(struct hsi_client *cl,
165 void (*handler)(struct hsi_client *, unsigned long));
166 int hsi_unregister_port_event(struct hsi_client *cl);
203 struct hsi_client *cl;
246 int (*setup)(struct hsi_client *cl);
247 int (*flush)(struct hsi_client *cl);
248 int (*start_tx)(struct hsi_client *cl);
249 int (*stop_tx)(struct hsi_client *cl);
250 int (*release)(struct hsi_client *cl);
259 int hsi_claim_port(struct hsi_client *cl, unsigned int share);
260 void hsi_release_port(struct hsi_client *cl);
262 static inline int hsi_port_claimed(struct hsi_client *cl) in hsi_port_claimed()
299 struct hsi_client *hsi_new_client(struct hsi_port *port,
335 int hsi_async(struct hsi_client *cl, struct hsi_msg *msg);
337 int hsi_get_channel_id_by_name(struct hsi_client *cl, char *name);
345 static inline unsigned int hsi_id(struct hsi_client *cl) in hsi_id()
356 static inline unsigned int hsi_port_id(struct hsi_client *cl) in hsi_port_id()
370 static inline int hsi_setup(struct hsi_client *cl) in hsi_setup()
386 static inline int hsi_flush(struct hsi_client *cl) in hsi_flush()
400 static inline int hsi_async_read(struct hsi_client *cl, struct hsi_msg *msg) in hsi_async_read()
413 static inline int hsi_async_write(struct hsi_client *cl, struct hsi_msg *msg) in hsi_async_write()
425 static inline int hsi_start_tx(struct hsi_client *cl) in hsi_start_tx()
438 static inline int hsi_stop_tx(struct hsi_client *cl) in hsi_stop_tx()