Searched refs:val_bytes (Results 1 – 13 of 13) sorted by relevance
| /drivers/base/regmap/ |
| A D | regmap.c | 1641 int val_bytes = map->format.val_bytes; in _regmap_raw_write_impl() local 2006 size_t val_bytes = map->format.val_bytes; in _regmap_raw_write() local 2080 size_t val_bytes = map->format.val_bytes; in regmap_noinc_readwrite() local 2089 switch (val_bytes) { in regmap_noinc_readwrite() 2325 size_t val_bytes = map->format.val_bytes; in regmap_bulk_write() local 2369 for (i = 0; i < val_count * val_bytes; i += val_bytes) in regmap_bulk_write() 2399 size_t val_bytes = map->format.val_bytes; in _regmap_raw_multi_reg_write() local 2424 u8 += val_bytes; in _regmap_raw_multi_reg_write() 2907 size_t val_bytes = map->format.val_bytes; in regmap_raw_read() local 3179 size_t val_bytes = map->format.val_bytes; in regmap_bulk_read() local [all …]
|
| A D | regmap-mmio.c | 19 unsigned int val_bytes; member 189 if (ctx->big_endian && (ctx->val_bytes > 1)) { in regmap_mmio_noinc_write() 190 switch (ctx->val_bytes) { in regmap_mmio_noinc_write() 211 switch (ctx->val_bytes) { in regmap_mmio_noinc_write() 342 switch (ctx->val_bytes) { in regmap_mmio_noinc_read() 363 if (ctx->big_endian && (ctx->val_bytes > 1)) { in regmap_mmio_noinc_read() 364 switch (ctx->val_bytes) { in regmap_mmio_noinc_read() 438 ctx->val_bytes = config->val_bits / 8; in regmap_mmio_gen_context()
|
| A D | regcache-maple.c | 194 size_t val_bytes = map->format.val_bytes; in regcache_maple_sync_block() local 206 buf = kmalloc_array(max - min, val_bytes, map->alloc_flags); in regcache_maple_sync_block() 218 ret = _regmap_raw_write(map, min, buf, (max - min) * val_bytes, in regcache_maple_sync_block()
|
| A D | regcache.c | 791 size_t val_bytes = map->format.val_bytes; in regcache_sync_block_raw_flush() local 800 count * val_bytes, count, base, cur - map->reg_stride); in regcache_sync_block_raw_flush() 804 ret = _regmap_raw_write(map, base, *data, count * val_bytes, false); in regcache_sync_block_raw_flush()
|
| A D | regmap-irq.c | 382 for_each_set_bit(b, &mreg, map->format.val_bytes * 8) { in read_irq_data() 383 if (i * map->format.val_bytes * 8 + b > in read_irq_data() 412 switch (map->format.val_bytes) { in read_irq_data() 799 map->format.val_bytes, in regmap_add_irq_chip_fwnode()
|
| 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()
|
| A D | internal.h | 34 size_t val_bytes; member
|
| /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()
|
| /drivers/mfd/ |
| A D | tps6594-i2c.c | 115 u8 *val_bytes = val_buf; in tps6594_i2c_read() local 127 ret = tps6594_i2c_reg_read_with_crc(client, page, reg + i, val_bytes + i); in tps6594_i2c_read() 142 msgs[1].buf = val_bytes; in tps6594_i2c_read()
|
| /drivers/net/can/spi/mcp251xfd/ |
| A D | mcp251xfd-tef.c | 188 const int val_bytes = regmap_get_val_bytes(priv->map_rx); in mcp251xfd_tef_obj_read() local 203 sizeof(*hw_tef_obj) / val_bytes * len); in mcp251xfd_tef_obj_read()
|
| A D | mcp251xfd-rx.c | 217 const int val_bytes = regmap_get_val_bytes(priv->map_rx); in mcp251xfd_rx_obj_read() local 223 len * ring->obj_size / val_bytes); in mcp251xfd_rx_obj_read()
|
| 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 | 1432 const int val_bytes = regmap_get_val_bytes(priv->map_reg); in mcp251xfd_read_regs_status() local 1441 &priv->regs_status, len / val_bytes); in mcp251xfd_read_regs_status()
|
Completed in 34 milliseconds