Symbol: tsa_serial
drivers/soc/fsl/qe/qmc.c
1236
ret = tsa_serial_get_info(qmc->tsa_serial, &info);
drivers/soc/fsl/qe/qmc.c
1430
ret = tsa_serial_get_info(qmc->tsa_serial, &info);
drivers/soc/fsl/qe/qmc.c
1759
ucc_num = tsa_serial_get_num(qmc->tsa_serial);
drivers/soc/fsl/qe/qmc.c
1812
ret = tsa_serial_connect(qmc->tsa_serial);
drivers/soc/fsl/qe/qmc.c
1840
ret = tsa_serial_connect(qmc->tsa_serial);
drivers/soc/fsl/qe/qmc.c
1884
tsa_serial_disconnect(qmc->tsa_serial);
drivers/soc/fsl/qe/qmc.c
1898
tsa_serial_disconnect(qmc->tsa_serial);
drivers/soc/fsl/qe/qmc.c
1921
qmc->tsa_serial = devm_tsa_serial_get_byphandle(qmc->dev, np, "fsl,tsa-serial");
drivers/soc/fsl/qe/qmc.c
1922
if (IS_ERR(qmc->tsa_serial)) {
drivers/soc/fsl/qe/qmc.c
1923
return dev_err_probe(qmc->dev, PTR_ERR(qmc->tsa_serial),
drivers/soc/fsl/qe/qmc.c
255
struct tsa_serial *tsa_serial;
drivers/soc/fsl/qe/qmc.c
334
ret = tsa_serial_get_info(chan->qmc->tsa_serial, &tsa_info);
drivers/soc/fsl/qe/qmc.c
833
ret = tsa_serial_get_info(chan->qmc->tsa_serial, &info);
drivers/soc/fsl/qe/qmc.c
850
ret = tsa_serial_get_info(chan->qmc->tsa_serial, &info);
drivers/soc/fsl/qe/qmc.c
993
ret = tsa_serial_get_info(chan->qmc->tsa_serial, &info);
drivers/soc/fsl/qe/tsa.c
1073
struct tsa_serial *tsa_serial_get_byphandle(struct device_node *np,
drivers/soc/fsl/qe/tsa.c
1078
struct tsa_serial *tsa_serial;
drivers/soc/fsl/qe/tsa.c
1112
tsa_serial = &tsa->serials[out_args.args[0]];
drivers/soc/fsl/qe/tsa.c
1119
if (WARN_ON(tsa_serial->id != out_args.args[0])) {
drivers/soc/fsl/qe/tsa.c
1124
return tsa_serial;
drivers/soc/fsl/qe/tsa.c
1128
void tsa_serial_put(struct tsa_serial *tsa_serial)
drivers/soc/fsl/qe/tsa.c
1130
struct tsa *tsa = tsa_serial_get_tsa(tsa_serial);
drivers/soc/fsl/qe/tsa.c
1138
struct tsa_serial **tsa_serial = res;
drivers/soc/fsl/qe/tsa.c
1140
tsa_serial_put(*tsa_serial);
drivers/soc/fsl/qe/tsa.c
1143
struct tsa_serial *devm_tsa_serial_get_byphandle(struct device *dev,
drivers/soc/fsl/qe/tsa.c
1147
struct tsa_serial *tsa_serial;
drivers/soc/fsl/qe/tsa.c
1148
struct tsa_serial **dr;
drivers/soc/fsl/qe/tsa.c
1154
tsa_serial = tsa_serial_get_byphandle(np, phandle_name);
drivers/soc/fsl/qe/tsa.c
1155
if (!IS_ERR(tsa_serial)) {
drivers/soc/fsl/qe/tsa.c
1156
*dr = tsa_serial;
drivers/soc/fsl/qe/tsa.c
1162
return tsa_serial;
drivers/soc/fsl/qe/tsa.c
180
static inline struct tsa *tsa_serial_get_tsa(struct tsa_serial *tsa_serial)
drivers/soc/fsl/qe/tsa.c
183
return container_of(tsa_serial, struct tsa, serials[tsa_serial->id]);
drivers/soc/fsl/qe/tsa.c
234
static int tsa_qe_serial_get_num(struct tsa_serial *tsa_serial)
drivers/soc/fsl/qe/tsa.c
236
struct tsa *tsa = tsa_serial_get_tsa(tsa_serial);
drivers/soc/fsl/qe/tsa.c
238
switch (tsa_serial->id) {
drivers/soc/fsl/qe/tsa.c
248
dev_err(tsa->dev, "Unsupported serial id %u\n", tsa_serial->id);
drivers/soc/fsl/qe/tsa.c
252
int tsa_serial_get_num(struct tsa_serial *tsa_serial)
drivers/soc/fsl/qe/tsa.c
254
struct tsa *tsa = tsa_serial_get_tsa(tsa_serial);
drivers/soc/fsl/qe/tsa.c
263
return tsa_is_qe(tsa) ? tsa_qe_serial_get_num(tsa_serial) : -EOPNOTSUPP;
drivers/soc/fsl/qe/tsa.c
267
static int tsa_cpm1_serial_connect(struct tsa_serial *tsa_serial, bool connect)
drivers/soc/fsl/qe/tsa.c
269
struct tsa *tsa = tsa_serial_get_tsa(tsa_serial);
drivers/soc/fsl/qe/tsa.c
274
switch (tsa_serial->id) {
drivers/soc/fsl/qe/tsa.c
288
dev_err(tsa->dev, "Unsupported serial id %u\n", tsa_serial->id);
drivers/soc/fsl/qe/tsa.c
300
static int tsa_qe_serial_connect(struct tsa_serial *tsa_serial, bool connect)
drivers/soc/fsl/qe/tsa.c
302
struct tsa *tsa = tsa_serial_get_tsa(tsa_serial);
drivers/soc/fsl/qe/tsa.c
307
ucc_num = tsa_qe_serial_get_num(tsa_serial);
drivers/soc/fsl/qe/tsa.c
316
tsa_serial->id, ret);
drivers/soc/fsl/qe/tsa.c
322
int tsa_serial_connect(struct tsa_serial *tsa_serial)
drivers/soc/fsl/qe/tsa.c
324
struct tsa *tsa = tsa_serial_get_tsa(tsa_serial);
drivers/soc/fsl/qe/tsa.c
327
tsa_qe_serial_connect(tsa_serial, true) :
drivers/soc/fsl/qe/tsa.c
328
tsa_cpm1_serial_connect(tsa_serial, true);
drivers/soc/fsl/qe/tsa.c
332
int tsa_serial_disconnect(struct tsa_serial *tsa_serial)
drivers/soc/fsl/qe/tsa.c
334
struct tsa *tsa = tsa_serial_get_tsa(tsa_serial);
drivers/soc/fsl/qe/tsa.c
337
tsa_qe_serial_connect(tsa_serial, false) :
drivers/soc/fsl/qe/tsa.c
338
tsa_cpm1_serial_connect(tsa_serial, false);
drivers/soc/fsl/qe/tsa.c
342
int tsa_serial_get_info(struct tsa_serial *tsa_serial, struct tsa_serial_info *info)
drivers/soc/fsl/qe/tsa.c
344
memcpy(info, &tsa_serial->info, sizeof(*info));
drivers/soc/fsl/qe/tsa.h
16
struct tsa_serial;
drivers/soc/fsl/qe/tsa.h
18
struct tsa_serial *tsa_serial_get_byphandle(struct device_node *np,
drivers/soc/fsl/qe/tsa.h
20
void tsa_serial_put(struct tsa_serial *tsa_serial);
drivers/soc/fsl/qe/tsa.h
21
struct tsa_serial *devm_tsa_serial_get_byphandle(struct device *dev,
drivers/soc/fsl/qe/tsa.h
26
int tsa_serial_connect(struct tsa_serial *tsa_serial);
drivers/soc/fsl/qe/tsa.h
27
int tsa_serial_disconnect(struct tsa_serial *tsa_serial);
drivers/soc/fsl/qe/tsa.h
40
int tsa_serial_get_info(struct tsa_serial *tsa_serial, struct tsa_serial_info *info);
drivers/soc/fsl/qe/tsa.h
43
int tsa_serial_get_num(struct tsa_serial *tsa_serial);