/linux-6.6.21/drivers/nvmem/ |
D | meson-mx-efuse.c | 40 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()
|
D | bcm-ocotp.c | 157 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()
|
D | imx-ocotp.c | 322 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,
|
D | qoriq-efuse.c | 37 .word_size = sizeof(u32), in qoriq_efuse_probe()
|
D | zynqmp_nvmem.c | 39 .word_size = 1,
|
D | apple-efuses.c | 42 .word_size = sizeof(u32), in apple_efuses_probe()
|
D | uniphier-efuse.c | 49 econfig.word_size = 1; in uniphier_efuse_probe()
|
D | lpc18xx_otp.c | 61 .word_size = LPC18XX_OTP_WORD_SIZE,
|
D | core.c | 26 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()
|
D | sec-qfprom.c | 51 .word_size = 1, in sec_qfprom_probe()
|
D | layerscape-sfp.c | 42 .word_size = 4,
|
D | nintendo-otp.c | 84 .word_size = WORD_SIZE, in nintendo_otp_probe()
|
/linux-6.6.21/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()
|
/linux-6.6.21/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()
|
/linux-6.6.21/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()
|
/linux-6.6.21/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() 236 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()
|
/linux-6.6.21/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()
|
/linux-6.6.21/sound/soc/codecs/ |
D | rt5677-spi.c | 460 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/ |
D | sun8i-codec.c | 520 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/ |
D | sfr.c | 35 .word_size = 4,
|
/linux-6.6.21/drivers/rtc/ |
D | rtc-rx8581.c | 258 .word_size = 1, in rx8581_probe() 265 .word_size = 1, in rx8581_probe()
|
/linux-6.6.21/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()
|