/linux/include/linux/ |
H A D | pruss_driver.h | 95 struct pruss { struct 108 struct pruss *pruss_get(struct rproc *rproc); argument 109 void pruss_put(struct pruss *pruss); 110 int pruss_request_mem_region(struct pruss *pruss, enum pruss_mem mem_id, 112 int pruss_release_mem_region(struct pruss *pruss, 114 int pruss_cfg_get_gpmux(struct pruss *pruss, enum pruss_pru_id pru_id, u8 *mux); 115 int pruss_cfg_set_gpmux(struct pruss *pruss, enum pruss_pru_id pru_id, u8 mux); 116 int pruss_cfg_gpimode(struct pruss *pruss, enum pruss_pru_id pru_id, 118 int pruss_cfg_miirt_enable(struct pruss *pruss, bool enable); 119 int pruss_cfg_xfr_enable(struct pruss *pruss, enum pru_type pru_type, [all …]
|
/linux/drivers/soc/ti/ |
H A D | pruss.c | 56 struct pruss *pruss_get(struct rproc *rproc) in pruss_get() 58 struct pruss *pruss; in pruss_get() local 72 pruss = platform_get_drvdata(ppdev); in pruss_get() 73 if (!pruss) in pruss_get() 76 get_device(pruss->dev); in pruss_get() 78 return pruss; in pruss_get() 89 void pruss_put(struct pruss *pruss) in pruss_put() argument 91 if (IS_ERR_OR_NULL(pruss)) in pruss_put() 94 put_device(pruss->dev); in pruss_put() 112 int pruss_request_mem_region(struct pruss *pruss, enum pruss_mem mem_id, in pruss_request_mem_region() argument [all …]
|
H A D | pruss.h | 60 static int pruss_cfg_read(struct pruss *pruss, unsigned int reg, unsigned int *val) in pruss_cfg_read() argument 62 if (IS_ERR_OR_NULL(pruss)) in pruss_cfg_read() 65 return regmap_read(pruss->cfg_regmap, reg, val); in pruss_cfg_read() 79 static int pruss_cfg_update(struct pruss *pruss, unsigned int reg, in pruss_cfg_update() argument 82 if (IS_ERR_OR_NULL(pruss)) in pruss_cfg_update() 85 return regmap_update_bits(pruss->cfg_regmap, reg, mask, val); in pruss_cfg_update()
|
H A D | Makefile | 13 obj-$(CONFIG_TI_PRUSS) += pruss.o
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | am57-pruss.dtsi | 10 compatible = "ti,sysc-pruss", "ti,sysc"; 29 pruss1: pruss@0 { 30 compatible = "ti,am5728-pruss"; 45 compatible = "ti,pruss-cfg", "syscon"; 65 compatible = "ti,pruss-mii", "syscon"; 70 compatible = "ti,pruss-intc"; 119 compatible = "ti,sysc-pruss", "ti,sysc"; 138 pruss2: pruss@0 { 139 compatible = "ti,am5728-pruss"; 154 compatible = "ti,pruss-cfg", "syscon"; [all …]
|
H A D | am4372.dtsi | 420 compatible = "ti,sysc-pruss", "ti,sysc"; 440 pruss1: pruss@0 { 456 compatible = "ti,pruss-cfg", "syscon"; 476 compatible = "ti,pruss-mii", "syscon"; 481 compatible = "ti,pruss-intc"; 528 pruss0: pruss@40000 { 542 compatible = "ti,pruss-cfg", "syscon"; 562 compatible = "ti,pruss-mii", "syscon"; 568 compatible = "ti,pruss-intc";
|
H A D | am5718.dtsi | 7 #include "am57-pruss.dtsi"
|
H A D | am5728.dtsi | 7 #include "am57-pruss.dtsi"
|
H A D | am5748.dtsi | 7 #include "am57-pruss.dtsi"
|
H A D | am5729-beagleboneai.dts | 517 compatible = "ti,pruss-shmem"; 523 compatible = "ti,pruss-shmem";
|
/linux/arch/arm64/boot/dts/ti/ |
H A D | k3-am65-iot2050-common-pg1.dtsi | 49 firmware-name = "ti-pruss/am65x-pru0-prueth-fw.elf", 50 "ti-pruss/am65x-rtu0-prueth-fw.elf", 51 "ti-pruss/am65x-pru1-prueth-fw.elf", 52 "ti-pruss/am65x-rtu1-prueth-fw.elf"; 54 ti,pruss-gp-mux-sel = <2>, /* MII mode */
|
H A D | k3-am654-idk.dtso | 30 firmware-name = "ti-pruss/am65x-sr2-pru0-prueth-fw.elf", 31 "ti-pruss/am65x-sr2-rtu0-prueth-fw.elf", 32 "ti-pruss/am65x-sr2-txpru0-prueth-fw.elf", 33 "ti-pruss/am65x-sr2-pru1-prueth-fw.elf", 34 "ti-pruss/am65x-sr2-rtu1-prueth-fw.elf", 35 "ti-pruss/am65x-sr2-txpru1-prueth-fw.elf"; 37 ti,pruss-gp-mux-sel = <2>, /* MII mode */ 97 firmware-name = "ti-pruss/am65x-sr2-pru0-prueth-fw.elf", 98 "ti-pruss/am65x-sr2-rtu0-prueth-fw.elf", 99 "ti-pruss/am65x-sr2-txpru0-prueth-fw.elf", [all …]
|
H A D | k3-am642-phyboard-electra-rdk.dts | 71 firmware-name = "ti-pruss/am65x-sr2-pru0-prueth-fw.elf", 72 "ti-pruss/am65x-sr2-rtu0-prueth-fw.elf", 73 "ti-pruss/am65x-sr2-txpru0-prueth-fw.elf", 74 "ti-pruss/am65x-sr2-pru1-prueth-fw.elf", 75 "ti-pruss/am65x-sr2-rtu1-prueth-fw.elf", 76 "ti-pruss/am65x-sr2-txpru1-prueth-fw.elf"; 93 ti,pruss-gp-mux-sel = <2>, /* MII mode */
|
H A D | k3-am642-sr-som.dtsi | 35 firmware-name = "ti-pruss/am65x-sr2-pru0-prueth-fw.elf", 36 "ti-pruss/am65x-sr2-rtu0-prueth-fw.elf", 37 "ti-pruss/am65x-sr2-txpru0-prueth-fw.elf", 38 "ti-pruss/am65x-sr2-pru1-prueth-fw.elf", 39 "ti-pruss/am65x-sr2-rtu1-prueth-fw.elf", 40 "ti-pruss/am65x-sr2-txpru1-prueth-fw.elf"; 43 ti,pruss-gp-mux-sel = <2>, <2>, <2>, <2>, <2>, <2>; 54 * Documentation/devicetree/bindings/interrupt-controller/ti,pruss-intc.yaml
|
H A D | k3-am65-iot2050-common.dtsi | 151 firmware-name = "ti-pruss/am65x-sr2-pru0-prueth-fw.elf", 152 "ti-pruss/am65x-sr2-rtu0-prueth-fw.elf", 153 "ti-pruss/am65x-sr2-txpru0-prueth-fw.elf", 154 "ti-pruss/am65x-sr2-pru1-prueth-fw.elf", 155 "ti-pruss/am65x-sr2-rtu1-prueth-fw.elf", 156 "ti-pruss/am65x-sr2-txpru1-prueth-fw.elf"; 158 ti,pruss-gp-mux-sel = <2>, /* MII mode */
|
H A D | k3-am642-evm.dts | 252 firmware-name = "ti-pruss/am64x-sr2-pru0-prueth-fw.elf", 253 "ti-pruss/am64x-sr2-rtu0-prueth-fw.elf", 254 "ti-pruss/am64x-sr2-txpru0-prueth-fw.elf", 255 "ti-pruss/am64x-sr2-pru1-prueth-fw.elf", 256 "ti-pruss/am64x-sr2-rtu1-prueth-fw.elf", 257 "ti-pruss/am64x-sr2-txpru1-prueth-fw.elf"; 259 ti,pruss-gp-mux-sel = <2>, /* MII mode */
|
H A D | k3-am65-main.dtsi | 1118 compatible = "ti,pruss-cfg", "syscon"; 1161 compatible = "ti,pruss-mii", "syscon"; 1166 compatible = "ti,pruss-mii-g", "syscon"; 1171 compatible = "ti,pruss-pa-st", "syscon"; 1289 compatible = "ti,pruss-cfg", "syscon"; 1332 compatible = "ti,pruss-mii", "syscon"; 1337 compatible = "ti,pruss-mii-g", "syscon"; 1342 compatible = "ti,pruss-pa-st", "syscon"; 1460 compatible = "ti,pruss-cfg", "syscon"; 1503 compatible = "ti,pruss-mii", "syscon"; [all …]
|
H A D | k3-am642-tqma64xxl-mbax4xxl.dts | 97 firmware-name = "ti-pruss/am64x-sr2-pru0-prueth-fw.elf", 98 "ti-pruss/am64x-sr2-rtu0-prueth-fw.elf", 99 "ti-pruss/am64x-sr2-txpru0-prueth-fw.elf", 100 "ti-pruss/am64x-sr2-pru1-prueth-fw.elf", 101 "ti-pruss/am64x-sr2-rtu1-prueth-fw.elf", 102 "ti-pruss/am64x-sr2-txpru1-prueth-fw.elf"; 104 ti,pruss-gp-mux-sel = <2>, /* MII mode */
|
H A D | k3-am64-main.dtsi | 1239 compatible = "ti,pruss-cfg", "syscon"; 1282 compatible = "ti,pruss-mii", "syscon"; 1287 compatible = "ti,pruss-mii-g", "syscon"; 1292 compatible = "ti,pruss-pa-st", "syscon"; 1409 compatible = "ti,pruss-cfg", "syscon"; 1452 compatible = "ti,pruss-mii", "syscon"; 1457 compatible = "ti,pruss-mii-g", "syscon"; 1462 compatible = "ti,pruss-pa-st", "syscon";
|
/linux/drivers/net/ethernet/ti/icssg/ |
H A D | icssg_prueth_sr1.c | 772 ret = pruss_request_mem_region(prueth->pruss, in prueth_netdev_init() 864 pruss_release_mem_region(prueth->pruss, &emac->dram); in prueth_netdev_init() 883 struct pruss *pruss; in prueth_probe() local 973 pruss = pruss_get(eth0_node ? in prueth_probe() 975 if (IS_ERR(pruss)) { in prueth_probe() 976 ret = PTR_ERR(pruss); in prueth_probe() 981 prueth->pruss = pruss; in prueth_probe() 983 ret = pruss_request_mem_region(pruss, PRUSS_MEM_SHRD_RAM2, in prueth_probe() 1143 pruss_release_mem_region(prueth->pruss, &prueth->shram); in prueth_probe() 1146 pruss_put(prueth->pruss); in prueth_probe() [all …]
|
H A D | icssg_prueth.c | 912 ret = pruss_request_mem_region(prueth->pruss, in prueth_netdev_init() 1014 pruss_release_mem_region(prueth->pruss, &emac->dram); in prueth_netdev_init() 1332 struct pruss *pruss; in prueth_probe() local 1428 pruss = pruss_get(eth0_node ? in prueth_probe() 1430 if (IS_ERR(pruss)) { in prueth_probe() 1431 ret = PTR_ERR(pruss); in prueth_probe() 1436 prueth->pruss = pruss; in prueth_probe() 1438 ret = pruss_request_mem_region(pruss, PRUSS_MEM_SHRD_RAM2, in prueth_probe() 1615 pruss_release_mem_region(prueth->pruss, &prueth->shram); in prueth_probe() 1618 pruss_put(prueth->pruss); in prueth_probe() [all …]
|
H A D | icssg_prueth.h | 263 struct pruss *pruss; member
|
H A D | icssg_config.c | 483 pruss_cfg_gpimode(prueth->pruss, prueth->pru_id[slice], in icssg_config() 487 pruss_cfg_xfr_enable(prueth->pruss, PRU_TYPE_PRU, true); in icssg_config() 488 pruss_cfg_xfr_enable(prueth->pruss, PRU_TYPE_RTU, true); in icssg_config()
|
/linux/drivers/clk/davinci/ |
H A D | psc-da830.c | 36 LPSC(13, 0, pruss, pll0_sysclk2, NULL, LPSC_ALWAYS_ENABLED),
|
H A D | psc-da850.c | 37 LPSC(13, 0, pruss, pll0_sysclk2, NULL, 0),
|