Searched refs:tsa_serial (Results 1 – 2 of 2) sorted by relevance
16 struct tsa_serial;18 struct tsa_serial *tsa_serial_get_byphandle(struct device_node *np,20 void tsa_serial_put(struct tsa_serial *tsa_serial);21 struct tsa_serial *devm_tsa_serial_get_byphandle(struct device *dev,26 int tsa_serial_connect(struct tsa_serial *tsa_serial);27 int tsa_serial_disconnect(struct tsa_serial *tsa_serial);40 int tsa_serial_get_info(struct tsa_serial *tsa_serial, struct tsa_serial_info *info);43 int tsa_serial_get_num(struct tsa_serial *tsa_serial);
174 struct tsa_serial { struct180 static inline struct tsa *tsa_serial_get_tsa(struct tsa_serial *tsa_serial) in tsa_serial_get_tsa() argument183 return container_of(tsa_serial, struct tsa, serials[tsa_serial->id]); in tsa_serial_get_tsa()234 static int tsa_qe_serial_get_num(struct tsa_serial *tsa_serial) in tsa_qe_serial_get_num() argument236 struct tsa *tsa = tsa_serial_get_tsa(tsa_serial); in tsa_qe_serial_get_num()238 switch (tsa_serial->id) { in tsa_qe_serial_get_num()248 dev_err(tsa->dev, "Unsupported serial id %u\n", tsa_serial->id); in tsa_qe_serial_get_num()252 int tsa_serial_get_num(struct tsa_serial *tsa_serial) in tsa_serial_get_num() argument254 struct tsa *tsa = tsa_serial_get_tsa(tsa_serial); in tsa_serial_get_num()263 return tsa_is_qe(tsa) ? tsa_qe_serial_get_num(tsa_serial) : -EOPNOTSUPP; in tsa_serial_get_num()[all …]