Home
last modified time | relevance | path

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

12345678910>>...50

/openbmc/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()
/openbmc/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()
/openbmc/u-boot/drivers/usb/musb/
H A Dmusb_debug.h27 static inline void musb_print_csr0(u16 w) in musb_print_csr0()
57 static inline void musb_print_intrtx(u16 w) in musb_print_intrtx()
62 static inline void musb_print_intrrx(u16 w) in musb_print_intrrx()
124 static inline void musb_print_rxmaxp(u16 w) in musb_print_rxmaxp()
129 static inline void musb_print_rxcsr(u16 w) in musb_print_rxcsr()
153 static inline void musb_print_txmaxp(u16 w) in musb_print_txmaxp()
158 static inline void musb_print_txcsr(u16 w) in musb_print_txcsr()
180 #define musb_print_csr0(w) argument
182 #define musb_print_intrtx(w) argument
183 #define musb_print_intrrx(w) argument
[all …]
/openbmc/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
/openbmc/qemu/util/
H A Dtimed-average.c59 static void update_expiration(TimedAverageWindow *w, int64_t now, in update_expiration()
74 static void window_reset(TimedAverageWindow *w) in window_reset()
137 TimedAverageWindow *w = &ta->windows[i]; in check_expirations() local
170 TimedAverageWindow *w = &ta->windows[i]; in timed_average_account() local
192 TimedAverageWindow *w; in timed_average_min() local
205 TimedAverageWindow *w; in timed_average_avg() local
229 TimedAverageWindow *w; in timed_average_sum() local
H A Dqemu-coroutine-sleep.c21 void qemu_co_sleep_wake(QemuCoSleep *w) in qemu_co_sleep_wake()
39 QemuCoSleep *w = opaque; in co_sleep_cb() local
43 void coroutine_fn qemu_co_sleep(QemuCoSleep *w) in qemu_co_sleep()
63 void coroutine_fn qemu_co_sleep_ns_wakeable(QemuCoSleep *w, in qemu_co_sleep_ns_wakeable()
/openbmc/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
/openbmc/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()
/openbmc/linux/fs/smb/client/
H A Ddfs.h31 #define ref_walk_start(w) ((w)->refs) argument
32 #define ref_walk_end(w) (&(w)->refs[ARRAY_SIZE((w)->refs) - 1]) argument
33 #define ref_walk_cur(w) ((w)->ref) argument
34 #define ref_walk_descend(w) (--ref_walk_cur(w) >= ref_walk_start(w)) argument
36 #define ref_walk_tit(w) (ref_walk_cur(w)->tit) argument
37 #define ref_walk_empty(w) (!ref_walk_tit(w)) argument
38 #define ref_walk_path(w) (ref_walk_cur(w)->path) argument
39 #define ref_walk_fpath(w) (ref_walk_cur(w)->full_path) argument
40 #define ref_walk_tl(w) (&ref_walk_cur(w)->tl) argument
/openbmc/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 …]
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_trans_space.h35 #define XFS_EXTENTADD_SPACE_RES(mp,w) (XFS_BM_MAXLEVELS(mp,w) - 1) argument
36 #define XFS_NEXTENTADD_SPACE_RES(mp,b,w)\ argument
42 #define XFS_SWAP_RMAP_SPACE_RES(mp,b,w)\ argument
46 #define XFS_DAENTER_1B(mp,w) \ argument
48 #define XFS_DAENTER_DBS(mp,w) \ argument
50 #define XFS_DAENTER_BLOCKS(mp,w) \ argument
52 #define XFS_DAENTER_BMAP1B(mp,w) \ argument
54 #define XFS_DAENTER_BMAPS(mp,w) \ argument
56 #define XFS_DAENTER_SPACE_RES(mp,w) \ argument
58 #define XFS_DAREMOVE_SPACE_RES(mp,w) XFS_DAENTER_BMAPS(mp,w) argument
/openbmc/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 …]
/openbmc/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()
/openbmc/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()
/openbmc/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()
/openbmc/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
/openbmc/linux/sound/soc/
H A Dsoc-dapm.c183 static bool dapm_dirty_widget(struct snd_soc_dapm_widget *w) in dapm_dirty_widget()
188 static void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason) in dapm_mark_dirty()
207 struct snd_soc_dapm_widget *w, enum snd_soc_dapm_direction dir) in dapm_widget_invalidate_paths()
247 static void dapm_widget_invalidate_input_paths(struct snd_soc_dapm_widget *w) in dapm_widget_invalidate_input_paths()
264 static void dapm_widget_invalidate_output_paths(struct snd_soc_dapm_widget *w) in dapm_widget_invalidate_output_paths()
303 struct snd_soc_dapm_widget *w; in dapm_mark_endpoints_dirty() local
325 struct snd_soc_dapm_widget *w; in dapm_cnew_widget() local
605 struct snd_soc_dapm_widget *w; in dapm_reset() local
655 dapm_wcache_lookup(struct snd_soc_dapm_widget *w, const char *name) in dapm_wcache_lookup()
743 struct snd_soc_dapm_widget *w) in dapm_connect_mux()
[all …]
/openbmc/linux/drivers/md/
H A Ddm-cache-background-tracker.c52 struct bt_work *w, *tmp; in btracker_destroy() local
79 struct bt_work *w; in __insert_pending() local
108 struct bt_work *w; in __find_pending() local
129 static void update_stats(struct background_tracker *b, struct policy_work *w, int delta) in update_stats()
177 struct bt_work *w; in btracker_queue() local
213 struct bt_work *w; in btracker_issue() local
229 struct bt_work *w = container_of(op, struct bt_work, work); in btracker_complete() local
/openbmc/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
/openbmc/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()
/openbmc/linux/lib/crypto/mpi/
H A 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()
/openbmc/qemu/hw/watchdog/
H A Dspapr_watchdog.c74 static target_ulong watchdog_stop(unsigned watchdogNumber, SpaprWatchdog *w) in watchdog_stop()
105 SpaprWatchdog *w = pw; in watchdog_expired() local
140 SpaprWatchdog *w; in h_watchdog() local
206 SpaprWatchdog *w = &spapr->wds[i]; in spapr_watchdog_init() local
219 SpaprWatchdog *w = opaque; in watchdog_needed() local
239 SpaprWatchdog *w = SPAPR_WDT(dev); in spapr_wdt_realize() local
/openbmc/qemu/ui/
H A Dvnc-enc-tight.c117 static bool tight_can_send_png_rect(VncState *vs, int w, int h) in tight_can_send_png_rect()
138 tight_detect_smooth_image24(VncState *vs, int w, int h) in tight_detect_smooth_image24()
296 tight_detect_smooth_image(VncState *vs, int w, int h) in tight_detect_smooth_image()
550 tight_filter_gradient24(VncState *vs, uint8_t *buf, int w, int h) in tight_filter_gradient24()
676 check_solid_tile32(VncState *vs, int x, int y, int w, int h, in check_solid_tile32()
705 static bool check_solid_tile(VncState *vs, int x, int y, int w, int h, in check_solid_tile()
712 static void find_best_solid_area(VncState *vs, int x, int y, int w, int h, in find_best_solid_area()
750 static void extend_solid_area(VncState *vs, int x, int y, int w, int h, in extend_solid_area()
917 static int send_full_color_rect(VncState *vs, int x, int y, int w, int h) in send_full_color_rect()
963 int w, int h, uint32_t bg, uint32_t fg) in send_mono_rect()
[all …]

12345678910>>...50