October 2017
Intermediate to advanced
586 pages
14h 8m
English
regmap_bulk_read() and regmap_bulk_write() are used to read/write multiple registers from/to the device. Use them with large blocks of data:
int regmap_bulk_read(struct regmap *map, unsigned int reg, void
*val, size_tval_count);
int regmap_bulk_write(struct regmap *map, unsigned int reg,
const void *val, size_t val_count);
Feel free to look into the regmap header file in the kernel source to see what choices you have.