Searched refs:new_bd (Results 1 – 2 of 2) sorted by relevance
414 struct backlight_device *new_bd; in backlight_device_register() local420 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()427 new_bd->dev.parent = parent; in backlight_device_register()434 memcpy(&new_bd->props, props, in backlight_device_register()446 put_device(&new_bd->dev); in backlight_device_register()452 device_unregister(&new_bd->dev); in backlight_device_register()456 new_bd->ops = ops; in backlight_device_register()461 pmac_backlight = new_bd; in backlight_device_register()[all …]
1729 struct txbd8 *new_bd = bdp + stride; in skip_txbd() local1731 return (new_bd >= (base + ring_size)) ? (new_bd - ring_size) : new_bd; in skip_txbd()