/linux-4.4.14/drivers/base/regmap/ |
H A D | regmap-irq.c | 82 (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 D | regcache-rbtree.c | 49 *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 D | regcache.c | 41 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 D | regmap-debugfs.c | 106 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 D | regcache-lzo.c | 111 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 D | regmap.c | 580 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 D | internal.h | 112 int reg_stride; member in struct:regmap
|
H A D | regmap-mmio.c | 255 if (config->reg_stride < min_stride) regmap_mmio_gen_context()
|
/linux-4.4.14/drivers/nvmem/ |
H A D | qfprom.c | 23 .reg_stride = 1,
|
H A D | imx-ocotp.c | 78 .reg_stride = 4,
|
H A D | mxs-ocotp.c | 164 .reg_stride = 16,
|
H A D | rockchip-efuse.c | 106 .reg_stride = 1,
|
H A D | sunxi_sid.c | 95 .reg_stride = 1,
|
H A D | vf610-ocotp.c | 225 .reg_stride = 4,
|
/linux-4.4.14/drivers/pinctrl/uniphier/ |
H A D | pinctrl-uniphier-core.c | 538 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 D | pinctrl-uniphier.h | 162 unsigned reg_stride; member in struct:uniphier_pinctrl_socdata
|
H A D | pinctrl-ph1-sld8.c | 764 .reg_stride = 4,
|
H A D | pinctrl-ph1-ld4.c | 856 .reg_stride = 4,
|
H A D | pinctrl-ph1-ld6b.c | 1244 .reg_stride = 4,
|
H A D | pinctrl-ph1-pro4.c | 1530 .reg_stride = 8,
|
H A D | pinctrl-ph1-pro5.c | 1321 .reg_stride = 8,
|
H A D | pinctrl-proxstream2.c | 1239 .reg_stride = 4,
|
/linux-4.4.14/drivers/mfd/ |
H A D | hi6421-pmic-core.c | 40 .reg_stride = 4,
|
H A D | atmel-hlcdc.c | 75 .reg_stride = 4,
|
H A D | sta2x11-mfd.c | 188 .reg_stride = 4, 209 .reg_stride = 4, 248 .reg_stride = 4, 287 .reg_stride = 4,
|
H A D | syscon.c | 42 .reg_stride = 4,
|
H A D | ti_am335x_tscadc.c | 47 .reg_stride = 4,
|
/linux-4.4.14/drivers/thermal/st/ |
H A D | st_thermal_memmap.c | 120 .reg_stride = 4,
|
/linux-4.4.14/sound/soc/tegra/ |
H A D | tegra20_das.c | 126 .reg_stride = 4,
|
H A D | tegra30_ahub.c | 468 .reg_stride = 4, 489 .reg_stride = 4,
|
H A D | tegra20_ac97.c | 301 .reg_stride = 4,
|
H A D | tegra20_i2s.c | 329 .reg_stride = 4,
|
H A D | tegra20_spdif.c | 255 .reg_stride = 4,
|
H A D | tegra30_i2s.c | 354 .reg_stride = 4,
|
/linux-4.4.14/sound/soc/adi/ |
H A D | axi-i2s.c | 176 .reg_stride = 4,
|
H A D | axi-spdif.c | 175 .reg_stride = 4,
|
/linux-4.4.14/drivers/rtc/ |
H A D | rtc-snvs.c | 230 .reg_stride = 4,
|
H A D | rtc-at91sam9.c | 354 .reg_stride = 4,
|
/linux-4.4.14/drivers/gpu/drm/fsl-dcu/ |
H A D | fsl_dcu_drm_drv.c | 33 .reg_stride = 4,
|
/linux-4.4.14/drivers/clk/qcom/ |
H A D | lcc-ipq806x.c | 418 .reg_stride = 4,
|
H A D | lcc-msm8960.c | 523 .reg_stride = 4,
|
H A D | mmcc-msm8960.c | 3028 .reg_stride = 4, 3036 .reg_stride = 4,
|
H A D | gcc-msm8960.c | 3467 .reg_stride = 4, 3475 .reg_stride = 4,
|
H A D | gcc-ipq806x.c | 3004 .reg_stride = 4,
|
H A D | gcc-msm8660.c | 2701 .reg_stride = 4,
|
H A D | gcc-msm8974.c | 2679 .reg_stride = 4,
|
H A D | mmcc-msm8974.c | 2593 .reg_stride = 4,
|
H A D | gcc-apq8084.c | 3586 .reg_stride = 4,
|
H A D | gcc-msm8916.c | 3337 .reg_stride = 4,
|
H A D | mmcc-apq8084.c | 3367 .reg_stride = 4,
|
/linux-4.4.14/arch/arm/mach-rockchip/ |
H A D | platsmp.c | 209 .reg_stride = 4,
|
/linux-4.4.14/sound/soc/rockchip/ |
H A D | rockchip_spdif.c | 266 .reg_stride = 4,
|
H A D | rockchip_i2s.c | 440 .reg_stride = 4,
|
/linux-4.4.14/sound/soc/sirf/ |
H A D | sirf-usp.c | 349 .reg_stride = 4,
|
/linux-4.4.14/sound/soc/codecs/ |
H A D | ad1980.c | 96 .reg_stride = 2,
|
H A D | jz4740.c | 311 .reg_stride = 4,
|
H A D | sirf-audio-codec.c | 451 .reg_stride = 4,
|
H A D | alc5623.c | 965 .reg_stride = 2,
|
H A D | sgtl5000.c | 1430 .reg_stride = 2,
|
/linux-4.4.14/sound/soc/bcm/ |
H A D | bcm2835-i2s.c | 766 .reg_stride = 4, 775 .reg_stride = 4,
|
/linux-4.4.14/drivers/pwm/ |
H A D | pwm-sti.c | 296 .reg_stride = 4,
|
H A D | pwm-fsl-ftm.c | 412 .reg_stride = 4,
|
/linux-4.4.14/drivers/spi/ |
H A D | spi-meson-spifc.c | 91 .reg_stride = 4,
|
H A D | spi-fsl-dspi.c | 638 .reg_stride = 4,
|
/linux-4.4.14/drivers/net/ethernet/microchip/ |
H A D | encx24j600-regmap.c | 470 .reg_stride = 2,
|
/linux-4.4.14/drivers/clk/ |
H A D | clk-axm5516.c | 521 .reg_stride = 4,
|
/linux-4.4.14/sound/soc/qcom/ |
H A D | lpass-cpu.c | 352 .reg_stride = 4,
|
/linux-4.4.14/sound/soc/sh/rcar/ |
H A D | gen.c | 170 regc.reg_stride = 4; _rsnd_gen_regmap_init()
|
/linux-4.4.14/drivers/watchdog/ |
H A D | imx2_wdt.c | 220 .reg_stride = 2,
|
/linux-4.4.14/drivers/media/platform/coda/ |
H A D | coda-bit.c | 1727 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 D | tsc200x-core.c | 67 .reg_stride = 0x08,
|
/linux-4.4.14/drivers/gpu/drm/imx/ |
H A D | imx-tve.c | 531 .reg_stride = 4,
|
/linux-4.4.14/sound/soc/sunxi/ |
H A D | sun4i-codec.c | 539 .reg_stride = 4,
|
/linux-4.4.14/sound/soc/xtensa/ |
H A D | xtfpga-i2s.c | 114 .reg_stride = 4,
|
/linux-4.4.14/sound/soc/atmel/ |
H A D | atmel-classd.c | 531 .reg_stride = 4,
|
/linux-4.4.14/drivers/soc/mediatek/ |
H A D | mtk-pmic-wrap.c | 786 .reg_stride = 2,
|
/linux-4.4.14/drivers/pinctrl/berlin/ |
H A D | berlin-bg4ct.c | 482 rmconfig->reg_stride = 4, berlin4ct_pinctrl_probe()
|
/linux-4.4.14/drivers/pinctrl/meson/ |
H A D | pinctrl-meson.c | 618 .reg_stride = 4,
|
/linux-4.4.14/sound/soc/fsl/ |
H A D | fsl_sai.c | 698 .reg_stride = 4,
|
H A D | fsl_asrc.c | 713 .reg_stride = 4,
|
H A D | fsl_esai.c | 763 .reg_stride = 4,
|
H A D | fsl_spdif.c | 1082 .reg_stride = 4,
|
H A D | fsl_ssi.c | 175 .reg_stride = 4,
|
/linux-4.4.14/include/linux/ |
H A D | regmap.h | 120 * @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 D | pinctrl-bcm281xx.c | 981 .reg_stride = 4,
|
/linux-4.4.14/drivers/pinctrl/mvebu/ |
H A D | pinctrl-dove.c | 762 .reg_stride = 4,
|
/linux-4.4.14/sound/soc/mediatek/ |
H A D | mtk-afe-pcm.c | 1076 .reg_stride = 4,
|
/linux-4.4.14/drivers/pinctrl/ |
H A D | pinctrl-rockchip.c | 224 .reg_stride = 4,
|