Searched refs:tsa_serial (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/soc/fsl/qe/ |
H A 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);
|
H A 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 …]
|
H A D | qmc.c | 205 struct tsa_serial *tsa_serial; member 262 ret = tsa_serial_get_info(chan->qmc->tsa_serial, &tsa_info); in qmc_chan_get_info() 751 ret = tsa_serial_get_info(qmc->tsa_serial, &info); in qmc_check_chans() 1002 ret = tsa_serial_get_info(qmc->tsa_serial, &info); in qmc_setup_tsa() 1023 ret = tsa_serial_get_info(chan->qmc->tsa_serial, &info); in qmc_setup_chan_trnsync() 1302 ret = tsa_serial_connect(qmc->tsa_serial); in qmc_cpm1_init_scc() 1328 tsa_serial_disconnect(qmc->tsa_serial); in qmc_exit_xcc() 1346 qmc->tsa_serial = devm_tsa_serial_get_byphandle(qmc->dev, np, "fsl,tsa-serial"); in qmc_probe() 1347 if (IS_ERR(qmc->tsa_serial)) { in qmc_probe() 1348 return dev_err_probe(qmc->dev, PTR_ERR(qmc->tsa_serial), in qmc_probe()
|