Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 25 of 44) sorted by relevance

12

/include/soc/arc/
Daux.h36 unsigned int tmp; \
37 tmp = read_aux_reg(reg); \
38 if (sizeof(tmp) == sizeof(into)) { \
39 into = *((typeof(into) *)&tmp); \
48 unsigned int tmp; \
49 if (sizeof(tmp) == sizeof(into)) { \
50 tmp = (*(unsigned int *)&(into)); \
51 write_aux_reg(reg, tmp); \
/include/asm-generic/
Dfutex.h41 u32 tmp; in futex_atomic_op_inuser_local() local
50 tmp = oldval; in futex_atomic_op_inuser_local()
54 tmp = oparg; in futex_atomic_op_inuser_local()
57 tmp += oparg; in futex_atomic_op_inuser_local()
60 tmp |= oparg; in futex_atomic_op_inuser_local()
63 tmp &= ~oparg; in futex_atomic_op_inuser_local()
66 tmp ^= oparg; in futex_atomic_op_inuser_local()
72 if (ret == 0 && unlikely(put_user(tmp, uaddr) != 0)) in futex_atomic_op_inuser_local()
Ddiv64.h178 uint32_t res_lo, res_hi, tmp; in __arch_xprod_64() local
199 tmp = res >> 32; in __arch_xprod_64()
202 res_hi = (res_lo < tmp); in __arch_xprod_64()
/include/net/caif/
Dcfpkt.h37 u8 tmp; in cfpkt_extr_head_u8() local
39 cfpkt_extr_head(pkt, &tmp, 1); in cfpkt_extr_head_u8()
41 return tmp; in cfpkt_extr_head_u8()
46 __le16 tmp; in cfpkt_extr_head_u16() local
48 cfpkt_extr_head(pkt, &tmp, 2); in cfpkt_extr_head_u16()
50 return le16_to_cpu(tmp); in cfpkt_extr_head_u16()
55 __le32 tmp; in cfpkt_extr_head_u32() local
57 cfpkt_extr_head(pkt, &tmp, 4); in cfpkt_extr_head_u32()
59 return le32_to_cpu(tmp); in cfpkt_extr_head_u32()
/include/net/
Dnetlink.h1352 u8 tmp = value; in nla_put_u8() local
1354 return nla_put(skb, attrtype, sizeof(u8), &tmp); in nla_put_u8()
1365 u16 tmp = value; in nla_put_u16() local
1367 return nla_put(skb, attrtype, sizeof(u16), &tmp); in nla_put_u16()
1378 __be16 tmp = value; in nla_put_be16() local
1380 return nla_put(skb, attrtype, sizeof(__be16), &tmp); in nla_put_be16()
1391 __be16 tmp = value; in nla_put_net16() local
1393 return nla_put_be16(skb, attrtype | NLA_F_NET_BYTEORDER, tmp); in nla_put_net16()
1404 __le16 tmp = value; in nla_put_le16() local
1406 return nla_put(skb, attrtype, sizeof(__le16), &tmp); in nla_put_le16()
[all …]
Dbonding.h404 struct slave *tmp; in bond_slave_state_change() local
406 bond_for_each_slave(bond, tmp, iter) { in bond_slave_state_change()
407 if (tmp->link == BOND_LINK_UP) in bond_slave_state_change()
408 bond_set_active_slave(tmp); in bond_slave_state_change()
409 else if (tmp->link == BOND_LINK_DOWN) in bond_slave_state_change()
410 bond_set_backup_slave(tmp); in bond_slave_state_change()
417 struct slave *tmp; in bond_slave_state_notify() local
419 bond_for_each_slave(bond, tmp, iter) { in bond_slave_state_notify()
420 if (tmp->should_notify) { in bond_slave_state_notify()
421 bond_lower_state_changed(tmp); in bond_slave_state_notify()
[all …]
/include/linux/
Drbtree_augmented.h228 struct rb_node *tmp = node->rb_left; in __rb_erase_augmented() local
232 if (!tmp) { in __rb_erase_augmented()
248 tmp = parent; in __rb_erase_augmented()
251 tmp->__rb_parent_color = pc = node->__rb_parent_color; in __rb_erase_augmented()
253 __rb_change_child(node, tmp, parent, root); in __rb_erase_augmented()
255 tmp = parent; in __rb_erase_augmented()
259 tmp = child->rb_left; in __rb_erase_augmented()
260 if (!tmp) { in __rb_erase_augmented()
291 successor = tmp; in __rb_erase_augmented()
292 tmp = tmp->rb_left; in __rb_erase_augmented()
[all …]
Dfixp-arith.h117 s64 tmp; in fixp_sin32_rad() local
125 tmp = radians - (degrees * twopi) / 360; in fixp_sin32_rad()
135 tmp *= dy; in fixp_sin32_rad()
137 return v1 + div_s64(tmp, dx); in fixp_sin32_rad()
Didr.h201 #define idr_for_each_entry_ul(idr, entry, tmp, id) \ argument
202 for (tmp = 0, id = 0; \
203 ((entry) = tmp <= id ? idr_get_next_ul(idr, &(id)) : NULL) != NULL; \
204 tmp = id, ++id)
230 #define idr_for_each_entry_continue_ul(idr, entry, tmp, id) \ argument
231 for (tmp = id; \
232 ((entry) = tmp <= id ? idr_get_next_ul(idr, &(id)) : NULL) != NULL; \
233 tmp = id, ++id)
Dacct.h76 u64 tmp = (u64)x * TICK_NSEC; in jiffies_to_AHZ()
77 do_div(tmp, (NSEC_PER_SEC / AHZ)); in jiffies_to_AHZ()
78 return (long)tmp; in jiffies_to_AHZ()
Dktime.h137 u64 tmp = ns < 0 ? -ns : ns; in ktime_divns() local
139 do_div(tmp, div); in ktime_divns()
140 return ns < 0 ? -tmp : tmp; in ktime_divns()
Dhashtable.h152 #define hash_for_each_safe(name, bkt, tmp, obj, member) \ argument
155 hlist_for_each_entry_safe(obj, tmp, &name[bkt], member)
204 #define hash_for_each_possible_safe(name, obj, tmp, member, key) \ argument
205 hlist_for_each_entry_safe(obj, tmp,\
Dresource_ext.h66 #define resource_list_for_each_entry_safe(entry, tmp, list) \ argument
67 list_for_each_entry_safe((entry), (tmp), (list), node)
Dclockchips.h174 u64 tmp = ((u64)ticks) << shift; in div_sc() local
176 do_div(tmp, nsec); in div_sc()
178 return (unsigned long) tmp; in div_sc()
Dclocksource.h164 u64 tmp = ((u64)from) << shift_constant; in clocksource_freq2mult() local
166 tmp += freq/2; /* round for do_div */ in clocksource_freq2mult()
167 do_div(tmp, freq); in clocksource_freq2mult()
169 return (u32)tmp; in clocksource_freq2mult()
Dpgalloc_tag.h115 union codetag_ref *tmp; in get_page_tag_ref() local
121 tmp = (union codetag_ref *)page_ext_data(page_ext, &page_alloc_tagging_ops); in get_page_tag_ref()
122 ref->ct = tmp->ct; in get_page_tag_ref()
123 handle->ref = tmp; in get_page_tag_ref()
Ddmar.h97 #define for_each_dev_scope(devs, cnt, i, tmp) \ argument
98 for ((i) = 0; ((tmp) = (i) < (cnt) ? \
102 #define for_each_active_dev_scope(devs, cnt, i, tmp) \ argument
103 for_each_dev_scope((devs), (cnt), (i), (tmp)) \
104 if (!(tmp)) { continue; } else
Dnls.h99 char tmp[NLS_MAX_CHARSET_SIZE]; in nls_nullsize() local
101 charlen = codepage->uni2char(0, tmp, NLS_MAX_CHARSET_SIZE); in nls_nullsize()
/include/crypto/internal/
Ddes.h28 struct des_ctx tmp; in crypto_des_verify_key() local
31 err = des_expand_key(&tmp, key, DES_KEY_SIZE); in crypto_des_verify_key()
38 memzero_explicit(&tmp, sizeof(tmp)); in crypto_des_verify_key()
/include/linux/iio/imu/
Dadis.h208 unsigned int tmp; in __adis_read_reg_16() local
211 ret = __adis_read_reg(adis, reg, &tmp, 2); in __adis_read_reg_16()
213 *val = tmp; in __adis_read_reg_16()
227 unsigned int tmp; in __adis_read_reg_32() local
230 ret = __adis_read_reg(adis, reg, &tmp, 4); in __adis_read_reg_32()
232 *val = tmp; in __adis_read_reg_32()
310 unsigned int tmp; in adis_read_reg_16() local
313 ret = adis_read_reg(adis, reg, &tmp, 2); in adis_read_reg_16()
315 *val = tmp; in adis_read_reg_16()
329 unsigned int tmp; in adis_read_reg_32() local
[all …]
/include/linux/platform_data/
Dsh_mmcif.h101 unsigned long tmp; in sh_mmcif_boot_cmd_poll() local
105 tmp = sh_mmcif_readl(base, MMCIF_CE_INT); in sh_mmcif_boot_cmd_poll()
106 if (tmp & mask) { in sh_mmcif_boot_cmd_poll()
107 sh_mmcif_writel(base, MMCIF_CE_INT, tmp & ~mask); in sh_mmcif_boot_cmd_poll()
/include/drm/
Ddrm_fixed.h66 u64 tmp = ((u64)A.full << 13); in dfixed_div() local
68 do_div(tmp, B.full); in dfixed_div()
69 tmp += 1; in dfixed_div()
70 tmp /= 2; in dfixed_div()
71 return lower_32_bits(tmp); in dfixed_div()
/include/drm/ttm/
Dttm_caching.h55 pgprot_t ttm_prot_from_caching(enum ttm_caching caching, pgprot_t tmp);
/include/net/netfilter/
Dnf_conntrack_zones.h30 struct nf_conntrack_zone *tmp) in nf_ct_zone_tmpl() argument
37 return nf_ct_zone_init(tmp, skb->mark, tmpl->zone.dir, 0); in nf_ct_zone_tmpl()
/include/linux/mfd/da9052/
Dda9052.h144 unsigned int tmp; in da9052_group_read() local
148 ret = regmap_read(da9052->regmap, reg + i, &tmp); in da9052_group_read()
149 val[i] = (unsigned char)tmp; in da9052_group_read()

12