Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/nvmem/
Dlpc18xx_eeprom.c53 unsigned val_bytes; member
121 bytes -= eeprom->val_bytes; in lpc18xx_eeprom_gather_write()
122 val += eeprom->val_bytes; in lpc18xx_eeprom_gather_write()
123 offset += eeprom->val_bytes; in lpc18xx_eeprom_gather_write()
145 bytes -= eeprom->val_bytes; in lpc18xx_eeprom_read()
146 val += eeprom->val_bytes; in lpc18xx_eeprom_read()
147 offset += eeprom->val_bytes; in lpc18xx_eeprom_read()
213 eeprom->val_bytes = 4; in lpc18xx_eeprom_probe()
/linux-4.19.296/drivers/base/regmap/
Dregmap.c745 map->format.val_bytes = DIV_ROUND_UP(config->val_bits, 8); in __regmap_init()
1466 for (i = 0; i < val_len / map->format.val_bytes; i++) in _regmap_raw_write_impl()
1473 int val_bytes = map->format.val_bytes; in _regmap_raw_write_impl() local
1474 for (i = 0; i < val_len / val_bytes; i++) { in _regmap_raw_write_impl()
1475 ival = map->format.parse_val(val + (i * val_bytes)); in _regmap_raw_write_impl()
1494 int val_num = val_len / map->format.val_bytes; in _regmap_raw_write_impl()
1501 win_residue, val_len / map->format.val_bytes); in _regmap_raw_write_impl()
1504 map->format.val_bytes); in _regmap_raw_write_impl()
1510 val += win_residue * map->format.val_bytes; in _regmap_raw_write_impl()
1511 val_len -= win_residue * map->format.val_bytes; in _regmap_raw_write_impl()
[all …]
Dregcache.c717 size_t val_bytes = map->format.val_bytes; in regcache_sync_block_raw_flush() local
726 count * val_bytes, count, base, cur - map->reg_stride); in regcache_sync_block_raw_flush()
730 ret = _regmap_raw_write(map, base, *data, count * val_bytes); in regcache_sync_block_raw_flush()
Dregmap-mmio.c30 unsigned val_bytes; member
251 ctx->val_bytes = config->val_bits / 8; in regmap_mmio_gen_context()
Dinternal.h37 size_t val_bytes; member
Dregmap-debugfs.c192 map->debugfs_val_len = 2 * map->format.val_bytes; in regmap_calc_tot_len()
250 buf_pos += 2 * map->format.val_bytes; in regmap_read_debugfs()
Dregmap-irq.c319 switch (map->format.val_bytes) { in regmap_irq_thread()
517 map->format.val_bytes, in regmap_add_irq_chip()
/linux-4.19.296/include/sound/
Dsoc.h837 int val_bytes; member