Home
last modified time | relevance | path

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

/linux-6.1.9/arch/sparc/kernel/
Dcentral.c25 struct platform_device leds_pdev; member
34 struct platform_device leds_pdev; member
107 p->leds_pdev.name = "sunfire-clockboard-leds"; in clock_board_probe()
108 p->leds_pdev.id = -1; in clock_board_probe()
109 p->leds_pdev.resource = &p->leds_resource; in clock_board_probe()
110 p->leds_pdev.num_resources = 1; in clock_board_probe()
111 p->leds_pdev.dev.parent = &op->dev; in clock_board_probe()
113 err = platform_device_register(&p->leds_pdev); in clock_board_probe()
201 p->leds_pdev.name = "sunfire-fhc-leds"; in fhc_probe()
202 p->leds_pdev.id = p->board_num; in fhc_probe()
[all …]
/linux-6.1.9/drivers/platform/x86/
Dbarco-p50-gpio.c65 struct platform_device *leds_pdev; member
340 p50->leds_pdev = platform_device_register_data(&pdev->dev, in p50_gpio_probe()
343 if (IS_ERR(p50->leds_pdev)) { in p50_gpio_probe()
344 ret = PTR_ERR(p50->leds_pdev); in p50_gpio_probe()
366 platform_device_unregister(p50->leds_pdev); in p50_gpio_probe()
378 platform_device_unregister(p50->leds_pdev); in p50_gpio_remove()
/linux-6.1.9/arch/arm/mach-omap1/
Dboard-ams-delta.c672 struct platform_device *leds_pdev; in ams_delta_init() local
732 leds_pdev = gpio_led_register_device(PLATFORM_DEVID_NONE, &leds_pdata); in ams_delta_init()
733 if (!IS_ERR_OR_NULL(leds_pdev)) { in ams_delta_init()
734 leds_gpio_table.dev_id = dev_name(&leds_pdev->dev); in ams_delta_init()