Lines Matching full:map

18  * attached to, and use the regmap API to access the register map through that
24 * The endianness of regmap accesses is selectable for each map through device
28 * Furthermore, the register map described by a regmap can be split into
31 * map, can be accessed in a concise manner.
34 * accesses the register map as regular IO-mapped memory.
66 * struct regmap_range - a register map range
79 * @range_count: Number of ranges available within the map
96 * @map: Regmap to write to
106 int regmap_write(struct regmap *map, uint offset, uint val);
111 * @map: Regmap to read from
122 int regmap_read(struct regmap *map, uint offset, uint *valp);
127 * @map: Regmap to write to
138 int regmap_raw_write(struct regmap *map, uint offset, const void *val,
144 * @map: Regmap to read from
156 int regmap_raw_read(struct regmap *map, uint offset, void *valp,
163 * @map: Regmap to write to
171 int regmap_raw_write_range(struct regmap *map, uint range_num, uint offset,
178 * @map: Regmap to read from
187 int regmap_raw_read_range(struct regmap *map, uint range_num, uint offset,
192 * @map: Regmap in which a value should be set
199 #define regmap_range_set(map, range, type, member, val) \ argument
202 regmap_raw_write_range(map, range, offsetof(type, member), \
208 * @map: Regmap in which a value should be set
213 #define regmap_set(map, type, member, val) \ argument
214 regmap_range_set(map, 0, type, member, val)
218 * @map: Regmap from which a value should be read
226 #define regmap_range_get(map, range, type, member, valp) \ argument
227 regmap_raw_read_range(map, range, offsetof(type, member), \
232 * @map: Regmap from which a value should be read
239 #define regmap_get(map, type, member, valp) \ argument
240 regmap_range_get(map, 0, type, member, valp)
245 * @map: Regmap to read from
265 #define regmap_read_poll_timeout_test(map, addr, val, cond, sleep_us, \ argument
271 __ret = regmap_read((map), (addr), &(val)); \
279 __ret = regmap_read((map), (addr), &(val)); \
288 #define regmap_read_poll_timeout(map, addr, val, cond, sleep_us, timeout_ms) \ argument
289 regmap_read_poll_timeout_test(map, addr, val, cond, sleep_us, \
295 * @map: The map returned by regmap_init_mem*()
301 int regmap_update_bits(struct regmap *map, uint offset, uint mask, uint val);
304 * regmap_init_mem() - Set up a new register map that uses memory access
306 * @node: Device node that uses this map
307 * @mapp: Returns allocated map
315 * regmap_init_mem_platdata() - Set up a new memory register map for
318 * @dev: Device that uses this map
321 * @mapp: Returns allocated map
336 * @map: Regmap to query
340 void *regmap_get_range(struct regmap *map, unsigned int range_num);
345 * @map: Regmap to free
348 int regmap_uninit(struct regmap *map);