Home
last modified time | relevance | path

Searched refs:tsa_serial (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/soc/fsl/qe/
Dtsa.h16 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);
Dtsa.c174 struct tsa_serial { struct
180 static inline struct tsa *tsa_serial_get_tsa(struct tsa_serial *tsa_serial) in tsa_serial_get_tsa() argument
183 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() argument
236 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() argument
254 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 …]
Dqmc.c255 struct tsa_serial *tsa_serial; member
334 ret = tsa_serial_get_info(chan->qmc->tsa_serial, &tsa_info); in qmc_chan_get_info()
811 ret = tsa_serial_get_info(chan->qmc->tsa_serial, &info); in qmc_chan_setup_tsa_tx()
828 ret = tsa_serial_get_info(chan->qmc->tsa_serial, &info); in qmc_chan_setup_tsa_rx()
971 ret = tsa_serial_get_info(chan->qmc->tsa_serial, &info); in qmc_setup_chan_trnsync()
1214 ret = tsa_serial_get_info(qmc->tsa_serial, &info); in qmc_check_chans()
1417 ret = tsa_serial_get_info(qmc->tsa_serial, &info); in qmc_init_tsa()
1746 ucc_num = tsa_serial_get_num(qmc->tsa_serial); in qmc_qe_init_resources()
1799 ret = tsa_serial_connect(qmc->tsa_serial); in qmc_cpm1_init_scc()
1827 ret = tsa_serial_connect(qmc->tsa_serial); in qmc_qe_init_ucc()
[all …]