Home
last modified time | relevance | path

Searched refs:pru_id (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/include/linux/
Dpruss_driver.h114 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,
145 enum pruss_pru_id pru_id, u8 *mux) in pruss_cfg_get_gpmux() argument
151 enum pruss_pru_id pru_id, u8 mux) in pruss_cfg_set_gpmux() argument
157 enum pruss_pru_id pru_id, in pruss_cfg_gpimode() argument
/Linux-v6.6/drivers/soc/ti/
Dpruss.c182 int pruss_cfg_get_gpmux(struct pruss *pruss, enum pruss_pru_id pru_id, u8 *mux) in pruss_cfg_get_gpmux() argument
187 if (pru_id >= PRUSS_NUM_PRUS || !mux) in pruss_cfg_get_gpmux()
190 ret = pruss_cfg_read(pruss, PRUSS_CFG_GPCFG(pru_id), &val); in pruss_cfg_get_gpmux()
206 int pruss_cfg_set_gpmux(struct pruss *pruss, enum pruss_pru_id pru_id, u8 mux) in pruss_cfg_set_gpmux() argument
209 pru_id >= PRUSS_NUM_PRUS) in pruss_cfg_set_gpmux()
212 return pruss_cfg_update(pruss, PRUSS_CFG_GPCFG(pru_id), in pruss_cfg_set_gpmux()
229 int pruss_cfg_gpimode(struct pruss *pruss, enum pruss_pru_id pru_id, in pruss_cfg_gpimode() argument
232 if (pru_id >= PRUSS_NUM_PRUS || mode >= PRUSS_GPI_MODE_MAX) in pruss_cfg_gpimode()
235 return pruss_cfg_update(pruss, PRUSS_CFG_GPCFG(pru_id), in pruss_cfg_gpimode()
/Linux-v6.6/include/linux/remoteproc/
Dpruss.h51 enum pruss_pru_id *pru_id);
58 pru_rproc_get(struct device_node *np, int index, enum pruss_pru_id *pru_id) in pru_rproc_get() argument
/Linux-v6.6/drivers/net/ethernet/ti/icssg/
Dicssg_prueth.h229 enum pruss_pru_id pru_id[PRUSS_NUM_PRUS]; member
Dicssg_config.c353 pruss_cfg_gpimode(prueth->pruss, prueth->pru_id[slice], in icssg_config()
Dicssg_prueth.c1898 prueth->pru_id[slice] = pruss_id; in prueth_get_cores()
/Linux-v6.6/drivers/remoteproc/
Dpru_rproc.c227 enum pruss_pru_id *pru_id) in pru_rproc_get() argument
256 if (pru_id) in pru_rproc_get()
257 *pru_id = pru->id; in pru_rproc_get()