Searched refs:reg_stride (Results 1 – 25 of 55) sorted by relevance
123
/linux-4.19.296/drivers/base/regmap/ |
D | regmap-irq.c | 98 (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 …]
|
D | regcache-rbtree.c | 49 *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 …]
|
D | regcache.c | 43 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 …]
|
D | regmap-debugfs.c | 122 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()
|
D | regcache-lzo.c | 111 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()
|
D | regmap.c | 749 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 …]
|
D | internal.h | 116 int reg_stride; member 288 return index * map->reg_stride; in regmap_get_offset()
|
D | regmap-mmio.c | 243 if (config->reg_stride < min_stride) in regmap_mmio_gen_context()
|
/linux-4.19.296/drivers/rtc/ |
D | rtc-r7301.c | 60 .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()
|
D | rtc-snvs.c | 274 .reg_stride = 4,
|
/linux-4.19.296/drivers/clk/actions/ |
D | owl-common.c | 20 .reg_stride = 4,
|
/linux-4.19.296/drivers/clk/sprd/ |
D | common.c | 18 .reg_stride = 4,
|
/linux-4.19.296/drivers/clk/qcom/ |
D | a53-pll.c | 31 .reg_stride = 4,
|
D | videocc-sdm845.c | 303 .reg_stride = 4,
|
D | lcc-ipq806x.c | 418 .reg_stride = 4,
|
D | lcc-msm8960.c | 523 .reg_stride = 4,
|
D | lcc-mdm9615.c | 525 .reg_stride = 4,
|
D | dispcc-sdm845.c | 622 .reg_stride = 4,
|
/linux-4.19.296/drivers/iio/adc/ |
D | stm32-dfsdm-core.c | 54 .reg_stride = sizeof(u32), 69 .reg_stride = sizeof(u32),
|
D | fsl-imx25-gcq.c | 166 .reg_stride = 4,
|
/linux-4.19.296/drivers/iio/dac/ |
D | stm32-dac-core.c | 49 .reg_stride = sizeof(u32),
|
/linux-4.19.296/drivers/regulator/ |
D | uniphier-regulator.c | 150 .reg_stride = 4,
|
/linux-4.19.296/drivers/clk/versatile/ |
D | clk-icst.c | 402 .reg_stride = 4, in icst_clk_register()
|
/linux-4.19.296/drivers/clk/ |
D | clk-axm5516.c | 534 .reg_stride = 4,
|
/linux-4.19.296/drivers/char/ipmi/ |
D | bt-bmc.c | 75 .reg_stride = 4,
|
123