/linux-master/drivers/nvmem/ |
H A D | lpc18xx_eeprom.c | 50 unsigned val_bytes; member in struct:lpc18xx_eeprom_dev 118 bytes -= eeprom->val_bytes; 119 val += eeprom->val_bytes; 120 offset += eeprom->val_bytes; 142 bytes -= eeprom->val_bytes; 143 val += eeprom->val_bytes; 144 offset += eeprom->val_bytes; 210 eeprom->val_bytes = 4;
|
/linux-master/drivers/base/regmap/ |
H A D | regmap.c | 764 map->format.val_bytes = DIV_ROUND_UP(config->val_bits, 8); 1615 for (i = 0; i < val_len / map->format.val_bytes; i++) { 1626 int val_bytes = map->format.val_bytes; local 1629 i = noinc ? val_len - val_bytes : 0; 1630 for (; i < val_len; i += val_bytes) { 1632 offset = noinc ? 0 : regmap_get_offset(map, i / val_bytes); 1649 int val_num = val_len / map->format.val_bytes; 1656 win_residue, val_len / map->format.val_bytes); 1659 map->format.val_bytes, noin 1991 size_t val_bytes = map->format.val_bytes; local 2065 size_t val_bytes = map->format.val_bytes; local 2310 size_t val_bytes = map->format.val_bytes; local 2384 size_t val_bytes = map->format.val_bytes; local 2855 size_t val_bytes = map->format.val_bytes; local 3082 size_t val_bytes = map->format.val_bytes; local [all...] |
H A D | regmap-mmio.c | 19 unsigned int val_bytes; member in struct:regmap_mmio_context 189 if (ctx->big_endian && (ctx->val_bytes > 1)) { 190 switch (ctx->val_bytes) { 211 switch (ctx->val_bytes) { 342 switch (ctx->val_bytes) { 363 if (ctx->big_endian && (ctx->val_bytes > 1)) { 364 switch (ctx->val_bytes) { 438 ctx->val_bytes = config->val_bits / 8;
|
H A D | regcache-maple.c | 195 size_t val_bytes = map->format.val_bytes; local 207 buf = kmalloc(val_bytes * (max - min), map->alloc_flags); 219 ret = _regmap_raw_write(map, min, buf, (max - min) * val_bytes,
|
H A D | regcache.c | 767 size_t val_bytes = map->format.val_bytes; local 776 count * val_bytes, count, base, cur - map->reg_stride); 780 ret = _regmap_raw_write(map, base, *data, count * val_bytes, false);
|
H A D | regmap-irq.c | 397 for_each_set_bit(b, &mreg, map->format.val_bytes * 8) { 398 if (i * map->format.val_bytes * 8 + b > 430 switch (map->format.val_bytes) { 748 map->format.val_bytes,
|
H A D | internal.h | 34 size_t val_bytes; member in struct:regmap_format
|
H A D | regmap-debugfs.c | 187 map->debugfs_val_len = 2 * map->format.val_bytes; 263 buf_pos += 2 * map->format.val_bytes;
|
/linux-master/drivers/mfd/ |
H A D | tps6594-i2c.c | 110 u8 *val_bytes = val_buf; local 122 ret = tps6594_i2c_reg_read_with_crc(client, page, reg + i, val_bytes + i); 137 msgs[1].buf = val_bytes;
|
/linux-master/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-rx.c | 189 const int val_bytes = regmap_get_val_bytes(priv->map_rx); local 195 len * ring->obj_size / val_bytes);
|
H A D | mcp251xfd-dump.c | 67 const int val_bytes = regmap_get_val_bytes(priv->map_rx); local 83 buf, reg_space->size / val_bytes);
|
H A D | mcp251xfd-tef.c | 153 const int val_bytes = regmap_get_val_bytes(priv->map_rx); local 168 sizeof(*hw_tef_obj) / val_bytes * len);
|
H A D | mcp251xfd-core.c | 1406 const int val_bytes = regmap_get_val_bytes(priv->map_reg); local 1415 &priv->regs_status, len / val_bytes);
|
/linux-master/sound/soc/ |
H A D | soc-ops.c | 680 uinfo->count = params->num_regs * component->val_bytes; 696 params->num_regs * component->val_bytes); 702 switch (component->val_bytes) { 735 len = params->num_regs * component->val_bytes; 753 switch (component->val_bytes) { 885 unsigned int regwshift = component->val_bytes * BITS_PER_BYTE; 930 unsigned int regwshift = component->val_bytes * BITS_PER_BYTE;
|
H A D | soc-component.c | 427 int val_bytes = regmap_get_val_bytes(component->regmap); local 430 if (val_bytes > 0) 431 component->val_bytes = val_bytes;
|
/linux-master/sound/soc/tegra/ |
H A D | tegra210_peq.c | 152 u32 reg_data = reg_ctrl + cmpnt->val_bytes; 175 u32 reg_data = reg_ctrl + cmpnt->val_bytes;
|
H A D | tegra210_mbdrc.c | 316 for (i = 0; i < params->soc.num_regs; i++, regs += cmpnt->val_bytes) { 338 for (i = 0; i < params->soc.num_regs; i++, regs += cmpnt->val_bytes) { 362 for (i = 0; i < num_regs; i += 4, regs += cmpnt->val_bytes) { 390 for (i = 0; i < num_regs; i += 4, regs += cmpnt->val_bytes) { 418 memset(data, 0, params->soc.num_regs * cmpnt->val_bytes); 430 u32 reg_data = reg_ctrl + cmpnt->val_bytes;
|
H A D | tegra210_ahub.c | 38 (8 * cmpnt->val_bytes * i); 72 reg_idx = (value - 1) / (8 * cmpnt->val_bytes); 73 bit_pos = (value - 1) % (8 * cmpnt->val_bytes);
|
/linux-master/include/sound/ |
H A D | soc-component.h | 228 int val_bytes; member in struct:snd_soc_component
|