Home
last modified time | relevance | path

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

/linux/include/linux/
H A 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/drivers/soc/ti/
H A 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/include/linux/remoteproc/
H A 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/drivers/net/ethernet/ti/icssg/
H A Dicssg_prueth.h278 enum pruss_pru_id pru_id[PRUSS_NUM_PRUS]; member
H A Dicssg_config.c483 pruss_cfg_gpimode(prueth->pruss, prueth->pru_id[slice], in icssg_config()
H A Dicssg_common.c1198 prueth->pru_id[slice] = pruss_id; in prueth_get_cores()