/drivers/staging/lustre/include/linux/libcfs/ |
H A D | libcfs_prim.h | 73 int old = memory_pressure_get(); local 75 if (!old) 77 return old; 80 static inline void cfs_memory_pressure_restore(int old) argument 82 if (old)
|
/drivers/gpu/host1x/hw/ |
H A D | syncpt_hw.c | 60 u32 old, live; local 64 old = host1x_syncpt_read_min(sp); 66 } while ((u32)atomic_cmpxchg(&sp->min_val, old, live) != old);
|
/drivers/gpu/drm/ |
H A D | drm_lock.c | 183 unsigned int old, new, prev; local 188 old = *lock; 189 if (old & _DRM_LOCK_HELD) 190 new = old | _DRM_LOCK_CONT; 196 prev = cmpxchg(lock, old, new); 197 } while (prev != old); 200 if (_DRM_LOCKING_CONTEXT(old) == context) { 201 if (old & _DRM_LOCK_HELD) { 232 unsigned int old, new, prev; local 237 old 257 unsigned int old, new, prev; local 299 unsigned int old, new, prev; local 350 unsigned int old, prev; local [all...] |
H A D | drm_context.c | 241 * \param old old context handle. 247 static int drm_context_switch(struct drm_device * dev, int old, int new) argument 254 DRM_DEBUG("Context switch from %d to %d\n", old, new);
|
H A D | drm_probe_helper.c | 305 const char *old, *new; local 307 old = drm_get_connector_status_name(old_status); 314 old, new);
|
/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);
|
/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 73 unsigned char old; local 76 old = amiga_read_control(p); 77 amiga_write_control(p, (old & ~mask) ^ val); 78 return old;
|
/drivers/staging/lustre/lustre/libcfs/linux/ |
H A D | linux-prim.c | 131 sigset_t old; local 134 old = current->blocked; 139 return old; 145 sigset_t old; local 148 old = current->blocked; 152 return old; 159 sigset_t old; local 162 old = current->blocked; 167 return old; 171 cfs_restore_sigs (sigset_t old) argument [all...] |
/drivers/usb/misc/ |
H A D | trancevibrator.c | 62 int temp, retval, old; local 69 old = tv->speed; 81 tv->speed = old;
|
/drivers/clocksource/ |
H A D | sun4i_timer.c | 53 u32 old = readl(timer_base + TIMER_CNTVAL_REG(1)); local 55 while ((old - readl(timer_base + TIMER_CNTVAL_REG(1))) < TIMER_SYNC_TICKS)
|
H A D | timer-sun5i.c | 51 u32 old = readl(timer_base + TIMER_CNTVAL_LO_REG(1)); local 53 while ((old - readl(timer_base + TIMER_CNTVAL_LO_REG(1))) < TIMER_SYNC_TICKS)
|
/drivers/dma-buf/ |
H A D | reservation.c | 52 struct reservation_object_list *fobj, *old; local 55 old = reservation_object_get_list(obj); 57 if (old && old->shared_max) { 58 if (old->shared_count < old->shared_max) { 64 max = old->shared_max * 2; 125 struct reservation_object_list *old, 134 if (!old) { 143 * references from the old struc 124 reservation_object_add_shared_replace(struct reservation_object *obj, struct reservation_object_list *old, struct reservation_object_list *fobj, struct fence *fence) argument 190 struct reservation_object_list *old, *fobj = obj->staged; local 207 struct reservation_object_list *old; local [all...] |
/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);
|
/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);
|
/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/mfd/ |
H A D | ab8500-sysctrl.c | 28 sigset_t old; local 80 if (!sigprocmask(SIG_BLOCK, &all, &old)) { 84 (void)sigprocmask(SIG_SETMASK, &old, NULL);
|
/drivers/misc/echo/ |
H A D | echo.c | 413 int new, old; local 415 /* efficient "out with the old and in with the new" algorithm so 419 old = (int)ec->fir_state.history[ec->fir_state.curr_pos] * 422 ((new - old) + (1 << (ec->log2taps - 1))) >> ec->log2taps;
|
/drivers/staging/lustre/lnet/selftest/ |
H A D | timer.c | 85 stt_timer_t *old = list_entry(pos, stt_timer_t, stt_list); local 87 if (cfs_time_aftereq(timer->stt_expires, old->stt_expires))
|
/drivers/tty/serial/8250/ |
H A D | 8250_mtk.c | 41 struct ktermios *old) 49 serial8250_do_set_termios(port, termios, old); 64 baud = uart_get_baud_rate(port, termios, old, 119 mtk8250_do_pm(struct uart_port *port, unsigned int state, unsigned int old) argument 124 serial8250_do_pm(port, state, old); 40 mtk8250_set_termios(struct uart_port *port, struct ktermios *termios, struct ktermios *old) argument
|
/drivers/firewire/ |
H A D | core-iso.c | 238 int try, new, old = allocate ? BANDWIDTH_AVAILABLE_INITIAL : 0; local 247 new = allocate ? old - bandwidth : old + bandwidth; 251 data[0] = cpu_to_be32(old); 262 if (be32_to_cpup(data) == old) 265 old = be32_to_cpup(data); 276 __be32 bit, all, old; local 280 old = all = allocate ? cpu_to_be32(~0) : 0; 289 if ((old & bit) != (all & bit)) 292 data[0] = old; [all...] |
/drivers/gpio/ |
H A D | gpio-tc3589x.c | 153 u8 old = tc3589x_gpio->oldregs[i][j]; local 156 if (new == old)
|