Searched defs:old (Results 1 - 25 of 253) sorted by relevance

1234567891011

/drivers/staging/lustre/include/linux/libcfs/
H A Dlibcfs_prim.h73 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 Dsyncpt_hw.c60 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 Ddrm_lock.c183 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 Ddrm_context.c241 * \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 Ddrm_probe_helper.c305 const char *old, *new; local
307 old = drm_get_connector_status_name(old_status);
314 old, new);
/drivers/input/keyboard/
H A Dmaple_keyb.c44 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 Dparport_atari.c79 unsigned char old = parport_atari_read_control(p); local
80 parport_atari_write_control(p, (old & ~mask) ^ val);
81 return old;
H A Dieee1284.c799 long int old = dev->timeout; local
806 return old;
H A Dparport_amiga.c5 * 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 Dlinux-prim.c131 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 Dtrancevibrator.c62 int temp, retval, old; local
69 old = tv->speed;
81 tv->speed = old;
/drivers/clocksource/
H A Dsun4i_timer.c53 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 Dtimer-sun5i.c51 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 Dreservation.c52 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 Dtrm290.c281 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 Dff-core.c110 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 Diforce-main.c130 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 Dlguest_user.c52 * 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 Ddm-snap-transient.c33 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 Dab8500-sysctrl.c28 sigset_t old; local
80 if (!sigprocmask(SIG_BLOCK, &all, &old)) {
84 (void)sigprocmask(SIG_SETMASK, &old, NULL);
/drivers/misc/echo/
H A Decho.c413 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 Dtimer.c85 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 D8250_mtk.c41 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 Dcore-iso.c238 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 Dgpio-tc3589x.c153 u8 old = tc3589x_gpio->oldregs[i][j]; local
156 if (new == old)

Completed in 1412 milliseconds

1234567891011