Home
last modified time | relevance | path

Searched refs:val_bytes (Results 1 – 7 of 7) sorted by relevance

/drivers/base/regmap/
Dregmap.c659 map->format.val_bytes = DIV_ROUND_UP(config->val_bits, 8); in __regmap_init()
1362 for (i = 0; i < val_len / map->format.val_bytes; i++) in _regmap_raw_write()
1369 int val_bytes = map->format.val_bytes; in _regmap_raw_write() local
1370 for (i = 0; i < val_len / val_bytes; i++) { in _regmap_raw_write()
1371 ival = map->format.parse_val(val + (i * val_bytes)); in _regmap_raw_write()
1390 int val_num = val_len / map->format.val_bytes; in _regmap_raw_write()
1397 win_residue, val_len / map->format.val_bytes); in _regmap_raw_write()
1399 map->format.val_bytes); in _regmap_raw_write()
1405 val += win_residue * map->format.val_bytes; in _regmap_raw_write()
1406 val_len -= win_residue * map->format.val_bytes; in _regmap_raw_write()
[all …]
Dregcache.c709 size_t val_bytes = map->format.val_bytes; in regcache_sync_block_raw_flush() local
718 count * val_bytes, count, base, cur - map->reg_stride); in regcache_sync_block_raw_flush()
722 ret = _regmap_raw_write(map, base, *data, count * val_bytes); in regcache_sync_block_raw_flush()
Dregmap-mmio.c30 unsigned val_bytes; member
248 ctx->val_bytes = config->val_bits / 8; in regmap_mmio_gen_context()
Dinternal.h37 size_t val_bytes; member
Dregmap-debugfs.c187 map->debugfs_val_len = 2 * map->format.val_bytes; in regmap_calc_tot_len()
242 buf_pos += 2 * map->format.val_bytes; in regmap_read_debugfs()
Dregmap-irq.c306 switch (map->format.val_bytes) { in regmap_irq_thread()
503 map->format.val_bytes, in regmap_add_irq_chip()
/drivers/nvmem/
Dlpc18xx_eeprom.c52 unsigned val_bytes; member
120 bytes -= eeprom->val_bytes; in lpc18xx_eeprom_gather_write()
121 val += eeprom->val_bytes; in lpc18xx_eeprom_gather_write()
122 offset += eeprom->val_bytes; in lpc18xx_eeprom_gather_write()
144 bytes -= eeprom->val_bytes; in lpc18xx_eeprom_read()
145 val += eeprom->val_bytes; in lpc18xx_eeprom_read()
146 offset += eeprom->val_bytes; in lpc18xx_eeprom_read()
213 eeprom->val_bytes = 4; in lpc18xx_eeprom_probe()