Searched refs:reg_stride (Results 1 - 88 of 88) sorted by relevance

/linux-4.4.14/drivers/base/regmap/
H A Dregmap-irq.c82 (i * map->reg_stride * d->irq_reg_stride); regmap_irq_sync_unlock()
110 (i * map->reg_stride * d->irq_reg_stride); regmap_irq_sync_unlock()
135 (i * map->reg_stride * d->irq_reg_stride); regmap_irq_sync_unlock()
169 d->mask_buf[irq_data->reg_offset / map->reg_stride] &= ~irq_data->mask; regmap_irq_enable()
178 d->mask_buf[irq_data->reg_offset / map->reg_stride] |= irq_data->mask; regmap_irq_disable()
189 d->wake_buf[irq_data->reg_offset / map->reg_stride] regmap_irq_set_wake()
194 d->wake_buf[irq_data->reg_offset / map->reg_stride] regmap_irq_set_wake()
233 if (!map->use_single_read && map->reg_stride == 1 && regmap_irq_thread()
270 (i * map->reg_stride regmap_irq_thread()
297 (i * map->reg_stride * data->irq_reg_stride); regmap_irq_thread()
307 map->reg_stride] & chip->irqs[i].mask) { regmap_irq_thread()
369 if (chip->irqs[i].reg_offset % map->reg_stride) regmap_add_irq_chip()
371 if (chip->irqs[i].reg_offset / map->reg_stride >= regmap_add_irq_chip()
423 if (!map->use_single_read && map->reg_stride == 1 && regmap_add_irq_chip()
434 d->mask_buf_def[chip->irqs[i].reg_offset / map->reg_stride] regmap_add_irq_chip()
441 (i * map->reg_stride * d->irq_reg_stride); regmap_add_irq_chip()
466 (i * map->reg_stride * d->irq_reg_stride); regmap_add_irq_chip()
476 (i * map->reg_stride * d->irq_reg_stride); regmap_add_irq_chip()
496 (i * map->reg_stride * d->irq_reg_stride); regmap_add_irq_chip()
H A Dregcache-rbtree.c49 *top = rbnode->base_reg + ((rbnode->blklen - 1) * map->reg_stride); regcache_rbtree_get_base_top_reg()
161 this_registers = ((top - base) / map->reg_stride) + 1; rbtree_show()
265 reg_tmp = (reg - rbnode->base_reg) / map->reg_stride; regcache_rbtree_read()
289 blklen = (top_reg - base_reg) / map->reg_stride + 1; regcache_rbtree_insert_to_block()
290 pos = (reg - base_reg) / map->reg_stride; regcache_rbtree_insert_to_block()
291 offset = (rbnode->base_reg - base_reg) / map->reg_stride; regcache_rbtree_insert_to_block()
354 map->reg_stride + 1; regcache_rbtree_node_alloc()
399 reg_tmp = (reg - rbnode->base_reg) / map->reg_stride; regcache_rbtree_write()
407 max_dist = map->reg_stride * sizeof(*rbnode_tmp) / regcache_rbtree_write()
478 start = (min - base_reg) / map->reg_stride; regcache_rbtree_sync()
483 end = (max - base_reg) / map->reg_stride + 1; regcache_rbtree_sync()
518 start = (min - base_reg) / map->reg_stride; regcache_rbtree_drop()
523 end = (max - base_reg) / map->reg_stride + 1; regcache_rbtree_drop()
H A Dregcache.c41 if (!regmap_volatile(map, i * map->reg_stride)) regcache_hw_init()
79 if (regmap_volatile(map, i * map->reg_stride)) regcache_hw_init()
82 map->reg_defaults[j].reg = i * map->reg_stride; regcache_hw_init()
104 if (config->reg_defaults[i].reg % map->reg_stride) regcache_init()
273 for (reg = min; reg <= max; reg += map->reg_stride) { regcache_default_sync()
630 regtmp = block_base + (i * map->reg_stride); regcache_sync_block_single()
666 count = (cur - base) / map->reg_stride; regcache_sync_block_raw_flush()
669 count * val_bytes, count, base, cur - map->reg_stride); regcache_sync_block_raw_flush()
676 base, cur - map->reg_stride, ret); regcache_sync_block_raw_flush()
697 regtmp = block_base + (i * map->reg_stride); regcache_sync_block_raw()
724 map->reg_stride); regcache_sync_block_raw()
H A Dregmap-debugfs.c106 for (; i <= map->max_register; i += map->reg_stride) { regmap_debugfs_get_dump_start()
112 c->max_reg = i - map->reg_stride; regmap_debugfs_get_dump_start()
140 c->max_reg = i - map->reg_stride; regmap_debugfs_get_dump_start()
160 return c->base_reg + (reg_offset * map->reg_stride); regmap_debugfs_get_dump_start()
206 for (i = start_reg; i <= to; i += map->reg_stride) { regmap_read_debugfs()
423 for (i = 0; i <= map->max_register; i += map->reg_stride) { regmap_access_read_file()
H A Dregcache-lzo.c111 return ((reg / map->reg_stride) * map->cache_word_size) / regcache_lzo_get_blkindex()
119 return (reg / map->reg_stride) % regcache_lzo_get_blkpos()
324 set_bit(reg / map->reg_stride, lzo_block->sync_bmp); regcache_lzo_write()
H A Dregmap.c580 if (config->reg_stride) __regmap_init()
581 map->reg_stride = config->reg_stride; __regmap_init()
583 map->reg_stride = 1; __regmap_init()
1217 reg + (i * map->reg_stride))) _regmap_raw_write()
1225 ret = regcache_write(map, reg + (i * map->reg_stride), _regmap_raw_write()
1516 if (reg % map->reg_stride) regmap_write()
1543 if (reg % map->reg_stride) regmap_write_async()
1717 if (reg % map->reg_stride) regmap_bulk_write()
1755 ret = _regmap_write(map, reg + (i * map->reg_stride), regmap_bulk_write()
1764 int chunk_stride = map->reg_stride; regmap_bulk_write()
1986 if (reg % map->reg_stride) _regmap_multi_reg_write()
2136 if (reg % map->reg_stride) regmap_raw_write_async()
2263 if (reg % map->reg_stride) regmap_read()
2299 if (reg % map->reg_stride) regmap_raw_read()
2325 ret = _regmap_read(map, reg + (i * map->reg_stride), regmap_raw_read()
2417 if (reg % map->reg_stride) regmap_bulk_read()
2439 int chunk_stride = map->reg_stride; regmap_bulk_read()
2477 ret = regmap_read(map, reg + (i * map->reg_stride), regmap_bulk_read()
2849 return map->reg_stride; regmap_get_reg_stride()
H A Dinternal.h112 int reg_stride; member in struct:regmap
H A Dregmap-mmio.c255 if (config->reg_stride < min_stride) regmap_mmio_gen_context()
/linux-4.4.14/drivers/nvmem/
H A Dqfprom.c23 .reg_stride = 1,
H A Dimx-ocotp.c78 .reg_stride = 4,
H A Dmxs-ocotp.c164 .reg_stride = 16,
H A Drockchip-efuse.c106 .reg_stride = 1,
H A Dsunxi_sid.c95 .reg_stride = 1,
H A Dvf610-ocotp.c225 .reg_stride = 4,
/linux-4.4.14/drivers/pinctrl/uniphier/
H A Dpinctrl-uniphier-core.c538 unsigned reg_stride = priv->socdata->reg_stride; uniphier_pmx_set_one_mux() local
548 reg = UNIPHIER_PINCTRL_PINMUX_BASE + pin * mux_bits / 32 * reg_stride; uniphier_pmx_set_one_mux()
549 reg_end = reg + reg_stride; uniphier_pmx_set_one_mux()
554 * If reg_stride is greater than 4, the MSB of each pinsel shall be uniphier_pmx_set_one_mux()
648 !socdata->reg_stride) { uniphier_pinctrl_probe()
H A Dpinctrl-uniphier.h162 unsigned reg_stride; member in struct:uniphier_pinctrl_socdata
H A Dpinctrl-ph1-sld8.c764 .reg_stride = 4,
H A Dpinctrl-ph1-ld4.c856 .reg_stride = 4,
H A Dpinctrl-ph1-ld6b.c1244 .reg_stride = 4,
H A Dpinctrl-ph1-pro4.c1530 .reg_stride = 8,
H A Dpinctrl-ph1-pro5.c1321 .reg_stride = 8,
H A Dpinctrl-proxstream2.c1239 .reg_stride = 4,
/linux-4.4.14/drivers/mfd/
H A Dhi6421-pmic-core.c40 .reg_stride = 4,
H A Datmel-hlcdc.c75 .reg_stride = 4,
H A Dsta2x11-mfd.c188 .reg_stride = 4,
209 .reg_stride = 4,
248 .reg_stride = 4,
287 .reg_stride = 4,
H A Dsyscon.c42 .reg_stride = 4,
H A Dti_am335x_tscadc.c47 .reg_stride = 4,
/linux-4.4.14/drivers/thermal/st/
H A Dst_thermal_memmap.c120 .reg_stride = 4,
/linux-4.4.14/sound/soc/tegra/
H A Dtegra20_das.c126 .reg_stride = 4,
H A Dtegra30_ahub.c468 .reg_stride = 4,
489 .reg_stride = 4,
H A Dtegra20_ac97.c301 .reg_stride = 4,
H A Dtegra20_i2s.c329 .reg_stride = 4,
H A Dtegra20_spdif.c255 .reg_stride = 4,
H A Dtegra30_i2s.c354 .reg_stride = 4,
/linux-4.4.14/sound/soc/adi/
H A Daxi-i2s.c176 .reg_stride = 4,
H A Daxi-spdif.c175 .reg_stride = 4,
/linux-4.4.14/drivers/rtc/
H A Drtc-snvs.c230 .reg_stride = 4,
H A Drtc-at91sam9.c354 .reg_stride = 4,
/linux-4.4.14/drivers/gpu/drm/fsl-dcu/
H A Dfsl_dcu_drm_drv.c33 .reg_stride = 4,
/linux-4.4.14/drivers/clk/qcom/
H A Dlcc-ipq806x.c418 .reg_stride = 4,
H A Dlcc-msm8960.c523 .reg_stride = 4,
H A Dmmcc-msm8960.c3028 .reg_stride = 4,
3036 .reg_stride = 4,
H A Dgcc-msm8960.c3467 .reg_stride = 4,
3475 .reg_stride = 4,
H A Dgcc-ipq806x.c3004 .reg_stride = 4,
H A Dgcc-msm8660.c2701 .reg_stride = 4,
H A Dgcc-msm8974.c2679 .reg_stride = 4,
H A Dmmcc-msm8974.c2593 .reg_stride = 4,
H A Dgcc-apq8084.c3586 .reg_stride = 4,
H A Dgcc-msm8916.c3337 .reg_stride = 4,
H A Dmmcc-apq8084.c3367 .reg_stride = 4,
/linux-4.4.14/arch/arm/mach-rockchip/
H A Dplatsmp.c209 .reg_stride = 4,
/linux-4.4.14/sound/soc/rockchip/
H A Drockchip_spdif.c266 .reg_stride = 4,
H A Drockchip_i2s.c440 .reg_stride = 4,
/linux-4.4.14/sound/soc/sirf/
H A Dsirf-usp.c349 .reg_stride = 4,
/linux-4.4.14/sound/soc/codecs/
H A Dad1980.c96 .reg_stride = 2,
H A Djz4740.c311 .reg_stride = 4,
H A Dsirf-audio-codec.c451 .reg_stride = 4,
H A Dalc5623.c965 .reg_stride = 2,
H A Dsgtl5000.c1430 .reg_stride = 2,
/linux-4.4.14/sound/soc/bcm/
H A Dbcm2835-i2s.c766 .reg_stride = 4,
775 .reg_stride = 4,
/linux-4.4.14/drivers/pwm/
H A Dpwm-sti.c296 .reg_stride = 4,
H A Dpwm-fsl-ftm.c412 .reg_stride = 4,
/linux-4.4.14/drivers/spi/
H A Dspi-meson-spifc.c91 .reg_stride = 4,
H A Dspi-fsl-dspi.c638 .reg_stride = 4,
/linux-4.4.14/drivers/net/ethernet/microchip/
H A Dencx24j600-regmap.c470 .reg_stride = 2,
/linux-4.4.14/drivers/clk/
H A Dclk-axm5516.c521 .reg_stride = 4,
/linux-4.4.14/sound/soc/qcom/
H A Dlpass-cpu.c352 .reg_stride = 4,
/linux-4.4.14/sound/soc/sh/rcar/
H A Dgen.c170 regc.reg_stride = 4; _rsnd_gen_regmap_init()
/linux-4.4.14/drivers/watchdog/
H A Dimx2_wdt.c220 .reg_stride = 2,
/linux-4.4.14/drivers/media/platform/coda/
H A Dcoda-bit.c1727 u32 reg_addr, reg_stride; coda_prepare_decode() local
1773 reg_stride = CODA9_CMD_DEC_PIC_ROT_STRIDE; coda_prepare_decode()
1776 reg_stride = CODA_CMD_DEC_PIC_ROT_STRIDE; coda_prepare_decode()
1779 coda_write(dev, q_data_dst->bytesperline, reg_stride); coda_prepare_decode()
/linux-4.4.14/drivers/input/touchscreen/
H A Dtsc200x-core.c67 .reg_stride = 0x08,
/linux-4.4.14/drivers/gpu/drm/imx/
H A Dimx-tve.c531 .reg_stride = 4,
/linux-4.4.14/sound/soc/sunxi/
H A Dsun4i-codec.c539 .reg_stride = 4,
/linux-4.4.14/sound/soc/xtensa/
H A Dxtfpga-i2s.c114 .reg_stride = 4,
/linux-4.4.14/sound/soc/atmel/
H A Datmel-classd.c531 .reg_stride = 4,
/linux-4.4.14/drivers/soc/mediatek/
H A Dmtk-pmic-wrap.c786 .reg_stride = 2,
/linux-4.4.14/drivers/pinctrl/berlin/
H A Dberlin-bg4ct.c482 rmconfig->reg_stride = 4, berlin4ct_pinctrl_probe()
/linux-4.4.14/drivers/pinctrl/meson/
H A Dpinctrl-meson.c618 .reg_stride = 4,
/linux-4.4.14/sound/soc/fsl/
H A Dfsl_sai.c698 .reg_stride = 4,
H A Dfsl_asrc.c713 .reg_stride = 4,
H A Dfsl_esai.c763 .reg_stride = 4,
H A Dfsl_spdif.c1082 .reg_stride = 4,
H A Dfsl_ssi.c175 .reg_stride = 4,
/linux-4.4.14/include/linux/
H A Dregmap.h120 * @reg_stride: The register address stride. Valid register addresses are a
205 int reg_stride; member in struct:regmap_config
/linux-4.4.14/drivers/pinctrl/bcm/
H A Dpinctrl-bcm281xx.c981 .reg_stride = 4,
/linux-4.4.14/drivers/pinctrl/mvebu/
H A Dpinctrl-dove.c762 .reg_stride = 4,
/linux-4.4.14/sound/soc/mediatek/
H A Dmtk-afe-pcm.c1076 .reg_stride = 4,
/linux-4.4.14/drivers/pinctrl/
H A Dpinctrl-rockchip.c224 .reg_stride = 4,

Completed in 2209 milliseconds