Home
last modified time | relevance | path

Searched refs:name_sz (Results 1 – 9 of 9) sorted by relevance

/drivers/hid/
Dhid-steelseries.c230 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()
Dhid-corsair.c427 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()
Dhid-picolcd_leds.c100 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()
Dhid-gt683r.c228 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()
Dhid-bigbenff.c376 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()
Dhid-sony.c1494 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 …]
Dhid-lenovo.c889 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()
Dhid-lg4ff.c1402 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/
Dnfp_net_common.c626 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()