Home
last modified time | relevance | path

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

12345678910>>...36

/Linux-v5.4/tools/include/asm-generic/bitops/
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 …]
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-v5.4/include/asm-generic/bitops/
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 …]
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-v5.4/net/ipv4/
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-v5.4/arch/x86/include/asm/
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-v5.4/kernel/locking/
Drtmutex.h15 #define debug_rt_mutex_init_waiter(w) do { } while (0) argument
16 #define debug_rt_mutex_free_waiter(w) do { } while (0) argument
23 #define debug_rt_mutex_print_deadlock(w) do { } while (0) argument
24 #define debug_rt_mutex_reset_waiter(w) do { } while (0) argument
26 static inline void rt_mutex_print_deadlock(struct rt_mutex_waiter *w) in rt_mutex_print_deadlock()
31 static inline bool debug_rt_mutex_detect_deadlock(struct rt_mutex_waiter *w, in debug_rt_mutex_detect_deadlock()
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Diowait.h340 static inline u16 iowait_get_desc(struct iowait_work *w) in iowait_get_desc()
355 static inline u32 iowait_get_all_desc(struct iowait *w) in iowait_get_all_desc()
364 static inline void iowait_update_priority(struct iowait_work *w) in iowait_update_priority()
376 static inline void iowait_update_all_priority(struct iowait *w) in iowait_update_all_priority()
382 static inline void iowait_init_priority(struct iowait *w) in iowait_init_priority()
389 static inline void iowait_get_priority(struct iowait *w) in iowait_get_priority()
405 static inline void iowait_queue(bool pkts_sent, struct iowait *w, in iowait_queue()
433 static inline void iowait_starve_clear(bool pkts_sent, struct iowait *w) in iowait_starve_clear()
458 static inline void iowait_inc_wait_count(struct iowait_work *w, u16 n) in iowait_inc_wait_count()
470 static inline struct iowait_work *iowait_get_tid_work(struct iowait *w) in iowait_get_tid_work()
[all …]
/Linux-v5.4/fs/xfs/libxfs/
Dxfs_trans_space.h28 #define XFS_EXTENTADD_SPACE_RES(mp,w) (XFS_BM_MAXLEVELS(mp,w) - 1) argument
29 #define XFS_NEXTENTADD_SPACE_RES(mp,b,w)\ argument
35 #define XFS_SWAP_RMAP_SPACE_RES(mp,b,w)\ argument
39 #define XFS_DAENTER_1B(mp,w) \ argument
41 #define XFS_DAENTER_DBS(mp,w) \ argument
43 #define XFS_DAENTER_BLOCKS(mp,w) \ argument
45 #define XFS_DAENTER_BMAP1B(mp,w) \ argument
47 #define XFS_DAENTER_BMAPS(mp,w) \ argument
49 #define XFS_DAENTER_SPACE_RES(mp,w) \ argument
51 #define XFS_DAREMOVE_SPACE_RES(mp,w) XFS_DAENTER_BMAPS(mp,w) argument
Dxfs_inode_fork.h42 #define XFS_IFORK_PTR(ip,w) \ argument
57 #define XFS_IFORK_SIZE(ip,w) \ argument
63 #define XFS_IFORK_FORMAT(ip,w) \ argument
69 #define XFS_IFORK_FMT_SET(ip,w,n) \ argument
75 #define XFS_IFORK_NEXTENTS(ip,w) \ argument
81 #define XFS_IFORK_NEXT_SET(ip,w,n) \ argument
87 #define XFS_IFORK_MAXEXT(ip, w) \ argument
/Linux-v5.4/sound/soc/
Dsoc-dapm.c181 static bool dapm_dirty_widget(struct snd_soc_dapm_widget *w) in dapm_dirty_widget()
186 static void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason) in dapm_mark_dirty()
205 struct snd_soc_dapm_widget *w, enum snd_soc_dapm_direction dir) in dapm_widget_invalidate_paths()
245 static void dapm_widget_invalidate_input_paths(struct snd_soc_dapm_widget *w) in dapm_widget_invalidate_input_paths()
262 static void dapm_widget_invalidate_output_paths(struct snd_soc_dapm_widget *w) in dapm_widget_invalidate_output_paths()
301 struct snd_soc_dapm_widget *w; in dapm_mark_endpoints_dirty() local
323 struct snd_soc_dapm_widget *w; in dapm_cnew_widget() local
586 struct snd_soc_dapm_widget *w; in dapm_reset() local
639 struct snd_soc_dapm_widget *w = wcache->widget; in dapm_wcache_lookup() local
660 struct snd_soc_dapm_widget *w) in dapm_wcache_update()
[all …]
/Linux-v5.4/arch/mips/include/asm/
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-v5.4/lib/
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-v5.4/tools/lib/
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-v5.4/arch/m68k/include/asm/
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-v5.4/drivers/input/joystick/
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-v5.4/drivers/watchdog/
Dmt7621_wdt.c53 static int mt7621_wdt_ping(struct watchdog_device *w) in mt7621_wdt_ping()
60 static int mt7621_wdt_set_timeout(struct watchdog_device *w, unsigned int t) in mt7621_wdt_set_timeout()
69 static int mt7621_wdt_start(struct watchdog_device *w) in mt7621_wdt_start()
85 static int mt7621_wdt_stop(struct watchdog_device *w) in mt7621_wdt_stop()
106 static int mt7621_wdt_is_running(struct watchdog_device *w) in mt7621_wdt_is_running()
Dbd70528_wdt.c131 static int bd70528_wdt_set_locked(struct wdtbd70528 *w, int enable) in bd70528_wdt_set_locked()
136 static int bd70528_wdt_change(struct wdtbd70528 *w, int enable) in bd70528_wdt_change()
149 struct wdtbd70528 *w = watchdog_get_drvdata(wdt); in bd70528_wdt_start() local
157 struct wdtbd70528 *w = watchdog_get_drvdata(wdt); in bd70528_wdt_stop() local
170 struct wdtbd70528 *w = watchdog_get_drvdata(wdt); in bd70528_wdt_set_timeout() local
227 struct wdtbd70528 *w; in bd70528_wdt_probe() local
Drt2880_wdt.c64 static int rt288x_wdt_ping(struct watchdog_device *w) in rt288x_wdt_ping()
71 static int rt288x_wdt_start(struct watchdog_device *w) in rt288x_wdt_start()
91 static int rt288x_wdt_stop(struct watchdog_device *w) in rt288x_wdt_stop()
104 static int rt288x_wdt_set_timeout(struct watchdog_device *w, unsigned int t) in rt288x_wdt_set_timeout()
/Linux-v5.4/sound/soc/intel/skylake/
Dskl-topology.c91 static int is_skl_dsp_widget_type(struct snd_soc_dapm_widget *w, in is_skl_dsp_widget_type()
282 static int skl_tplg_update_be_blob(struct snd_soc_dapm_widget *w, in skl_tplg_update_be_blob()
343 static void skl_tplg_update_module_params(struct snd_soc_dapm_widget *w, in skl_tplg_update_module_params()
378 static int skl_tplg_set_module_params(struct snd_soc_dapm_widget *w, in skl_tplg_set_module_params()
423 static int skl_tplg_set_module_init_data(struct snd_soc_dapm_widget *w) in skl_tplg_set_module_init_data()
451 struct snd_soc_dapm_widget *w, struct skl_module_cfg *mcfg) in skl_tplg_module_prepare()
473 struct snd_soc_dapm_widget *w; in skl_tplg_init_pipe_modules() local
646 static int skl_tplg_mixer_dapm_pre_pmu_event(struct snd_soc_dapm_widget *w, in skl_tplg_mixer_dapm_pre_pmu_event()
738 static int skl_tplg_set_module_bind_params(struct snd_soc_dapm_widget *w, in skl_tplg_set_module_bind_params()
857 struct snd_soc_dapm_widget *w) in skl_tplg_add_moduleid_in_bind_params()
[all …]
/Linux-v5.4/drivers/md/
Ddm-cache-background-tracker.c83 struct bt_work *w; in __insert_pending() local
112 struct bt_work *w; in __find_pending() local
133 static void update_stats(struct background_tracker *b, struct policy_work *w, int delta) in update_stats()
181 struct bt_work *w; in btracker_queue() local
217 struct bt_work *w; in btracker_issue() local
233 struct bt_work *w = container_of(op, struct bt_work, work); in btracker_complete() local
/Linux-v5.4/drivers/gpu/drm/omapdrm/
Dtcm-sita.c36 static void free_slots(unsigned long pos, u16 w, u16 h, in free_slots()
51 static int r2l_b2t_1d(u16 w, unsigned long *pos, unsigned long *map, in r2l_b2t_1d()
87 static int l2r_t2b(u16 w, u16 h, u16 a, s16 offset, in l2r_t2b()
181 static s32 sita_reserve_2d(struct tcm *tcm, u16 h, u16 w, u16 align, in sita_reserve_2d()
211 u16 w, h; in sita_free() local
/Linux-v5.4/arch/arm/mach-omap1/include/mach/
Dusb.h38 # define USB2_TRX_MODE(w) (((w)>>24)&0x07) argument
39 # define USB1_TRX_MODE(w) (((w)>>20)&0x07) argument
40 # define USB0_TRX_MODE(w) (((w)>>16)&0x07) argument
52 # define SRP_GPUVBUS(w) (((w)>>24)&0x07) argument
53 # define A_WAIT_VRISE(w) (((w)>>20)&0x07) argument
54 # define B_ASE_BRST(w) (((w)>>16)&0x07) argument
63 # define OTG_HMC(w) (((w)>>0)&0x3f) argument
/Linux-v5.4/arch/arm/mach-omap1/
Dlcd_dma.c134 u16 w; in set_b1_regs() local
283 u16 w; in lcd_dma_irq_handler() local
347 u16 w; in omap_enable_lcd_dma() local
380 u16 w; in omap_setup_lcd_dma() local
398 u16 w; in omap_stop_lcd_dma() local
422 u16 w; in omap_init_lcd_dma() local
/Linux-v5.4/sound/soc/codecs/
Dmt6351.c578 static int mt_reg_set_clr_event(struct snd_soc_dapm_widget *w, in mt_reg_set_clr_event()
622 static int mt_ncp_event(struct snd_soc_dapm_widget *w, in mt_ncp_event()
646 static int mt_sgen_event(struct snd_soc_dapm_widget *w, in mt_sgen_event()
666 static int mt_aif_in_event(struct snd_soc_dapm_widget *w, in mt_aif_in_event()
711 static int mt_hp_event(struct snd_soc_dapm_widget *w, in mt_hp_event()
839 static int mt_aif_out_event(struct snd_soc_dapm_widget *w, in mt_aif_out_event()
902 static int mt_adc_clkgen_event(struct snd_soc_dapm_widget *w, in mt_adc_clkgen_event()
925 static int mt_pga_left_event(struct snd_soc_dapm_widget *w, in mt_pga_left_event()
955 static int mt_pga_right_event(struct snd_soc_dapm_widget *w, in mt_pga_right_event()
985 static int mt_mic_bias_0_event(struct snd_soc_dapm_widget *w, in mt_mic_bias_0_event()
[all …]

12345678910>>...36