Searched refs:val_bytes (Results 1 – 10 of 10) sorted by relevance
| /Linux-v5.4/drivers/nvmem/ |
| D | lpc18xx_eeprom.c | 50 unsigned val_bytes; member 118 bytes -= eeprom->val_bytes; in lpc18xx_eeprom_gather_write() 119 val += eeprom->val_bytes; in lpc18xx_eeprom_gather_write() 120 offset += eeprom->val_bytes; in lpc18xx_eeprom_gather_write() 142 bytes -= eeprom->val_bytes; in lpc18xx_eeprom_read() 143 val += eeprom->val_bytes; in lpc18xx_eeprom_read() 144 offset += eeprom->val_bytes; in lpc18xx_eeprom_read() 210 eeprom->val_bytes = 4; in lpc18xx_eeprom_probe()
|
| /Linux-v5.4/drivers/base/regmap/ |
| D | regmap.c | 770 map->format.val_bytes = DIV_ROUND_UP(config->val_bits, 8); in __regmap_init() 1492 for (i = 0; i < val_len / map->format.val_bytes; i++) in _regmap_raw_write_impl() 1499 int val_bytes = map->format.val_bytes; in _regmap_raw_write_impl() local 1500 for (i = 0; i < val_len / val_bytes; i++) { in _regmap_raw_write_impl() 1501 ival = map->format.parse_val(val + (i * val_bytes)); in _regmap_raw_write_impl() 1520 int val_num = val_len / map->format.val_bytes; in _regmap_raw_write_impl() 1527 win_residue, val_len / map->format.val_bytes); in _regmap_raw_write_impl() 1530 map->format.val_bytes); in _regmap_raw_write_impl() 1536 val += win_residue * map->format.val_bytes; in _regmap_raw_write_impl() 1537 val_len -= win_residue * map->format.val_bytes; in _regmap_raw_write_impl() [all …]
|
| D | regcache.c | 707 size_t val_bytes = map->format.val_bytes; in regcache_sync_block_raw_flush() local 716 count * val_bytes, count, base, cur - map->reg_stride); in regcache_sync_block_raw_flush() 720 ret = _regmap_raw_write(map, base, *data, count * val_bytes); in regcache_sync_block_raw_flush()
|
| D | regmap-mmio.c | 18 unsigned val_bytes; member 239 ctx->val_bytes = config->val_bits / 8; in regmap_mmio_gen_context()
|
| D | regmap-irq.c | 417 for_each_set_bit(b, &mreg, map->format.val_bytes * 8) { in regmap_irq_thread() 418 if (i * map->format.val_bytes * 8 + b > in regmap_irq_thread() 451 switch (map->format.val_bytes) { in regmap_irq_thread() 661 map->format.val_bytes, in regmap_add_irq_chip()
|
| D | internal.h | 34 size_t val_bytes; member
|
| D | regmap-debugfs.c | 188 map->debugfs_val_len = 2 * map->format.val_bytes; in regmap_calc_tot_len() 261 buf_pos += 2 * map->format.val_bytes; in regmap_read_debugfs()
|
| /Linux-v5.4/sound/soc/ |
| D | soc-ops.c | 629 uinfo->count = params->num_regs * component->val_bytes; in snd_soc_bytes_info() 645 params->num_regs * component->val_bytes); in snd_soc_bytes_get() 651 switch (component->val_bytes) { in snd_soc_bytes_get() 684 len = params->num_regs * component->val_bytes; in snd_soc_bytes_put() 702 switch (component->val_bytes) { in snd_soc_bytes_put() 834 unsigned int regwshift = component->val_bytes * BITS_PER_BYTE; in snd_soc_get_xr_sx() 883 unsigned int regwshift = component->val_bytes * BITS_PER_BYTE; in snd_soc_put_xr_sx()
|
| D | soc-core.c | 2681 int val_bytes = regmap_get_val_bytes(component->regmap); in snd_soc_component_setup_regmap() local 2684 if (val_bytes > 0) in snd_soc_component_setup_regmap() 2685 component->val_bytes = val_bytes; in snd_soc_component_setup_regmap()
|
| /Linux-v5.4/include/sound/ |
| D | soc-component.h | 129 int val_bytes; member
|