Searched refs:val_bytes (Results 1 - 19 of 19) sorted by relevance

/linux-master/drivers/nvmem/
H A Dlpc18xx_eeprom.c50 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 Dregmap.c764 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 Dregmap-mmio.c19 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 Dregcache-maple.c195 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 Dregcache.c767 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 Dregmap-irq.c397 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 Dinternal.h34 size_t val_bytes; member in struct:regmap_format
H A Dregmap-debugfs.c187 map->debugfs_val_len = 2 * map->format.val_bytes;
263 buf_pos += 2 * map->format.val_bytes;
/linux-master/drivers/mfd/
H A Dtps6594-i2c.c110 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 Dmcp251xfd-rx.c189 const int val_bytes = regmap_get_val_bytes(priv->map_rx); local
195 len * ring->obj_size / val_bytes);
H A Dmcp251xfd-dump.c67 const int val_bytes = regmap_get_val_bytes(priv->map_rx); local
83 buf, reg_space->size / val_bytes);
H A Dmcp251xfd-tef.c153 const int val_bytes = regmap_get_val_bytes(priv->map_rx); local
168 sizeof(*hw_tef_obj) / val_bytes * len);
H A Dmcp251xfd-core.c1406 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 Dsoc-ops.c680 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 Dsoc-component.c427 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 Dtegra210_peq.c152 u32 reg_data = reg_ctrl + cmpnt->val_bytes;
175 u32 reg_data = reg_ctrl + cmpnt->val_bytes;
H A Dtegra210_mbdrc.c316 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 Dtegra210_ahub.c38 (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 Dsoc-component.h228 int val_bytes; member in struct:snd_soc_component

Completed in 274 milliseconds