Home
last modified time | relevance | path

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

12

/include/asm-generic/bitops/
A Dconst_hweight.h19 #define __const_hweight16(w) (__const_hweight8(w) + __const_hweight8((w) >> 8 )) argument
20 #define __const_hweight32(w) (__const_hweight16(w) + __const_hweight16((w) >> 16)) argument
21 #define __const_hweight64(w) (__const_hweight32(w) + __const_hweight32((w) >> 32)) argument
26 #define hweight8(w) (__builtin_constant_p(w) ? __const_hweight8(w) : __arch_hweight8(w)) argument
27 #define hweight16(w) (__builtin_constant_p(w) ? __const_hweight16(w) : __arch_hweight16(w)) argument
28 #define hweight32(w) (__builtin_constant_p(w) ? __const_hweight32(w) : __arch_hweight32(w)) argument
29 #define hweight64(w) (__builtin_constant_p(w) ? __const_hweight64(w) : __arch_hweight64(w)) argument
34 #define HWEIGHT8(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight8(w)) argument
35 #define HWEIGHT16(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight16(w)) argument
36 #define HWEIGHT32(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight32(w)) argument
[all …]
A 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/
A Drcuwait.h12 static inline void rcuwait_init(struct rcuwait *w) in rcuwait_init() argument
14 w->task = NULL; in rcuwait_init()
21 static inline int rcuwait_active(struct rcuwait *w) in rcuwait_active() argument
23 return !!rcu_access_pointer(w->task); in rcuwait_active()
26 extern int rcuwait_wake_up(struct rcuwait *w);
34 static inline void prepare_to_rcuwait(struct rcuwait *w) in prepare_to_rcuwait() argument
36 rcu_assign_pointer(w->task, current); in prepare_to_rcuwait()
39 extern void finish_rcuwait(struct rcuwait *w);
44 prepare_to_rcuwait(w); \
61 finish_rcuwait(w); \
[all …]
A Ddevm-helpers.h47 struct delayed_work *w, in devm_delayed_work_autocancel() argument
50 INIT_DELAYED_WORK(w, worker); in devm_delayed_work_autocancel()
51 return devm_add_action(dev, devm_delayed_work_drop, w); in devm_delayed_work_autocancel()
72 struct work_struct *w, in devm_work_autocancel() argument
75 INIT_WORK(w, worker); in devm_work_autocancel()
76 return devm_add_action(dev, devm_work_drop, w); in devm_work_autocancel()
A 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()
A Dmpi.h72 int mpi_sub_ui(MPI w, MPI u, unsigned long vval);
82 int mpi_add(MPI w, MPI u, MPI v);
83 int mpi_sub(MPI w, MPI u, MPI v);
84 int mpi_addm(MPI w, MPI u, MPI v, MPI m);
85 int mpi_subm(MPI w, MPI u, MPI v, MPI m);
88 int mpi_mul(MPI w, MPI u, MPI v);
89 int mpi_mulm(MPI w, MPI u, MPI v, MPI m);
A 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);
94 static __always_inline unsigned long hweight_long(unsigned long w) in hweight_long() argument
96 return sizeof(w) == 4 ? hweight32(w) : hweight64((__u64)w); in hweight_long()
/include/linux/soc/ti/
A Domap1-usb.h24 # define USB2_TRX_MODE(w) (((w)>>24)&0x07) argument
25 # define USB1_TRX_MODE(w) (((w)>>20)&0x07) argument
26 # define USB0_TRX_MODE(w) (((w)>>16)&0x07) argument
38 # define SRP_GPUVBUS(w) (((w)>>24)&0x07) argument
39 # define A_WAIT_VRISE(w) (((w)>>20)&0x07) argument
40 # define B_ASE_BRST(w) (((w)>>16)&0x07) argument
49 # define OTG_HMC(w) (((w)>>0)&0x3f) argument
/include/linux/mtd/
A 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/
A Dpm3fb.h226 #define PM3VideoOverlayWidth_WIDTH(w) (((w) & 0xfff) << 0) argument
555 #define PM3FBDestReadBufferWidth_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
695 #define PM3LBReadFormat_FCPWidth(w) (((w) & 0xf) << 11) argument
697 #define PM3LBReadFormat_GIDWidth(w) (((w) & 0x7) << 20) argument
730 #define PM3LBWriteMode_Width(w) (((w) & 0xfff) << 12) argument
967 #define PM3Render2D_Width(w) ((w) & 0x0fff) argument
[all …]
A Dudlfb.h16 int w, h; member
/include/net/
A 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()
A Dip6_fib.h234 #define for_each_fib6_walker_rt(w) \ argument
235 for (rt = (w)->leaf; rt; \
550 struct fib6_walker w; member
/include/trace/events/
A Dasoc.h98 TP_PROTO(struct snd_soc_dapm_widget *w, int val),
100 TP_ARGS(w, val),
103 __string( name, w->name )
118 TP_PROTO(struct snd_soc_dapm_widget *w, int val),
120 TP_ARGS(w, val)
126 TP_PROTO(struct snd_soc_dapm_widget *w, int val),
128 TP_ARGS(w, val)
134 TP_PROTO(struct snd_soc_dapm_widget *w, int val),
136 TP_ARGS(w, val)
/include/uapi/linux/
A Dppp-comp.h74 #define DEFLATE_MAKE_OPT(w) ((((w) - 8) << 4) + DEFLATE_METHOD_VAL) argument
A Domapfb.h183 __u16 w; member
/include/crypto/
A Dtwofish.h18 u32 s[4][256], w[8], k[32]; member
/include/linux/mfd/
A Dmacsmc.h242 type w, type *r) \
244 int ret = apple_smc_rw(smc, key, &w, sizeof(w), r, sizeof(*r)); \
A Dsi476x-core.h150 #define SI476X_WORK_TO_CORE(w) container_of(to_delayed_work(w), \ argument
/include/sound/
A Dsoc-dapm.h545 int (*power_check)(struct snd_soc_dapm_widget *w);
656 void snd_soc_dapm_free_widget(struct snd_soc_dapm_widget *w);
673 void snd_soc_dapm_free_widget(struct snd_soc_dapm_widget *w);
770 #define snd_soc_dapm_widget_for_each_path(w, dir, p) \ argument
771 list_for_each_entry(p, &w->edges[dir], list_node[dir])
785 #define snd_soc_dapm_widget_for_each_path_safe(w, dir, p, next_p) \ argument
786 list_for_each_entry_safe(p, next_p, &w->edges[dir], list_node[dir])
794 #define snd_soc_dapm_widget_for_each_sink_path(w, p) \ argument
795 snd_soc_dapm_widget_for_each_path(w, SND_SOC_DAPM_DIR_IN, p)
803 #define snd_soc_dapm_widget_for_each_source_path(w, p) \ argument
[all …]
A Dsoc-topology.h100 int (*event_handler)(struct snd_soc_dapm_widget *w,
185 int snd_soc_tplg_widget_bind_event(struct snd_soc_dapm_widget *w,
/include/media/tpg/
A Dv4l2-tpg.h236 void tpg_init(struct tpg_data *tpg, unsigned w, unsigned h);
483 unsigned w = 0; in tpg_g_line_width() local
491 w += plane_w / tpg->vdownsampling[p]; in tpg_g_line_width()
493 return w; in tpg_g_line_width()
499 unsigned w = 0; in tpg_calc_line_width() local
508 w += plane_w / tpg->vdownsampling[p]; in tpg_calc_line_width()
510 return w; in tpg_calc_line_width()
/include/math-emu/
A Dop-8.h32 #define _FP_FRAC_WORD_8(X,w) (X##_f[w]) argument
/include/drm/
A Ddrm_rect.h60 #define DRM_RECT_INIT(x, y, w, h) ((struct drm_rect){ \ argument
63 .x2 = (x) + (w), \
/include/uapi/linux/dvb/
A Dvideo.h34 int w; member

Completed in 70 milliseconds

12