Home
last modified time | relevance | path

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

12345678910>>...43

/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/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/lib/
H A Dhweight.c13 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
41 unsigned int res = w - ((w >> 1) & 0x55); in __sw_hweight8()
[all …]
/linux/drivers/scsi/
H A Dnsp32.h33 MODEL_KME = 1,
65 # define TRUE 1
70 #define ASSERT 1
81 #define IRQ_CONTROL 0x00 /* BASE+00, W, W */
82 #define IRQ_STATUS 0x00 /* BASE+00, W, R */
84 # define IRQSTATUS_LATCHED_IO BIT(1)
112 #define TRANSFER_CONTROL 0x02 /* BASE+02, W, W */
113 #define TRANSFER_STATUS 0x02 /* BASE+02, W, R */
115 # define CB_IO_MODE BIT(1)
130 #define INDEX_REG 0x04 /* BASE+04, Byte(R/W), Word(R) */
[all …]
/linux/tools/bpf/bpftool/bash-completion/
H A Dbpftool12 local w idx found
13 for w in $*; do
15 for (( idx=3; idx < ${#words[@]}-1; idx++ )); do
16 if [[ $w == ${words[idx]} ]]; then
17 found=1
22 COMPREPLY+=( $( compgen -W "$w" -- "$cur" ) )
27 # command line, return 0. Otherwise, return 1.
30 local w idx
31 for w i
[all...]
/linux/sound/soc/
H A Dsoc-dapm.c54 [snd_soc_dapm_pre] = 1,
95 [snd_soc_dapm_pre] = 1,
189 static bool dapm_dirty_widget(struct snd_soc_dapm_widget *w)
191 return !list_empty(&w->dirty); in dapm_widget_invalidate_paths()
194 static void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason) in dapm_widget_invalidate_paths()
196 dapm_assert_locked(w->dapm); in dapm_widget_invalidate_paths()
198 if (!dapm_dirty_widget(w)) { in dapm_widget_invalidate_paths()
199 dev_vdbg(w->dapm->dev, "Marking %s dirty due to %s\n", in dapm_widget_invalidate_paths()
200 w->name, reason); in dapm_widget_invalidate_paths()
201 list_add_tail(&w in dapm_widget_invalidate_paths()
168 dapm_dirty_widget(struct snd_soc_dapm_widget * w) dapm_dirty_widget() argument
173 dapm_mark_dirty(struct snd_soc_dapm_widget * w,const char * reason) dapm_mark_dirty() argument
192 dapm_widget_invalidate_paths(struct snd_soc_dapm_widget * w,enum snd_soc_dapm_direction dir) dapm_widget_invalidate_paths() argument
232 dapm_widget_invalidate_input_paths(struct snd_soc_dapm_widget * w) dapm_widget_invalidate_input_paths() argument
249 dapm_widget_invalidate_output_paths(struct snd_soc_dapm_widget * w) dapm_widget_invalidate_output_paths() argument
288 struct snd_soc_dapm_widget *w; snd_soc_dapm_mark_endpoints_dirty() local
399 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
458 dapm_update_widget_flags(struct snd_soc_dapm_widget * w) dapm_update_widget_flags() argument
908 struct snd_soc_dapm_widget *w; dapm_reset() local
951 dapm_wcache_lookup(struct snd_soc_dapm_widget * w,const char * name) dapm_wcache_lookup() argument
1045 struct snd_soc_dapm_widget *w; dapm_is_shared_kcontrol() local
1069 dapm_create_or_share_kcontrol(struct snd_soc_dapm_widget * w,int kci) dapm_create_or_share_kcontrol() argument
1179 dapm_new_mixer(struct snd_soc_dapm_widget * w) dapm_new_mixer() argument
1214 dapm_new_mux(struct snd_soc_dapm_widget * w) dapm_new_mux() argument
1260 dapm_new_pga(struct snd_soc_dapm_widget * w) dapm_new_pga() argument
1274 dapm_new_dai_link(struct snd_soc_dapm_widget * w) dapm_new_dai_link() argument
1332 struct snd_soc_dapm_widget *w; dapm_widget_list_create() local
1504 struct snd_soc_dapm_widget *w = snd_soc_dai_get_widget(dai, stream); snd_soc_dapm_dai_get_connected_widgets() local
1544 snd_soc_dapm_regulator_event(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kcontrol,int event) snd_soc_dapm_regulator_event() argument
1578 snd_soc_dapm_pinctrl_event(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kcontrol,int event) snd_soc_dapm_pinctrl_event() argument
1603 snd_soc_dapm_clock_event(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kcontrol,int event) snd_soc_dapm_clock_event() argument
1622 dapm_widget_power_check(struct snd_soc_dapm_widget * w) dapm_widget_power_check() argument
1638 dapm_generic_check_power(struct snd_soc_dapm_widget * w) dapm_generic_check_power() argument
1650 dapm_supply_check_power(struct snd_soc_dapm_widget * w) dapm_supply_check_power() argument
1671 dapm_always_on_check_power(struct snd_soc_dapm_widget * w) dapm_always_on_check_power() argument
1714 struct snd_soc_dapm_widget *w; dapm_seq_insert() local
1726 dapm_seq_check_event(struct snd_soc_card * card,struct snd_soc_dapm_widget * w,int event) dapm_seq_check_event() argument
1784 struct snd_soc_dapm_widget *w; dapm_seq_run_coalesced() local
1841 struct snd_soc_dapm_widget *w, *n; dapm_seq_run() local
1941 struct snd_soc_dapm_widget *w = NULL; dapm_widget_update() local
2074 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
2148 struct snd_soc_dapm_widget *w; dapm_power_widgets() local
2335 struct snd_soc_dapm_widget *w = file->private_data; dapm_widget_power_read_file() local
2459 dapm_debugfs_add_widget(struct snd_soc_dapm_widget * w) dapm_debugfs_add_widget() argument
2470 dapm_debugfs_free_widget(struct snd_soc_dapm_widget * w) dapm_debugfs_free_widget() argument
2492 dapm_debugfs_add_widget(struct snd_soc_dapm_widget * w) dapm_debugfs_add_widget() argument
2496 dapm_debugfs_free_widget(struct snd_soc_dapm_widget * w) dapm_debugfs_free_widget() argument
2639 struct snd_soc_dapm_widget *w; dapm_widget_show_component() local
2742 snd_soc_dapm_free_widget(struct snd_soc_dapm_widget * w) snd_soc_dapm_free_widget() argument
2774 struct snd_soc_dapm_widget *w, *next_w; dapm_free_widgets() local
2790 struct snd_soc_dapm_widget *w; dapm_find_widget() local
2827 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, true); __snd_soc_dapm_set_pin() local
2908 dapm_update_dai_chan(struct snd_soc_dapm_path * p,struct snd_soc_dapm_widget * w,int channels) dapm_update_dai_chan() argument
2938 struct snd_soc_dapm_widget *w; dapm_update_dai_unlocked() local
2992 struct snd_soc_dapm_widget *wsource = NULL, *wsink = NULL, *w; snd_soc_dapm_add_route() local
3211 struct snd_soc_dapm_widget *w; snd_soc_dapm_new_widgets() local
3644 struct snd_soc_dapm_widget *w; snd_soc_dapm_new_control_unlocked() local
3794 struct snd_soc_dapm_widget *w; snd_soc_dapm_new_control() local
3823 struct snd_soc_dapm_widget *w = snd_soc_dapm_new_control_unlocked(dapm, widget); snd_soc_dapm_new_controls() local
3836 snd_soc_dai_link_event_pre_pmu(struct snd_soc_dapm_widget * w,struct snd_pcm_substream * substream) snd_soc_dai_link_event_pre_pmu() argument
3951 snd_soc_dai_link_event(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kcontrol,int event) snd_soc_dai_link_event() argument
4046 struct snd_soc_dapm_widget *w = snd_kcontrol_chip(kcontrol); snd_soc_dapm_dai_link_get() local
4057 struct snd_soc_dapm_widget *w = snd_kcontrol_chip(kcontrol); snd_soc_dapm_dai_link_put() local
4168 struct snd_soc_dapm_widget *w; snd_soc_dapm_new_dai() local
4246 struct snd_soc_dapm_widget *w; snd_soc_dapm_new_dai_widgets() local
4291 struct snd_soc_dapm_widget *dai_w, *w; snd_soc_dapm_link_dai_widgets() local
4412 struct snd_soc_dapm_widget *w; soc_dapm_dai_stream_event() local
4596 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, true); snd_soc_dapm_force_enable_pin_unlocked() local
4703 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, true); snd_soc_dapm_get_pin_status() local
4726 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, false); snd_soc_dapm_ignore_suspend() local
4776 struct snd_soc_dapm_widget *w; soc_dapm_shutdown_dapm() local
[all...]
/linux/net/ipv4/
H A Dtcp_westwood.c63 struct westwood *w = inet_csk_ca(sk); in tcp_westwood_init() local
65 w->bk = 0; in tcp_westwood_init()
66 w->bw_ns_est = 0; in tcp_westwood_init()
67 w->bw_est = 0; in tcp_westwood_init()
68 w->accounted = 0; in tcp_westwood_init()
69 w->cumul_ack = 0; in tcp_westwood_init()
70 w->reset_rtt_min = 1; in tcp_westwood_init()
71 w->rtt_min = w->rtt = TCP_WESTWOOD_INIT_RTT; in tcp_westwood_init()
72 w->rtt_win_sx = tcp_jiffies32; in tcp_westwood_init()
73 w->snd_una = tcp_sk(sk)->snd_una; in tcp_westwood_init()
[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/crypto/
H A Daegis128-neon-inner.c45 vst1q_u8(state + 16, st.v[1]); in aegis128_save_state_neon()
52 uint8x16_t aegis_aes_round(uint8x16_t w) in aegis_aes_round() argument
57 if (!__builtin_expect(aegis128_have_aes_insn, 1)) { in aegis_aes_round()
69 w = vqtbl1q_u8(w, vld1q_u8(shift_rows)); in aegis_aes_round()
73 v = vqtbl4q_u8(vld1q_u8_x4(crypto_aes_sbox), w); in aegis_aes_round()
74 v = vqtbx4q_u8(v, vld1q_u8_x4(crypto_aes_sbox + 0x40), w - 0x40); in aegis_aes_round()
75 v = vqtbx4q_u8(v, vld1q_u8_x4(crypto_aes_sbox + 0x80), w - 0x80); in aegis_aes_round()
76 v = vqtbx4q_u8(v, vld1q_u8_x4(crypto_aes_sbox + 0xc0), w - 0xc0); in aegis_aes_round()
78 asm("tbl %0.16b, {v16.16b-v19.16b}, %1.16b" : "=w"(v) : "w"(w)); in aegis_aes_round()
79 w -= 0x40; in aegis_aes_round()
[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 …]
/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/include/linux/
H A Dww_mutex.h92 struct ww_class classname = __WW_CLASS_INITIALIZER(classname, 1)
98 * ww_mutex_init - initialize the w/w mutex
100 * @ww_class: the w/w class the mutex should belong to
102 * Initialize the w/w mutex to unlocked state and associate it with the given
103 * class. Static define macro for w/w mutex is not provided and this function
104 * is the only way to properly initialize the w/w mutex.
119 * ww_acquire_init - initialize a w/w acquire context
120 * @ctx: w/w acquire context to initialize
121 * @ww_class: w/w class of the context
123 * Initializes an context to acquire multiple mutexes of the given w/w class.
[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 …]

12345678910>>...43