/drivers/hid/ |
D | hid-steelseries.c | 230 size_t name_sz; in steelseries_srws1_probe() local 266 name_sz = strlen(hdev->uniq) + 16; in steelseries_srws1_probe() 269 led = kzalloc(sizeof(struct led_classdev)+name_sz, GFP_KERNEL); in steelseries_srws1_probe() 276 snprintf(name, name_sz, "SRWS1::%s::RPMALL", hdev->uniq); in steelseries_srws1_probe() 290 led = kzalloc(sizeof(struct led_classdev)+name_sz, GFP_KERNEL); in steelseries_srws1_probe() 297 snprintf(name, name_sz, "SRWS1::%s::RPM%d", hdev->uniq, i+1); in steelseries_srws1_probe()
|
D | hid-corsair.c | 427 size_t name_sz; in k90_init_backlight() local 436 name_sz = in k90_init_backlight() 438 name = kzalloc(name_sz, GFP_KERNEL); in k90_init_backlight() 443 snprintf(name, name_sz, "%s" K90_BACKLIGHT_LED_SUFFIX, in k90_init_backlight() 471 size_t name_sz; in k90_init_macro_functions() local 482 name_sz = strlen(dev_name(&dev->dev)) + sizeof(K90_RECORD_LED_SUFFIX); in k90_init_macro_functions() 483 name = kzalloc(name_sz, GFP_KERNEL); in k90_init_macro_functions() 488 snprintf(name, name_sz, "%s" K90_RECORD_LED_SUFFIX, in k90_init_macro_functions()
|
D | hid-picolcd_leds.c | 100 size_t name_sz = strlen(dev_name(dev)) + 8; in picolcd_init_leds() local 113 led = kzalloc(sizeof(struct led_classdev)+name_sz, GFP_KERNEL); in picolcd_init_leds() 120 snprintf(name, name_sz, "%s::GPO%d", dev_name(dev), i); in picolcd_init_leds()
|
D | hid-gt683r.c | 228 int name_sz; in gt683r_led_probe() local 256 name_sz = strlen(dev_name(&hdev->dev)) + in gt683r_led_probe() 259 name = devm_kzalloc(&hdev->dev, name_sz, GFP_KERNEL); in gt683r_led_probe() 265 snprintf(name, name_sz, "%s::%s", in gt683r_led_probe()
|
D | hid-bigbenff.c | 376 size_t name_sz; in bigben_probe() local 422 name_sz = strlen(dev_name(&hid->dev)) + strlen(":red:bigben#") + 1; in bigben_probe() 427 sizeof(struct led_classdev) + name_sz, in bigben_probe() 435 snprintf(name, name_sz, in bigben_probe()
|
D | hid-sony.c | 1494 size_t name_sz; in sony_register_touchpad() local 1514 name_sz = strlen(sc->hdev->name) + sizeof(DS4_TOUCHPAD_SUFFIX); in sony_register_touchpad() 1515 name = devm_kzalloc(&sc->hdev->dev, name_sz, GFP_KERNEL); in sony_register_touchpad() 1518 snprintf(name, name_sz, "%s" DS4_TOUCHPAD_SUFFIX, sc->hdev->name); in sony_register_touchpad() 1557 size_t name_sz; in sony_register_sensors() local 1578 name_sz = strlen(sc->hdev->name) + sizeof(SENSOR_SUFFIX); in sony_register_sensors() 1579 name = devm_kzalloc(&sc->hdev->dev, name_sz, GFP_KERNEL); in sony_register_sensors() 1582 snprintf(name, name_sz, "%s" SENSOR_SUFFIX, sc->hdev->name); in sony_register_sensors() 2115 size_t name_sz; in sony_leds_init() local 2174 name_sz = strlen(dev_name(&hdev->dev)) + name_len + 1; in sony_leds_init() [all …]
|
D | hid-lenovo.c | 889 size_t name_sz = strlen(dev_name(&hdev->dev)) + 16; in lenovo_register_leds() local 893 name_mute = devm_kzalloc(&hdev->dev, name_sz, GFP_KERNEL); in lenovo_register_leds() 894 name_micm = devm_kzalloc(&hdev->dev, name_sz, GFP_KERNEL); in lenovo_register_leds() 899 snprintf(name_mute, name_sz, "%s:amber:mute", dev_name(&hdev->dev)); in lenovo_register_leds() 900 snprintf(name_micm, name_sz, "%s:amber:micmute", dev_name(&hdev->dev)); in lenovo_register_leds()
|
D | hid-lg4ff.c | 1402 size_t name_sz; in lg4ff_init() local 1407 name_sz = strlen(dev_name(&hid->dev)) + 8; in lg4ff_init() 1410 led = kzalloc(sizeof(struct led_classdev)+name_sz, GFP_KERNEL); in lg4ff_init() 1417 snprintf(name, name_sz, "%s::RPM%d", dev_name(&hid->dev), j+1); in lg4ff_init()
|
/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_common.c | 626 const char *format, char *name, size_t name_sz, in nfp_net_aux_irq_request() argument 634 snprintf(name, name_sz, format, nfp_net_name(nn)); in nfp_net_aux_irq_request()
|