Home
last modified time | relevance | path

Searched refs:w (Results 1 – 25 of 1526) sorted by relevance

12345678910>>...62

/linux-6.3-rc2/drivers/input/joystick/
A Dwalkera0701.c85 val1 = ((w->buf[0] & 7) * 256 + w->buf[1] * 16 + w->buf[2]) >> 2; in walkera0701_parse_frame()
87 val2 = (w->buf[2] & 1) << 8 | (w->buf[3] << 4) | w->buf[4]; in walkera0701_parse_frame()
89 val3 = ((w->buf[5] & 7) * 256 + w->buf[6] * 16 + w->buf[7]) >> 2; in walkera0701_parse_frame()
91 val4 = (w->buf[7] & 1) << 8 | (w->buf[8] << 4) | w->buf[9]; in walkera0701_parse_frame()
93 val5 = ((w->buf[11] & 7) * 256 + w->buf[12] * 16 + w->buf[13]) >> 2; in walkera0701_parse_frame()
95 val6 = (w->buf[13] & 1) << 8 | (w->buf[14] << 4) | w->buf[15]; in walkera0701_parse_frame()
99 val8 = (w->buf[18] & 1) << 8 | (w->buf[19] << 4) | w->buf[20]; in walkera0701_parse_frame()
130 w->irq_lasttime = w->irq_time; in walkera0701_irq_handler()
141 w->buf[w->counter] = 8; in walkera0701_irq_handler()
144 w->buf[w->counter] = 0; in walkera0701_irq_handler()
[all …]
/linux-6.3-rc2/tools/include/asm-generic/bitops/
A Dconst_hweight.h19 #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
36 #define HWEIGHT32(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight32(w)) argument
[all …]
/linux-6.3-rc2/include/asm-generic/bitops/
A Dconst_hweight.h19 #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
36 #define HWEIGHT32(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight32(w)) argument
[all …]
/linux-6.3-rc2/net/ipv4/
A Dtcp_westwood.c89 if (w->bw_ns_est == 0 && w->bw_est == 0) { in westwood_filter()
90 w->bw_ns_est = w->bk / delta; in westwood_filter()
91 w->bw_est = w->bw_ns_est; in westwood_filter()
93 w->bw_ns_est = westwood_do_filter(w->bw_ns_est, w->bk / delta); in westwood_filter()
94 w->bw_est = westwood_do_filter(w->bw_est, w->bw_ns_est); in westwood_filter()
151 w->rtt_min = w->rtt; in update_rtt_min()
154 w->rtt_min = min(w->rtt, w->rtt_min); in update_rtt_min()
170 w->bk += tp->snd_una - w->snd_una; in westwood_fast_bw()
197 if (w->accounted >= w->cumul_ack) { in westwood_acked_count()
198 w->accounted -= w->cumul_ack; in westwood_acked_count()
[all …]
/linux-6.3-rc2/tools/lib/
A Dhweight.c15 w -= (w >> 1) & 0x55555555; in __sw_hweight32()
16 w = (w & 0x33333333) + ((w >> 2) & 0x33333333); in __sw_hweight32()
17 w = (w + (w >> 4)) & 0x0f0f0f0f; in __sw_hweight32()
18 return (w * 0x01010101) >> 24; in __sw_hweight32()
20 unsigned int res = w - ((w >> 1) & 0x55555555); in __sw_hweight32()
30 unsigned int res = w - ((w >> 1) & 0x5555); in __sw_hweight16()
38 unsigned int res = w - ((w >> 1) & 0x55); in __sw_hweight8()
50 w -= (w >> 1) & 0x5555555555555555ul; in __sw_hweight64()
51 w = (w & 0x3333333333333333ul) + ((w >> 2) & 0x3333333333333333ul); in __sw_hweight64()
52 w = (w + (w >> 4)) & 0x0f0f0f0f0f0f0f0ful; in __sw_hweight64()
[all …]
/linux-6.3-rc2/lib/
A Dhweight.c16 w -= (w >> 1) & 0x55555555; in __sw_hweight32()
17 w = (w & 0x33333333) + ((w >> 2) & 0x33333333); in __sw_hweight32()
18 w = (w + (w >> 4)) & 0x0f0f0f0f; in __sw_hweight32()
19 return (w * 0x01010101) >> 24; in __sw_hweight32()
21 unsigned int res = w - ((w >> 1) & 0x55555555); in __sw_hweight32()
32 unsigned int res = w - ((w >> 1) & 0x5555); in __sw_hweight16()
41 unsigned int res = w - ((w >> 1) & 0x55); in __sw_hweight8()
54 w -= (w >> 1) & 0x5555555555555555ul; in __sw_hweight64()
55 w = (w & 0x3333333333333333ul) + ((w >> 2) & 0x3333333333333333ul); in __sw_hweight64()
56 w = (w + (w >> 4)) & 0x0f0f0f0f0f0f0f0ful; in __sw_hweight64()
[all …]
/linux-6.3-rc2/arch/loongarch/include/asm/
A Dasm.h55 #define REG_L ld.w
56 #define REG_S st.w
57 #define REG_ADD add.w
58 #define REG_SUB sub.w
73 #define INT_L ld.w
74 #define INT_S st.w
104 #define LONG_L ld.w
105 #define LONG_S st.w
149 #define PTR_L ld.w
150 #define PTR_S st.w
[all …]
/linux-6.3-rc2/sound/soc/
A Dsoc-dapm.c612 w->new_power = w->power; in dapm_reset()
1086 w, w->name, NULL); in dapm_new_dai_link()
1426 w->new_power = w->power_check(w); in dapm_widget_power_check()
1570 ret = w->event(w, NULL, event); in dapm_seq_check_event()
1594 w->power = w->new_power; in dapm_seq_run_coalesced()
1596 mask |= w->mask << w->shift; in dapm_seq_run_coalesced()
1688 ret = w->event(w, in dapm_seq_run()
1691 ret = w->event(w, in dapm_seq_run()
1700 ret = w->event(w, in dapm_seq_run()
1703 ret = w->event(w, in dapm_seq_run()
[all …]
/linux-6.3-rc2/drivers/infiniband/hw/hfi1/
A Diowait.h309 w->iow->priority++; in iowait_get_desc()
343 w->priority = 0; in iowait_init_priority()
345 w->init_priority(w); in iowait_init_priority()
374 w->starved_cnt = 0; in iowait_queue()
376 w->starved_cnt++; in iowait_queue()
395 w->starved_cnt = 0; in iowait_starve_clear()
419 if (!w) in iowait_inc_wait_count()
421 w->iow->tx_count++; in iowait_inc_wait_count()
422 w->iow->count += n; in iowait_inc_wait_count()
449 if (likely(w)) in iowait_ioww_to_iow()
[all …]
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/
A Dutil.h66 w->fn = fn; in mt76_worker_setup()
67 w->task = kthread_run(__mt76_worker_fn, w, in mt76_worker_setup()
70 if (IS_ERR(w->task)) { in mt76_worker_setup()
72 w->task = NULL; in mt76_worker_setup()
81 if (!w->task) in mt76_worker_schedule()
91 if (!w->task) in mt76_worker_disable()
94 kthread_park(w->task); in mt76_worker_disable()
100 if (!w->task) in mt76_worker_enable()
109 if (!w->task) in mt76_worker_teardown()
112 kthread_stop(w->task); in mt76_worker_teardown()
[all …]
/linux-6.3-rc2/arch/m68k/ifpsp060/src/
A Ditest.S4877 mulu.l ([0x10.w,%a4,%d4.w*1],0x1000.w),%d2:%d3
4903 mulu.l ([0x10.w,%a4,%d4.w*2],0x1000.w),%d2:%d3
4929 mulu.l ([0x10.w,%a4,%d4.w*4],0x1000.w),%d2:%d3
4955 mulu.l ([0x10.w,%a4,%d4.w*8],0x1000.w),%d2:%d3
5277 mulu.l ([0x10.w,%a4],%d4.w*1,0x10.w),%d2:%d3
5304 mulu.l ([0x10.w,%a4],%d4.w*2,0x10.w),%d2:%d3
5331 mulu.l ([0x10.w,%a4],%d4.w*4,0x10.w),%d2:%d3
5358 mulu.l ([0x10.w,%a4],%d4.w*8,0x10.w),%d2:%d3
5412 mulu.l ([0x10.w,%a4],%d4.w*2,0x10.w),%d2:%d3
6025 mulu.l ([EASTORE.w,%pc],%d4.w*1,0x10.w),%d2:%d3
[all …]
/linux-6.3-rc2/drivers/media/platform/samsung/s5p-g2d/
A Dg2d-hw.c20 w(1, SOFT_RESET_REG); in g2d_reset()
27 w(0, SRC_SELECT_REG); in g2d_set_src_size()
33 w(n, SRC_LEFT_TOP_REG); in g2d_set_src_size()
45 w(a, SRC_BASE_ADDR_REG); in g2d_set_src_addr()
52 w(0, DST_SELECT_REG); in g2d_set_dst_size()
58 w(n, DST_LEFT_TOP_REG); in g2d_set_dst_size()
70 w(a, DST_BASE_ADDR_REG); in g2d_set_dst_addr()
75 w(r, ROP4_REG); in g2d_set_rop4()
102 w(0x7, CACHECTL_REG); in g2d_start()
105 w(1, INTEN_REG); in g2d_start()
[all …]
/linux-6.3-rc2/arch/m68k/include/asm/
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-6.3-rc2/drivers/media/platform/ti/omap/
A Domap_voutlib.c69 try_win = new_win->w; in omap_vout_try_window()
97 new_win->w = try_win; in omap_vout_try_window()
126 win->w = new_win->w; in omap_vout_new_window()
221 win->w.height = 2; in omap_vout_new_crop()
222 if (win->w.height + win->w.top > fbuf->fmt.height) { in omap_vout_new_crop()
227 win->w.height = (fbuf->fmt.height - win->w.top) & ~1; in omap_vout_new_crop()
240 win->w.width = 2; in omap_vout_new_crop()
241 if (win->w.width + win->w.left > fbuf->fmt.width) { in omap_vout_new_crop()
246 win->w.width = (fbuf->fmt.width - win->w.left) & ~1; in omap_vout_new_crop()
297 win->w.left = ((fbuf->fmt.width - win->w.width) >> 1) & ~1; in omap_vout_new_format()
[all …]
/linux-6.3-rc2/lib/mpi/
A Dmpi-sub-ui.c40 if (mpi_resize(w, 1) < 0) in mpi_sub_ui()
42 w->d[0] = vval; in mpi_sub_ui()
43 w->nlimbs = (vval != 0); in mpi_sub_ui()
44 w->sign = (vval != 0); in mpi_sub_ui()
56 w->d[u->nlimbs] = cy; in mpi_sub_ui()
58 w->sign = 1; in mpi_sub_ui()
65 w->nlimbs = 1; in mpi_sub_ui()
66 w->sign = 1; in mpi_sub_ui()
70 w->nlimbs = (u->nlimbs - (w->d[u->nlimbs - 1] == 0)); in mpi_sub_ui()
71 w->sign = 0; in mpi_sub_ui()
[all …]
A Dmpiutil.c237 if (w) { in mpi_snatch()
256 if (!w) in mpi_set()
259 wp = w->d; in mpi_set()
266 return w; in mpi_set()
272 if (!w) in mpi_set_ui()
278 w->d[0] = u; in mpi_set_ui()
280 w->sign = 0; in mpi_set_ui()
282 return w; in mpi_set_ui()
289 w->d[0] = u; in mpi_alloc_set_ui()
291 w->sign = 0; in mpi_alloc_set_ui()
[all …]
A Dmpi-add.c37 wp = w->d; in mpi_add_ui()
62 w->nlimbs = wsize; in mpi_add_ui()
63 w->sign = wsign; in mpi_add_ui()
94 wp = w->d; in mpi_add()
129 w->nlimbs = wsize; in mpi_add()
130 w->sign = wsign; in mpi_add()
138 mpi_add(w, u, vv); in mpi_sub()
145 mpi_add(w, u, v); in mpi_addm()
146 mpi_mod(w, w, m); in mpi_addm()
152 mpi_sub(w, u, v); in mpi_subm()
[all …]
/linux-6.3-rc2/drivers/md/
A Ddm-cache-background-tracker.c68 list_del(&w->list); in btracker_destroy()
92 struct bt_work *w; in __insert_pending() local
121 struct bt_work *w; in __find_pending() local
144 switch (w->op) { in update_stats()
190 struct bt_work *w; in btracker_queue() local
195 w = alloc_work(b); in btracker_queue()
196 if (!w) in btracker_queue()
211 *pwork = &w->work; in btracker_queue()
226 struct bt_work *w; in btracker_issue() local
233 *work = &w->work; in btracker_issue()
[all …]
/linux-6.3-rc2/fs/xfs/libxfs/
A Dxfs_trans_space.h35 #define XFS_EXTENTADD_SPACE_RES(mp,w) (XFS_BM_MAXLEVELS(mp,w) - 1) argument
39 XFS_EXTENTADD_SPACE_RES(mp,w))
46 #define XFS_DAENTER_1B(mp,w) \ argument
48 #define XFS_DAENTER_DBS(mp,w) \ argument
50 #define XFS_DAENTER_BLOCKS(mp,w) \ argument
51 (XFS_DAENTER_1B(mp,w) * XFS_DAENTER_DBS(mp,w))
52 #define XFS_DAENTER_BMAP1B(mp,w) \ argument
53 XFS_NEXTENTADD_SPACE_RES(mp, XFS_DAENTER_1B(mp, w), w)
55 (XFS_DAENTER_DBS(mp,w) * XFS_DAENTER_BMAP1B(mp,w))
57 (XFS_DAENTER_BLOCKS(mp,w) + XFS_DAENTER_BMAPS(mp,w))
[all …]
/linux-6.3-rc2/drivers/video/fbdev/omap/
A Dlcd_dma.c137 u16 w; in set_b1_regs() local
257 w &= ~0x03; in set_b1_regs()
286 u16 w; in lcd_dma_irq_handler() local
294 w |= (1 << 3); in lcd_dma_irq_handler()
350 u16 w; in omap_enable_lcd_dma() local
361 w |= 1 << 8; in omap_enable_lcd_dma()
367 w |= 1 << 7; in omap_enable_lcd_dma()
383 u16 w; in omap_setup_lcd_dma() local
401 u16 w; in omap_stop_lcd_dma() local
408 w &= ~(1 << 7); in omap_stop_lcd_dma()
[all …]
/linux-6.3-rc2/tools/bpf/bpftool/
A Dbtf.c109 jsonw_start_object(w); in dump_btf_type()
171 jsonw_start_array(w); in dump_btf_type()
196 jsonw_end_object(w); in dump_btf_type()
205 jsonw_end_array(w); in dump_btf_type()
220 jsonw_start_array(w); in dump_btf_type()
234 jsonw_end_object(w); in dump_btf_type()
243 jsonw_end_array(w); in dump_btf_type()
258 jsonw_start_array(w); in dump_btf_type()
284 jsonw_end_array(w); in dump_btf_type()
334 jsonw_end_array(w); in dump_btf_type()
[all …]
/linux-6.3-rc2/include/linux/soc/ti/
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-6.3-rc2/arch/x86/include/asm/
A Darch_hweight.h15 static __always_inline unsigned int __arch_hweight32(unsigned int w) in __arch_hweight32() argument
21 : REG_IN (w)); in __arch_hweight32()
26 static inline unsigned int __arch_hweight16(unsigned int w) in __arch_hweight16() argument
28 return __arch_hweight32(w & 0xffff); in __arch_hweight16()
31 static inline unsigned int __arch_hweight8(unsigned int w) in __arch_hweight8() argument
33 return __arch_hweight32(w & 0xff); in __arch_hweight8()
37 static inline unsigned long __arch_hweight64(__u64 w) in __arch_hweight64() argument
39 return __arch_hweight32((u32)w) + in __arch_hweight64()
40 __arch_hweight32((u32)(w >> 32)); in __arch_hweight64()
43 static __always_inline unsigned long __arch_hweight64(__u64 w) in __arch_hweight64() argument
[all …]
/linux-6.3-rc2/net/ipv6/
A Dip6_fib.c461 err = fib6_rt_dump(w->leaf, w->args); in fib6_node_dump()
487 w = kzalloc(sizeof(*w), GFP_ATOMIC); in fib6_tables_dump()
600 w->node = w->root; in fib6_dump_table()
601 w->skip = w->count; in fib6_dump_table()
2112 err = w->func(w); in fib6_walk_continue()
2157 w->node = w->root; in fib6_walk()
2544 iter->w.node = iter->w.root; in ipv6_route_seq_setup_walk()
2579 iter->w.node = iter->w.root; in ipv6_route_check_sernum()
2581 iter->w.skip = iter->w.count; in ipv6_route_check_sernum()
2643 struct fib6_walker *w = &iter->w; in ipv6_route_iter_active() local
[all …]
/linux-6.3-rc2/drivers/staging/greybus/
A Daudio_helper.c27 switch (w->id) { in gbaudio_dapm_link_dai_widget()
35 if (!w->sname || !strstr(w->sname, dai_w->sname)) in gbaudio_dapm_link_dai_widget()
46 sink = w; in gbaudio_dapm_link_dai_widget()
48 src = w; in gbaudio_dapm_link_dai_widget()
95 list_del(&w->list); in gbaudio_dapm_free_widget()
106 kfree(w->kcontrols); in gbaudio_dapm_free_widget()
107 kfree_const(w->name); in gbaudio_dapm_free_widget()
109 kfree(w); in gbaudio_dapm_free_widget()
122 w = NULL; in gbaudio_dapm_free_controls()
126 w = tmp_w; in gbaudio_dapm_free_controls()
[all …]

Completed in 86 milliseconds

12345678910>>...62