Searched refs:val_bytes (Results 1 – 13 of 13) sorted by relevance
/linux/drivers/nvmem/ |
A 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/drivers/base/regmap/ |
A D | regmap.c | 1686 int val_bytes = map->format.val_bytes; in _regmap_raw_write_impl() local 2039 size_t val_bytes = map->format.val_bytes; in _regmap_raw_write() local 2251 size_t val_bytes = map->format.val_bytes; in regmap_bulk_write() local 2265 switch (val_bytes) { in regmap_bulk_write() 2300 for (i = 0; i < val_count * val_bytes; i += val_bytes) in regmap_bulk_write() 2326 size_t val_bytes = map->format.val_bytes; in _regmap_raw_multi_reg_write() local 2350 u8 += val_bytes; in _regmap_raw_multi_reg_write() 2787 size_t val_bytes = map->format.val_bytes; in regmap_raw_read() local 2995 size_t val_bytes = map->format.val_bytes; in regmap_bulk_read() local 3008 for (i = 0; i < val_count * val_bytes; i += val_bytes) in regmap_bulk_read() [all …]
|
A 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, false); in regcache_sync_block_raw_flush()
|
A D | regmap-mmio.c | 18 unsigned int val_bytes; member 292 ctx->val_bytes = config->val_bits / 8; in regmap_mmio_gen_context()
|
A D | regmap-irq.c | 469 for_each_set_bit(b, &mreg, map->format.val_bytes * 8) { in regmap_irq_thread() 470 if (i * map->format.val_bytes * 8 + b > in regmap_irq_thread() 503 switch (map->format.val_bytes) { in regmap_irq_thread() 756 map->format.val_bytes, in regmap_add_irq_chip_fwnode()
|
A D | internal.h | 34 size_t val_bytes; member
|
A D | regmap-debugfs.c | 187 map->debugfs_val_len = 2 * map->format.val_bytes; in regmap_calc_tot_len() 263 buf_pos += 2 * map->format.val_bytes; in regmap_read_debugfs()
|
/linux/sound/soc/ |
A D | soc-ops.c | 603 uinfo->count = params->num_regs * component->val_bytes; in snd_soc_bytes_info() 619 params->num_regs * component->val_bytes); in snd_soc_bytes_get() 625 switch (component->val_bytes) { in snd_soc_bytes_get() 658 len = params->num_regs * component->val_bytes; in snd_soc_bytes_put() 676 switch (component->val_bytes) { in snd_soc_bytes_put() 808 unsigned int regwshift = component->val_bytes * BITS_PER_BYTE; in snd_soc_get_xr_sx() 853 unsigned int regwshift = component->val_bytes * BITS_PER_BYTE; in snd_soc_put_xr_sx()
|
A D | soc-component.c | 384 int val_bytes = regmap_get_val_bytes(component->regmap); in snd_soc_component_setup_regmap() local 387 if (val_bytes > 0) in snd_soc_component_setup_regmap() 388 component->val_bytes = val_bytes; in snd_soc_component_setup_regmap()
|
/linux/drivers/net/can/spi/mcp251xfd/ |
A D | mcp251xfd-dump.c | 67 const int val_bytes = regmap_get_val_bytes(priv->map_rx); in mcp251xfd_dump_registers() local 83 buf, reg_space->size / val_bytes); in mcp251xfd_dump_registers()
|
A D | mcp251xfd-core.c | 1332 const int val_bytes = regmap_get_val_bytes(priv->map_rx); in mcp251xfd_tef_obj_read() local 1347 sizeof(*hw_tef_obj) / val_bytes * len); in mcp251xfd_tef_obj_read() 1540 const int val_bytes = regmap_get_val_bytes(priv->map_rx); in mcp251xfd_rx_obj_read() local 1546 len * ring->obj_size / val_bytes); in mcp251xfd_rx_obj_read() 2163 const int val_bytes = regmap_get_val_bytes(priv->map_reg); in mcp251xfd_irq() local 2189 val_bytes); in mcp251xfd_irq()
|
/linux/sound/soc/tegra/ |
A D | tegra210_ahub.c | 38 (8 * cmpnt->val_bytes * i); in tegra_ahub_get_value_enum() 72 reg_idx = (value - 1) / (8 * cmpnt->val_bytes); in tegra_ahub_put_value_enum() 73 bit_pos = (value - 1) % (8 * cmpnt->val_bytes); in tegra_ahub_put_value_enum()
|
/linux/include/sound/ |
A D | soc-component.h | 203 int val_bytes; member
|
Completed in 34 milliseconds