Home
last modified time | relevance | path

Searched defs:w (Results 1 – 25 of 803) sorted by relevance

12345678910>>...33

/linux/include/asm-generic/bitops/
H A Dconst_hweight.h8 #define __const_hweight8(w) \ argument
19 #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
[all …]
H A Darch_hweight.h7 static inline unsigned int __arch_hweight32(unsigned int w) in __arch_hweight32()
12 static inline unsigned int __arch_hweight16(unsigned int w) in __arch_hweight16()
17 static inline unsigned int __arch_hweight8(unsigned int w) in __arch_hweight8()
22 static inline unsigned long __arch_hweight64(__u64 w) in __arch_hweight64()
/linux/tools/include/asm-generic/bitops/
H A Dconst_hweight.h8 #define __const_hweight8(w) \ argument
19 #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
[all …]
H A Darch_hweight.h7 static inline unsigned int __arch_hweight32(unsigned int w) in __arch_hweight32()
12 static inline unsigned int __arch_hweight16(unsigned int w) in __arch_hweight16()
17 static inline unsigned int __arch_hweight8(unsigned int w) in __arch_hweight8()
22 static inline unsigned long __arch_hweight64(__u64 w) in __arch_hweight64()
/linux/arch/s390/include/asm/
H A Darch_hweight.h9 static __always_inline unsigned long popcnt_z196(unsigned long w) in popcnt_z196()
20 static __always_inline unsigned long popcnt_z15(unsigned long w) in popcnt_z15()
31 static __always_inline unsigned long __arch_hweight64(__u64 w) in __arch_hweight64()
45 static __always_inline unsigned int __arch_hweight32(unsigned int w) in __arch_hweight32()
58 static __always_inline unsigned int __arch_hweight16(unsigned int w) in __arch_hweight16()
70 static __always_inline unsigned int __arch_hweight8(unsigned int w) in __arch_hweight8()
/linux/net/ipv4/
H A Dtcp_westwood.c63 struct westwood *w = inet_csk_ca(sk); in tcp_westwood_init() local
86 static void westwood_filter(struct westwood *w, u32 delta) in westwood_filter()
106 struct westwood *w = inet_csk_ca(sk); in tcp_westwood_pkts_acked() local
119 struct westwood *w = inet_csk_ca(sk); in westwood_update_window() local
148 static inline void update_rtt_min(struct westwood *w) in update_rtt_min()
166 struct westwood *w = inet_csk_ca(sk); in westwood_fast_bw() local
183 struct westwood *w = inet_csk_ca(sk); in westwood_acked_count() local
220 const struct westwood *w = inet_csk_ca(sk); in tcp_westwood_bw_rttmin() local
228 struct westwood *w = inet_csk_ca(sk); in tcp_westwood_ack() local
243 struct westwood *w = inet_csk_ca(sk); in tcp_westwood_event() local
/linux/fs/xfs/libxfs/
H A Dxfs_trans_space.h52 #define XFS_EXTENTADD_SPACE_RES(mp,w) (XFS_BM_MAXLEVELS(mp,w) - 1) argument
53 #define XFS_NEXTENTADD_SPACE_RES(mp,b,w)\ argument
59 #define XFS_SWAP_RMAP_SPACE_RES(mp,b,w)\ argument
63 #define XFS_DAENTER_1B(mp,w) \ argument
65 #define XFS_DAENTER_DBS(mp,w) \ argument
67 #define XFS_DAENTER_BLOCKS(mp,w) \ argument
69 #define XFS_DAENTER_BMAP1B(mp,w) \ argument
71 #define XFS_DAENTER_BMAPS(mp,w) \ argument
73 #define XFS_DAENTER_SPACE_RES(mp,w) \ argument
75 #define XFS_DAREMOVE_SPACE_RES(mp,w) XFS_DAENTER_BMAPS(mp,w) argument
/linux/arch/riscv/include/asm/
H A Darch_hweight.h20 static __always_inline unsigned int __arch_hweight32(unsigned int w) in __arch_hweight32()
40 static inline unsigned int __arch_hweight16(unsigned int w) in __arch_hweight16()
45 static inline unsigned int __arch_hweight8(unsigned int w) in __arch_hweight8()
51 static __always_inline unsigned long __arch_hweight64(__u64 w) in __arch_hweight64()
71 static inline unsigned long __arch_hweight64(__u64 w) in __arch_hweight64()
/linux/sound/soc/
H A Dsoc-dapm.c184 static bool dapm_dirty_widget(struct snd_soc_dapm_widget *w) in dapm_dirty_widget()
189 static void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason) in dapm_mark_dirty()
208 struct snd_soc_dapm_widget *w, enum snd_soc_dapm_direction dir) in dapm_widget_invalidate_paths()
248 static void dapm_widget_invalidate_input_paths(struct snd_soc_dapm_widget *w) in dapm_widget_invalidate_input_paths()
265 static void dapm_widget_invalidate_output_paths(struct snd_soc_dapm_widget *w) in dapm_widget_invalidate_output_paths()
304 struct snd_soc_dapm_widget *w; in dapm_mark_endpoints_dirty() local
610 struct snd_soc_dapm_widget *w; in dapm_reset() local
660 dapm_wcache_lookup(struct snd_soc_dapm_widget *w, const char *name) in dapm_wcache_lookup()
748 struct snd_soc_dapm_widget *w) in dapm_connect_mux()
850 struct snd_soc_dapm_widget *w; in dapm_is_shared_kcontrol() local
[all …]
/linux/fs/smb/client/
H A Ddfs.h34 #define ref_walk_start(w) ((w)->refs) argument
35 #define ref_walk_end(w) (&(w)->refs[ARRAY_SIZE((w)->refs) - 1]) argument
36 #define ref_walk_cur(w) ((w)->ref) argument
37 #define ref_walk_descend(w) (--ref_walk_cur(w) >= ref_walk_start(w)) argument
39 #define ref_walk_tit(w) (ref_walk_cur(w)->tit) argument
40 #define ref_walk_path(w) (ref_walk_cur(w)->path) argument
41 #define ref_walk_fpath(w) (ref_walk_cur(w)->full_path) argument
42 #define ref_walk_tl(w) (&ref_walk_cur(w)->tl) argument
43 #define ref_walk_ses(w) (ref_walk_cur(w)->ses) argument
/linux/arch/m68k/include/asm/
H A Dmcf8390.h30 #define BSWAP(w) (((w) << 8) | ((w) >> 8)) argument
31 #define RSWAP(w) (w) argument
81 #define BSWAP(w) (w) argument
84 #define RSWAP(w) (((w) << 8) | ((w) >> 8)) argument
95 #define BSWAP(w) (w) argument
98 #define RSWAP(w) (((w) << 8) | ((w) >> 8)) argument
107 #define BSWAP(w) (w) argument
110 #define RSWAP(w) (((w) << 8) | ((w) >> 8)) argument
/linux/arch/mips/include/asm/
H A Darch_hweight.h14 static inline unsigned int __arch_hweight32(unsigned int w) in __arch_hweight32()
19 static inline unsigned int __arch_hweight16(unsigned int w) in __arch_hweight16()
24 static inline unsigned int __arch_hweight8(unsigned int w) in __arch_hweight8()
29 static inline unsigned long __arch_hweight64(__u64 w) in __arch_hweight64()
/linux/lib/
H A Dhweight.c13 unsigned int __sw_hweight32(unsigned int w) in __sw_hweight32()
30 unsigned int __sw_hweight16(unsigned int w) in __sw_hweight16()
39 unsigned int __sw_hweight8(unsigned int w) in __sw_hweight8()
47 unsigned long __sw_hweight64(__u64 w) in __sw_hweight64()
/linux/tools/lib/
H A Dhweight.c12 unsigned int __sw_hweight32(unsigned int w) in __sw_hweight32()
28 unsigned int __sw_hweight16(unsigned int w) in __sw_hweight16()
36 unsigned int __sw_hweight8(unsigned int w) in __sw_hweight8()
43 unsigned long __sw_hweight64(__u64 w) in __sw_hweight64()
/linux/drivers/input/joystick/
H A Dwalkera0701.c62 static inline void walkera0701_parse_frame(struct walkera_dev *w) in walkera0701_parse_frame()
126 struct walkera_dev *w = handler_data; in walkera0701_irq_handler() local
170 struct walkera_dev *w; in timer_handler() local
180 struct walkera_dev *w = input_get_drvdata(dev); in walkera0701_open() local
191 struct walkera_dev *w = input_get_drvdata(dev); in walkera0701_close() local
202 struct walkera_dev *w = &w_dev; in walkera0701_attach() local
281 struct walkera_dev *w = &w_dev; in walkera0701_detach() local
/linux/drivers/net/wireless/mediatek/mt76/
H A Dutil.h58 mt76_worker_setup(struct ieee80211_hw *hw, struct mt76_worker *w, in mt76_worker_setup()
79 static inline void mt76_worker_schedule(struct mt76_worker *w) in mt76_worker_schedule()
89 static inline void mt76_worker_disable(struct mt76_worker *w) in mt76_worker_disable()
98 static inline void mt76_worker_enable(struct mt76_worker *w) in mt76_worker_enable()
107 static inline void mt76_worker_teardown(struct mt76_worker *w) in mt76_worker_teardown()
/linux/sound/soc/codecs/
H A Dmt6357.c528 static int mt_aif_out_event(struct snd_soc_dapm_widget *w, in mt_aif_out_event()
549 static int mt_adc_supply_event(struct snd_soc_dapm_widget *w, in mt_adc_supply_event()
594 static int mt_mic_type_event(struct snd_soc_dapm_widget *w, in mt_mic_type_event()
642 static int mt_pga_left_event(struct snd_soc_dapm_widget *w, in mt_pga_left_event()
695 static int mt_pga_right_event(struct snd_soc_dapm_widget *w, in mt_pga_right_event()
742 static int adc_enable_event(struct snd_soc_dapm_widget *w, in adc_enable_event()
907 static int mt_audio_in_event(struct snd_soc_dapm_widget *w, in mt_audio_in_event()
988 static int mt_delay_250_event(struct snd_soc_dapm_widget *w, in mt_delay_250_event()
1006 static int lo_mux_event(struct snd_soc_dapm_widget *w, in lo_mux_event()
1073 static int hs_mux_event(struct snd_soc_dapm_widget *w, in hs_mux_event()
[all …]
H A Dmt6351.c575 static int mt_reg_set_clr_event(struct snd_soc_dapm_widget *w, in mt_reg_set_clr_event()
619 static int mt_ncp_event(struct snd_soc_dapm_widget *w, in mt_ncp_event()
643 static int mt_sgen_event(struct snd_soc_dapm_widget *w, in mt_sgen_event()
663 static int mt_aif_in_event(struct snd_soc_dapm_widget *w, in mt_aif_in_event()
708 static int mt_hp_event(struct snd_soc_dapm_widget *w, in mt_hp_event()
836 static int mt_aif_out_event(struct snd_soc_dapm_widget *w, in mt_aif_out_event()
899 static int mt_adc_clkgen_event(struct snd_soc_dapm_widget *w, in mt_adc_clkgen_event()
922 static int mt_pga_left_event(struct snd_soc_dapm_widget *w, in mt_pga_left_event()
952 static int mt_pga_right_event(struct snd_soc_dapm_widget *w, in mt_pga_right_event()
982 static int mt_mic_bias_0_event(struct snd_soc_dapm_widget *w, in mt_mic_bias_0_event()
[all …]
/linux/include/linux/soc/ti/
H 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
/linux/drivers/watchdog/
H A Dbd96801_wdt.c68 struct wdtbd96801 *w = watchdog_get_drvdata(wdt); in bd96801_wdt_ping() local
76 struct wdtbd96801 *w = watchdog_get_drvdata(wdt); in bd96801_wdt_start() local
84 struct wdtbd96801 *w = watchdog_get_drvdata(wdt); in bd96801_wdt_stop() local
166 static int bd96801_set_wdt_mode(struct wdtbd96801 *w, unsigned int hw_margin, in bd96801_set_wdt_mode()
237 static int bd96801_set_heartbeat_from_hw(struct wdtbd96801 *w, in bd96801_set_heartbeat_from_hw()
269 static int init_wdg_hw(struct wdtbd96801 *w) in init_wdg_hw()
337 struct wdtbd96801 *w; in bd96801_wdt_probe() local
H A Dmt7621_wdt.c57 static int mt7621_wdt_ping(struct watchdog_device *w) in mt7621_wdt_ping()
66 static int mt7621_wdt_set_timeout(struct watchdog_device *w, unsigned int t) in mt7621_wdt_set_timeout()
77 static int mt7621_wdt_start(struct watchdog_device *w) in mt7621_wdt_start()
94 static int mt7621_wdt_stop(struct watchdog_device *w) in mt7621_wdt_stop()
119 static int mt7621_wdt_is_running(struct watchdog_device *w) in mt7621_wdt_is_running()
/linux/lib/crypto/mpi/
H A Dmpi-add.c16 int mpi_add(MPI w, MPI u, MPI v) in mpi_add()
89 int mpi_sub(MPI w, MPI u, MPI v) in mpi_sub()
106 int mpi_addm(MPI w, MPI u, MPI v, MPI m) in mpi_addm()
113 int mpi_subm(MPI w, MPI u, MPI v, MPI m) in mpi_subm()
/linux/drivers/gpu/drm/omapdrm/
H A Dtcm-sita.c28 static void free_slots(unsigned long pos, u16 w, u16 h, in free_slots()
43 static int r2l_b2t_1d(u16 w, unsigned long *pos, unsigned long *map, in r2l_b2t_1d()
79 static int l2r_t2b(u16 w, u16 h, u16 a, s16 offset, in l2r_t2b()
173 static s32 sita_reserve_2d(struct tcm *tcm, u16 h, u16 w, u16 align, in sita_reserve_2d()
203 u16 w, h; in sita_free() local
/linux/sound/soc/qcom/qdsp6/
H A Dtopology.c23 struct snd_soc_dapm_widget *w; member
164 struct snd_soc_dapm_widget *w, in audioreach_tplg_alloc_module()
413 struct snd_soc_dapm_widget *w) in audioreach_parse_common_tokens()
572 int index, struct snd_soc_dapm_widget *w, in audioreach_widget_load_module_common()
600 int index, struct snd_soc_dapm_widget *w, in audioreach_widget_load_enc_dec_cnv()
758 int index, struct snd_soc_dapm_widget *w, in audioreach_widget_load_buffer()
798 int index, struct snd_soc_dapm_widget *w, in audioreach_widget_load_mixer()
840 static int audioreach_pga_event(struct snd_soc_dapm_widget *w, in audioreach_pga_event()
866 int index, struct snd_soc_dapm_widget *w, in audioreach_widget_load_pga()
894 int index, struct snd_soc_dapm_widget *w, in audioreach_widget_ready()
[all …]
/linux/include/linux/mtd/
H 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

12345678910>>...33