Lines Matching +full:pru +full:- +full:icss
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * PRU-ICSS Subsystem user interfaces
5 * Copyright (C) 2015-2023 Texas Instruments Incorporated - http://www.ti.com
50 * pruss_cfg_read() - read a PRUSS CFG sub-module register
52 * @reg: register offset within the CFG sub-module
55 * Reads a given register within the PRUSS CFG sub-module and
56 * returns it through the passed-in @val pointer
63 return -EINVAL; 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
71 * @reg: register offset within the CFG sub-module
75 * Programs a given register within the PRUSS CFG sub-module
83 return -EINVAL; in pruss_cfg_update()
85 return regmap_update_bits(pruss->cfg_regmap, reg, mask, val); in pruss_cfg_update()