Lines Matching +full:poll +full:- +full:timeout +full:- +full:ms
5 * SPDX-License-Identifier: GPL-2.0+
12 * struct regmap_range - a register map range
23 * struct regmap - a way of accessing hardware/bus registers
44 regmap_write(map, (uint32_t *)(ptr)->member - (uint32_t *)(ptr), val)
47 regmap_read(map, (uint32_t *)(ptr)->member - (uint32_t *)(ptr), valp)
50 * regmap_read_poll_timeout - Poll until a condition is met or a timeout occurs
53 * @addr: Offset to poll
56 * @sleep_us: Maximum time to sleep between reads in us (0 tight-loops).
57 * @timeout_ms: Timeout in ms, 0 means never timeout
59 * Returns 0 on success and -ETIMEDOUT upon a timeout or the regmap_read
65 * with millisecond timeout.
84 __ret ?: ((cond) ? 0 : -ETIMEDOUT); \
88 * regmap_update_bits() - Perform a read/modify/write using a mask
98 * regmap_init_mem() - Set up a new register map that uses memory access
108 * regmap_init_mem_platdata() - Set up a new memory register map for of-platdata
111 * using the device tree. It only supports 32-bit machines.
124 * regmap_get_range() - Obtain the base memory address of a regmap range
132 * regmap_uninit() - free a previously inited regmap