new_bd 1761 drivers/net/ethernet/freescale/gianfar.c struct txbd8 *new_bd = bdp + stride; new_bd 1763 drivers/net/ethernet/freescale/gianfar.c return (new_bd >= (base + ring_size)) ? (new_bd - ring_size) : new_bd; new_bd 355 drivers/video/backlight/backlight.c struct backlight_device *new_bd; new_bd 360 drivers/video/backlight/backlight.c new_bd = kzalloc(sizeof(struct backlight_device), GFP_KERNEL); new_bd 361 drivers/video/backlight/backlight.c if (!new_bd) new_bd 364 drivers/video/backlight/backlight.c mutex_init(&new_bd->update_lock); new_bd 365 drivers/video/backlight/backlight.c mutex_init(&new_bd->ops_lock); new_bd 367 drivers/video/backlight/backlight.c new_bd->dev.class = backlight_class; new_bd 368 drivers/video/backlight/backlight.c new_bd->dev.parent = parent; new_bd 369 drivers/video/backlight/backlight.c new_bd->dev.release = bl_device_release; new_bd 370 drivers/video/backlight/backlight.c dev_set_name(&new_bd->dev, "%s", name); new_bd 371 drivers/video/backlight/backlight.c dev_set_drvdata(&new_bd->dev, devdata); new_bd 375 drivers/video/backlight/backlight.c memcpy(&new_bd->props, props, new_bd 379 drivers/video/backlight/backlight.c new_bd->props.type = BACKLIGHT_RAW; new_bd 382 drivers/video/backlight/backlight.c new_bd->props.type = BACKLIGHT_RAW; new_bd 385 drivers/video/backlight/backlight.c rc = device_register(&new_bd->dev); new_bd 387 drivers/video/backlight/backlight.c put_device(&new_bd->dev); new_bd 391 drivers/video/backlight/backlight.c rc = backlight_register_fb(new_bd); new_bd 393 drivers/video/backlight/backlight.c device_unregister(&new_bd->dev); new_bd 397 drivers/video/backlight/backlight.c new_bd->ops = ops; new_bd 402 drivers/video/backlight/backlight.c pmac_backlight = new_bd; new_bd 407 drivers/video/backlight/backlight.c list_add(&new_bd->entry, &backlight_dev_list); new_bd 411 drivers/video/backlight/backlight.c BACKLIGHT_REGISTERED, new_bd); new_bd 413 drivers/video/backlight/backlight.c return new_bd;