Home
last modified time | relevance | path

Searched refs:nvmem_config_eeprom (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/misc/mchp_pci1xxxx/
Dmchp_pci1xxxx_otpe2p.c70 struct nvmem_config nvmem_config_eeprom; member
130 if (off >= priv->nvmem_config_eeprom.size) in pci1xxxx_eeprom_read()
133 if ((off + count) > priv->nvmem_config_eeprom.size) in pci1xxxx_eeprom_read()
134 count = priv->nvmem_config_eeprom.size - off; in pci1xxxx_eeprom_read()
172 if (off >= priv->nvmem_config_eeprom.size) in pci1xxxx_eeprom_write()
175 if ((off + count) > priv->nvmem_config_eeprom.size) in pci1xxxx_eeprom_write()
176 count = priv->nvmem_config_eeprom.size - off; in pci1xxxx_eeprom_write()
369 priv->nvmem_config_eeprom.type = NVMEM_TYPE_EEPROM; in pci1xxxx_otp_eeprom_probe()
370 priv->nvmem_config_eeprom.name = EEPROM_NAME; in pci1xxxx_otp_eeprom_probe()
371 priv->nvmem_config_eeprom.dev = &aux_dev->dev; in pci1xxxx_otp_eeprom_probe()
[all …]