Searched refs:tsa_serial (Results 1 – 3 of 3) sorted by relevance
| /Linux-v6.6/drivers/soc/fsl/qe/ |
| D | tsa.h | 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);
|
| D | tsa.c | 126 struct tsa_serial { struct 132 static inline struct tsa *tsa_serial_get_tsa(struct tsa_serial *tsa_serial) in tsa_serial_get_tsa() argument 135 return container_of(tsa_serial, struct tsa, serials[tsa_serial->id]); in tsa_serial_get_tsa() 163 int tsa_serial_connect(struct tsa_serial *tsa_serial) in tsa_serial_connect() argument 165 struct tsa *tsa = tsa_serial_get_tsa(tsa_serial); in tsa_serial_connect() 170 switch (tsa_serial->id) { in tsa_serial_connect() 184 dev_err(tsa->dev, "Unsupported serial id %u\n", tsa_serial->id); in tsa_serial_connect() 196 int tsa_serial_disconnect(struct tsa_serial *tsa_serial) in tsa_serial_disconnect() argument 198 struct tsa *tsa = tsa_serial_get_tsa(tsa_serial); in tsa_serial_disconnect() 202 switch (tsa_serial->id) { in tsa_serial_disconnect() [all …]
|
| D | qmc.c | 205 struct tsa_serial *tsa_serial; member 263 ret = tsa_serial_get_info(chan->qmc->tsa_serial, &tsa_info); in qmc_chan_get_info() 753 ret = tsa_serial_get_info(qmc->tsa_serial, &info); in qmc_check_chans() 1004 ret = tsa_serial_get_info(qmc->tsa_serial, &info); in qmc_setup_tsa() 1025 ret = tsa_serial_get_info(chan->qmc->tsa_serial, &info); in qmc_setup_chan_trnsync() 1303 qmc->tsa_serial = devm_tsa_serial_get_byphandle(qmc->dev, np, "fsl,tsa-serial"); in qmc_probe() 1304 if (IS_ERR(qmc->tsa_serial)) { in qmc_probe() 1305 return dev_err_probe(qmc->dev, PTR_ERR(qmc->tsa_serial), in qmc_probe() 1310 ret = tsa_serial_connect(qmc->tsa_serial); in qmc_probe() 1414 tsa_serial_disconnect(qmc->tsa_serial); in qmc_probe() [all …]
|