Home
last modified time | relevance | path

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

/openbmc/linux/drivers/soc/fsl/qe/
H A 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);
H A Dtsa.c126 struct tsa_serial { struct
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
196 int tsa_serial_disconnect(struct tsa_serial *tsa_serial) in tsa_serial_disconnect() argument
756 struct tsa_serial *tsa_serial; in tsa_serial_get_byphandle() local
802 return tsa_serial; in tsa_serial_get_byphandle()
806 void tsa_serial_put(struct tsa_serial *tsa_serial) in tsa_serial_put() argument
816 struct tsa_serial **tsa_serial = res; in devm_tsa_serial_release() local
825 struct tsa_serial *tsa_serial; in devm_tsa_serial_get_byphandle() local
834 *dr = tsa_serial; in devm_tsa_serial_get_byphandle()
[all …]
H A Dqmc.c205 struct tsa_serial *tsa_serial; member
263 ret = tsa_serial_get_info(chan->qmc->tsa_serial, &tsa_info); in qmc_chan_get_info()
752 ret = tsa_serial_get_info(qmc->tsa_serial, &info); in qmc_check_chans()
1003 ret = tsa_serial_get_info(qmc->tsa_serial, &info); in qmc_setup_tsa()
1024 ret = tsa_serial_get_info(chan->qmc->tsa_serial, &info); in qmc_setup_chan_trnsync()
1302 qmc->tsa_serial = devm_tsa_serial_get_byphandle(qmc->dev, np, "fsl,tsa-serial"); in qmc_probe()
1303 if (IS_ERR(qmc->tsa_serial)) { in qmc_probe()
1304 return dev_err_probe(qmc->dev, PTR_ERR(qmc->tsa_serial), in qmc_probe()
1309 ret = tsa_serial_connect(qmc->tsa_serial); in qmc_probe()
1413 tsa_serial_disconnect(qmc->tsa_serial); in qmc_probe()
[all …]