Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/
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-v6.6/drivers/soc/ti/
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 …]
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()
DMakefile13 obj-$(CONFIG_TI_PRUSS) += pruss.o
/Linux-v6.6/arch/arm/boot/dts/ti/omap/
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 …]
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";
Dam5718.dtsi7 #include "am57-pruss.dtsi"
Dam5728.dtsi7 #include "am57-pruss.dtsi"
Dam5748.dtsi7 #include "am57-pruss.dtsi"
Dam5729-beagleboneai.dts519 compatible = "ti,pruss-shmem";
525 compatible = "ti,pruss-shmem";
Dam33xx-l4.dtsi838 compatible = "ti,sysc-pruss", "ti,sysc";
859 pruss: pruss@0 { label
860 compatible = "ti,am3356-pruss";
875 compatible = "ti,pruss-cfg", "syscon";
895 compatible = "ti,pruss-mii", "syscon";
900 compatible = "ti,pruss-intc";
Dam33xx-clocks.dtsi360 pruss_ocp_gclk: clock-pruss-ocp-gclk@530 {
Dam43xx-clocks.dtsi424 pruss_ocp_gclk: clock-pruss-ocp-gclk@4248 {
/Linux-v6.6/drivers/remoteproc/
Dpru_rproc.c118 struct pruss *pruss; member
259 ret = pruss_cfg_get_gpmux(pru->pruss, pru->id, &pru->gpmux_save); in pru_rproc_get()
269 ret = pruss_cfg_set_gpmux(pru->pruss, pru->id, mux); in pru_rproc_get()
314 pruss_cfg_set_gpmux(pru->pruss, pru->id, pru->gpmux_save); in pru_rproc_put()
654 struct pruss *pruss = pru->pruss; in pru_d_da_to_va() local
661 dram0 = pruss->mem_regions[PRUSS_MEM_DRAM0]; in pru_d_da_to_va()
662 dram1 = pruss->mem_regions[PRUSS_MEM_DRAM1]; in pru_d_da_to_va()
666 shrd_ram = pruss->mem_regions[PRUSS_MEM_SHRD_RAM2]; in pru_d_da_to_va()
1038 pru->pruss = platform_get_drvdata(ppdev); in pru_rproc_probe()
/Linux-v6.6/drivers/net/ethernet/ti/icssg/
Dicssg_prueth.h215 struct pruss *pruss; member
Dicssg_prueth.c1739 ret = pruss_request_mem_region(prueth->pruss, in prueth_netdev_init()
1836 pruss_release_mem_region(prueth->pruss, &emac->dram); in prueth_netdev_init()
1866 pruss_release_mem_region(prueth->pruss, &emac->dram); in prueth_netdev_exit()
1945 struct pruss *pruss; in prueth_probe() local
2039 pruss = pruss_get(eth0_node ? in prueth_probe()
2041 if (IS_ERR(pruss)) { in prueth_probe()
2042 ret = PTR_ERR(pruss); in prueth_probe()
2047 prueth->pruss = pruss; in prueth_probe()
2049 ret = pruss_request_mem_region(pruss, PRUSS_MEM_SHRD_RAM2, in prueth_probe()
2053 pruss_put(prueth->pruss); in prueth_probe()
[all …]
Dicssg_config.c353 pruss_cfg_gpimode(prueth->pruss, prueth->pru_id[slice], in icssg_config()
357 pruss_cfg_xfr_enable(prueth->pruss, PRU_TYPE_PRU, true); in icssg_config()
358 pruss_cfg_xfr_enable(prueth->pruss, PRU_TYPE_RTU, true); in icssg_config()
/Linux-v6.6/drivers/clk/davinci/
Dpsc-da830.c36 LPSC(13, 0, pruss, pll0_sysclk2, NULL, LPSC_ALWAYS_ENABLED),
Dpsc-da850.c37 LPSC(13, 0, pruss, pll0_sysclk2, NULL, 0),
/Linux-v6.6/arch/arm64/boot/dts/ti/
Dk3-am65-main.dtsi1124 compatible = "ti,pruss-cfg", "syscon";
1155 compatible = "ti,pruss-mii", "syscon";
1160 compatible = "ti,pruss-mii-g", "syscon";
1266 compatible = "ti,pruss-cfg", "syscon";
1297 compatible = "ti,pruss-mii", "syscon";
1302 compatible = "ti,pruss-mii-g", "syscon";
1408 compatible = "ti,pruss-cfg", "syscon";
1439 compatible = "ti,pruss-mii", "syscon";
1444 compatible = "ti,pruss-mii-g", "syscon";
Dk3-am64-main.dtsi1194 compatible = "ti,pruss-cfg", "syscon";
1225 compatible = "ti,pruss-mii", "syscon";
1230 compatible = "ti,pruss-mii-g", "syscon";
1335 compatible = "ti,pruss-cfg", "syscon";
1366 compatible = "ti,pruss-mii", "syscon";
1371 compatible = "ti,pruss-mii-g", "syscon";
Dk3-j721e-main.dtsi2171 compatible = "ti,pruss-cfg", "syscon";
2202 compatible = "ti,pruss-mii", "syscon";
2207 compatible = "ti,pruss-mii-g", "syscon";
2313 compatible = "ti,pruss-cfg", "syscon";
2344 compatible = "ti,pruss-mii", "syscon";
2349 compatible = "ti,pruss-mii-g", "syscon";
/Linux-v6.6/drivers/irqchip/
DMakefile106 obj-$(CONFIG_TI_PRUSS_INTC) += irq-pruss-intc.o