Home
last modified time | relevance | path

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

/linux/arch/x86/platform/geode/
H A Dgeode-common.c102 struct platform_device_info led_info = { in geode_create_leds() local
158 led_info.fwnode = software_node_fwnode(&geode_gpio_leds_node); in geode_create_leds()
160 led_dev = platform_device_register_full(&led_info); in geode_create_leds()
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_port.c1291 struct hinic_led_info led_info = {0}; in _set_led_status() local
1292 u16 out_size = sizeof(led_info); in _set_led_status()
1298 led_info.port = port; in _set_led_status()
1299 led_info.reset = reset; in _set_led_status()
1301 led_info.type = type; in _set_led_status()
1302 led_info.mode = mode; in _set_led_status()
1306 &led_info, sizeof(led_info), in _set_led_status()
1307 &led_info, &out_size, HINIC_MGMT_MSG_SYNC); in _set_led_status()
1308 if (err || led_info.status || !out_size) { in _set_led_status()
1310 err, led_info.status, out_size); in _set_led_status()
/linux/drivers/hid/
H A Dhid-winwing.c30 static const struct winwing_led_info led_info[3] = { variable
97 const struct winwing_led_info *info = &led_info[i]; in winwing_init_led()
H A Dhid-playstation.c785 const struct ps_led_info *led_info) in ps_led_register() argument
789 if (led_info->name) { in ps_led_register()
791 "%s:%s:%s", ps_dev->input_dev_name, led_info->color, led_info->name); in ps_led_register()
795 "%s:%s", ps_dev->input_dev_name, led_info->color); in ps_led_register()
802 led->max_brightness = led_info->max_brightness; in ps_led_register()
804 led->brightness_get = led_info->brightness_get; in ps_led_register()
805 led->brightness_set_blocking = led_info->brightness_set; in ps_led_register()
806 led->blink_set = led_info->blink_set; in ps_led_register()
810 hid_err(ps_dev->hdev, "Failed to register LED %s: %d\n", led_info->name, ret); in ps_led_register()
1711 const struct ps_led_info *led_info = &player_leds_info[i]; in dualsense_create() local
[all …]
/linux/drivers/platform/x86/
H A Dsilicom-platform.c68 struct led_classdev_mc *led_info; member
486 .led_info = plat_0222_mc_led_info,
619 .led_info = cordoba_mc_led_info,
935 silicom_led_info = info->led_info; in silicom_platform_info_init()
/linux/include/linux/platform_data/
H A Dadp8860.h129 struct led_info *leds;
H A Dadp8870.h145 struct led_info *leds;
/linux/arch/parisc/include/asm/
H A Dpdc.h28 int pdc_chassis_info(struct pdc_chassis_info *chassis_info, void *led_info, unsigned long len);
/linux/include/linux/
H A Dleds.h646 struct led_info { struct
654 struct led_info *leds; argument
/linux/drivers/leds/
H A Dleds-tca6507.c661 struct led_info *tca_leds; in tca6507_led_dt_init()
668 tca_leds = devm_kcalloc(dev, NUM_LEDS, sizeof(struct led_info), in tca6507_led_dt_init()
674 struct led_info led; in tca6507_led_dt_init()
H A Dleds-da903x.c85 struct led_info *pdata = dev_get_platdata(&pdev->dev); in da903x_led_probe()
H A Dleds-adp5520.c96 struct led_info *cur_led; in adp5520_led_probe()
/linux/arch/arm/mach-pxa/
H A Dspitz.c564 struct platform_device_info led_info = { in spitz_leds_init() local
577 led_info.fwnode = software_node_fwnode(&spitz_gpio_leds_node); in spitz_leds_init()
579 led_dev = platform_device_register_full(&led_info); in spitz_leds_init()
/linux/include/linux/mfd/
H A Dadp5520.h197 struct led_info *leds;
/linux/arch/parisc/kernel/
H A Dfirmware.c266 int __init pdc_chassis_info(struct pdc_chassis_info *chassis_info, void *led_info, unsigned long le… in pdc_chassis_info() argument
273 memcpy(&pdc_result2, led_info, len); in pdc_chassis_info()
277 memcpy(led_info, pdc_result2, len); in pdc_chassis_info()
/linux/drivers/video/backlight/
H A Dadp8860_bl.c222 struct led_info *cur_led; in adp8860_led_probe()
H A Dadp8870_bl.c245 struct led_info *cur_led; in adp8870_led_probe()