Home
last modified time | relevance | path

Searched +full:1 +full:w (Results 1 – 25 of 1084) sorted by relevance

12345678910>>...44

/linux/arch/sh/drivers/pci/
H A Dpcie-sh7786.h13 #define SH4A_PCIE_SPW_BASE1 0xFE200000 /* spw config address for controller 1 (Rev1.14)*/
18 #define SH4A_PCI_CNFG_BASE1 0xFE240000 /* pci config address for controller 1 (Rev1.14)*/
44 #define BITS_BADOPC (5) /* 5 BADOPC 0 R/W */
45 #define MASK_BADOPC (1<<BITS_BADOPC)
46 #define BITS_BADDEST (4) /*4 BADDEST 0 R/W */
47 #define MASK_BADDEST (1<<BITS_BADDEST)
48 #define BITS_UNSOLRESP (3) /* 3 UNSOLRESP 0 R/W */
49 #define MASK_UNSOLRESP (1<<BITS_UNSOLRESP)
50 #define BITS_ERRSNT (1) /* 1 ERRSNT 0 */
51 #define MASK_ERRSNT (1<<BITS_ERRSNT)
[all …]
/linux/include/asm-generic/bitops/
H A Dconst_hweight.h8 #define __const_hweight8(w) \ argument
10 ((!!((w) & (1ULL << 0))) + \
11 (!!((w) & (1ULL << 1))) + \
12 (!!((w) & (1ULL << 2))) + \
13 (!!((w) & (1ULL << 3))) + \
14 (!!((w) & (1ULL << 4))) + \
15 (!!((w) & (1ULL << 5))) + \
16 (!!((w) & (1ULL << 6))) + \
17 (!!((w) & (1ULL << 7)))))
19 #define __const_hweight16(w) (__const_hweight8(w) + __const_hweight8((w) >> 8 )) argument
[all …]
/linux/tools/include/asm-generic/bitops/
H A Dconst_hweight.h8 #define __const_hweight8(w) \ argument
10 ((!!((w) & (1ULL << 0))) + \
11 (!!((w) & (1ULL << 1))) + \
12 (!!((w) & (1ULL << 2))) + \
13 (!!((w) & (1ULL << 3))) + \
14 (!!((w) & (1ULL << 4))) + \
15 (!!((w) & (1ULL << 5))) + \
16 (!!((w) & (1ULL << 6))) + \
17 (!!((w) & (1ULL << 7)))))
19 #define __const_hweight16(w) (__const_hweight8(w) + __const_hweight8((w) >> 8 )) argument
[all …]
/linux/drivers/input/joystick/
H A Dwalkera0701.c62 static inline void walkera0701_parse_frame(struct walkera_dev *w) in walkera0701_parse_frame() argument
70 crc1 += w->buf[i] & 7; in walkera0701_parse_frame()
71 crc2 += (w->buf[i] & 8) >> 3; in walkera0701_parse_frame()
73 if ((w->buf[10] & 7) != (crc1 & 7)) in walkera0701_parse_frame()
75 if (((w->buf[10] & 8) >> 3) != (((crc1 >> 3) + crc2) & 1)) in walkera0701_parse_frame()
78 crc1 += w->buf[i] & 7; in walkera0701_parse_frame()
79 crc2 += (w->buf[i] & 8) >> 3; in walkera0701_parse_frame()
81 if ((w->buf[23] & 7) != (crc1 & 7)) in walkera0701_parse_frame()
83 if (((w->buf[23] & 8) >> 3) != (((crc1 >> 3) + crc2) & 1)) in walkera0701_parse_frame()
85 val1 = ((w->buf[0] & 7) * 256 + w->buf[1] * 16 + w->buf[2]) >> 2; in walkera0701_parse_frame()
[all …]
/linux/arch/m68k/math-emu/
H A Dfp_util.S9 * 1. Redistributions of source code must retain the above copyright
64 jmi 1f
66 jmi 1f
69 1: printf ,"oops:%p,%p,%p\n",3,%a2@(TASK_MM-8),%a2@(TASK_MM-4),%a2@(TASK_MM)
102 jpl 1f | positive?
103 moveq #1,%d1
105 1: swap %d1
106 move.w #0x3fff+31,%d1
134 lsr.w #8,%d1
136 cmp.w #0xff,%d1 | NaN / Inf?
[all …]
H A Dfp_decode.h9 * 1. Redistributions of source code must retain the above copyright
74 jmp ([0f:w,%pc,%d0*4])
86 jmp ([0f:w,%pc,%d0*4])
116 jmp ([0f:w,%pc,%d0*4])
136 ext.w %d0
143 jne 1\@f
144 printf PDECODE,"d%d",1,%d0
147 1\@: printf PDECODE,"a%d",1,%d0
151 debug lea "'l'.w,%a0"
154 debug lea "'w'.w,%a0"
[all …]
/linux/tools/lib/
H A Dhweight.c12 unsigned int __sw_hweight32(unsigned int w) in __sw_hweight32() argument
15 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()
28 unsigned int __sw_hweight16(unsigned int w) in __sw_hweight16() argument
30 unsigned int res = w - ((w >> 1) & 0x5555); in __sw_hweight16()
36 unsigned int __sw_hweight8(unsigned int w) in __sw_hweight8() argument
38 unsigned int res = w - ((w >> 1) & 0x55); in __sw_hweight8()
[all …]
/linux/lib/
H A Dhweight.c8 * @w: the word to weigh
13 unsigned int __sw_hweight32(unsigned int w) in __sw_hweight32() argument
16 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()
30 unsigned int __sw_hweight16(unsigned int w) in __sw_hweight16() argument
32 unsigned int res = w - ((w >> 1) & 0x5555); in __sw_hweight16()
39 unsigned int __sw_hweight8(unsigned int w) in __sw_hweight8() argument
[all …]
/linux/lib/crypto/x86/
H A Dsha1-ssse3-and-avx.S3 * This is a SIMD SHA-1 implementation. It requires the Intel(R) Supplemental
17 … http://software.intel.com/en-us/articles/improving-the-performance-of-the-secure-hash-algorithm-1/
61 /* we keep window of 64 w[i]+K pre-calculated values in a circular buffer */
66 * This macro implements the SHA-1 function's body for single 64-byte block
108 * This macro implements 80 rounds of SHA-1 for one 64-byte block
122 .set i, (i+1)
126 1:
187 jne 1b
249 * RR does two rounds of SHA-1 back to back with W[] pre-calc
250 * t1 = F(b, c, d); e += w(i)
[all …]
H A Dsha512-ssse3-asm.S84 # WK_2(t) points to 1 of 2 qwords at frame.WK depending on t being odd/even
98 # W[t]+K[t] (stack frame)
125 add WK_2(idx), T1 # W[t] + K[t] from message scheduler
129 add h_64, T1 # T1 = CH(e,f,g) + W[t] + K[t] + h
131 add tmp0, T1 # T1 = CH(e,f,g) + W[t] + K[t] + S1(e)
151 # Compute rounds t-2 and t-1
152 # Compute message schedule QWORDS t and t+1
154 # Two rounds are computed based on the values for K[t-2]+W[t-2] and
155 # K[t-1]+W[t-1] which were previously stored at WK_2 by the message
157 # The two new schedule QWORDS are stored at [W_t(%%t)] and [W_t(%%t+1)].
[all …]
H A Dsha512-avx-asm.S77 # W[t] + K[t] | W[t+1] + K[t+1]
86 # WK_2(t) points to 1 of 2 qwords at frame.WK depending on t being odd/even
100 # W[t]+K[t] (stack frame)
131 add WK_2(idx), T1 # W[t] + K[t] from message scheduler
135 add h_64, T1 # T1 = CH(e,f,g) + W[t] + K[t] + h
137 add tmp0, T1 # T1 = CH(e,f,g) + W[t] + K[t] + S1(e)
156 # Compute rounds t-2 and t-1
157 # Compute message schedule QWORDS t and t+1
159 # Two rounds are computed based on the values for K[t-2]+W[t-2] and
160 # K[t-1]+W[t-1] which were previously stored at WK_2 by the message
[all …]
H A Dsha512-avx2-asm.S49 # This code schedules 1 blocks at a time, with 4 lanes per block
71 # 1st arg is %rdi, which is saved to the stack and accessed later via %r12
101 SRND_SIZE = 1*8
102 INP_SIZE = 1*8
103 INPEND_SIZE = 1*8
104 CTX_SIZE = 1*8
165 # Extract w[t-7]
166 MY_VPALIGNR YTMP0, Y_3, Y_2, 8 # YTMP0 = W[-7]
167 # Calculate w[t-16] + w[t-7]
168 vpaddq Y_0, YTMP0, YTMP0 # YTMP0 = W[-7] + W[-16]
[all …]
/linux/sound/soc/
H A Dsoc-dapm.c77 [snd_soc_dapm_pre] = 1,
119 [snd_soc_dapm_pre] = 1,
219 static bool dapm_dirty_widget(struct snd_soc_dapm_widget *w)
221 return !list_empty(&w->dirty); in dapm_mark_dirty()
224 static void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason) in dapm_mark_dirty()
226 struct device *dev = snd_soc_dapm_to_dev(w->dapm); in dapm_mark_dirty()
228 dapm_assert_locked(w->dapm); in dapm_mark_dirty()
230 if (!dapm_dirty_widget(w)) { in dapm_mark_dirty()
232 w->name, reason);
233 list_add_tail(&w
215 dapm_dirty_widget(struct snd_soc_dapm_widget * w) dapm_dirty_widget() argument
220 dapm_mark_dirty(struct snd_soc_dapm_widget * w,const char * reason) dapm_mark_dirty() argument
241 dapm_widget_invalidate_paths(struct snd_soc_dapm_widget * w,enum snd_soc_dapm_direction dir) dapm_widget_invalidate_paths() argument
281 dapm_widget_invalidate_input_paths(struct snd_soc_dapm_widget * w) dapm_widget_invalidate_input_paths() argument
298 dapm_widget_invalidate_output_paths(struct snd_soc_dapm_widget * w) dapm_widget_invalidate_output_paths() argument
337 struct snd_soc_dapm_widget *w; snd_soc_dapm_mark_endpoints_dirty() local
448 dapm_connect_mux(struct snd_soc_dapm_context * dapm,struct snd_soc_dapm_path * path,const char * control_name,struct snd_soc_dapm_widget * w) dapm_connect_mux() argument
507 dapm_update_widget_flags(struct snd_soc_dapm_widget * w) dapm_update_widget_flags() argument
971 struct snd_soc_dapm_widget *w; dapm_reset() local
1014 dapm_wcache_lookup(struct snd_soc_dapm_widget * w,const char * name) dapm_wcache_lookup() argument
1139 struct snd_soc_dapm_widget *w; dapm_is_shared_kcontrol() local
1163 dapm_create_or_share_kcontrol(struct snd_soc_dapm_widget * w,int kci) dapm_create_or_share_kcontrol() argument
1274 dapm_new_mixer(struct snd_soc_dapm_widget * w) dapm_new_mixer() argument
1309 dapm_new_mux(struct snd_soc_dapm_widget * w) dapm_new_mux() argument
1356 dapm_new_pga(struct snd_soc_dapm_widget * w) dapm_new_pga() argument
1370 dapm_new_dai_link(struct snd_soc_dapm_widget * w) dapm_new_dai_link() argument
1430 struct snd_soc_dapm_widget *w; dapm_widget_list_create() local
1602 struct snd_soc_dapm_widget *w = snd_soc_dai_get_widget(dai, stream); snd_soc_dapm_dai_get_connected_widgets() local
1642 snd_soc_dapm_regulator_event(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kcontrol,int event) snd_soc_dapm_regulator_event() argument
1677 snd_soc_dapm_pinctrl_event(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kcontrol,int event) snd_soc_dapm_pinctrl_event() argument
1702 snd_soc_dapm_clock_event(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kcontrol,int event) snd_soc_dapm_clock_event() argument
1721 dapm_widget_power_check(struct snd_soc_dapm_widget * w) dapm_widget_power_check() argument
1737 dapm_generic_check_power(struct snd_soc_dapm_widget * w) dapm_generic_check_power() argument
1749 dapm_supply_check_power(struct snd_soc_dapm_widget * w) dapm_supply_check_power() argument
1770 dapm_always_on_check_power(struct snd_soc_dapm_widget * w) dapm_always_on_check_power() argument
1813 struct snd_soc_dapm_widget *w; dapm_seq_insert() local
1825 dapm_seq_check_event(struct snd_soc_card * card,struct snd_soc_dapm_widget * w,int event) dapm_seq_check_event() argument
1885 struct snd_soc_dapm_widget *w; dapm_seq_run_coalesced() local
1943 struct snd_soc_dapm_widget *w, *n; dapm_seq_run() local
2044 struct snd_soc_dapm_widget *w = NULL; dapm_widget_update() local
2176 dapm_power_one_widget(struct snd_soc_dapm_widget * w,struct list_head * up_list,struct list_head * down_list) dapm_power_one_widget() argument
2256 struct snd_soc_dapm_widget *w; dapm_power_widgets() local
2443 struct snd_soc_dapm_widget *w = file->private_data; dapm_widget_power_read_file() local
2567 dapm_debugfs_add_widget(struct snd_soc_dapm_widget * w) dapm_debugfs_add_widget() argument
2578 dapm_debugfs_free_widget(struct snd_soc_dapm_widget * w) dapm_debugfs_free_widget() argument
2600 dapm_debugfs_add_widget(struct snd_soc_dapm_widget * w) dapm_debugfs_add_widget() argument
2604 dapm_debugfs_free_widget(struct snd_soc_dapm_widget * w) dapm_debugfs_free_widget() argument
2747 struct snd_soc_dapm_widget *w; dapm_widget_show_component() local
2850 snd_soc_dapm_free_widget(struct snd_soc_dapm_widget * w) snd_soc_dapm_free_widget() argument
2882 struct snd_soc_dapm_widget *w, *next_w; dapm_free_widgets() local
2898 struct snd_soc_dapm_widget *w; dapm_find_widget() local
2935 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, true); __dapm_set_pin() local
3017 dapm_update_dai_chan(struct snd_soc_dapm_path * p,struct snd_soc_dapm_widget * w,int channels) dapm_update_dai_chan() argument
3049 struct snd_soc_dapm_widget *w; dapm_update_dai_unlocked() local
3103 struct snd_soc_dapm_widget *wsource = NULL, *wsink = NULL, *w; snd_soc_dapm_add_route() local
3324 struct snd_soc_dapm_widget *w; snd_soc_dapm_new_widgets() local
3762 struct snd_soc_dapm_widget *w; snd_soc_dapm_new_control_unlocked() local
3912 struct snd_soc_dapm_widget *w; snd_soc_dapm_new_control() local
3941 struct snd_soc_dapm_widget *w = snd_soc_dapm_new_control_unlocked(dapm, widget); snd_soc_dapm_new_controls() local
3953 dapm_dai_link_event_pre_pmu(struct snd_soc_dapm_widget * w,struct snd_pcm_substream * substream) dapm_dai_link_event_pre_pmu() argument
4068 dapm_dai_link_event(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kcontrol,int event) dapm_dai_link_event() argument
4163 struct snd_soc_dapm_widget *w = snd_kcontrol_chip(kcontrol); dapm_dai_link_get() local
4174 struct snd_soc_dapm_widget *w = snd_kcontrol_chip(kcontrol); dapm_dai_link_put() local
4285 struct snd_soc_dapm_widget *w; dapm_new_dai() local
4364 struct snd_soc_dapm_widget *w; snd_soc_dapm_new_dai_widgets() local
4409 struct snd_soc_dapm_widget *dai_w, *w; snd_soc_dapm_link_dai_widgets() local
4532 struct snd_soc_dapm_widget *w; dapm_dai_stream_event() local
4716 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, true); snd_soc_dapm_force_enable_pin_unlocked() local
4827 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, true); snd_soc_dapm_get_pin_status() local
4851 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, false); snd_soc_dapm_ignore_suspend() local
4896 struct snd_soc_dapm_widget *w; dapm_shutdown() local
[all...]
/linux/drivers/media/platform/ti/omap/
H A Domap_voutlib.c50 crop->width &= ~1; in omap_vout_default_crop()
51 crop->height &= ~1; in omap_vout_default_crop()
52 crop->left = ((pix->width - crop->width) >> 1) & ~1; in omap_vout_default_crop()
53 crop->top = ((pix->height - crop->height) >> 1) & ~1; in omap_vout_default_crop()
69 try_win = new_win->w; in omap_vout_try_window()
90 try_win.width &= ~1; in omap_vout_try_window()
91 try_win.height &= ~1; 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()
132 /* For 24xx limit is 8x to 1/2x scaling. */ in omap_vout_new_window()
[all …]
/linux/lib/crypto/powerpc/
H A Dsha1-powerpc-asm.S3 * SHA-1 implementation for PowerPC.
23 * iteration; T on iteration t is A on iteration t+1, and so on.
30 #define RD(t) ((((t)+1)%6)+7)
33 /* We use registers 16 - 31 for the W values */
34 #define W(t) (((t)%16)+16) macro
37 LWZ(W(t),(t)*4,r4)
46 add r14,r0,W(t); \
47 LWZ(W((t)+4),((t)+4)*4,r4); \
58 xor r5,W((t)+4-3),W((t)+4-8); \
60 xor W((t)+4),W((t)+4-16),W((t)+4-14); \
[all …]
H A Dsha1-spe-asm.S3 * Fast SHA-1 implementation for SPE instruction set (PPC)
107 LOAD_DATA(w0, off) /* 1: W */ \
108 and rT2,b,c; /* 1: F' = B and C */ \
109 LOAD_K##k##1 \
110 andc rT1,d,b; /* 1: F" = ~B and D */ \
111 rotrwi rT0,a,27; /* 1: A' = A rotl 5 */ \
112 or rT2,rT2,rT1; /* 1: F = F' or F" */ \
113 add e,e,rT0; /* 1: E = E + A' */ \
114 rotrwi b,b,2; /* 1: B = B rotl 30 */ \
115 add e,e,w0; /* 1: E = E + W */ \
[all …]
/linux/kernel/bpf/
H A Dcfg.c13 * 1 procedure DFS-iterative(G,v):
24 * 12 w <- G.adjacentVertex(t,e)
25 * 13 if vertex w is not discovered and not explored
27 * 15 label w as discovered
28 * 16 S.push(w)
30 * 18 else if vertex w is discovered
33 * 21 // vertex w is explored
48 FALLTHROUGH = 1,
77 * 'w' is a callee entry point.
78 * Eventually this function would be called when env->cfg.insn_state[w] == EXPLORED.
[all …]
/linux/drivers/media/platform/samsung/s5p-g2d/
H A Dg2d-hw.c14 #define w(x, a) writel((x), d->regs + (a)) macro
20 w(1, SOFT_RESET_REG); in g2d_reset()
27 w(0, SRC_SELECT_REG); in g2d_set_src_size()
28 w(f->stride & 0xFFFF, SRC_STRIDE_REG); in g2d_set_src_size()
33 w(n, SRC_LEFT_TOP_REG); in g2d_set_src_size()
38 w(n, SRC_RIGHT_BOTTOM_REG); in g2d_set_src_size()
40 w(f->fmt->hw, SRC_COLOR_MODE_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()
53 w(f->stride & 0xFFFF, DST_STRIDE_REG); in g2d_set_dst_size()
[all …]
/linux/lib/crypto/mpi/
H A Dmpi-sub-ui.c39 int mpi_sub_ui(MPI w, MPI u, unsigned long vval) in mpi_sub_ui() argument
42 if (mpi_resize(w, 1) < 0) in mpi_sub_ui()
44 w->d[0] = vval; in mpi_sub_ui()
45 w->nlimbs = (vval != 0); in mpi_sub_ui()
46 w->sign = (vval != 0); in mpi_sub_ui()
50 /* If not space for W (and possible carry), increase space. */ in mpi_sub_ui()
51 if (mpi_resize(w, u->nlimbs + 1)) in mpi_sub_ui()
57 cy = mpihelp_add_1(w->d, u->d, u->nlimbs, (mpi_limb_t) vval); in mpi_sub_ui()
58 w->d[u->nlimbs] = cy; in mpi_sub_ui()
59 w->nlimbs = u->nlimbs + cy; in mpi_sub_ui()
[all …]
H A Dmpi-add.c18 int mpi_add(MPI w, MPI u, MPI v) in mpi_add() argument
30 wsize = usize + 1; in mpi_add()
31 err = RESIZE_IF_NEEDED(w, wsize); in mpi_add()
34 /* These must be after realloc (u or v may be the same as w). */ in mpi_add()
42 wsize = usize + 1; in mpi_add()
43 err = RESIZE_IF_NEEDED(w, wsize); in mpi_add()
46 /* These must be after realloc (u or v may be the same as w). */ in mpi_add()
50 wp = w->d; in mpi_add()
69 wsign = 1; in mpi_add()
75 wsign = 1; in mpi_add()
[all …]
/linux/drivers/comedi/drivers/
H A Dni_labpc_regs.h12 #define STAT1_REG 0x00 /* R: Status 1 reg */
14 #define STAT1_OVERRUN BIT(1)
19 #define CMD1_REG 0x00 /* W: Command 1 reg */
24 #define CMD2_REG 0x01 /* W: Command 2 reg */
26 #define CMD2_HWTRIG BIT(1)
32 #define CMD3_REG 0x02 /* W: Command 3 reg */
34 #define CMD3_DIOINTEN BIT(1)
39 #define ADC_START_CONVERT_REG 0x03 /* W: Start Convert reg */
40 #define DAC_LSB_REG(x) (0x04 + 2 * (x)) /* W: DAC0/1 LSB reg */
41 #define DAC_MSB_REG(x) (0x05 + 2 * (x)) /* W: DAC0/1 MSB reg */
[all …]
/linux/fs/xfs/libxfs/
H A Dxfs_trans_space.h26 ((((b) + XFS_MAX_CONTIG_RTRMAPS_PER_BLOCK(mp) - 1) / \
46 (((b + XFS_MAX_CONTIG_RMAPS_PER_BLOCK(mp) - 1) / \
52 #define XFS_EXTENTADD_SPACE_RES(mp,w) (XFS_BM_MAXLEVELS(mp,w) - 1) argument
53 #define XFS_NEXTENTADD_SPACE_RES(mp,b,w)\ argument
54 (((b + XFS_MAX_CONTIG_EXTENTS_PER_BLOCK(mp) - 1) / \
56 XFS_EXTENTADD_SPACE_RES(mp,w))
59 #define XFS_SWAP_RMAP_SPACE_RES(mp,b,w)\ argument
60 (XFS_NEXTENTADD_SPACE_RES((mp), (b), (w)) + \
63 #define XFS_DAENTER_1B(mp,w) \ argument
64 ((w) == XFS_DATA_FORK ? (mp)->m_dir_geo->fsbcount : 1)
[all …]
/linux/drivers/gpu/drm/omapdrm/
H A Dtcm-sita.c3 * SImple Tiler Allocator (SiTA): 2D and 1D allocation(reservation) algorithm
23 * w width in slots
28 static void free_slots(unsigned long pos, u16 w, u16 h, in free_slots() argument
34 bitmap_clear(map, pos, w); in free_slots()
38 * w width in slots
43 static int r2l_b2t_1d(u16 w, unsigned long *pos, unsigned long *map, in r2l_b2t_1d() argument
50 *pos = num_bits - w; in r2l_b2t_1d()
55 if (bit - *pos >= w) { in r2l_b2t_1d()
57 bitmap_set(map, *pos, w); in r2l_b2t_1d()
62 search_count = num_bits - bit + w; in r2l_b2t_1d()
[all …]
/linux/drivers/watchdog/
H A Dbd96801_wdt.c68 struct wdtbd96801 *w = watchdog_get_drvdata(wdt); in bd96801_wdt_ping() local
70 return regmap_update_bits(w->regmap, BD96801_REG_WD_FEED, in bd96801_wdt_ping()
76 struct wdtbd96801 *w = watchdog_get_drvdata(wdt); in bd96801_wdt_start() local
78 return regmap_update_bits(w->regmap, BD96801_REG_WD_CONF, in bd96801_wdt_start()
84 struct wdtbd96801 *w = watchdog_get_drvdata(wdt); in bd96801_wdt_stop() local
86 return regmap_update_bits(w->regmap, BD96801_REG_WD_CONF, in bd96801_wdt_stop()
108 window <<= 1; in find_closest_fast()
156 window <<= 1; in find_closest_slow()
166 static int bd96801_set_wdt_mode(struct wdtbd96801 *w, unsigned int hw_margin, in bd96801_set_wdt_mode() argument
170 struct device *dev = w->dev; in bd96801_set_wdt_mode()
[all …]
/linux/arch/loongarch/include/asm/
H A Datomic.h25 #define __LL "ll.w "
26 #define __SC "sc.w "
27 #define __AMADD "amadd.w "
28 #define __AMOR "amor.w "
29 #define __AMAND_DB "amand_db.w "
30 #define __AMOR_DB "amor_db.w "
31 #define __AMXOR_DB "amxor_db.w "
52 "0: ll.w %[p], %[c]\n" in arch_atomic_fetch_add_unless()
53 " beq %[p], %[u], 1f\n" in arch_atomic_fetch_add_unless()
54 " add.w %[rc], %[p], %[a]\n" in arch_atomic_fetch_add_unless()
[all …]

12345678910>>...44