Searched refs:newdev (Results 1 – 10 of 10) sorted by relevance
/linux/kernel/time/ |
A D | tick-common.c | 252 td->evtdev = newdev; in tick_setup_device() 259 irq_set_affinity(newdev->irq, cpumask); in tick_setup_device() 268 if (tick_device_uses_broadcast(newdev, cpu)) in tick_setup_device() 272 tick_setup_periodic(newdev, 0); in tick_setup_device() 291 if (!cpumask_test_cpu(cpu, newdev->cpumask)) in tick_check_percpu() 296 if (newdev->irq >= 0 && !irq_can_set_affinity(newdev->irq)) in tick_check_percpu() 305 struct clock_event_device *newdev) in tick_check_preferred() argument 320 newdev->rating > curdev->rating || in tick_check_preferred() 329 struct clock_event_device *newdev) in tick_check_replacement() argument 354 if (!try_module_get(newdev->owner)) in tick_check_new_device() [all …]
|
A D | tick-broadcast.c | 86 struct clock_event_device *newdev) in tick_check_broadcast_device() argument 88 if ((newdev->features & CLOCK_EVT_FEAT_DUMMY) || in tick_check_broadcast_device() 89 (newdev->features & CLOCK_EVT_FEAT_PERCPU) || in tick_check_broadcast_device() 90 (newdev->features & CLOCK_EVT_FEAT_C3STOP)) in tick_check_broadcast_device() 94 !(newdev->features & CLOCK_EVT_FEAT_ONESHOT)) in tick_check_broadcast_device() 120 if (!newdev) in tick_set_oneshot_wakeup_device() 123 if ((newdev->features & CLOCK_EVT_FEAT_DUMMY) || in tick_set_oneshot_wakeup_device() 124 (newdev->features & CLOCK_EVT_FEAT_C3STOP)) in tick_set_oneshot_wakeup_device() 134 if (curdev && newdev->rating <= curdev->rating) in tick_set_oneshot_wakeup_device() 137 if (!try_module_get(newdev->owner)) in tick_set_oneshot_wakeup_device() [all …]
|
A D | tick-oneshot.c | 61 void tick_setup_oneshot(struct clock_event_device *newdev, in tick_setup_oneshot() argument 65 newdev->event_handler = handler; in tick_setup_oneshot() 66 clockevents_switch_state(newdev, CLOCK_EVT_STATE_ONESHOT); in tick_setup_oneshot() 67 clockevents_program_event(newdev, next_event, true); in tick_setup_oneshot()
|
A D | clockevents.c | 360 struct clock_event_device *dev, *newdev = NULL; in clockevents_replace() local 366 if (!tick_check_replacement(newdev, dev)) in clockevents_replace() 372 if (newdev) in clockevents_replace() 373 module_put(newdev->owner); in clockevents_replace() 374 newdev = dev; in clockevents_replace() 376 if (newdev) { in clockevents_replace() 377 tick_install_replacement(newdev); in clockevents_replace() 380 return newdev ? 0 : -EBUSY; in clockevents_replace()
|
A D | tick-internal.h | 27 struct clock_event_device *newdev); 100 extern void tick_setup_oneshot(struct clock_event_device *newdev, 114 void tick_setup_oneshot(struct clock_event_device *newdev, in tick_setup_oneshot() argument
|
/linux/drivers/parport/ |
A D | daisy.c | 53 struct daisydev *newdev, **p; in add_dev() local 54 newdev = kmalloc(sizeof(struct daisydev), GFP_KERNEL); in add_dev() 55 if (newdev) { in add_dev() 56 newdev->port = port; in add_dev() 57 newdev->daisy = daisy; in add_dev() 58 newdev->devnum = devnum; in add_dev() 62 newdev->next = *p; in add_dev() 63 *p = newdev; in add_dev()
|
/linux/drivers/i3c/ |
A D | master.c | 1863 if (IS_ERR(newdev)) in i3c_master_add_i3c_dev_locked() 1864 return PTR_ERR(newdev); in i3c_master_add_i3c_dev_locked() 1878 newdev->dev = olddev->dev; in i3c_master_add_i3c_dev_locked() 1879 if (newdev->dev) in i3c_master_add_i3c_dev_locked() 1880 newdev->dev->desc = newdev; in i3c_master_add_i3c_dev_locked() 1925 else if (newdev->boardinfo && newdev->boardinfo->init_dyn_addr) in i3c_master_add_i3c_dev_locked() 1936 newdev->info.dyn_addr, in i3c_master_add_i3c_dev_locked() 1957 mutex_lock(&newdev->ibi_lock); in i3c_master_add_i3c_dev_locked() 1976 if (newdev->dev && newdev->dev->desc) in i3c_master_add_i3c_dev_locked() 1977 newdev->dev->desc = NULL; in i3c_master_add_i3c_dev_locked() [all …]
|
/linux/drivers/i2c/busses/ |
A D | i2c-powermac.c | 234 struct i2c_client *newdev; in i2c_powermac_create_one() local 238 newdev = i2c_new_client_device(adap, &info); in i2c_powermac_create_one() 239 if (IS_ERR(newdev)) in i2c_powermac_create_one() 311 struct i2c_client *newdev; in i2c_powermac_register_devices() local 356 newdev = i2c_new_client_device(adap, &info); in i2c_powermac_register_devices() 357 if (IS_ERR(newdev)) { in i2c_powermac_register_devices()
|
/linux/drivers/input/misc/ |
A D | uinput.c | 379 struct uinput_device *newdev; in uinput_open() local 381 newdev = kzalloc(sizeof(struct uinput_device), GFP_KERNEL); in uinput_open() 382 if (!newdev) in uinput_open() 385 mutex_init(&newdev->mutex); in uinput_open() 386 spin_lock_init(&newdev->requests_lock); in uinput_open() 387 init_waitqueue_head(&newdev->requests_waitq); in uinput_open() 388 init_waitqueue_head(&newdev->waitq); in uinput_open() 389 newdev->state = UIST_NEW_DEVICE; in uinput_open() 391 file->private_data = newdev; in uinput_open()
|
/linux/drivers/md/ |
A D | md.c | 3694 static struct md_rdev *md_import_device(dev_t newdev, int super_format, int super_minor) in md_import_device() argument 3712 err = lock_rdev(rdev, newdev, super_format == -2); in md_import_device()
|
Completed in 33 milliseconds