/kernel/linux/linux-5.10/drivers/nvmem/ |
D | meson-mx-efuse.c | 41 unsigned int word_size; member 151 for (i = 0; i < bytes; i += efuse->config.word_size) { in meson_mx_efuse_read() 152 addr = (offset + i) / efuse->config.word_size; in meson_mx_efuse_read() 159 min_t(size_t, bytes - i, efuse->config.word_size)); in meson_mx_efuse_read() 172 .word_size = 1, 177 .word_size = 4, 182 .word_size = 4, 217 efuse->config.stride = drvdata->word_size; in meson_mx_efuse_probe() 218 efuse->config.word_size = drvdata->word_size; in meson_mx_efuse_probe()
|
D | bcm-ocotp.c | 168 u32 address = offset / priv->config->word_size; in bcm_otpc_read() 199 u32 address = offset / priv->config->word_size; in bcm_otpc_write() 202 if (offset % priv->config->word_size) in bcm_otpc_write() 234 .word_size = 4, 300 bcm_otpc_nvmem_config.word_size = 8; in bcm_otpc_probe()
|
D | imx-ocotp.c | 291 if ((bytes != priv->config->word_size) || in imx_ocotp_write() 292 (offset % priv->config->word_size)) in imx_ocotp_write() 332 offset = offset / priv->config->word_size; in imx_ocotp_write() 449 .word_size = 4,
|
D | zynqmp_nvmem.c | 39 .word_size = 1,
|
D | uniphier-efuse.c | 50 econfig.word_size = 1; in uniphier_efuse_probe()
|
D | core.c | 26 int word_size; member 141 if (count < nvmem->word_size) in bin_attr_nvmem_read() 147 count = round_down(count, nvmem->word_size); in bin_attr_nvmem_read() 181 if (count < nvmem->word_size) in bin_attr_nvmem_write() 187 count = round_down(count, nvmem->word_size); in bin_attr_nvmem_write() 648 nvmem->word_size = config->word_size ?: 1; in nvmem_register()
|
D | mtk-efuse.c | 49 econfig.word_size = 4; in mtk_efuse_probe()
|
D | lpc18xx_otp.c | 62 .word_size = LPC18XX_OTP_WORD_SIZE,
|
D | meson-efuse.c | 97 econfig->word_size = 1; in meson_efuse_probe()
|
/kernel/linux/linux-5.10/drivers/thunderbolt/ |
D | nvm.c | 69 config.word_size = 4; in tb_nvm_add_active() 134 config.word_size = 4; in tb_nvm_add_non_active()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/ |
D | e1000_nvm.c | 316 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in igb_read_nvm_spi() 374 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in igb_read_nvm_eerd() 419 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in igb_write_nvm_spi()
|
/kernel/linux/linux-5.10/sound/soc/adi/ |
D | axi-i2s.c | 92 unsigned int bclk_div, word_size; in axi_i2s_hw_params() local 97 word_size = AXI_I2S_BITS_PER_FRAME / 2 - 1; in axi_i2s_hw_params() 100 regmap_write(i2s->regmap, AXI_I2S_REG_CLK_CTRL, (word_size << 16) | in axi_i2s_hw_params()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/ |
D | nvm.c | 300 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000e_read_nvm_eerd() 344 if ((offset >= nvm->word_size) || (words > (nvm->word_size - offset)) || in e1000e_write_nvm_spi()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/ |
D | igc_nvm.c | 106 if (offset >= nvm->word_size || (words > (nvm->word_size - offset)) || in igc_read_nvm_eerd()
|
D | igc_i225.c | 42 s32 timeout = hw->nvm.word_size + 1; in igc_get_hw_semaphore_i225() 229 if (offset >= nvm->word_size || (words > (nvm->word_size - offset)) || in igc_write_nvm_srwr()
|
D | igc_base.c | 86 nvm->word_size = BIT(size); in igc_init_nvm_params_base() 94 if (nvm->word_size == BIT(15)) in igc_init_nvm_params_base()
|
/kernel/linux/linux-5.10/sound/soc/sunxi/ |
D | sun8i-codec.c | 267 unsigned int word_size) in sun8i_codec_get_bclk_div() argument 270 unsigned int div = clk_rate / rate / word_size / 2; in sun8i_codec_get_bclk_div() 288 unsigned int word_size) in sun8i_codec_get_lrck_div() argument 290 unsigned int div = word_size * channels; in sun8i_codec_get_lrck_div()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00debug.h | 38 unsigned int word_size; \
|
D | rt2x00debug.c | 429 debug->__name.word_size); \ 432 index *= debug->__name.word_size; \ 471 debug->__name.word_size); \ 474 index *= debug->__name.word_size; \ 621 debug->__name.word_size); \ in rt2x00debug_create_file_chipset()
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
D | rt5677-spi.c | 459 u32 word_size = min_t(u32, dstlen, 8); in rt5677_spi_reverse() local 461 for (w = 0; w < dstlen; w += word_size) { in rt5677_spi_reverse() 462 for (i = 0; i < word_size && i + w < dstlen; i++) { in rt5677_spi_reverse() 463 si = w + word_size - i - 1; in rt5677_spi_reverse()
|
/kernel/linux/linux-5.10/include/linux/ |
D | nvmem-provider.h | 76 int word_size; member
|
/kernel/linux/linux-5.10/drivers/soc/atmel/ |
D | sfr.c | 36 .word_size = 4,
|
/kernel/linux/linux-5.10/drivers/rtc/ |
D | rtc-rx8581.c | 260 .word_size = 1, in rx8581_probe() 267 .word_size = 1, in rx8581_probe()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_x540.c | 200 eeprom->word_size = BIT(eeprom_size + in ixgbe_init_eeprom_params_X540() 204 eeprom->type, eeprom->word_size); in ixgbe_init_eeprom_params_X540() 347 pointer >= hw->eeprom.word_size) in ixgbe_calc_eeprom_checksum_X540() 357 (pointer + length) >= hw->eeprom.word_size) in ixgbe_calc_eeprom_checksum_X540()
|
/kernel/linux/linux-5.10/drivers/dma/ |
D | imx-dma.c | 152 enum dma_slave_buswidth word_size; member 688 imxdmac->word_size = dmaengine_cfg->src_addr_width; in imxdma_config_write() 692 imxdmac->word_size = dmaengine_cfg->dst_addr_width; in imxdma_config_write() 695 switch (imxdmac->word_size) { in imxdma_config_write() 721 imxdmac->word_size, DMA_BLR(imxdmac->channel)); in imxdma_config_write() 836 switch (imxdmac->word_size) { in imxdma_prep_slave_sg()
|