Home
last modified time | relevance | path

Searched refs:reg_stride (Results 1 – 25 of 55) sorted by relevance

123

/linux-4.19.296/drivers/base/regmap/
Dregmap-irq.c98 (i * map->reg_stride * d->irq_reg_stride); in regmap_irq_sync_unlock()
126 (i * map->reg_stride * d->irq_reg_stride); in regmap_irq_sync_unlock()
151 (i * map->reg_stride * d->irq_reg_stride); in regmap_irq_sync_unlock()
167 (i * map->reg_stride * d->type_reg_stride); in regmap_irq_sync_unlock()
201 d->mask_buf[irq_data->reg_offset / map->reg_stride] &= ~irq_data->mask; in regmap_irq_enable()
210 d->mask_buf[irq_data->reg_offset / map->reg_stride] |= irq_data->mask; in regmap_irq_disable()
218 int reg = irq_data->type_reg_offset / map->reg_stride; in regmap_irq_set_type()
253 d->wake_buf[irq_data->reg_offset / map->reg_stride] in regmap_irq_set_wake()
258 d->wake_buf[irq_data->reg_offset / map->reg_stride] in regmap_irq_set_wake()
301 if (!map->use_single_read && map->reg_stride == 1 && in regmap_irq_thread()
[all …]
Dregcache-rbtree.c49 *top = rbnode->base_reg + ((rbnode->blklen - 1) * map->reg_stride); in regcache_rbtree_get_base_top_reg()
160 this_registers = ((top - base) / map->reg_stride) + 1; in rbtree_show()
264 reg_tmp = (reg - rbnode->base_reg) / map->reg_stride; in regcache_rbtree_read()
288 blklen = (top_reg - base_reg) / map->reg_stride + 1; in regcache_rbtree_insert_to_block()
289 pos = (reg - base_reg) / map->reg_stride; in regcache_rbtree_insert_to_block()
290 offset = (rbnode->base_reg - base_reg) / map->reg_stride; in regcache_rbtree_insert_to_block()
352 map->reg_stride + 1; in regcache_rbtree_node_alloc()
398 reg_tmp = (reg - rbnode->base_reg) / map->reg_stride; in regcache_rbtree_write()
407 max_dist = map->reg_stride * sizeof(*rbnode_tmp) / in regcache_rbtree_write()
470 (reg - rbnode->base_reg) / map->reg_stride, in regcache_rbtree_write()
[all …]
Dregcache.c43 if (regmap_readable(map, i * map->reg_stride) && in regcache_hw_init()
44 !regmap_volatile(map, i * map->reg_stride)) in regcache_hw_init()
83 reg = i * map->reg_stride; in regcache_hw_init()
141 if (config->reg_defaults[i].reg % map->reg_stride) in regcache_init()
303 for (reg = min; reg <= max; reg += map->reg_stride) { in regcache_default_sync()
687 regtmp = block_base + (i * map->reg_stride); in regcache_sync_block_single()
723 count = (cur - base) / map->reg_stride; in regcache_sync_block_raw_flush()
726 count * val_bytes, count, base, cur - map->reg_stride); in regcache_sync_block_raw_flush()
733 base, cur - map->reg_stride, ret); in regcache_sync_block_raw_flush()
754 regtmp = block_base + (i * map->reg_stride); in regcache_sync_block_raw()
[all …]
Dregmap-debugfs.c122 for (; i <= map->max_register; i += map->reg_stride) { in regmap_debugfs_get_dump_start()
127 c->max_reg = i - map->reg_stride; in regmap_debugfs_get_dump_start()
155 c->max_reg = i - map->reg_stride; in regmap_debugfs_get_dump_start()
175 return c->base_reg + (reg_offset * map->reg_stride); in regmap_debugfs_get_dump_start()
224 for (i = start_reg; i <= to; i += map->reg_stride) { in regmap_read_debugfs()
428 for (i = 0; i <= map->max_register; i += map->reg_stride) { in regmap_access_show()
Dregcache-lzo.c111 return ((reg / map->reg_stride) * map->cache_word_size) / in regcache_lzo_get_blkindex()
119 return (reg / map->reg_stride) % in regcache_lzo_get_blkpos()
320 set_bit(reg / map->reg_stride, lzo_block->sync_bmp); in regcache_lzo_write()
Dregmap.c749 if (config->reg_stride) in __regmap_init()
750 map->reg_stride = config->reg_stride; in __regmap_init()
752 map->reg_stride = 1; in __regmap_init()
753 if (is_power_of_2(map->reg_stride)) in __regmap_init()
754 map->reg_stride_order = ilog2(map->reg_stride); in __regmap_init()
1777 if (!IS_ALIGNED(reg, map->reg_stride)) in regmap_write()
1804 if (!IS_ALIGNED(reg, map->reg_stride)) in regmap_write_async()
1977 if (!IS_ALIGNED(reg, map->reg_stride)) in regmap_bulk_write()
2203 if (!IS_ALIGNED(reg, map->reg_stride)) in _regmap_multi_reg_write()
2354 if (!IS_ALIGNED(reg, map->reg_stride)) in regmap_raw_write_async()
[all …]
Dinternal.h116 int reg_stride; member
288 return index * map->reg_stride; in regmap_get_offset()
Dregmap-mmio.c243 if (config->reg_stride < min_stride) in regmap_mmio_gen_context()
/linux-4.19.296/drivers/rtc/
Drtc-r7301.c60 .reg_stride = 4,
65 int reg_stride = regmap_get_reg_stride(priv->regmap); in rtc7301_read() local
68 regmap_read(priv->regmap, reg_stride * reg, &val); in rtc7301_read()
75 int reg_stride = regmap_get_reg_stride(priv->regmap); in rtc7301_write() local
77 regmap_write(priv->regmap, reg_stride * reg, val); in rtc7301_write()
83 int reg_stride = regmap_get_reg_stride(priv->regmap); in rtc7301_update_bits() local
85 regmap_update_bits(priv->regmap, reg_stride * reg, mask, val); in rtc7301_update_bits()
Drtc-snvs.c274 .reg_stride = 4,
/linux-4.19.296/drivers/clk/actions/
Dowl-common.c20 .reg_stride = 4,
/linux-4.19.296/drivers/clk/sprd/
Dcommon.c18 .reg_stride = 4,
/linux-4.19.296/drivers/clk/qcom/
Da53-pll.c31 .reg_stride = 4,
Dvideocc-sdm845.c303 .reg_stride = 4,
Dlcc-ipq806x.c418 .reg_stride = 4,
Dlcc-msm8960.c523 .reg_stride = 4,
Dlcc-mdm9615.c525 .reg_stride = 4,
Ddispcc-sdm845.c622 .reg_stride = 4,
/linux-4.19.296/drivers/iio/adc/
Dstm32-dfsdm-core.c54 .reg_stride = sizeof(u32),
69 .reg_stride = sizeof(u32),
Dfsl-imx25-gcq.c166 .reg_stride = 4,
/linux-4.19.296/drivers/iio/dac/
Dstm32-dac-core.c49 .reg_stride = sizeof(u32),
/linux-4.19.296/drivers/regulator/
Duniphier-regulator.c150 .reg_stride = 4,
/linux-4.19.296/drivers/clk/versatile/
Dclk-icst.c402 .reg_stride = 4, in icst_clk_register()
/linux-4.19.296/drivers/clk/
Dclk-axm5516.c534 .reg_stride = 4,
/linux-4.19.296/drivers/char/ipmi/
Dbt-bmc.c75 .reg_stride = 4,

123