Lines Matching refs:aux_dev
320 static int pci1xxxx_otp_eeprom_probe(struct auxiliary_device *aux_dev, in pci1xxxx_otp_eeprom_probe() argument
329 aux_dev_wrapper = container_of(aux_dev, struct auxiliary_device_wrapper, in pci1xxxx_otp_eeprom_probe()
330 aux_dev); in pci1xxxx_otp_eeprom_probe()
335 priv = devm_kzalloc(&aux_dev->dev, sizeof(*priv), GFP_KERNEL); in pci1xxxx_otp_eeprom_probe()
339 priv->pdev = aux_dev; in pci1xxxx_otp_eeprom_probe()
341 if (!devm_request_mem_region(&aux_dev->dev, pdata->region_start + in pci1xxxx_otp_eeprom_probe()
344 aux_dev->name)) in pci1xxxx_otp_eeprom_probe()
347 priv->reg_base = devm_ioremap(&aux_dev->dev, pdata->region_start + in pci1xxxx_otp_eeprom_probe()
362 dev_set_drvdata(&aux_dev->dev, priv); in pci1xxxx_otp_eeprom_probe()
368 priv->nvmem_config_eeprom.dev = &aux_dev->dev; in pci1xxxx_otp_eeprom_probe()
377 priv->nvmem_eeprom = devm_nvmem_register(&aux_dev->dev, in pci1xxxx_otp_eeprom_probe()
388 priv->nvmem_config_otp.dev = &aux_dev->dev; in pci1xxxx_otp_eeprom_probe()
397 priv->nvmem_otp = devm_nvmem_register(&aux_dev->dev, in pci1xxxx_otp_eeprom_probe()
405 static void pci1xxxx_otp_eeprom_remove(struct auxiliary_device *aux_dev) in pci1xxxx_otp_eeprom_remove() argument
410 priv = dev_get_drvdata(&aux_dev->dev); in pci1xxxx_otp_eeprom_remove()