Home
last modified time | relevance | path

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

12345678910>>...40

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/
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()
50 static inline void finish_rcuwait(struct rcuwait *w) in finish_rcuwait()
56 #define rcuwait_wait_event(w, condition, state) \ argument
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/sound/soc/codecs/
Dmt6359.c617 static int mt_sgen_event(struct snd_soc_dapm_widget *w, in mt_sgen_event()
843 static int mt_hp_event(struct snd_soc_dapm_widget *w, in mt_hp_event()
873 static int mt_rcv_event(struct snd_soc_dapm_widget *w, in mt_rcv_event()
957 static int mt_lo_event(struct snd_soc_dapm_widget *w, in mt_lo_event()
1043 static int mt_adc_clk_gen_event(struct snd_soc_dapm_widget *w, in mt_adc_clk_gen_event()
1083 static int mt_dcc_clk_event(struct snd_soc_dapm_widget *w, in mt_dcc_clk_event()
1118 static int mt_mic_bias_0_event(struct snd_soc_dapm_widget *w, in mt_mic_bias_0_event()
1172 static int mt_mic_bias_1_event(struct snd_soc_dapm_widget *w, in mt_mic_bias_1_event()
1205 static int mt_mic_bias_2_event(struct snd_soc_dapm_widget *w, in mt_mic_bias_2_event()
1256 static int mt_mtkaif_tx_event(struct snd_soc_dapm_widget *w, in mt_mtkaif_tx_event()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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
600 struct snd_soc_dapm_widget *w; in dapm_reset() local
652 struct snd_soc_dapm_widget *w = wcache->widget; in dapm_wcache_lookup() local
673 struct snd_soc_dapm_widget *w) in dapm_wcache_update()
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/lib/mpi/
Dmpi-add.c20 void mpi_add_ui(MPI w, MPI u, unsigned long v) in mpi_add_ui()
67 void mpi_add(MPI w, MPI u, MPI v) in mpi_add()
134 void mpi_sub(MPI w, MPI u, MPI v) in mpi_sub()
143 void mpi_addm(MPI w, MPI u, MPI v, MPI m) in mpi_addm()
150 void mpi_subm(MPI w, MPI u, MPI v, MPI m) in mpi_subm()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
Dutil.h64 mt76_worker_setup(struct ieee80211_hw *hw, struct mt76_worker *w, in mt76_worker_setup()
87 static inline void mt76_worker_schedule(struct mt76_worker *w) in mt76_worker_schedule()
97 static inline void mt76_worker_disable(struct mt76_worker *w) in mt76_worker_disable()
106 static inline void mt76_worker_enable(struct mt76_worker *w) in mt76_worker_enable()
115 static inline void mt76_worker_teardown(struct mt76_worker *w) in mt76_worker_teardown()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/sound/soc/intel/skylake/
Dskl-topology.c92 static int is_skl_dsp_widget_type(struct snd_soc_dapm_widget *w, in is_skl_dsp_widget_type()
283 static int skl_tplg_update_be_blob(struct snd_soc_dapm_widget *w, in skl_tplg_update_be_blob()
344 static void skl_tplg_update_module_params(struct snd_soc_dapm_widget *w, in skl_tplg_update_module_params()
379 static int skl_tplg_set_module_params(struct snd_soc_dapm_widget *w, in skl_tplg_set_module_params()
424 static int skl_tplg_set_module_init_data(struct snd_soc_dapm_widget *w) in skl_tplg_set_module_init_data()
452 struct snd_soc_dapm_widget *w, struct skl_module_cfg *mcfg) in skl_tplg_module_prepare()
474 struct snd_soc_dapm_widget *w; in skl_tplg_init_pipe_modules() local
687 static int skl_tplg_mixer_dapm_pre_pmu_event(struct snd_soc_dapm_widget *w, in skl_tplg_mixer_dapm_pre_pmu_event()
779 static int skl_tplg_set_module_bind_params(struct snd_soc_dapm_widget *w, in skl_tplg_set_module_bind_params()
898 struct snd_soc_dapm_widget *w) in skl_tplg_add_moduleid_in_bind_params()
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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

12345678910>>...40