Searched defs:tmp (Results 1 - 17 of 17) sorted by relevance

/include/asm-generic/
H A Dtermios-base.h17 unsigned short tmp; local
19 if (get_user(tmp, &termio->c_iflag) < 0)
21 termios->c_iflag = (0xffff0000 & termios->c_iflag) | tmp;
23 if (get_user(tmp, &termio->c_oflag) < 0)
25 termios->c_oflag = (0xffff0000 & termios->c_oflag) | tmp;
27 if (get_user(tmp, &termio->c_cflag) < 0)
29 termios->c_cflag = (0xffff0000 & termios->c_cflag) | tmp;
31 if (get_user(tmp, &termio->c_lflag) < 0)
33 termios->c_lflag = (0xffff0000 & termios->c_lflag) | tmp;
H A Dtermios.h22 unsigned short tmp; local
24 if (get_user(tmp, &termio->c_iflag) < 0)
26 termios->c_iflag = (0xffff0000 & termios->c_iflag) | tmp;
28 if (get_user(tmp, &termio->c_oflag) < 0)
30 termios->c_oflag = (0xffff0000 & termios->c_oflag) | tmp;
32 if (get_user(tmp, &termio->c_cflag) < 0)
34 termios->c_cflag = (0xffff0000 & termios->c_cflag) | tmp;
36 if (get_user(tmp, &termio->c_lflag) < 0)
38 termios->c_lflag = (0xffff0000 & termios->c_lflag) | tmp;
H A Drwsem.h42 long tmp; local
44 while ((tmp = sem->count) >= 0) {
45 if (tmp == cmpxchg(&sem->count, tmp,
46 tmp + RWSEM_ACTIVE_READ_BIAS)) {
58 long tmp; local
60 tmp = atomic_long_add_return(RWSEM_ACTIVE_WRITE_BIAS,
62 if (unlikely(tmp != RWSEM_ACTIVE_WRITE_BIAS))
73 long tmp; local
75 tmp
85 long tmp; local
115 long tmp; local
[all...]
H A Duaccess.h282 char *tmp; local
284 for (tmp = dst; *tmp && count > 0; tmp++, count--)
286 return (tmp - dst);
/include/linux/unaligned/
H A Dmemmove.h11 u16 tmp; local
12 memmove(&tmp, p, 2);
13 return tmp;
18 u32 tmp; local
19 memmove(&tmp, p, 4);
20 return tmp;
25 u64 tmp; local
26 memmove(&tmp, p, 8);
27 return tmp;
/include/linux/
H A Dnls.h98 char tmp[NLS_MAX_CHARSET_SIZE]; local
100 charlen = codepage->uni2char(0, tmp, NLS_MAX_CHARSET_SIZE);
H A Drbtree_augmented.h140 struct rb_node *child = node->rb_right, *tmp = node->rb_left; local
144 if (!tmp) {
160 tmp = parent;
163 tmp->__rb_parent_color = pc = node->__rb_parent_color;
165 __rb_change_child(node, tmp, parent, root);
167 tmp = parent;
170 tmp = child->rb_left;
171 if (!tmp) {
201 successor = tmp;
202 tmp
[all...]
H A Dclocksource.h233 u64 tmp = ((u64)1000000) << shift_constant; local
235 tmp += khz/2; /* round for do_div */
236 do_div(tmp, khz);
238 return (u32)tmp;
259 u64 tmp = ((u64)1000000000) << shift_constant; local
261 tmp += hz/2; /* round for do_div */
262 do_div(tmp, hz);
264 return (u32)tmp;
H A Dclockchips.h142 uint64_t tmp = ((uint64_t)ticks) << shift; local
144 do_div(tmp, nsec);
145 return (unsigned long) tmp;
H A Data.h884 u16 tmp = dev_id[ATA_ID_CONFIG] & 0x3; local
885 switch (tmp) {
H A Dskbuff.h1674 unsigned char *tmp = skb_tail_pointer(skb); local
1678 return tmp;
2578 #define skb_queue_walk_safe(queue, skb, tmp) \
2579 for (skb = (queue)->next, tmp = skb->next; \
2581 skb = tmp, tmp = skb->next)
2587 #define skb_queue_walk_from_safe(queue, skb, tmp) \
2588 for (tmp = skb->next; \
2590 skb = tmp, tmp
[all...]
H A Dieee80211.h272 __le16 tmp = cpu_to_le16(IEEE80211_FCTL_TODS | IEEE80211_FCTL_FROMDS); local
273 return (fc & tmp) == tmp;
/include/drm/
H A Ddrm_fixed.h64 u64 tmp = ((u64)A.full << 13); local
66 do_div(tmp, B.full);
67 tmp += 1;
68 tmp /= 2;
69 return lower_32_bits(tmp);
/include/linux/iio/imu/
H A Dadis.h124 unsigned int tmp; local
127 ret = adis_read_reg(adis, reg, &tmp, 2);
128 *val = tmp;
142 unsigned int tmp; local
145 ret = adis_read_reg(adis, reg, &tmp, 4);
146 *val = tmp;
/include/linux/mfd/da9052/
H A Dda9052.h152 unsigned int tmp; local
156 ret = regmap_read(da9052->regmap, reg + i, &tmp);
157 val[i] = (unsigned char)tmp;
/include/linux/mmc/
H A Dsh_mmcif.h112 unsigned long tmp; local
116 tmp = sh_mmcif_readl(base, MMCIF_CE_INT);
117 if (tmp & mask) {
118 sh_mmcif_writel(base, MMCIF_CE_INT, tmp & ~mask);
/include/net/
H A Dnetlink.h957 u64 tmp = jiffies_to_msecs(njiffies); local
958 return nla_put(skb, attrtype, sizeof(u64), &tmp);
1021 u64 tmp; local
1023 nla_memcpy(&tmp, nla, sizeof(tmp));
1025 return tmp;
1034 __be64 tmp; local
1036 nla_memcpy(&tmp, nla, sizeof(tmp));
1038 return tmp;
1074 s64 tmp; local
[all...]

Completed in 240 milliseconds