Searched refs:new_bd (Results 1 – 2 of 2) sorted by relevance
414 struct backlight_device *new_bd; in backlight_device_register() local419 new_bd = kzalloc(sizeof(struct backlight_device), GFP_KERNEL); in backlight_device_register()420 if (!new_bd) in backlight_device_register()423 mutex_init(&new_bd->update_lock); in backlight_device_register()424 mutex_init(&new_bd->ops_lock); in backlight_device_register()426 new_bd->dev.class = &backlight_class; in backlight_device_register()427 new_bd->dev.parent = parent; in backlight_device_register()428 new_bd->dev.release = bl_device_release; in backlight_device_register()429 dev_set_name(&new_bd->dev, "%s", name); in backlight_device_register()430 dev_set_drvdata(&new_bd->dev, devdata); in backlight_device_register()[all …]
1739 struct txbd8 *new_bd = bdp + stride; in skip_txbd() local1741 return (new_bd >= (base + ring_size)) ? (new_bd - ring_size) : new_bd; in skip_txbd()