Home
last modified time | relevance | path

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

12345678910>>...39

/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/include/linux/
H A Drcuwait.h23 static inline void rcuwait_init(struct rcuwait *w) in rcuwait_init()
32 static inline int rcuwait_active(struct rcuwait *w) in rcuwait_active()
45 static inline void prepare_to_rcuwait(struct rcuwait *w) in prepare_to_rcuwait()
52 #define ___rcuwait_wait_event(w, condition, state, ret, cmd) \ argument
76 #define rcuwait_wait_event(w, condition, state) \ argument
79 #define __rcuwait_wait_event_timeout(w, condition, state, timeout) \ argument
84 #define rcuwait_wait_event_timeout(w, condition, state, timeout) \ argument
/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/smb/client/
H A Ddfs.h32 #define ref_walk_start(w) ((w)->refs) argument
33 #define ref_walk_end(w) (&(w)->refs[ARRAY_SIZE((w)->refs) - 1]) argument
34 #define ref_walk_cur(w) ((w)->ref) argument
35 #define ref_walk_descend(w) (--ref_walk_cur(w) >= ref_walk_start(w)) argument
37 #define ref_walk_tit(w) (ref_walk_cur(w)->tit) argument
38 #define ref_walk_empty(w) (!ref_walk_tit(w)) argument
39 #define ref_walk_path(w) (ref_walk_cur(w)->path) argument
40 #define ref_walk_fpath(w) (ref_walk_cur(w)->full_path) argument
41 #define ref_walk_tl(w) (&ref_walk_cur(w)->tl) argument
42 #define ref_walk_ses(w) (ref_walk_cur(w)->ses) argument
/linux/sound/soc/codecs/
H A Dmt6359.c816 static int mt_sgen_event(struct snd_soc_dapm_widget *w, in mt_sgen_event()
1042 static int mt_hp_event(struct snd_soc_dapm_widget *w, in mt_hp_event()
1072 static int mt_rcv_event(struct snd_soc_dapm_widget *w, in mt_rcv_event()
1156 static int mt_lo_event(struct snd_soc_dapm_widget *w, in mt_lo_event()
1267 static int mt_adc_clk_gen_event(struct snd_soc_dapm_widget *w, in mt_adc_clk_gen_event()
1307 static int mt_dcc_clk_event(struct snd_soc_dapm_widget *w, in mt_dcc_clk_event()
1342 static int mt_mic_bias_0_event(struct snd_soc_dapm_widget *w, in mt_mic_bias_0_event()
1396 static int mt_mic_bias_1_event(struct snd_soc_dapm_widget *w, in mt_mic_bias_1_event()
1429 static int mt_mic_bias_2_event(struct snd_soc_dapm_widget *w, in mt_mic_bias_2_event()
1480 static int mt_mtkaif_tx_event(struct snd_soc_dapm_widget *w, in mt_mtkaif_tx_event()
[all …]
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 …]
/linux/drivers/infiniband/hw/hfi1/
H A Diowait.h299 static inline u16 iowait_get_desc(struct iowait_work *w) in iowait_get_desc()
314 static inline u32 iowait_get_all_desc(struct iowait *w) in iowait_get_all_desc()
323 static inline void iowait_update_priority(struct iowait_work *w) in iowait_update_priority()
335 static inline void iowait_update_all_priority(struct iowait *w) in iowait_update_all_priority()
341 static inline void iowait_init_priority(struct iowait *w) in iowait_init_priority()
348 static inline void iowait_get_priority(struct iowait *w) in iowait_get_priority()
364 static inline void iowait_queue(bool pkts_sent, struct iowait *w, in iowait_queue()
392 static inline void iowait_starve_clear(bool pkts_sent, struct iowait *w) in iowait_starve_clear()
417 static inline void iowait_inc_wait_count(struct iowait_work *w, u16 n) in iowait_inc_wait_count()
429 static inline struct iowait_work *iowait_get_tid_work(struct iowait *w) in iowait_get_tid_work()
[all …]
/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
611 struct snd_soc_dapm_widget *w; in dapm_reset() local
661 dapm_wcache_lookup(struct snd_soc_dapm_widget *w, const char *name) in dapm_wcache_lookup()
749 struct snd_soc_dapm_widget *w) in dapm_connect_mux()
851 struct snd_soc_dapm_widget *w; in dapm_is_shared_kcontrol() local
[all …]
/linux/arch/x86/include/asm/
H A Darch_hweight.h15 static __always_inline unsigned int __arch_hweight32(unsigned int w) in __arch_hweight32()
26 static inline unsigned int __arch_hweight16(unsigned int w) in __arch_hweight16()
31 static inline unsigned int __arch_hweight8(unsigned int w) in __arch_hweight8()
37 static inline unsigned long __arch_hweight64(__u64 w) in __arch_hweight64()
43 static __always_inline unsigned long __arch_hweight64(__u64 w) in __arch_hweight64()
/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
282 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/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

12345678910>>...39