Home
last modified time | relevance | path

Searched refs:w (Results 1 – 25 of 42) sorted by relevance

12

/include/asm-generic/bitops/
Dconst_hweight.h8 #define __const_hweight8(w) \ argument
10 ((!!((w) & (1ULL << 0))) + \
11 (!!((w) & (1ULL << 1))) + \
12 (!!((w) & (1ULL << 2))) + \
13 (!!((w) & (1ULL << 3))) + \
14 (!!((w) & (1ULL << 4))) + \
15 (!!((w) & (1ULL << 5))) + \
16 (!!((w) & (1ULL << 6))) + \
17 (!!((w) & (1ULL << 7)))))
19 #define __const_hweight16(w) (__const_hweight8(w) + __const_hweight8((w) >> 8 )) argument
[all …]
Darch_hweight.h7 static inline unsigned int __arch_hweight32(unsigned int w) in __arch_hweight32() argument
9 return __sw_hweight32(w); in __arch_hweight32()
12 static inline unsigned int __arch_hweight16(unsigned int w) in __arch_hweight16() argument
14 return __sw_hweight16(w); in __arch_hweight16()
17 static inline unsigned int __arch_hweight8(unsigned int w) in __arch_hweight8() argument
19 return __sw_hweight8(w); in __arch_hweight8()
22 static inline unsigned long __arch_hweight64(__u64 w) in __arch_hweight64() argument
24 return __sw_hweight64(w); in __arch_hweight64()
/include/linux/ceph/
Dmdsmap.h43 ceph_mdsmap_get_addr(struct ceph_mdsmap *m, int w) in ceph_mdsmap_get_addr() argument
45 if (w >= m->m_num_mds) in ceph_mdsmap_get_addr()
47 return &m->m_info[w].addr; in ceph_mdsmap_get_addr()
50 static inline int ceph_mdsmap_get_state(struct ceph_mdsmap *m, int w) in ceph_mdsmap_get_state() argument
52 BUG_ON(w < 0); in ceph_mdsmap_get_state()
53 if (w >= m->m_num_mds) in ceph_mdsmap_get_state()
55 return m->m_info[w].state; in ceph_mdsmap_get_state()
58 static inline bool ceph_mdsmap_is_laggy(struct ceph_mdsmap *m, int w) in ceph_mdsmap_is_laggy() argument
60 if (w >= 0 && w < m->m_num_mds) in ceph_mdsmap_is_laggy()
61 return m->m_info[w].laggy; in ceph_mdsmap_is_laggy()
/include/linux/
Drcuwait.h22 static inline void rcuwait_init(struct rcuwait *w) in rcuwait_init() argument
24 w->task = NULL; in rcuwait_init()
27 extern void rcuwait_wake_up(struct rcuwait *w);
33 #define rcuwait_wait_event(w, condition) \ argument
35 rcu_assign_pointer((w)->task, current); \
48 WRITE_ONCE((w)->task, NULL); \
Dnfsacl.h28 unsigned int w = 16; in nfsacl_size() local
29 w += max(acl_access ? (int)acl_access->a_count : 3, 4) * 12; in nfsacl_size()
31 w += max((int)acl_default->a_count, 4) * 12; in nfsacl_size()
32 return w; in nfsacl_size()
Dbitops.h18 extern unsigned int __sw_hweight8(unsigned int w);
19 extern unsigned int __sw_hweight16(unsigned int w);
20 extern unsigned int __sw_hweight32(unsigned int w);
21 extern unsigned long __sw_hweight64(__u64 w);
59 static __always_inline unsigned long hweight_long(unsigned long w) in hweight_long() argument
61 return sizeof(w) == 4 ? hweight32(w) : hweight64((__u64)w); in hweight_long()
Dworkqueue.h308 #define delayed_work_pending(w) \ argument
309 work_pending(&(w)->work)
/include/linux/mtd/
Dcfi_endian.h36 #define _cpu_to_cfi(w, s, x) (cfi_host(s)?(x):_swap_to_cfi(w, s, x)) argument
37 #define _cfi_to_cpu(w, s, x) (cfi_host(s)?(x):_swap_to_cpu(w, s, x)) argument
38 #define _swap_to_cfi(w, s, x) (cfi_be(s)?cpu_to_be##w(x):cpu_to_le##w(x)) argument
39 #define _swap_to_cpu(w, s, x) (cfi_be(s)?be##w##_to_cpu(x):le##w##_to_cpu(x)) argument
/include/video/
Dpm3fb.h226 #define PM3VideoOverlayWidth_WIDTH(w) (((w) & 0xfff) << 0) argument
555 #define PM3FBDestReadBufferWidth_Width(w) ((w) & 0x0fff) argument
612 #define PM3FBSourceReadBufferWidth_Width(w) ((w) & 0x0fff) argument
626 #define PM3FBSourceReadMode_WrapX(w) (((w) & 0xf) << 16) argument
627 #define PM3FBSourceReadMode_WrapY(w) (((w) & 0xf) << 20) argument
645 #define PM3FBWriteBufferWidth_Width(w) ((w) & 0x0fff) argument
690 #define PM3LBDestReadMode_Width(w) (((w) & 0xfff) << 12) argument
692 #define PM3LBReadFormat_DepthWidth(w) (((w) & 0x3) << 0) argument
693 #define PM3LBReadFormat_StencilWidth(w) (((w) & 0xf) << 2) argument
695 #define PM3LBReadFormat_FCPWidth(w) (((w) & 0xf) << 11) argument
[all …]
Dudlfb.h16 int w, h; member
/include/net/
Dtipc.h44 __be32 w[4]; member
49 u32 w0 = ntohl(hdr->w[0]); in tipc_hdr_rps_key()
55 return hdr->w[3]; in tipc_hdr_rps_key()
Dip6_fib.h207 #define for_each_fib6_walker_rt(w) \ argument
208 for (rt = (w)->leaf; rt; \
477 struct fib6_walker w; member
/include/trace/events/
Dasoc.h89 TP_PROTO(struct snd_soc_dapm_widget *w, int val),
91 TP_ARGS(w, val),
94 __string( name, w->name )
99 __assign_str(name, w->name);
109 TP_PROTO(struct snd_soc_dapm_widget *w, int val),
111 TP_ARGS(w, val)
117 TP_PROTO(struct snd_soc_dapm_widget *w, int val),
119 TP_ARGS(w, val)
125 TP_PROTO(struct snd_soc_dapm_widget *w, int val),
127 TP_ARGS(w, val)
/include/uapi/linux/
Dppp-comp.h74 #define DEFLATE_MAKE_OPT(w) ((((w) - 8) << 4) + DEFLATE_METHOD_VAL) argument
Domapfb.h183 __u16 w; member
Dvirtio_gpu.h214 __le32 w, h, d; member
/include/sound/
Dsoc-topology.h103 int (*event_handler)(struct snd_soc_dapm_widget *w,
189 void snd_soc_tplg_widget_remove(struct snd_soc_dapm_widget *w);
194 int snd_soc_tplg_widget_bind_event(struct snd_soc_dapm_widget *w,
Dsoc-dapm.h382 int dapm_regulator_event(struct snd_soc_dapm_widget *w,
384 int dapm_clock_event(struct snd_soc_dapm_widget *w,
386 int dapm_pinctrl_event(struct snd_soc_dapm_widget *w,
434 void snd_soc_dapm_free_widget(struct snd_soc_dapm_widget *w);
626 int (*power_check)(struct snd_soc_dapm_widget *w);
756 #define snd_soc_dapm_widget_for_each_path(w, dir, p) \ argument
757 list_for_each_entry(p, &w->edges[dir], list_node[dir])
771 #define snd_soc_dapm_widget_for_each_path_safe(w, dir, p, next_p) \ argument
772 list_for_each_entry_safe(p, next_p, &w->edges[dir], list_node[dir])
780 #define snd_soc_dapm_widget_for_each_sink_path(w, p) \ argument
[all …]
/include/crypto/
Dtwofish.h18 u32 s[4][256], w[8], k[32]; member
/include/media/tpg/
Dv4l2-tpg.h235 void tpg_init(struct tpg_data *tpg, unsigned w, unsigned h);
480 unsigned w = 0; in tpg_g_line_width() local
488 w += plane_w / tpg->vdownsampling[p]; in tpg_g_line_width()
490 return w; in tpg_g_line_width()
496 unsigned w = 0; in tpg_calc_line_width() local
505 w += plane_w / tpg->vdownsampling[p]; in tpg_calc_line_width()
507 return w; in tpg_calc_line_width()
/include/math-emu/
Dop-8.h32 #define _FP_FRAC_WORD_8(X,w) (X##_f[w]) argument
/include/uapi/drm/
Di810_drm.h123 unsigned int w; member
141 unsigned int w; member
Dvirtgpu_drm.h110 __u32 w; member
/include/uapi/linux/dvb/
Dvideo.h49 int w; member
/include/linux/mfd/
Dsi476x-core.h150 #define SI476X_WORK_TO_CORE(w) container_of(to_delayed_work(w), \ argument

12