Home
last modified time | relevance | path

Searched refs:word_size (Results 1 – 25 of 102) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/nvmem/
Dmeson-mx-efuse.c41 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()
Dbcm-ocotp.c168 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()
Dimx-ocotp.c291 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,
Dzynqmp_nvmem.c39 .word_size = 1,
Duniphier-efuse.c50 econfig.word_size = 1; in uniphier_efuse_probe()
Dcore.c26 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()
Dmtk-efuse.c49 econfig.word_size = 4; in mtk_efuse_probe()
Dlpc18xx_otp.c62 .word_size = LPC18XX_OTP_WORD_SIZE,
Dmeson-efuse.c97 econfig->word_size = 1; in meson_efuse_probe()
/kernel/linux/linux-5.10/drivers/thunderbolt/
Dnvm.c69 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/
De1000_nvm.c316 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/
Daxi-i2s.c92 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/
Dnvm.c300 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/
Digc_nvm.c106 if (offset >= nvm->word_size || (words > (nvm->word_size - offset)) || in igc_read_nvm_eerd()
Digc_i225.c42 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()
Digc_base.c86 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/
Dsun8i-codec.c267 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/
Drt2x00debug.h38 unsigned int word_size; \
Drt2x00debug.c429 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/
Drt5677-spi.c459 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/
Dnvmem-provider.h76 int word_size; member
/kernel/linux/linux-5.10/drivers/soc/atmel/
Dsfr.c36 .word_size = 4,
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-rx8581.c260 .word_size = 1, in rx8581_probe()
267 .word_size = 1, in rx8581_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_x540.c200 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/
Dimx-dma.c152 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()

12345