Lines Matching refs:nvmem_config
587 struct nvmem_config nvmem_config = { }; in at24_probe() local
720 nvmem_config.id = NVMEM_DEVID_AUTO; in at24_probe()
724 &nvmem_config.name); in at24_probe()
728 nvmem_config.name = dev_name(dev); in at24_probe()
731 nvmem_config.type = NVMEM_TYPE_EEPROM; in at24_probe()
732 nvmem_config.dev = dev; in at24_probe()
733 nvmem_config.read_only = !writable; in at24_probe()
734 nvmem_config.root_only = !(flags & AT24_FLAG_IRUGO); in at24_probe()
735 nvmem_config.owner = THIS_MODULE; in at24_probe()
736 nvmem_config.compat = true; in at24_probe()
737 nvmem_config.base_dev = dev; in at24_probe()
738 nvmem_config.reg_read = at24_read; in at24_probe()
739 nvmem_config.reg_write = at24_write; in at24_probe()
740 nvmem_config.priv = at24; in at24_probe()
741 nvmem_config.stride = 1; in at24_probe()
742 nvmem_config.word_size = 1; in at24_probe()
743 nvmem_config.size = byte_len; in at24_probe()
759 at24->nvmem = devm_nvmem_register(dev, &nvmem_config); in at24_probe()