Home
last modified time | relevance | path

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

12

/linux-4.19.296/drivers/nvmem/
Dmeson-mx-efuse.c49 unsigned int word_size; member
159 for (i = 0; i < bytes; i += efuse->config.word_size) { in meson_mx_efuse_read()
160 addr = (offset + i) / efuse->config.word_size; in meson_mx_efuse_read()
166 memcpy(buf + i, &tmp, efuse->config.word_size); in meson_mx_efuse_read()
179 .word_size = 1,
184 .word_size = 4,
189 .word_size = 4,
224 efuse->config.stride = drvdata->word_size; in meson_mx_efuse_probe()
225 efuse->config.word_size = drvdata->word_size; in meson_mx_efuse_probe()
Dbcm-ocotp.c167 u32 address = offset / priv->config->word_size; in bcm_otpc_read()
198 u32 address = offset / priv->config->word_size; in bcm_otpc_write()
201 if (offset % priv->config->word_size) in bcm_otpc_write()
233 .word_size = 4,
298 bcm_otpc_nvmem_config.word_size = 8; in bcm_otpc_probe()
Dimx-ocotp.c261 if ((bytes != priv->config->word_size) || in imx_ocotp_write()
262 (offset % priv->config->word_size)) in imx_ocotp_write()
302 offset = offset / priv->config->word_size; in imx_ocotp_write()
423 .word_size = 4,
Dmeson-efuse.c61 econfig->word_size = 1; in meson_efuse_probe()
Dcore.c33 int word_size; member
105 if (count < nvmem->word_size) in bin_attr_nvmem_read()
111 count = round_down(count, nvmem->word_size); in bin_attr_nvmem_read()
139 if (count < nvmem->word_size) in bin_attr_nvmem_write()
145 count = round_down(count, nvmem->word_size); in bin_attr_nvmem_write()
482 nvmem->word_size = config->word_size ?: 1; in nvmem_register()
Dqfprom.c41 .word_size = 1,
Duniphier-efuse.c58 econfig.word_size = 1; in uniphier_efuse_probe()
Dlpc18xx_otp.c65 .word_size = LPC18XX_OTP_WORD_SIZE,
Dmtk-efuse.c70 econfig.word_size = 4; in mtk_efuse_probe()
Dimx-iim.c134 cfg.word_size = 1, in imx_iim_probe()
Dsnvs_lpgpr.c128 cfg->word_size = 4; in snvs_lpgpr_probe()
Dmxs-ocotp.c120 .word_size = 4,
Dvf610-ocotp.c210 .word_size = 4,
Dsunxi_sid.c42 .word_size = 1,
Dsc27xx-efuse.c221 econfig.word_size = 1; in sc27xx_efuse_probe()
Dlpc18xx_eeprom.c160 .word_size = 4,
Drave-sp-eeprom.c334 config.word_size = 1; in rave_sp_eeprom_probe()
Drockchip-efuse.c217 .word_size = 1,
/linux-4.19.296/include/linux/
Dnvmem-provider.h62 int word_size; member
/linux-4.19.296/drivers/rtc/
Drtc-rp5c01.c225 .word_size = 1, in rp5c01_rtc_probe()
Drtc-m48t86.c229 .word_size = 1, in m48t86_rtc_probe()
Drtc-pcf85363.c331 .word_size = 1, in pcf85363_probe()
Drtc-ds1553.c262 .word_size = 1, in ds1553_rtc_probe()
Drtc-stk17ta8.c270 .word_size = 1, in stk17ta8_rtc_probe()
/linux-4.19.296/drivers/misc/eeprom/
Dat25.c366 at25->nvmem_config.word_size = 1; in at25_probe()

12