/drivers/clocksource/ |
H A D | cyclone.c | 94 u32 old = readl(cyclone_timer); local 100 if (readl(cyclone_timer) == old) {
|
/drivers/gpu/drm/ |
H A D | drm_lock.c | 187 unsigned int old, new, prev; local 192 old = *lock; 193 if (old & _DRM_LOCK_HELD) 194 new = old | _DRM_LOCK_CONT; 200 prev = cmpxchg(lock, old, new); 201 } while (prev != old); 204 if (_DRM_LOCKING_CONTEXT(old) == context) { 205 if (old & _DRM_LOCK_HELD) { 236 unsigned int old, new, prev; local 241 old 261 unsigned int old, new, prev; local 302 unsigned int old, new, prev; local 353 unsigned int old, prev; local [all...] |
H A D | drm_context.c | 226 * \param old old context handle. 232 static int drm_context_switch(struct drm_device * dev, int old, int new) argument 239 DRM_DEBUG("Context switch from %d to %d\n", old, new);
|
H A D | drm_mm.c | 432 void drm_mm_replace_node(struct drm_mm_node *old, struct drm_mm_node *new) argument 434 list_replace(&old->node_list, &new->node_list); 435 list_replace(&old->hole_stack, &new->hole_stack); 436 new->hole_follows = old->hole_follows; 437 new->mm = old->mm; 438 new->start = old->start; 439 new->size = old->size; 441 old->allocated = 0;
|
/drivers/input/keyboard/ |
H A D | maple_keyb.c | 44 unsigned char old[8]; member in struct:dc_kbd 110 ptr = memchr(kbd->new + 2, kbd->old[i], 6); 111 code = kbd->old[i]; 122 ptr = memchr(kbd->old + 2, kbd->new[i], 6); 136 memcpy(kbd->old, kbd->new, 8);
|
H A D | jornada680_kbd.c | 86 unsigned char old = jornadakbd->old_scan[i]; local 87 unsigned int xor = new ^ old;
|
/drivers/parport/ |
H A D | parport_atari.c | 79 unsigned char old = parport_atari_read_control(p); local 80 parport_atari_write_control(p, (old & ~mask) ^ val); 81 return old;
|
H A D | ieee1284.c | 799 long int old = dev->timeout; local 806 return old;
|
H A D | parport_amiga.c | 5 * This is a complete rewrite of the code, but based heaviy upon the old 90 unsigned char old; local 93 old = amiga_read_control(p); 94 amiga_write_control(p, (old & ~mask) ^ val); 95 return old;
|
/drivers/usb/misc/ |
H A D | trancevibrator.c | 63 int temp, retval, old; local 70 old = tv->speed; 82 tv->speed = old;
|
/drivers/ide/ |
H A D | trm290.c | 281 u16 new, old, compat = hwif->channel ? 0x374 : 0x3f4; local 286 old = inw(hwif->config_data); 287 old &= ~1; 288 old_mask = inb(old + 2); 289 if (old != compat && old_mask == 0xff) { 296 "old=0x%04x, new=0x%04x\n", 297 hwif->name, old, new & ~1);
|
H A D | ns87415.c | 126 unsigned int bit, other, new, *old = (unsigned int *) hwif->select_data; local 130 new = *old; 145 if (new != *old) { 158 *old = new;
|
/drivers/input/ |
H A D | ff-core.c | 110 struct ff_effect *old; local 150 old = NULL; 159 old = &ff->effects[id]; 161 if (!check_effects_compatible(effect, old)) { 167 ret = ff->upload(dev, effect, old);
|
/drivers/input/joystick/iforce/ |
H A D | iforce-main.c | 130 static int iforce_upload_effect(struct input_dev *dev, struct ff_effect *effect, struct ff_effect *old) argument 148 ret = iforce_upload_periodic(iforce, effect, old); 152 ret = iforce_upload_constant(iforce, effect, old); 157 ret = iforce_upload_condition(iforce, effect, old);
|
H A D | iforce-ff.c | 201 struct ff_effect *old, 214 ret |= old->u.condition[i].right_saturation != new->u.condition[i].right_saturation 215 || old->u.condition[i].left_saturation != new->u.condition[i].left_saturation 216 || old->u.condition[i].right_coeff != new->u.condition[i].right_coeff 217 || old->u.condition[i].left_coeff != new->u.condition[i].left_coeff 218 || old->u.condition[i].deadband != new->u.condition[i].deadband 219 || old->u.condition[i].center != new->u.condition[i].center; 229 struct ff_effect *old, 238 return old->u.constant.level != effect->u.constant.level; 245 static int need_envelope_modifier(struct iforce *iforce, struct ff_effect *old, argument 200 need_condition_modifier(struct iforce *iforce, struct ff_effect *old, struct ff_effect *new) argument 228 need_magnitude_modifier(struct iforce *iforce, struct ff_effect *old, struct ff_effect *effect) argument 277 need_period_modifier(struct iforce *iforce, struct ff_effect *old, struct ff_effect *new) argument 295 need_core(struct ff_effect *old, struct ff_effect *new) argument 357 iforce_upload_periodic(struct iforce *iforce, struct ff_effect *effect, struct ff_effect *old) argument 428 iforce_upload_constant(struct iforce *iforce, struct ff_effect *effect, struct ff_effect *old) argument 484 iforce_upload_condition(struct iforce *iforce, struct ff_effect *effect, struct ff_effect *old) argument [all...] |
/drivers/lguest/ |
H A D | lguest_user.c | 52 * we'll continue to use the old array and just won't see the new one. 81 * We allocate a brand new one-larger array, copy the old one and add our new 83 * That's the easy part: now we need to free the old one, but we need to make 86 * moved on to know it's no longer using the old one. 92 struct lg_eventfd_map *new, *old = lg->eventfds; local 102 * Replace the old array with the new one, carefully: others can 105 new = kmalloc(sizeof(*new) + sizeof(new->map[0]) * (old->num + 1), 111 memcpy(new->map, old->map, sizeof(old->map[0]) * old [all...] |
/drivers/md/ |
H A D | dm-snap-transient.c | 33 chunk_t old, chunk_t new), 140 DMWARN("Unable to register old-style transient " 31 transient_read_metadata(struct dm_exception_store *store, int (*callback)(void *callback_context, chunk_t old, chunk_t new), void *callback_context) argument
|
/drivers/media/video/ |
H A D | v4l2-event.c | 198 static void ctrls_replace(struct v4l2_event *old, const struct v4l2_event *new) argument 200 u32 old_changes = old->u.ctrl.changes; 202 old->u.ctrl = new->u.ctrl; 203 old->u.ctrl.changes |= old_changes; 206 static void ctrls_merge(const struct v4l2_event *old, struct v4l2_event *new) argument 208 new->u.ctrl.changes |= old->u.ctrl.changes;
|
/drivers/net/tokenring/ |
H A D | skisa.c | 100 unsigned char old, chk1, chk2; local 105 old = inb(ioaddr + SIFADR); /* Get the old SIFADR value */ 130 outb(old, ioaddr + SIFADR);
|
/drivers/staging/echo/ |
H A D | echo.c | 399 int new, old; local 401 /* efficient "out with the old and in with the new" algorithm so 405 old = (int)ec->fir_state.history[ec->fir_state.curr_pos] * 408 ((new - old) + (1 << (ec->log2taps - 1))) >> ec->log2taps;
|
/drivers/usb/dwc3/ |
H A D | core.c | 79 int old; local 81 old = test_and_set_bit(id, dwc3_devs); 82 if (old)
|
/drivers/firewire/ |
H A D | core-iso.c | 208 int try, new, old = allocate ? BANDWIDTH_AVAILABLE_INITIAL : 0; local 217 new = allocate ? old - bandwidth : old + bandwidth; 221 data[0] = cpu_to_be32(old); 232 if (be32_to_cpup(data) == old) 235 old = be32_to_cpup(data); 246 __be32 bit, all, old; local 250 old = all = allocate ? cpu_to_be32(~0) : 0; 259 if ((old & bit) != (all & bit)) 262 data[0] = old; [all...] |
/drivers/gpio/ |
H A D | gpio-stmpe.c | 185 u8 old = stmpe_gpio->oldregs[i][j]; local 188 if (new == old)
|
H A D | gpio-tc3589x.c | 161 u8 old = tc3589x_gpio->oldregs[i][j]; local 164 if (new == old)
|
/drivers/hid/usbhid/ |
H A D | usbkbd.c | 72 * @old: data received in the past from the @irq URB representing which 96 unsigned char old[8]; member in struct:usb_kbd 135 if (kbd->old[i] > 3 && memscan(kbd->new + 2, kbd->old[i], 6) == kbd->new + 8) { 136 if (usb_kbd_keycode[kbd->old[i]]) 137 input_report_key(kbd->dev, usb_kbd_keycode[kbd->old[i]], 0); 141 kbd->old[i]); 144 if (kbd->new[i] > 3 && memscan(kbd->old + 2, kbd->new[i], 6) == kbd->old + 8) { 156 memcpy(kbd->old, kb [all...] |