Home
last modified time | relevance | path

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

12

/include/soc/arc/
A Darc_aux.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/
A 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()
/include/net/caif/
A 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/linux/
A Drbtree_augmented.h232 if (!tmp) { in __rb_erase_augmented()
248 tmp = parent; 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()
293 } while (tmp); in __rb_erase_augmented()
303 tmp = node->rb_left; in __rb_erase_augmented()
308 tmp = __rb_parent(pc); in __rb_erase_augmented()
[all …]
A 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()
A 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()
A Didr.h218 #define idr_for_each_entry_ul(idr, entry, tmp, id) \ argument
219 for (tmp = 0, id = 0; \
220 ((entry) = tmp <= id ? idr_get_next_ul(idr, &(id)) : NULL) != NULL; \
221 tmp = id, ++id)
247 #define idr_for_each_entry_continue_ul(idr, entry, tmp, id) \ argument
248 for (tmp = id; \
249 ((entry) = tmp <= id ? idr_get_next_ul(idr, &(id)) : NULL) != NULL; \
250 tmp = id, ++id)
A 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()
A 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,\
A Dresource_ext.h66 #define resource_list_for_each_entry_safe(entry, tmp, list) \ argument
67 list_for_each_entry_safe((entry), (tmp), (list), node)
A 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()
A 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()
A 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()
A 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
A 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()
A Dcrash_dump.h152 struct vmcore_range *m, *tmp; in vmcore_free_ranges() local
154 list_for_each_entry_safe(m, tmp, list, list) { in vmcore_free_ranges()
/include/net/
A Dnetlink.h1725 return nla_put(skb, attrtype, sizeof(tmp), &tmp); in nla_put_bitfield32()
1899 u64 tmp; in nla_get_u64() local
1901 nla_memcpy(&tmp, nla, sizeof(tmp)); in nla_get_u64()
1903 return tmp; in nla_get_u64()
1951 __be64 tmp; in nla_get_be64() local
1953 nla_memcpy(&tmp, nla, sizeof(tmp)); in nla_get_be64()
1955 return tmp; in nla_get_be64()
2072 s64 tmp; in nla_get_s64() local
2074 nla_memcpy(&tmp, nla, sizeof(tmp)); in nla_get_s64()
2187 nla_memcpy(&tmp, nla, sizeof(tmp)); in nla_get_in6_addr()
[all …]
A Dbonding.h407 struct slave *tmp; in bond_slave_state_change() local
411 bond_set_active_slave(tmp); in bond_slave_state_change()
413 bond_set_backup_slave(tmp); in bond_slave_state_change()
420 struct slave *tmp; in bond_slave_state_notify() local
423 if (tmp->should_notify) { in bond_slave_state_notify()
425 tmp->should_notify = 0; in bond_slave_state_notify()
644 struct slave *tmp; in bond_slave_link_notify() local
648 bond_queue_slave_event(tmp); in bond_slave_link_notify()
742 struct slave *tmp; in bond_slave_has_mac() local
746 return tmp; in bond_slave_has_mac()
[all …]
/include/crypto/internal/
A 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/
A Dadis.h227 unsigned int tmp; in __adis_read_reg_16() local
230 ret = adis->ops->read(adis, reg, &tmp, 2); in __adis_read_reg_16()
232 *val = tmp; in __adis_read_reg_16()
246 unsigned int tmp; in __adis_read_reg_32() local
251 *val = tmp; in __adis_read_reg_32()
329 unsigned int tmp; in adis_read_reg_16() local
332 ret = adis_read_reg(adis, reg, &tmp, 2); in adis_read_reg_16()
334 *val = tmp; in adis_read_reg_16()
348 unsigned int tmp; in adis_read_reg_32() local
351 ret = adis_read_reg(adis, reg, &tmp, 4); in adis_read_reg_32()
[all …]
/include/linux/platform_data/
A 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/
A 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/
A Dttm_caching.h55 pgprot_t ttm_prot_from_caching(enum ttm_caching caching, pgprot_t tmp);
/include/net/netfilter/
A 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/
A Dda9052.h146 unsigned int tmp; in da9052_group_read() local
150 ret = regmap_read(da9052->regmap, reg + i, &tmp); in da9052_group_read()
151 val[i] = (unsigned char)tmp; in da9052_group_read()

Completed in 45 milliseconds

12