Lines Matching full:pruss
50 * pruss_cfg_read() - read a PRUSS CFG sub-module register
51 * @pruss: the pruss instance handle
55 * Reads a given register within the PRUSS CFG sub-module and
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()
69 * pruss_cfg_update() - configure a PRUSS CFG sub-module register
70 * @pruss: the pruss instance handle
75 * Programs a given register within the PRUSS CFG sub-module
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()