/include/asm-generic/ |
H A D | termios-base.h | 17 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 D | termios.h | 22 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 D | rwsem.h | 42 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 D | uaccess.h | 282 char *tmp; local 284 for (tmp = dst; *tmp && count > 0; tmp++, count--) 286 return (tmp - dst);
|
/include/linux/unaligned/ |
H A D | memmove.h | 11 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 D | nls.h | 98 char tmp[NLS_MAX_CHARSET_SIZE]; local 100 charlen = codepage->uni2char(0, tmp, NLS_MAX_CHARSET_SIZE);
|
H A D | rbtree_augmented.h | 140 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 D | clocksource.h | 233 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 D | clockchips.h | 142 uint64_t tmp = ((uint64_t)ticks) << shift; local 144 do_div(tmp, nsec); 145 return (unsigned long) tmp;
|
H A D | ata.h | 884 u16 tmp = dev_id[ATA_ID_CONFIG] & 0x3; local 885 switch (tmp) {
|
H A D | skbuff.h | 1674 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 D | ieee80211.h | 272 __le16 tmp = cpu_to_le16(IEEE80211_FCTL_TODS | IEEE80211_FCTL_FROMDS); local 273 return (fc & tmp) == tmp;
|
/include/drm/ |
H A D | drm_fixed.h | 64 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 D | adis.h | 124 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 D | da9052.h | 152 unsigned int tmp; local 156 ret = regmap_read(da9052->regmap, reg + i, &tmp); 157 val[i] = (unsigned char)tmp;
|
/include/linux/mmc/ |
H A D | sh_mmcif.h | 112 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 D | netlink.h | 957 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...] |