Home
last modified time | relevance | path

Searched refs:new_bd (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/video/backlight/
Dbacklight.c409 struct backlight_device *new_bd; in backlight_device_register() local
414 new_bd = kzalloc(sizeof(struct backlight_device), GFP_KERNEL); in backlight_device_register()
415 if (!new_bd) in backlight_device_register()
418 mutex_init(&new_bd->update_lock); in backlight_device_register()
419 mutex_init(&new_bd->ops_lock); in backlight_device_register()
421 new_bd->dev.class = backlight_class; in backlight_device_register()
422 new_bd->dev.parent = parent; in backlight_device_register()
423 new_bd->dev.release = bl_device_release; in backlight_device_register()
424 dev_set_name(&new_bd->dev, "%s", name); in backlight_device_register()
425 dev_set_drvdata(&new_bd->dev, devdata); in backlight_device_register()
[all …]
/linux-6.1.9/drivers/net/ethernet/freescale/
Dgianfar.c1737 struct txbd8 *new_bd = bdp + stride; in skip_txbd() local
1739 return (new_bd >= (base + ring_size)) ? (new_bd - ring_size) : new_bd; in skip_txbd()