Home
last modified time | relevance | path

Searched refs:pruss (Results 1 – 25 of 31) sorted by relevance

12

/linux/include/linux/
H A Dpruss_driver.h95 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 Dpruss.c56 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 Dpruss.h60 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 DMakefile13 obj-$(CONFIG_TI_PRUSS) += pruss.o
/linux/arch/arm/boot/dts/ti/omap/
H A Dam57-pruss.dtsi10 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 Dam4372.dtsi420 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 Dam5718.dtsi7 #include "am57-pruss.dtsi"
H A Dam5728.dtsi7 #include "am57-pruss.dtsi"
H A Dam5748.dtsi7 #include "am57-pruss.dtsi"
H A Dam5729-beagleboneai.dts517 compatible = "ti,pruss-shmem";
523 compatible = "ti,pruss-shmem";
/linux/arch/arm64/boot/dts/ti/
H A Dk3-am65-iot2050-common-pg1.dtsi49 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 Dk3-am654-idk.dtso30 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 Dk3-am642-phyboard-electra-rdk.dts71 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 Dk3-am642-sr-som.dtsi35 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 Dk3-am65-iot2050-common.dtsi151 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 Dk3-am642-evm.dts252 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 Dk3-am65-main.dtsi1118 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 Dk3-am642-tqma64xxl-mbax4xxl.dts97 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 Dk3-am64-main.dtsi1239 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 Dicssg_prueth_sr1.c772 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 Dicssg_prueth.c912 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 Dicssg_prueth.h263 struct pruss *pruss; member
H A Dicssg_config.c483 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 Dpsc-da830.c36 LPSC(13, 0, pruss, pll0_sysclk2, NULL, LPSC_ALWAYS_ENABLED),
H A Dpsc-da850.c37 LPSC(13, 0, pruss, pll0_sysclk2, NULL, 0),

12