Home
last modified time | relevance | path

Searched refs:r (Results 1 – 25 of 59) sorted by relevance

123

/include/asm-generic/bitops/
Dffs.h14 int r = 1; in ffs() local
20 r += 16; in ffs()
24 r += 8; in ffs()
28 r += 4; in ffs()
32 r += 2; in ffs()
36 r += 1; in ffs()
38 return r; in ffs()
Dfls.h14 int r = 32; in fls() local
20 r -= 16; in fls()
24 r -= 8; in fls()
28 r -= 4; in fls()
32 r -= 2; in fls()
36 r -= 1; in fls()
38 return r; in fls()
/include/xen/
Dhvm.h11 int r; in hvm_get_parameter() local
15 r = HYPERVISOR_hvm_op(HVMOP_get_param, &xhv); in hvm_get_parameter()
16 if (r < 0) { in hvm_get_parameter()
18 idx, r); in hvm_get_parameter()
19 return r; in hvm_get_parameter()
22 return r; in hvm_get_parameter()
/include/crypto/
Db128ops.h64 static inline void u128_xor(u128 *r, const u128 *p, const u128 *q) in u128_xor() argument
66 r->a = p->a ^ q->a; in u128_xor()
67 r->b = p->b ^ q->b; in u128_xor()
70 static inline void be128_xor(be128 *r, const be128 *p, const be128 *q) in be128_xor() argument
72 u128_xor((u128 *)r, (u128 *)p, (u128 *)q); in be128_xor()
75 static inline void le128_xor(le128 *r, const le128 *p, const le128 *q) in le128_xor() argument
77 u128_xor((u128 *)r, (u128 *)p, (u128 *)q); in le128_xor()
/include/linux/
Drbtree.h116 #define rb_parent(r) ((struct rb_node *)((r)->rb_parent_color & ~3)) argument
117 #define rb_color(r) ((r)->rb_parent_color & 1) argument
118 #define rb_is_red(r) (!rb_color(r)) argument
119 #define rb_is_black(r) rb_color(r) argument
120 #define rb_set_red(r) do { (r)->rb_parent_color &= ~1; } while (0) argument
121 #define rb_set_black(r) do { (r)->rb_parent_color |= 1; } while (0) argument
Dof_address.h10 struct resource *r);
31 struct resource *r) in of_address_to_resource() argument
58 struct resource *r);
61 struct resource *r) in of_pci_address_to_resource() argument
Draid_class.h56 raid_set_##attr(struct raid_template *r, struct device *dev, type value) { \
58 attribute_container_find_class_device(&r->raid_attrs.ac, dev);\
65 raid_get_##attr(struct raid_template *r, struct device *dev) { \
67 attribute_container_find_class_device(&r->raid_attrs.ac, dev);\
Dnetfilter_decnet.h60 #define NFDN_RTMSG(r) ((unsigned char *)(r) + NLMSG_ALIGN(sizeof(struct nf_dn_rtmsg))) argument
Dif_addr.h57 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg)))) argument
Dmemblock.h125 static inline void memblock_set_region_node(struct memblock_region *r, int nid) in memblock_set_region_node() argument
127 r->nid = nid; in memblock_set_region_node()
130 static inline int memblock_get_region_node(const struct memblock_region *r) in memblock_get_region_node() argument
132 return r->nid; in memblock_get_region_node()
135 static inline void memblock_set_region_node(struct memblock_region *r, int nid) in memblock_set_region_node() argument
139 static inline int memblock_get_region_node(const struct memblock_region *r) in memblock_get_region_node() argument
Dsh_pfc.h51 #define PINMUX_CFG_REG(name, r, r_width, f_width) \ argument
52 .reg = r, .reg_width = r_width, .field_width = f_width, \
56 #define PINMUX_CFG_REG_VAR(name, r, r_width, var_fw0, var_fwn...) \ argument
57 .reg = r, .reg_width = r_width, \
68 #define PINMUX_DATA_REG(name, r, r_width) \ argument
69 .reg = r, .reg_width = r_width, \
Dinet_diag.h147 struct inet_diag_req_v2 *r,
155 struct inet_diag_msg *r,
170 struct netlink_callback *cb, struct inet_diag_req_v2 *r,
/include/math-emu/
Ddouble.h117 #define FP_CMP_D(r,X,Y,un) _FP_CMP(D,2,r,X,Y,un) argument
118 #define FP_CMP_EQ_D(r,X,Y) _FP_CMP_EQ(D,2,r,X,Y) argument
120 #define FP_TO_INT_D(r,X,rsz,rsg) _FP_TO_INT(D,2,r,X,rsz,rsg) argument
121 #define FP_TO_INT_ROUND_D(r,X,rsz,rsg) _FP_TO_INT_ROUND(D,2,r,X,rsz,rsg) argument
122 #define FP_FROM_INT_D(X,r,rs,rt) _FP_FROM_INT(D,2,X,r,rs,rt) argument
192 #define FP_CMP_D(r,X,Y,un) _FP_CMP(D,1,r,X,Y,un) argument
193 #define FP_CMP_EQ_D(r,X,Y) _FP_CMP_EQ(D,1,r,X,Y) argument
195 #define FP_TO_INT_D(r,X,rsz,rsg) _FP_TO_INT(D,1,r,X,rsz,rsg) argument
196 #define FP_TO_INT_ROUND_D(r,X,rsz,rsg) _FP_TO_INT_ROUND(D,1,r,X,rsz,rsg) argument
197 #define FP_FROM_INT_D(X,r,rs,rt) _FP_FROM_INT(D,1,X,r,rs,rt) argument
Dquad.h123 #define FP_CMP_Q(r,X,Y,un) _FP_CMP(Q,4,r,X,Y,un) argument
124 #define FP_CMP_EQ_Q(r,X,Y) _FP_CMP_EQ(Q,4,r,X,Y) argument
126 #define FP_TO_INT_Q(r,X,rsz,rsg) _FP_TO_INT(Q,4,r,X,rsz,rsg) argument
127 #define FP_TO_INT_ROUND_Q(r,X,rsz,rsg) _FP_TO_INT_ROUND(Q,4,r,X,rsz,rsg) argument
128 #define FP_FROM_INT_Q(X,r,rs,rt) _FP_FROM_INT(Q,4,X,r,rs,rt) argument
196 #define FP_CMP_Q(r,X,Y,un) _FP_CMP(Q,2,r,X,Y,un) argument
197 #define FP_CMP_EQ_Q(r,X,Y) _FP_CMP_EQ(Q,2,r,X,Y) argument
199 #define FP_TO_INT_Q(r,X,rsz,rsg) _FP_TO_INT(Q,2,r,X,rsz,rsg) argument
200 #define FP_TO_INT_ROUND_Q(r,X,rsz,rsg) _FP_TO_INT_ROUND(Q,2,r,X,rsz,rsg) argument
201 #define FP_FROM_INT_Q(X,r,rs,rt) _FP_FROM_INT(Q,2,X,r,rs,rt) argument
Dop-common.h652 #define _FP_TO_INT(fs, wc, r, X, rsize, rsigned) \ argument
661 r = 0; \
672 r = 0; \
676 _FP_FRAC_ASSEMBLE_##wc(r, X, rsize); \
681 r = 1; \
682 r <<= rsize - 1; \
683 r -= 1 - X##_s; \
687 r = 0; \
689 r = ~r; \
697 _FP_FRAC_ASSEMBLE_##wc(r, X, rsize); \
[all …]
Dsingle.h106 #define FP_CMP_S(r,X,Y,un) _FP_CMP(S,1,r,X,Y,un) argument
107 #define FP_CMP_EQ_S(r,X,Y) _FP_CMP_EQ(S,1,r,X,Y) argument
109 #define FP_TO_INT_S(r,X,rsz,rsg) _FP_TO_INT(S,1,r,X,rsz,rsg) argument
110 #define FP_TO_INT_ROUND_S(r,X,rsz,rsg) _FP_TO_INT_ROUND(S,1,r,X,rsz,rsg) argument
111 #define FP_FROM_INT_S(X,r,rs,rt) _FP_FROM_INT(S,1,X,r,rs,rt) argument
/include/linux/mtd/
Dmap.h285 map_word r; in map_word_and() local
289 r.x[i] = val1.x[i] & val2.x[i]; in map_word_and()
291 return r; in map_word_and()
296 map_word r; in map_word_clr() local
300 r.x[i] = val1.x[i] & ~val2.x[i]; in map_word_clr()
302 return r; in map_word_clr()
307 map_word r; in map_word_or() local
311 r.x[i] = val1.x[i] | val2.x[i]; in map_word_or()
313 return r; in map_word_or()
331 map_word r; in map_word_load() local
[all …]
/include/video/
Dtgafb.h228 TGA_WRITE_REG(struct tga_par *par, u32 v, u32 r) in TGA_WRITE_REG() argument
230 writel(v, par->tga_regs_base +r); in TGA_WRITE_REG()
234 TGA_READ_REG(struct tga_par *par, u32 r) in TGA_READ_REG() argument
236 return readl(par->tga_regs_base +r); in TGA_READ_REG()
240 BT485_WRITE(struct tga_par *par, u8 v, u8 r) in BT485_WRITE() argument
242 TGA_WRITE_REG(par, r, TGA_RAMDAC_SETUP_REG); in BT485_WRITE()
243 TGA_WRITE_REG(par, v | (r << 8), TGA_RAMDAC_REG); in BT485_WRITE()
/include/net/
Ddn_fib.h24 struct fib_rule *r; member
95 int (*insert)(struct dn_fib_table *t, struct rtmsg *r,
98 int (*delete)(struct dn_fib_table *t, struct rtmsg *r,
118 extern struct dn_fib_info *dn_fib_create_info(const struct rtmsg *r,
160 if (res->r) in dn_fib_res_put()
161 fib_rule_put(res->r); in dn_fib_res_put()
Dpkt_cls.h44 tcf_bind_filter(struct tcf_proto *tp, struct tcf_result *r, unsigned long base) in tcf_bind_filter() argument
48 cl = tp->q->ops->cl_ops->bind_tcf(tp->q, base, r->classid); in tcf_bind_filter()
49 cl = cls_set_class(tp, &r->class, cl); in tcf_bind_filter()
55 tcf_unbind_filter(struct tcf_proto *tp, struct tcf_result *r) in tcf_unbind_filter() argument
59 if ((cl = __cls_set_class(&r->class, 0)) != 0) in tcf_unbind_filter()
/include/linux/mfd/
Dtmio.h13 #define tmio_ioread16_rep(r, b, l) readsw(r, b, l) argument
19 #define tmio_iowrite16_rep(r, b, l) writesw(r, b, l) argument
/include/asm-generic/
Ddma-mapping-common.h174 #define dma_map_single(d, a, s, r) dma_map_single_attrs(d, a, s, r, NULL) argument
175 #define dma_unmap_single(d, a, s, r) dma_unmap_single_attrs(d, a, s, r, NULL) argument
176 #define dma_map_sg(d, s, n, r) dma_map_sg_attrs(d, s, n, r, NULL) argument
177 #define dma_unmap_sg(d, s, n, r) dma_unmap_sg_attrs(d, s, n, r, NULL) argument
Dpgtable.h38 int r = 1; in ptep_test_and_clear_young() local
40 r = 0; in ptep_test_and_clear_young()
43 return r; in ptep_test_and_clear_young()
54 int r = 1; in pmdp_test_and_clear_young() local
56 r = 0; in pmdp_test_and_clear_young()
59 return r; in pmdp_test_and_clear_young()
/include/sound/
Dpcm_params.h41 unsigned r = 0; in ld2() local
45 r += 16; in ld2()
49 r += 8; in ld2()
53 r += 4; in ld2()
57 r += 2; in ld2()
60 r++; in ld2()
61 return r; in ld2()
/include/scsi/
Dscsi_transport_sas.h117 #define rphy_to_end_device(r) \ argument
118 container_of((r), struct sas_end_device, rphy)
138 #define rphy_to_expander_device(r) \ argument
139 container_of((r), struct sas_expander_device, rphy)

123