Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/base/regmap/
Dregmap-mmio.c29 unsigned val_bytes; member
107 switch (ctx->val_bytes) { in regmap_mmio_gather_write()
126 val_size -= ctx->val_bytes; in regmap_mmio_gather_write()
127 val += ctx->val_bytes; in regmap_mmio_gather_write()
128 offset += ctx->val_bytes; in regmap_mmio_gather_write()
167 switch (ctx->val_bytes) { in regmap_mmio_read()
186 val_size -= ctx->val_bytes; in regmap_mmio_read()
187 val += ctx->val_bytes; in regmap_mmio_read()
188 offset += ctx->val_bytes; in regmap_mmio_read()
271 ctx->val_bytes = config->val_bits / 8; in regmap_mmio_gen_context()
Dregmap.c576 map->format.val_bytes = DIV_ROUND_UP(config->val_bits, 8); in __regmap_init()
1215 for (i = 0; i < val_len / map->format.val_bytes; i++) in _regmap_raw_write()
1222 int val_bytes = map->format.val_bytes; in _regmap_raw_write() local
1223 for (i = 0; i < val_len / val_bytes; i++) { in _regmap_raw_write()
1224 ival = map->format.parse_val(val + (i * val_bytes)); in _regmap_raw_write()
1242 int val_num = val_len / map->format.val_bytes; in _regmap_raw_write()
1249 win_residue, val_len / map->format.val_bytes); in _regmap_raw_write()
1251 map->format.val_bytes); in _regmap_raw_write()
1257 val += win_residue * map->format.val_bytes; in _regmap_raw_write()
1258 val_len -= win_residue * map->format.val_bytes; in _regmap_raw_write()
[all …]
Dregcache.c660 size_t val_bytes = map->format.val_bytes; in regcache_sync_block_raw_flush() local
669 count * val_bytes, count, base, cur - map->reg_stride); in regcache_sync_block_raw_flush()
673 ret = _regmap_raw_write(map, base, *data, count * val_bytes); in regcache_sync_block_raw_flush()
Dinternal.h36 size_t val_bytes; member
Dregmap-irq.c251 switch (map->format.val_bytes) { in regmap_irq_thread()
425 d->status_reg_buf = kmalloc(map->format.val_bytes * in regmap_add_irq_chip()
Dregmap-debugfs.c177 map->debugfs_val_len = 2 * map->format.val_bytes; in regmap_calc_tot_len()
232 buf_pos += 2 * map->format.val_bytes; in regmap_read_debugfs()
/linux-4.4.14/sound/soc/
Dsoc-ops.c634 uinfo->count = params->num_regs * component->val_bytes; in snd_soc_bytes_info()
650 params->num_regs * component->val_bytes); in snd_soc_bytes_get()
656 switch (component->val_bytes) { in snd_soc_bytes_get()
689 len = params->num_regs * component->val_bytes; in snd_soc_bytes_put()
707 switch (component->val_bytes) { in snd_soc_bytes_put()
839 unsigned int regwshift = component->val_bytes * BITS_PER_BYTE; in snd_soc_get_xr_sx()
888 unsigned int regwshift = component->val_bytes * BITS_PER_BYTE; in snd_soc_put_xr_sx()
Dsoc-core.c2692 int val_bytes = regmap_get_val_bytes(component->regmap); in snd_soc_component_setup_regmap() local
2695 if (val_bytes > 0) in snd_soc_component_setup_regmap()
2696 component->val_bytes = val_bytes; in snd_soc_component_setup_regmap()
3104 codec->component.val_bytes = codec_drv->reg_word_size; in snd_soc_register_codec()
/linux-4.4.14/include/sound/
Dsoc.h802 int val_bytes; member