Lines Matching refs:val_count
2040 size_t val_count = val_len / val_bytes; in _regmap_raw_write() local
2042 size_t chunk_regs = val_count; in _regmap_raw_write()
2045 if (!val_count) in _regmap_raw_write()
2053 chunk_count = val_count / chunk_regs; in _regmap_raw_write()
2248 size_t val_count) in regmap_bulk_write() argument
2262 for (i = 0; i < val_count; i++) { in regmap_bulk_write()
2296 wval = kmemdup(val, val_count * val_bytes, map->alloc_flags); in regmap_bulk_write()
2300 for (i = 0; i < val_count * val_bytes; i += val_bytes) in regmap_bulk_write()
2303 ret = regmap_raw_write(map, reg, wval, val_bytes * val_count); in regmap_bulk_write()
2788 size_t val_count = val_len / val_bytes; in regmap_raw_read() local
2798 if (val_count == 0) in regmap_raw_read()
2803 if (regmap_volatile_range(map, reg, val_count) || map->cache_bypass || in regmap_raw_read()
2806 size_t chunk_regs = val_count; in regmap_raw_read()
2818 chunk_count = val_count / chunk_regs; in regmap_raw_read()
2842 for (i = 0; i < val_count; i++) { in regmap_raw_read()
2992 size_t val_count) in regmap_bulk_read() argument
2996 bool vol = regmap_volatile_range(map, reg, val_count); in regmap_bulk_read()
3000 if (val_count == 0) in regmap_bulk_read()
3004 ret = regmap_raw_read(map, reg, val, val_bytes * val_count); in regmap_bulk_read()
3008 for (i = 0; i < val_count * val_bytes; i += val_bytes) in regmap_bulk_read()
3020 for (i = 0; i < val_count; i++) { in regmap_bulk_read()