Searched refs:new_bd (Results 1 – 2 of 2) sorted by relevance
409 struct backlight_device *new_bd; in backlight_device_register() local415 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()422 new_bd->dev.parent = parent; in backlight_device_register()429 memcpy(&new_bd->props, props, in backlight_device_register()441 put_device(&new_bd->dev); in backlight_device_register()447 device_unregister(&new_bd->dev); in backlight_device_register()451 new_bd->ops = ops; in backlight_device_register()456 pmac_backlight = new_bd; in backlight_device_register()[all …]
1737 struct txbd8 *new_bd = bdp + stride; in skip_txbd() local1739 return (new_bd >= (base + ring_size)) ? (new_bd - ring_size) : new_bd; in skip_txbd()
Completed in 13 milliseconds