Home
last modified time | relevance | path

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

12345

/linux-6.6.21/drivers/nvmem/
Dmeson-mx-efuse.c40 unsigned int word_size; member
150 for (i = 0; i < bytes; i += efuse->config.word_size) { in meson_mx_efuse_read()
151 addr = (offset + i) / efuse->config.word_size; in meson_mx_efuse_read()
158 min_t(size_t, bytes - i, efuse->config.word_size)); in meson_mx_efuse_read()
171 .word_size = 1,
176 .word_size = 4,
181 .word_size = 4,
213 efuse->config.stride = drvdata->word_size; in meson_mx_efuse_probe()
214 efuse->config.word_size = drvdata->word_size; in meson_mx_efuse_probe()
Dbcm-ocotp.c157 u32 address = offset / priv->config->word_size; in bcm_otpc_read()
188 u32 address = offset / priv->config->word_size; in bcm_otpc_write()
191 if (offset % priv->config->word_size) in bcm_otpc_write()
223 .word_size = 4,
287 bcm_otpc_nvmem_config.word_size = 8; in bcm_otpc_probe()
Dimx-ocotp.c322 if ((bytes != priv->config->word_size) || in imx_ocotp_write()
323 (offset % priv->config->word_size)) in imx_ocotp_write()
363 offset = offset / priv->config->word_size; in imx_ocotp_write()
480 .word_size = 4,
Dqoriq-efuse.c37 .word_size = sizeof(u32), in qoriq_efuse_probe()
Dzynqmp_nvmem.c39 .word_size = 1,
Dapple-efuses.c42 .word_size = sizeof(u32), in apple_efuses_probe()
Duniphier-efuse.c49 econfig.word_size = 1; in uniphier_efuse_probe()
Dlpc18xx_otp.c61 .word_size = LPC18XX_OTP_WORD_SIZE,
Dcore.c26 int word_size; member
238 if (count < nvmem->word_size) in bin_attr_nvmem_read()
244 count = round_down(count, nvmem->word_size); in bin_attr_nvmem_read()
278 if (count < nvmem->word_size) in bin_attr_nvmem_write()
284 count = round_down(count, nvmem->word_size); in bin_attr_nvmem_write()
671 if ((keepout->end - keepout->start < nvmem->word_size) || in nvmem_validate_keepouts()
673 (keepout->start - cur < nvmem->word_size))) { in nvmem_validate_keepouts()
933 nvmem->word_size = config->word_size ?: 1; in nvmem_register()
Dsec-qfprom.c51 .word_size = 1, in sec_qfprom_probe()
Dlayerscape-sfp.c42 .word_size = 4,
Dnintendo-otp.c84 .word_size = WORD_SIZE, in nintendo_otp_probe()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/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()
236 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()
/linux-6.6.21/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()
/linux-6.6.21/sound/soc/codecs/
Drt5677-spi.c460 u32 word_size = min_t(u32, dstlen, 8); in rt5677_spi_reverse() local
462 for (w = 0; w < dstlen; w += word_size) { in rt5677_spi_reverse()
463 for (i = 0; i < word_size && i + w < dstlen; i++) { in rt5677_spi_reverse()
464 si = w + word_size - i - 1; in rt5677_spi_reverse()
/linux-6.6.21/sound/soc/sunxi/
Dsun8i-codec.c520 int bclk_div, lrck_div_order, ret, word_size; in sun8i_codec_hw_params() local
526 word_size = 0x0; in sun8i_codec_hw_params()
529 word_size = 0x1; in sun8i_codec_hw_params()
532 word_size = 0x2; in sun8i_codec_hw_params()
535 word_size = 0x3; in sun8i_codec_hw_params()
543 word_size << SUN8I_AIF_CLK_CTRL_WORD_SIZ); in sun8i_codec_hw_params()
/linux-6.6.21/drivers/soc/atmel/
Dsfr.c35 .word_size = 4,
/linux-6.6.21/drivers/rtc/
Drtc-rx8581.c258 .word_size = 1, in rx8581_probe()
265 .word_size = 1, in rx8581_probe()
/linux-6.6.21/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()

12345