Home
last modified time | relevance | path

Searched refs:B (Results 1 – 25 of 145) sorted by relevance

123456

/drivers/staging/comedi/drivers/ni_routing/ni_route_values/
Dni_mseries.c57 [B(NI_PFI(0))] = {
58 [B(TRIGGER_LINE(0))] = I(18),
59 [B(TRIGGER_LINE(1))] = I(19),
60 [B(TRIGGER_LINE(2))] = I(20),
61 [B(TRIGGER_LINE(3))] = I(21),
62 [B(TRIGGER_LINE(4))] = I(22),
63 [B(TRIGGER_LINE(5))] = I(23),
64 [B(TRIGGER_LINE(6))] = I(24),
65 [B(TRIGGER_LINE(7))] = I(25),
66 [B(NI_CtrSource(0))] = I(9),
[all …]
Dni_eseries.c54 [B(NI_PFI(0))] = {
55 [B(NI_AI_StartTrigger)] = I(NI_PFI_OUTPUT_AI_START1),
57 [B(NI_PFI(1))] = {
58 [B(NI_AI_ReferenceTrigger)] = I(NI_PFI_OUTPUT_AI_START2),
60 [B(NI_PFI(2))] = {
61 [B(NI_AI_ConvertClock)] = I(NI_PFI_OUTPUT_AI_CONVERT),
63 [B(NI_PFI(3))] = {
64 [B(NI_CtrSource(1))] = I(NI_PFI_OUTPUT_G_SRC1),
66 [B(NI_PFI(4))] = {
67 [B(NI_CtrGate(1))] = I(NI_PFI_OUTPUT_G_GATE1),
[all …]
Dni_660x.c49 [B(NI_PFI(8))] = {
50 [B(NI_CtrInternalOutput(7))] = I(1),
52 [B(NI_PFI(10))] = {
53 [B(NI_CtrGate(7))] = I(1),
55 [B(NI_PFI(11))] = {
56 [B(NI_CtrSource(7))] = I(1),
58 [B(NI_PFI(12))] = {
59 [B(NI_CtrInternalOutput(6))] = I(1),
61 [B(NI_PFI(14))] = {
62 [B(NI_CtrGate(6))] = I(1),
[all …]
/drivers/staging/comedi/drivers/
Dni_routes.c167 if (RVi(rv, B(src), B(dest))) in ni_count_valid_routes()
171 (RVi(rv, B(src), B(NI_RGOUT0)) || in ni_count_valid_routes()
172 RVi(rv, B(src), B(NI_RTSI_BRD(0))) || in ni_count_valid_routes()
173 RVi(rv, B(src), B(NI_RTSI_BRD(1))) || in ni_count_valid_routes()
174 RVi(rv, B(src), B(NI_RTSI_BRD(2))) || in ni_count_valid_routes()
175 RVi(rv, B(src), B(NI_RTSI_BRD(3))))) { in ni_count_valid_routes()
222 if (RVi(rv, B(src), B(dest))) in ni_get_valid_routes()
226 (RVi(rv, B(src), B(NI_RGOUT0)) || in ni_get_valid_routes()
227 RVi(rv, B(src), B(NI_RTSI_BRD(0))) || in ni_get_valid_routes()
228 RVi(rv, B(src), B(NI_RTSI_BRD(1))) || in ni_get_valid_routes()
[all …]
/drivers/gpu/drm/i915/selftests/
Di915_sw_fence.c98 struct i915_sw_fence *A, *B, *C; in test_dag() local
114 B = alloc_fence(); in test_dag()
115 if (!B) { in test_dag()
120 i915_sw_fence_await_sw_fence_gfp(A, B, GFP_KERNEL); in test_dag()
121 if (i915_sw_fence_await_sw_fence_gfp(B, A, GFP_KERNEL) != -EINVAL) { in test_dag()
132 if (i915_sw_fence_await_sw_fence_gfp(B, C, GFP_KERNEL) == -EINVAL) { in test_dag()
136 if (i915_sw_fence_await_sw_fence_gfp(C, B, GFP_KERNEL) != -EINVAL) { in test_dag()
150 i915_sw_fence_commit(B); in test_dag()
158 if (!i915_sw_fence_done(B)) { in test_dag()
169 free_fence(B); in test_dag()
[all …]
/drivers/macintosh/
Dvia-cuda.c37 #define B 0 /* B-side data */ macro
108 out_8(&via[B], in_8(&via[B]) | TIP); in assert_TIP()
110 out_8(&via[B], in_8(&via[B]) & ~TIP); in assert_TIP()
117 out_8(&via[B], in_8(&via[B]) | TIP | TACK); in assert_TIP_and_TACK()
119 out_8(&via[B], in_8(&via[B]) & ~(TIP | TACK)); in assert_TIP_and_TACK()
126 out_8(&via[B], in_8(&via[B]) | TACK); in assert_TACK()
128 out_8(&via[B], in_8(&via[B]) & ~TACK); in assert_TACK()
133 out_8(&via[B], in_8(&via[B]) ^ TACK); in toggle_TACK()
140 out_8(&via[B], in_8(&via[B]) & ~TACK); in negate_TACK()
142 out_8(&via[B], in_8(&via[B]) | TACK); in negate_TACK()
[all …]
Dvia-macii.c43 #define B 0 /* B-side data */ macro
174 via[B] |= ST_IDLE; in macii_init_via()
345 via[B] = (via[B] & ~ST_MASK) | ST_CMD; in macii_start()
390 status = via[B] & (ST_MASK | CTLR_IRQ); in macii_interrupt()
418 via[B] = (via[B] & ~ST_MASK) | ST_EVEN; in macii_interrupt()
494 if ((via[B] & ST_MASK) == ST_CMD) { in macii_interrupt()
496 via[B] = (via[B] & ~ST_MASK) | ST_EVEN; in macii_interrupt()
499 via[B] ^= ST_MASK; in macii_interrupt()
543 via[B] ^= ST_MASK; in macii_interrupt()
560 via[B] = (via[B] & ~ST_MASK) | ST_IDLE; in macii_interrupt()
/drivers/staging/comedi/drivers/tests/
Dni_routes_test.c29 #define B(x) ((x) - NI_NAMES_BASE) macro
136 [B(NI_RGOUT0)] = {[B(rgout0_src0)] = V(0),
137 [B(rgout0_src1)] = V(1)},
138 [B(NI_RTSI_BRD(0))] = {[B(brd0_src0)] = V(0),
139 [B(brd0_src1)] = V(1)},
140 [B(NI_RTSI_BRD(1))] = {[B(brd1_src0)] = V(0),
141 [B(brd1_src1)] = V(1)},
142 [B(NI_RTSI_BRD(2))] = {[B(brd2_src0)] = V(0),
143 [B(brd2_src1)] = V(1)},
144 [B(NI_RTSI_BRD(3))] = {[B(brd3_src0)] = V(0),
[all …]
/drivers/pinctrl/sunxi/
Dpinctrl-sun50i-h6.c38 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 0),
41 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 1),
44 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 2),
47 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 3),
50 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 4),
53 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 5),
56 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 6),
59 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 7),
62 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 8),
65 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 9),
[all …]
Dpinctrl-sun5i.c153 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 0),
157 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 1),
161 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 2),
169 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 3),
174 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 4),
179 SUNXI_PIN_VARIANT(SUNXI_PINCTRL_PIN(B, 5),
185 SUNXI_PIN_VARIANT(SUNXI_PINCTRL_PIN(B, 6),
191 SUNXI_PIN_VARIANT(SUNXI_PINCTRL_PIN(B, 7),
197 SUNXI_PIN_VARIANT(SUNXI_PINCTRL_PIN(B, 8),
203 SUNXI_PIN_VARIANT(SUNXI_PINCTRL_PIN(B, 9),
[all …]
Dpinctrl-sun8i-v3s.c28 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 0),
33 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 1),
38 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 2),
43 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 3),
48 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 4),
53 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 5),
58 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 6),
63 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 7),
68 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 8),
74 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 9),
[all …]
Dpinctrl-sun4i-a10.c192 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 0),
198 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 1),
202 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 2),
210 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 3),
225 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 4),
229 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 5),
244 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 6),
253 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 7),
262 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 8),
271 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 9),
[all …]
Dpinctrl-sun8i-a83t.c25 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 0),
31 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 1),
37 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 2),
43 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 3),
49 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 4),
55 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 5),
61 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 6),
67 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 7),
73 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 8),
79 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 9),
[all …]
Dpinctrl-sun50i-a64.c24 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 0),
30 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 1),
37 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 2),
44 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 3),
52 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 4),
59 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 5),
66 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 6),
73 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 7),
80 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 8),
85 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 9),
Dpinctrl-sun50i-a100.c18 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 0),
25 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 1),
32 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 2),
39 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 3),
46 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 4),
53 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 5),
60 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 6),
66 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 7),
73 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 8),
80 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 9),
[all …]
Dpinctrl-sun8i-a33.c25 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 0),
31 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 1),
37 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 2),
42 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 3),
47 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 4),
53 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 5),
59 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 6),
65 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 7),
Dpinctrl-sun8i-a23.c71 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 0),
76 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 1),
81 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 2),
86 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 3),
91 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 4),
96 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 5),
101 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 6),
106 SUNXI_PIN(SUNXI_PINCTRL_PIN(B, 7),
/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dppevvmath.h60 static fInt fSubtract (fInt A, fInt B); /* Returns A-B - Sometimes easier than Ad…
62 static fInt fDivide (fInt A, fInt B); /* Returns A/B */
71 static bool GreaterThan(fInt A, fInt B); /* Returns true if A > B */
316 static bool Equal(fInt A, fInt B) in Equal() argument
318 if (A.full == B.full) in Equal()
324 static bool GreaterThan(fInt A, fInt B) in GreaterThan() argument
326 if (A.full > B.full) in GreaterThan()
453 static void SolveQuadracticEqn(fInt A, fInt B, fInt C, fInt Roots[]) in SolveQuadracticEqn() argument
462 …while(GreaterThan(A, f_CONSTANT100) || GreaterThan(B, f_CONSTANT100) || GreaterThan(C, f_CONSTANT1… in SolveQuadracticEqn()
464 B = fDivide(B, f_CONSTANT10); in SolveQuadracticEqn()
[all …]
/drivers/edac/
Dpnd2_edac.c753 #define B(n) (0x20 | (n)) /* bank */ macro
782 C(2), C(3), C(4), C(5), C(6), B(0), B(1), B(2), R(0),
792 C(2), C(3), C(4), C(5), C(6), B(0), B(1), B(2), R(0),
802 C(2), C(3), C(4), C(5), C(6), B(0), B(1), B(2), R(0),
812 C(2), C(3), C(4), C(5), C(6), B(0), B(1), B(2), R(0),
822 C(2), C(3), C(4), C(5), C(6), C(7), B(0), B(1), B(2),
832 C(2), C(3), C(4), C(5), C(6), C(7), B(0), B(1), B(2),
842 C(2), C(3), C(4), C(5), C(6), C(7), B(0), B(1), B(2),
852 C(2), C(3), C(4), C(5), C(6), C(7), B(0), B(1), B(2),
862 C(2), C(3), C(4), C(5), C(6), C(7), C(8), B(0), B(1),
[all …]
/drivers/gpu/drm/i915/
Di915_utils.h86 #define add_overflows_t(T, A, B) \ argument
87 __builtin_add_overflow_p((A), (B), (T)0)
89 #define add_overflows_t(T, A, B) ({ \ argument
91 typeof(B) b = (B); \
96 #define add_overflows(A, B) \ argument
97 add_overflows_t(typeof((A) + (B)), (A), (B))
Di915_cmd_parser.c206 #define B CMD_DESC_BITMASK macro
221 CMD( MI_STORE_REGISTER_MEM, SMI, F, 3, W | B,
228 CMD( MI_LOAD_REGISTER_MEM, SMI, F, 3, W | B,
252 CMD( MI_STORE_DWORD_IMM, SMI, !F, 0x3F, B,
259 CMD( MI_CLFLUSH, SMI, !F, 0x3FF, B,
265 CMD( MI_REPORT_PERF_COUNT, SMI, !F, 0x3F, B,
271 CMD( MI_CONDITIONAL_BATCH_BUFFER_END, SMI, !F, 0xFF, B,
279 CMD( MEDIA_VFE_STATE, S3D, !F, 0xFFFF, B,
288 CMD( GFX_OP_PIPE_CONTROL(5), S3D, !F, 0xFF, B,
330 CMD( MI_STORE_DWORD_IMM, SMI, !F, 0xFF, B,
[all …]
/drivers/net/ethernet/sfc/falcon/
Dnic.c186 #define REGISTER_AB(name) REGISTER(name, F, A, B)
188 #define REGISTER_BB(name) REGISTER(name, F, B, B)
189 #define REGISTER_BZ(name) REGISTER(name, F, B, Z)
319 #define REGISTER_TABLE_BB(name) REGISTER_TABLE(name, F, B, B)
320 #define REGISTER_TABLE_BZ(name) REGISTER_TABLE(name, F, B, Z)
322 REGISTER_TABLE_DIMENSIONS(name, FR_BZ_ ## name, F, B, B, \
348 F, B, Z, 8, 1024),
/drivers/net/ethernet/sfc/
Dnic.c193 #define REGISTER_AB(name) REGISTER(name, F, A, B)
195 #define REGISTER_BB(name) REGISTER(name, F, B, B)
196 #define REGISTER_BZ(name) REGISTER(name, F, B, Z)
330 #define REGISTER_TABLE_BB(name) REGISTER_TABLE(name, F, B, B)
331 #define REGISTER_TABLE_BZ(name) REGISTER_TABLE(name, F, B, Z)
333 REGISTER_TABLE_DIMENSIONS(name, FR_BZ_ ## name, F, B, B, \
360 F, B, Z, 8, 1024),
/drivers/staging/comedi/drivers/ni_routing/tools/
Dconvert_c_to_py.c49 RVij(rv, B(src), B(dest)) == 0; ++src) in family_write()
58 register_type r = RVij(rv, B(src), B(dest)); in family_write()
/drivers/mfd/
Dtps80031.c98 [TPS80031_INT_WATCHDOG] = TPS80031_IRQ(B, 0),
99 [TPS80031_INT_BAT] = TPS80031_IRQ(B, 1),
100 [TPS80031_INT_SIM] = TPS80031_IRQ(B, 2),
101 [TPS80031_INT_MMC] = TPS80031_IRQ(B, 3),
102 [TPS80031_INT_RES] = TPS80031_IRQ(B, 4),
103 [TPS80031_INT_GPADC_RT] = TPS80031_IRQ(B, 5),
104 [TPS80031_INT_GPADC_SW2_EOC] = TPS80031_IRQ(B, 6),
105 [TPS80031_INT_CC_AUTOCAL] = TPS80031_IRQ(B, 7),

123456