Lines Matching refs:mgn_chip
223 struct mbigen_device *mgn_chip) in mbigen_create_device_domain() argument
230 NULL, mgn_chip->base); in mbigen_create_device_domain()
234 struct mbigen_device *mgn_chip) in mbigen_of_create_domain() argument
253 if (!mbigen_create_device_domain(&child->dev, num_pins, mgn_chip)) in mbigen_of_create_domain()
268 struct mbigen_device *mgn_chip) in mbigen_acpi_create_domain() argument
300 if (!mbigen_create_device_domain(&pdev->dev, num_pins, mgn_chip)) in mbigen_acpi_create_domain()
307 struct mbigen_device *mgn_chip) in mbigen_acpi_create_domain() argument
315 struct mbigen_device *mgn_chip; in mbigen_device_probe() local
319 mgn_chip = devm_kzalloc(&pdev->dev, sizeof(*mgn_chip), GFP_KERNEL); in mbigen_device_probe()
320 if (!mgn_chip) in mbigen_device_probe()
323 mgn_chip->pdev = pdev; in mbigen_device_probe()
329 mgn_chip->base = devm_ioremap(&pdev->dev, res->start, in mbigen_device_probe()
331 if (!mgn_chip->base) { in mbigen_device_probe()
337 err = mbigen_of_create_domain(pdev, mgn_chip); in mbigen_device_probe()
339 err = mbigen_acpi_create_domain(pdev, mgn_chip); in mbigen_device_probe()
348 platform_set_drvdata(pdev, mgn_chip); in mbigen_device_probe()