Lines Matching full:pru
890 char *pru; member
897 .pru = "ti-pruss/am65x-sr2-pru0-prueth-fw.elf",
902 .pru = "ti-pruss/am65x-sr2-pru1-prueth-fw.elf",
926 ret = rproc_set_firmware(prueth->pru[slice], firmwares[slice].pru); in prueth_emac_start()
927 ret = rproc_boot(prueth->pru[slice]); in prueth_emac_start()
929 dev_err(dev, "failed to boot PRU%d: %d\n", slice, ret); in prueth_emac_start()
954 rproc_shutdown(prueth->pru[slice]); in prueth_emac_start()
979 rproc_shutdown(prueth->pru[slice]); in prueth_emac_stop()
1374 /* reset and start PRU firmware */ in emac_ndo_open()
1903 prueth->pru[slice] = pru_rproc_get(np, idx, &pruss_id); in prueth_get_cores()
1904 if (IS_ERR(prueth->pru[slice])) { in prueth_get_cores()
1905 ret = PTR_ERR(prueth->pru[slice]); in prueth_get_cores()
1906 prueth->pru[slice] = NULL; in prueth_get_cores()
1907 return dev_err_probe(dev, ret, "unable to get PRU%d\n", slice); in prueth_get_cores()
1938 if (prueth->pru[slice]) in prueth_put_cores()
1939 pru_rproc_put(prueth->pru[slice]); in prueth_put_cores()
2051 prueth->pru[ICSS_SLICE0] : prueth->pru[ICSS_SLICE1]); in prueth_probe()
2174 dev_info(dev, "TI PRU ethernet driver initialized: %s EMAC mode\n", in prueth_probe()