Searched refs:byte (Results 1 - 200 of 4688) sorted by relevance

1234567891011>>

/linux-4.4.14/arch/arm/include/asm/hardware/
H A Dentry-macro-iomd.S45 irq_prio_h: .byte 0, 8, 9, 8,10,10,10,10,11,11,11,11,10,10,10,10
46 .byte 12, 8, 9, 8,10,10,10,10,11,11,11,11,10,10,10,10
47 .byte 13,13,13,13,10,10,10,10,11,11,11,11,10,10,10,10
48 .byte 13,13,13,13,10,10,10,10,11,11,11,11,10,10,10,10
49 .byte 14,14,14,14,10,10,10,10,11,11,11,11,10,10,10,10
50 .byte 14,14,14,14,10,10,10,10,11,11,11,11,10,10,10,10
51 .byte 13,13,13,13,10,10,10,10,11,11,11,11,10,10,10,10
52 .byte 13,13,13,13,10,10,10,10,11,11,11,11,10,10,10,10
53 .byte 15,15,15,15,10,10,10,10,11,11,11,11,10,10,10,10
54 .byte 15,15,15,15,10,10,10,10,11,11,11,11,10,10,10,10
55 .byte 13,13,13,13,10,10,10,10,11,11,11,11,10,10,10,10
56 .byte 13,13,13,13,10,10,10,10,11,11,11,11,10,10,10,10
57 .byte 15,15,15,15,10,10,10,10,11,11,11,11,10,10,10,10
58 .byte 15,15,15,15,10,10,10,10,11,11,11,11,10,10,10,10
59 .byte 13,13,13,13,10,10,10,10,11,11,11,11,10,10,10,10
60 .byte 13,13,13,13,10,10,10,10,11,11,11,11,10,10,10,10
62 irq_prio_d: .byte 0,16,17,16,18,16,17,16,19,16,17,16,18,16,17,16
63 .byte 20,16,17,16,18,16,17,16,19,16,17,16,18,16,17,16
64 .byte 21,16,17,16,18,16,17,16,19,16,17,16,18,16,17,16
65 .byte 21,16,17,16,18,16,17,16,19,16,17,16,18,16,17,16
66 .byte 22,16,17,16,18,16,17,16,19,16,17,16,18,16,17,16
67 .byte 22,16,17,16,18,16,17,16,19,16,17,16,18,16,17,16
68 .byte 21,16,17,16,18,16,17,16,19,16,17,16,18,16,17,16
69 .byte 21,16,17,16,18,16,17,16,19,16,17,16,18,16,17,16
70 .byte 23,16,17,16,18,16,17,16,19,16,17,16,18,16,17,16
71 .byte 23,16,17,16,18,16,17,16,19,16,17,16,18,16,17,16
72 .byte 21,16,17,16,18,16,17,16,19,16,17,16,18,16,17,16
73 .byte 21,16,17,16,18,16,17,16,19,16,17,16,18,16,17,16
74 .byte 22,16,17,16,18,16,17,16,19,16,17,16,18,16,17,16
75 .byte 22,16,17,16,18,16,17,16,19,16,17,16,18,16,17,16
76 .byte 21,16,17,16,18,16,17,16,19,16,17,16,18,16,17,16
77 .byte 21,16,17,16,18,16,17,16,19,16,17,16,18,16,17,16
79 irq_prio_l: .byte 0, 0, 1, 0, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3
80 .byte 4, 0, 1, 0, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3
81 .byte 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5
82 .byte 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5
83 .byte 6, 6, 6, 6, 6, 6, 6, 6, 3, 3, 3, 3, 3, 3, 3, 3
84 .byte 6, 6, 6, 6, 6, 6, 6, 6, 3, 3, 3, 3, 3, 3, 3, 3
85 .byte 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5
86 .byte 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5
87 .byte 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7
88 .byte 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7
89 .byte 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7
90 .byte 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7
91 .byte 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7
92 .byte 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7
93 .byte 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7
94 .byte 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7
96 irq_prio_lc: .byte 24,24,25,24,26,26,26,26,27,27,27,27,27,27,27,27
97 .byte 28,24,25,24,26,26,26,26,27,27,27,27,27,27,27,27
98 .byte 29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29
99 .byte 29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29
100 .byte 30,30,30,30,30,30,30,30,27,27,27,27,27,27,27,27
101 .byte 30,30,30,30,30,30,30,30,27,27,27,27,27,27,27,27
102 .byte 29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29
103 .byte 29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29
104 .byte 31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31
105 .byte 31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31
106 .byte 31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31
107 .byte 31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31
108 .byte 31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31
109 .byte 31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31
110 .byte 31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31
111 .byte 31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31
114 irq_prio_ld: .byte 40,40,41,40,42,42,42,42,43,43,43,43,43,43,43,43
115 .byte 44,40,41,40,42,42,42,42,43,43,43,43,43,43,43,43
116 .byte 45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45
117 .byte 45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45
118 .byte 46,46,46,46,46,46,46,46,43,43,43,43,43,43,43,43
119 .byte 46,46,46,46,46,46,46,46,43,43,43,43,43,43,43,43
120 .byte 45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45
121 .byte 45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45
122 .byte 47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47
123 .byte 47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47
124 .byte 47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47
125 .byte 47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47
126 .byte 47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47
127 .byte 47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47
128 .byte 47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47
129 .byte 47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47
/linux-4.4.14/arch/sh/lib/
H A Dudivsi3_i4i.S337 .byte 0
338 .byte 1
339 .byte 0
340 .byte -1
341 .byte -1
342 .byte -2
343 .byte -2
344 .byte -2
345 .byte -2
346 .byte -3
347 .byte -3
348 .byte -3
349 .byte -3
350 .byte -3
351 .byte -3
352 .byte -3
353 .byte -3
354 .byte -4
355 .byte -4
356 .byte -4
357 .byte -4
358 .byte -4
359 .byte -4
360 .byte -4
361 .byte -4
362 .byte -4
363 .byte -4
364 .byte -4
365 .byte -4
366 .byte -4
367 .byte -4
368 .byte -4
369 .byte -4
370 .byte -5
371 .byte -5
372 .byte -5
373 .byte -5
374 .byte -5
375 .byte -5
376 .byte -5
377 .byte -5
378 .byte -5
379 .byte -5
380 .byte -5
381 .byte -5
382 .byte -5
383 .byte -5
384 .byte -5
385 .byte -5
386 .byte -5
387 .byte -5
388 .byte -5
389 .byte -5
390 .byte -5
391 .byte -5
392 .byte -5
393 .byte -5
394 .byte -5
395 .byte -5
396 .byte -5
397 .byte -5
398 .byte -5
399 .byte -5
400 .byte -5
401 .byte -5
402 .byte -6
403 .byte -6
404 .byte -6
405 .byte -6
406 .byte -6
407 .byte -6
408 .byte -6
409 .byte -6
410 .byte -6
411 .byte -6
412 .byte -6
413 .byte -6
414 .byte -6
415 .byte -6
416 .byte -6
417 .byte -6
418 .byte -6
419 .byte -6
420 .byte -6
421 .byte -6
422 .byte -6
423 .byte -6
424 .byte -6
425 .byte -6
426 .byte -6
427 .byte -6
428 .byte -6
429 .byte -6
430 .byte -6
431 .byte -6
432 .byte -6
433 .byte -6
434 .byte -6
435 .byte -6
436 .byte -6
437 .byte -6
438 .byte -6
439 .byte -6
440 .byte -6
441 .byte -6
442 .byte -6
443 .byte -6
444 .byte -6
445 .byte -6
446 .byte -6
447 .byte -6
448 .byte -6
449 .byte -6
450 .byte -6
451 .byte -6
452 .byte -6
453 .byte -6
454 .byte -6
455 .byte -6
456 .byte -6
457 .byte -6
458 .byte -6
459 .byte -6
460 .byte -6
461 .byte -6
462 .byte -6
463 .byte -6
464 .byte -6
469 .byte -6
470 .byte -128
471 .byte -128
472 .byte 0
473 .byte -128
474 .byte -64
475 .byte 0
476 .byte 64
477 .byte -128
478 .byte -96
479 .byte -64
480 .byte -32
481 .byte 0
482 .byte 32
483 .byte 64
484 .byte 96
485 .byte -128
486 .byte -112
487 .byte -96
488 .byte -80
489 .byte -64
490 .byte -48
491 .byte -32
492 .byte -16
493 .byte 0
494 .byte 16
495 .byte 32
496 .byte 48
497 .byte 64
498 .byte 80
499 .byte 96
500 .byte 112
501 .byte -128
502 .byte -120
503 .byte -112
504 .byte -104
505 .byte -96
506 .byte -88
507 .byte -80
508 .byte -72
509 .byte -64
510 .byte -56
511 .byte -48
512 .byte -40
513 .byte -32
514 .byte -24
515 .byte -16
516 .byte -8
517 .byte 0
518 .byte 8
519 .byte 16
520 .byte 24
521 .byte 32
522 .byte 40
523 .byte 48
524 .byte 56
525 .byte 64
526 .byte 72
527 .byte 80
528 .byte 88
529 .byte 96
530 .byte 104
531 .byte 112
532 .byte 120
533 .byte -128
534 .byte -124
535 .byte -120
536 .byte -116
537 .byte -112
538 .byte -108
539 .byte -104
540 .byte -100
541 .byte -96
542 .byte -92
543 .byte -88
544 .byte -84
545 .byte -80
546 .byte -76
547 .byte -72
548 .byte -68
549 .byte -64
550 .byte -60
551 .byte -56
552 .byte -52
553 .byte -48
554 .byte -44
555 .byte -40
556 .byte -36
557 .byte -32
558 .byte -28
559 .byte -24
560 .byte -20
561 .byte -16
562 .byte -12
563 .byte -8
564 .byte -4
565 .byte 0
566 .byte 4
567 .byte 8
568 .byte 12
569 .byte 16
570 .byte 20
571 .byte 24
572 .byte 28
573 .byte 32
574 .byte 36
575 .byte 40
576 .byte 44
577 .byte 48
578 .byte 52
579 .byte 56
580 .byte 60
581 .byte 64
582 .byte 68
583 .byte 72
584 .byte 76
585 .byte 80
586 .byte 84
587 .byte 88
588 .byte 92
589 .byte 96
590 .byte 100
591 .byte 104
592 .byte 108
593 .byte 112
594 .byte 116
595 .byte 120
596 .byte 124
597 .byte -128
H A Dashlsi3.S75 .byte ashlsi3_0-ashlsi3_table
76 .byte ashlsi3_1-ashlsi3_table
77 .byte ashlsi3_2-ashlsi3_table
78 .byte ashlsi3_3-ashlsi3_table
79 .byte ashlsi3_4-ashlsi3_table
80 .byte ashlsi3_5-ashlsi3_table
81 .byte ashlsi3_6-ashlsi3_table
82 .byte ashlsi3_7-ashlsi3_table
83 .byte ashlsi3_8-ashlsi3_table
84 .byte ashlsi3_9-ashlsi3_table
85 .byte ashlsi3_10-ashlsi3_table
86 .byte ashlsi3_11-ashlsi3_table
87 .byte ashlsi3_12-ashlsi3_table
88 .byte ashlsi3_13-ashlsi3_table
89 .byte ashlsi3_14-ashlsi3_table
90 .byte ashlsi3_15-ashlsi3_table
91 .byte ashlsi3_16-ashlsi3_table
92 .byte ashlsi3_17-ashlsi3_table
93 .byte ashlsi3_18-ashlsi3_table
94 .byte ashlsi3_19-ashlsi3_table
95 .byte ashlsi3_20-ashlsi3_table
96 .byte ashlsi3_21-ashlsi3_table
97 .byte ashlsi3_22-ashlsi3_table
98 .byte ashlsi3_23-ashlsi3_table
99 .byte ashlsi3_24-ashlsi3_table
100 .byte ashlsi3_25-ashlsi3_table
101 .byte ashlsi3_26-ashlsi3_table
102 .byte ashlsi3_27-ashlsi3_table
103 .byte ashlsi3_28-ashlsi3_table
104 .byte ashlsi3_29-ashlsi3_table
105 .byte ashlsi3_30-ashlsi3_table
106 .byte ashlsi3_31-ashlsi3_table
H A Dashrsi3.S76 .byte ashrsi3_0-ashrsi3_table
77 .byte ashrsi3_1-ashrsi3_table
78 .byte ashrsi3_2-ashrsi3_table
79 .byte ashrsi3_3-ashrsi3_table
80 .byte ashrsi3_4-ashrsi3_table
81 .byte ashrsi3_5-ashrsi3_table
82 .byte ashrsi3_6-ashrsi3_table
83 .byte ashrsi3_7-ashrsi3_table
84 .byte ashrsi3_8-ashrsi3_table
85 .byte ashrsi3_9-ashrsi3_table
86 .byte ashrsi3_10-ashrsi3_table
87 .byte ashrsi3_11-ashrsi3_table
88 .byte ashrsi3_12-ashrsi3_table
89 .byte ashrsi3_13-ashrsi3_table
90 .byte ashrsi3_14-ashrsi3_table
91 .byte ashrsi3_15-ashrsi3_table
92 .byte ashrsi3_16-ashrsi3_table
93 .byte ashrsi3_17-ashrsi3_table
94 .byte ashrsi3_18-ashrsi3_table
95 .byte ashrsi3_19-ashrsi3_table
96 .byte ashrsi3_20-ashrsi3_table
97 .byte ashrsi3_21-ashrsi3_table
98 .byte ashrsi3_22-ashrsi3_table
99 .byte ashrsi3_23-ashrsi3_table
100 .byte ashrsi3_24-ashrsi3_table
101 .byte ashrsi3_25-ashrsi3_table
102 .byte ashrsi3_26-ashrsi3_table
103 .byte ashrsi3_27-ashrsi3_table
104 .byte ashrsi3_28-ashrsi3_table
105 .byte ashrsi3_29-ashrsi3_table
106 .byte ashrsi3_30-ashrsi3_table
107 .byte ashrsi3_31-ashrsi3_table
H A Dlshrsi3.S75 .byte lshrsi3_0-lshrsi3_table
76 .byte lshrsi3_1-lshrsi3_table
77 .byte lshrsi3_2-lshrsi3_table
78 .byte lshrsi3_3-lshrsi3_table
79 .byte lshrsi3_4-lshrsi3_table
80 .byte lshrsi3_5-lshrsi3_table
81 .byte lshrsi3_6-lshrsi3_table
82 .byte lshrsi3_7-lshrsi3_table
83 .byte lshrsi3_8-lshrsi3_table
84 .byte lshrsi3_9-lshrsi3_table
85 .byte lshrsi3_10-lshrsi3_table
86 .byte lshrsi3_11-lshrsi3_table
87 .byte lshrsi3_12-lshrsi3_table
88 .byte lshrsi3_13-lshrsi3_table
89 .byte lshrsi3_14-lshrsi3_table
90 .byte lshrsi3_15-lshrsi3_table
91 .byte lshrsi3_16-lshrsi3_table
92 .byte lshrsi3_17-lshrsi3_table
93 .byte lshrsi3_18-lshrsi3_table
94 .byte lshrsi3_19-lshrsi3_table
95 .byte lshrsi3_20-lshrsi3_table
96 .byte lshrsi3_21-lshrsi3_table
97 .byte lshrsi3_22-lshrsi3_table
98 .byte lshrsi3_23-lshrsi3_table
99 .byte lshrsi3_24-lshrsi3_table
100 .byte lshrsi3_25-lshrsi3_table
101 .byte lshrsi3_26-lshrsi3_table
102 .byte lshrsi3_27-lshrsi3_table
103 .byte lshrsi3_28-lshrsi3_table
104 .byte lshrsi3_29-lshrsi3_table
105 .byte lshrsi3_30-lshrsi3_table
106 .byte lshrsi3_31-lshrsi3_table
/linux-4.4.14/arch/sh/lib64/
H A Dsdivsi3.S82 .byte 66
83 .byte 70
84 .byte 75
85 .byte 81
86 .byte 87
87 .byte 93
88 .byte 101
89 .byte 109
90 .byte 119
91 .byte 130
92 .byte 142
93 .byte 156
94 .byte 172
95 .byte 192
96 .byte 214
97 .byte 241
103 .byte 241
104 .byte 214
105 .byte 192
106 .byte 172
107 .byte 156
108 .byte 142
109 .byte 130
110 .byte 119
111 .byte 109
112 .byte 101
113 .byte 93
114 .byte 87
115 .byte 81
116 .byte 75
117 .byte 70
118 .byte 66
H A Dcopy_user_memcpy.S10 ! ARG2: byte count
22 ! 1.: If the byte count is nonzero, the address of the last byte to be
23 ! copied is unsigned greater than the address of the first byte to
34 ! enirety if at least one byte is included in the copy.
82 L4_7: /* 4..7 byte memcpy cntd. */
90 L1: /* 0 byte memcpy */
98 L2_3: /* 2 or 3 byte memcpy cntd. */
102 /* 1 byte memcpy */
107 L8_15: /* 8..15 byte memcpy cntd. */
114 /* 2 or 3 byte memcpy */
124 /* 4 .. 7 byte memcpy */
133 /* 8 .. 15 byte memcpy */
142 /* 16 .. 24 byte memcpy */
H A Dmemcpy.S12 ! ARG2: byte count
24 ! 1.: If the byte count is nonzero, the address of the last byte to be
25 ! copied is unsigned greater than the address of the first byte to
36 ! enirety if at least one byte is included in the copy.
67 L4_7: /* 4..7 byte memcpy cntd. */
75 L1: /* 0 byte memcpy */
83 L2_3: /* 2 or 3 byte memcpy cntd. */
87 /* 1 byte memcpy */
92 L8_15: /* 8..15 byte memcpy cntd. */
99 /* 2 or 3 byte memcpy */
109 /* 4 .. 7 byte memcpy */
118 /* 8 .. 15 byte memcpy */
127 /* 16 .. 24 byte memcpy */
/linux-4.4.14/drivers/media/tuners/
H A Dtda18218_priv.h26 #define R00_ID 0x00 /* ID byte */
27 #define R01_R1 0x01 /* Read byte 1 */
28 #define R02_R2 0x02 /* Read byte 2 */
29 #define R03_R3 0x03 /* Read byte 3 */
30 #define R04_R4 0x04 /* Read byte 4 */
31 #define R05_R5 0x05 /* Read byte 5 */
32 #define R06_R6 0x06 /* Read byte 6 */
33 #define R07_MD1 0x07 /* Main divider byte 1 */
34 #define R08_PSM1 0x08 /* PSM byte 1 */
35 #define R09_MD2 0x09 /* Main divider byte 2 */
36 #define R0A_MD3 0x0a /* Main divider byte 1 */
37 #define R0B_MD4 0x0b /* Main divider byte 4 */
38 #define R0C_MD5 0x0c /* Main divider byte 5 */
39 #define R0D_MD6 0x0d /* Main divider byte 6 */
40 #define R0E_MD7 0x0e /* Main divider byte 7 */
41 #define R0F_MD8 0x0f /* Main divider byte 8 */
42 #define R10_CD1 0x10 /* Call divider byte 1 */
43 #define R11_CD2 0x11 /* Call divider byte 2 */
44 #define R12_CD3 0x12 /* Call divider byte 3 */
45 #define R13_CD4 0x13 /* Call divider byte 4 */
46 #define R14_CD5 0x14 /* Call divider byte 5 */
47 #define R15_CD6 0x15 /* Call divider byte 6 */
48 #define R16_CD7 0x16 /* Call divider byte 7 */
49 #define R17_PD1 0x17 /* Power-down byte 1 */
50 #define R18_PD2 0x18 /* Power-down byte 2 */
51 #define R19_XTOUT 0x19 /* XTOUT byte */
52 #define R1A_IF1 0x1a /* IF byte 1 */
53 #define R1B_IF2 0x1b /* IF byte 2 */
54 #define R1C_AGC2B 0x1c /* AGC2b byte */
55 #define R1D_PSM2 0x1d /* PSM byte 2 */
56 #define R1E_PSM3 0x1e /* PSM byte 3 */
57 #define R1F_PSM4 0x1f /* PSM byte 4 */
58 #define R20_AGC11 0x20 /* AGC1 byte 1 */
59 #define R21_AGC12 0x21 /* AGC1 byte 2 */
60 #define R22_AGC13 0x22 /* AGC1 byte 3 */
61 #define R23_AGC21 0x23 /* AGC2 byte 1 */
62 #define R24_AGC22 0x24 /* AGC2 byte 2 */
63 #define R25_AAGC 0x25 /* Analog AGC byte */
64 #define R26_RC 0x26 /* RC byte */
65 #define R27_RSSI 0x27 /* RSSI byte */
66 #define R28_IRCAL1 0x28 /* IR CAL byte 1 */
67 #define R29_IRCAL2 0x29 /* IR CAL byte 2 */
68 #define R2A_IRCAL3 0x2a /* IR CAL byte 3 */
69 #define R2B_IRCAL4 0x2b /* IR CAL byte 4 */
70 #define R2C_RFCAL1 0x2c /* RF CAL byte 1 */
71 #define R2D_RFCAL2 0x2d /* RF CAL byte 2 */
72 #define R2E_RFCAL3 0x2e /* RF CAL byte 3 */
73 #define R2F_RFCAL4 0x2f /* RF CAL byte 4 */
74 #define R30_RFCAL5 0x30 /* RF CAL byte 5 */
75 #define R31_RFCAL6 0x31 /* RF CAL byte 6 */
76 #define R32_RFCAL7 0x32 /* RF CAL byte 7 */
77 #define R33_RFCAL8 0x33 /* RF CAL byte 8 */
78 #define R34_RFCAL9 0x34 /* RF CAL byte 9 */
79 #define R35_RFCAL10 0x35 /* RF CAL byte 10 */
80 #define R36_RFCALRAM1 0x36 /* RF CAL RAM byte 1 */
81 #define R37_RFCALRAM2 0x37 /* RF CAL RAM byte 2 */
82 #define R38_MARGIN 0x38 /* Margin byte */
83 #define R39_FMAX1 0x39 /* Fmax byte 1 */
84 #define R3A_FMAX2 0x3a /* Fmax byte 2 */
H A Dtda18271-priv.h30 #define R_ID 0x00 /* ID byte */
31 #define R_TM 0x01 /* Thermo byte */
32 #define R_PL 0x02 /* Power level byte */
33 #define R_EP1 0x03 /* Easy Prog byte 1 */
34 #define R_EP2 0x04 /* Easy Prog byte 2 */
35 #define R_EP3 0x05 /* Easy Prog byte 3 */
36 #define R_EP4 0x06 /* Easy Prog byte 4 */
37 #define R_EP5 0x07 /* Easy Prog byte 5 */
38 #define R_CPD 0x08 /* Cal Post-Divider byte */
39 #define R_CD1 0x09 /* Cal Divider byte 1 */
40 #define R_CD2 0x0a /* Cal Divider byte 2 */
41 #define R_CD3 0x0b /* Cal Divider byte 3 */
42 #define R_MPD 0x0c /* Main Post-Divider byte */
43 #define R_MD1 0x0d /* Main Divider byte 1 */
44 #define R_MD2 0x0e /* Main Divider byte 2 */
45 #define R_MD3 0x0f /* Main Divider byte 3 */
46 #define R_EB1 0x10 /* Extended byte 1 */
47 #define R_EB2 0x11 /* Extended byte 2 */
48 #define R_EB3 0x12 /* Extended byte 3 */
49 #define R_EB4 0x13 /* Extended byte 4 */
50 #define R_EB5 0x14 /* Extended byte 5 */
51 #define R_EB6 0x15 /* Extended byte 6 */
52 #define R_EB7 0x16 /* Extended byte 7 */
53 #define R_EB8 0x17 /* Extended byte 8 */
54 #define R_EB9 0x18 /* Extended byte 9 */
55 #define R_EB10 0x19 /* Extended byte 10 */
56 #define R_EB11 0x1a /* Extended byte 11 */
57 #define R_EB12 0x1b /* Extended byte 12 */
58 #define R_EB13 0x1c /* Extended byte 13 */
59 #define R_EB14 0x1d /* Extended byte 14 */
60 #define R_EB15 0x1e /* Extended byte 15 */
61 #define R_EB16 0x1f /* Extended byte 16 */
62 #define R_EB17 0x20 /* Extended byte 17 */
63 #define R_EB18 0x21 /* Extended byte 18 */
64 #define R_EB19 0x22 /* Extended byte 19 */
65 #define R_EB20 0x23 /* Extended byte 20 */
66 #define R_EB21 0x24 /* Extended byte 21 */
67 #define R_EB22 0x25 /* Extended byte 22 */
68 #define R_EB23 0x26 /* Extended byte 23 */
H A Dtea5761.c35 /* INTREG - Read: bytes 0 and 1 / Write: byte 0 */
37 /* first byte for reading */
43 /* second byte for reading / byte for writing */
49 /* FRQSET - Read: bytes 2 and 3 / Write: byte 1 and 2 */
51 /* First byte */
57 /* Second byte */
62 /* first byte */
72 /* second byte */
84 /* First byte */
88 /* Second byte */
93 /* First byte */
97 /* Second byte */
108 /* First byte - should be 0x10 */
112 /* Second byte - Should be 0x2b */
119 /* First byte - should be 0x57 */
121 /* Second byte - should be 0x61 */
/linux-4.4.14/drivers/isdn/hardware/eicon/
H A Dpr_pc.h30 byte ReqInput; /* number of Req Buffers sent */
31 byte ReqOutput; /* number of Req Buffers returned */
32 byte ReqReserved; /* number of Req Buffers reserved */
33 byte Int; /* ISDN-P interrupt */
34 byte XLock; /* Lock field for arbitration */
35 byte RcOutput; /* number of Rc buffers received */
36 byte IndOutput; /* number of Ind buffers received */
37 byte IMask; /* Interrupt Mask Flag */
38 byte Reserved1[2]; /* reserved field, do not use */
39 byte ReadyInt; /* request field for ready interrupt */
40 byte Reserved2[12]; /* reserved field, do not use */
41 byte InterfaceType; /* interface type 1=16K interface */
43 byte B[1]; /* buffer space for Req,Ind and Rc */
47 byte Req;
48 byte ReqId;
49 byte ReqCh;
50 byte Reserved1;
52 byte Reserved[8];
57 byte Rc;
58 byte RcId;
59 byte RcCh;
60 byte Reserved1;
62 byte Reserved2[8];
66 byte Ind;
67 byte IndId;
68 byte IndCh;
69 byte MInd;
72 byte RNR;
73 byte Reserved;
H A Dpc_maint.h27 /* #define POINTER_32BIT byte * __ptr32 */
30 #define POINTER_32BIT byte *
73 byte Id;
74 byte u;
75 byte listen;
76 byte active;
77 byte sin[3];
78 byte bc[6];
79 byte llc[6];
80 byte hlc[6];
81 byte oad[20];
110 byte b[BUFFER_SZ];
121 byte b[MIPS_BUFFER_SZ];
129 byte req;
130 byte rc;
134 byte fill[6];
140 byte req;
141 byte rc;
142 byte reserved[2]; /* R3000 alignment ... */
146 byte fill[4]; /* data at offset 16 */
152 byte req;
153 byte rc;
154 byte reserved[2]; /* R3000 alignment ... */
158 byte fill[4]; /* data at offset 16 */
H A Ddi.h43 byte IdTable[256];
44 byte IdTypeTable[256];
45 byte FlowControlIdTable[256];
46 byte FlowControlSkipTable[256];
47 byte ReadyInt;
48 byte RcExtensionSupported;
49 byte misc_flags_table[256];
51 byte (*ram_in)(ADAPTER *a, void *adr);
55 void (*ram_out)(ADAPTER *a, void *adr, byte data);
64 byte stream_buffer[2512];
76 byte stream_buffer[4];
83 byte pr_dpc(ADAPTER *a);
84 byte scom_test_int(ADAPTER *a);
89 void free_entity(ADAPTER *a, byte e_no);
90 void assign_queue(ADAPTER *a, byte e_no, word ref);
91 byte get_assign(ADAPTER *a, word ref);
92 void req_queue(ADAPTER *a, byte e_no);
93 byte look_req(ADAPTER *a);
95 ENTITY *entity_ptr(ADAPTER *a, byte e_no);
106 byte usr1,
107 byte usr2);
113 byte *usr1,
114 byte *usr2);
H A Dio.h56 byte cfg_1;
100 byte __iomem *Address;
101 byte __iomem *Config;
102 byte __iomem *Control;
103 byte __iomem *reset;
104 byte __iomem *port;
105 byte __iomem *ram;
106 byte __iomem *cfg;
107 byte __iomem *prom;
108 byte __iomem *ctlReg;
111 byte Name[32];
125 byte nosig;
126 byte BriLayer2LinkCount; /* amount of TEI's that adapter will support in P2MP mode */
157 byte UsEktsFeatAddConf;
158 byte UsEktsFeatRemoveConf;
159 byte UsEktsFeatCallTransfer;
160 byte UsEktsFeatMsgWaiting;
161 byte QsigDialect;
162 byte ForceVoiceMailAlert;
163 byte DisableAutoSpid;
164 byte ModemCarrierWaitTimeSec;
165 byte ModemCarrierLossWaitTimeTenthSec;
166 byte PiafsLinkTurnaroundInFrames;
167 byte DiscAfterProgress;
168 byte AniDniLimiter[3];
169 byte TxAttenuation; /* PRI/E1 only: attenuate TX signal */
181 byte R2CtryLength;
182 byte CCBSRelTimer;
183 byte *PcCfgBufferFile;/* flexible parameter via file */
184 byte *PcCfgBuffer; /* flexible parameter via multistring */
201 byte (*dpc)(ADAPTER *a);
202 byte (*tst_irq)(ADAPTER *a);
225 const byte *cfg_lib_memory_init;
233 byte next; /* chaining index */
240 byte ctrl;
241 byte card;
242 byte msize;
243 byte fill0;
247 byte reserved[20];
249 byte fill[224];
250 byte b[256];
265 byte io_in(ADAPTER *a, void *adr);
269 void io_out(ADAPTER *a, void *adr, byte data);
280 byte mem_in(ADAPTER *a, void *adr);
284 void mem_out(ADAPTER *a, void *adr, byte data);
305 extern void dump_trap_frame(PISDN_ADAPTER IoAdapter, byte __iomem *exception);
H A Dmaintidi.h32 int SuperTraceReadRequest(void *AdapterHandle, const char *name, byte *data);
34 int SuperTraceASSIGN(void *AdapterHandle, byte *data);
36 int SuperTraceTraceOnRequest(void *hAdapter, const char *name, byte *data);
38 byte *data,
41 byte type,
42 byte var_length);
45 byte *data);
67 byte buffer[DIVA_MAX_MANAGEMENT_TRANSFER_SIZE + 1];
73 byte rc_ok;
161 byte escape;
162 byte length;
163 byte management_id;
164 byte type;
165 byte attribute;
166 byte status;
167 byte value_length;
168 byte path_length;
H A Ddiva_pci.h16 byte diva_os_get_pci_bus(void *pci_dev_handle);
17 byte diva_os_get_pci_func(void *pci_dev_handle);
H A Ddivacapi.h130 byte msn[MAX_CPN_MASK_SIZE];
144 byte *info;
149 byte info[MAX_MSG_SIZE];
165 typedef void (*t_std_internal_command)(dword Id, PLCI *plci, byte Rc);
184 byte *xbuffer_used;
193 byte *queue;
199 byte msg_lost;
200 byte appl_flags;
204 byte MaxNCCI;
205 byte MaxNCCIData;
208 byte *ReceiveBuffer;
226 byte Id;
227 byte State;
228 byte sig_req;
229 byte nl_req;
230 byte SuppState;
231 byte channels;
232 byte tel;
233 byte B1_resource;
234 byte B2_prot;
235 byte B3_prot;
249 byte data_sent;
250 byte send_disc;
251 byte sig_global_req;
252 byte sig_remove_id;
253 byte nl_global_req;
254 byte nl_remove_id;
255 byte b_channel;
256 byte adv_nl;
257 byte manufacturer;
258 byte call_dir;
259 byte hook_state;
260 byte spoofed_msg;
261 byte ptyState;
262 byte cr_enquiry;
266 byte inc_dis_ncci_table[MAX_CHANNELS_PER_PLCI];
270 byte RBuffer[200];
274 byte fax_connect_info_length;
275 byte fax_connect_info_buffer[FAX_CONNECT_INFO_BUFFER_SIZE];
276 byte fax_edata_ack_length;
278 byte ncpi_state;
279 byte ncpi_buffer[NCPI_BUFFER_SIZE];
281 byte internal_req_buffer[INTERNAL_REQ_BUFFER_SIZE];
282 byte internal_ind_buffer[INTERNAL_IND_BUFFER_SIZE + 3];
292 byte adjust_b_restore;
294 byte dtmf_rec_active;
297 byte dtmf_send_requests;
302 byte dtmf_parameter_length;
303 byte dtmf_parameter_buffer[DTMF_PARAMETER_BUFFER_SIZE];
309 byte li_bchannel_id; /* BRI: 1..2, PRI: 1..32 */
310 byte li_channel_bits;
311 byte li_notify_update;
326 byte tone_last_indication_code;
328 byte vswitchstate;
329 byte vsprot;
330 byte vsprotdialect;
331 byte notifiedcall; /* Flag if it is a spoofed call */
339 byte data_out;
340 byte data_pending;
341 byte data_ack_out;
342 byte data_ack_pending;
350 byte Id;
351 byte max_plci;
352 byte max_listen;
353 byte listen_active;
355 byte ch_ncci[MAX_NL_CHANNEL + 1];
356 byte ncci_ch[MAX_NCCI + 1];
357 byte ncci_plci[MAX_NCCI + 1];
358 byte ncci_state[MAX_NCCI + 1];
359 byte ncci_next[MAX_NCCI + 1];
362 byte ch_flow_control[MAX_NL_CHANNEL + 1]; /* Used by XON protocol */
363 byte ch_flow_control_pending;
364 byte ch_flow_plci[MAX_NL_CHANNEL + 1];
377 byte AdvCodecFLAG;
381 byte TelOAD[23];
382 byte TelOSA[23];
383 byte scom_appl_disable;
385 byte automatic_law;
386 byte u_law;
388 byte adv_voice_coef_length;
389 byte adv_voice_coef_buffer[ADV_VOICE_COEF_BUFFER_SIZE];
391 byte li_pri;
392 byte li_channels;
395 byte adapter_disabled;
396 byte group_optimization_enabled; /* use application groups if enabled */
398 byte flag_dynamic_l1_down; /* for hunt groups:down layer 1 if no appl present*/
399 byte FlowControlIdTable[256];
400 byte FlowControlSkipTable[256];
454 byte code;
455 byte rate_div_2400;
456 byte resolution;
457 byte data_format;
458 byte pages_low;
459 byte pages_high;
460 byte operating_mode;
461 byte control_bits_low;
462 byte control_bits_high;
463 byte feature_bits_low;
464 byte feature_bits_high;
465 byte recording_properties;
466 byte universal_6;
467 byte universal_7;
468 byte station_id_len;
469 byte head_line_len;
470 byte station_id[T30_MAX_STATION_ID_LENGTH];
471 /* byte head_line[]; */
472 /* byte sub_sep_length; */
473 /* byte sub_sep_field[]; */
474 /* byte pwd_length; */
475 /* byte pwd_field[]; */
476 /* byte nsf_info_length; */
477 /* byte nsf_info_field[]; */
920 byte *flag_table; /* dword aligned and sized */
921 byte *coef_table; /* dword aligned and sized */
922 byte channel;
923 byte curchnl;
924 byte chflags;
1118 | PIAFS Protocol | byte | Bit 1 - Protocol Speed |
1137 | control (UDATA) | byte | enable PIAFS control communication |
H A Ddi_defs.h46 byte P[270]; /* data/parameter field */
50 byte name[BOARD_NAME_LENGTH];
61 #define L1_STARTUP_DOWN_MSK 0x01 /* first byte position (index 0) with value 0x01 */
64 byte len; /* max length of para field in bytes */
65 byte para[REQ_PARA_LEN]; /* parameter field */
69 byte *P;
72 byte Req; /* pending request */
73 byte Rc; /* return code received */
74 byte Ind; /* indication received */
75 byte ReqCh; /* channel of current Req */
76 byte RcCh; /* channel of current Rc */
77 byte IndCh; /* channel of current Ind */
78 byte Id; /* ID used by this entity */
79 byte GlobalId; /* reserved field */
80 byte XNum; /* number of X-buffers */
81 byte RNum; /* number of R-buffers */
86 byte RNR; /* receive not ready flag */
87 byte complete; /* receive complete status */
91 byte No; /* entity number */
92 byte reserved2; /* reserved field */
93 byte More; /* R/X More flags */
94 byte MInd; /* MDATA coding for this ID */
95 byte XCurrent; /* current transmit buffer */
96 byte RCurrent; /* current receive buffer */
101 byte type;
102 byte channels;
H A Dcapidtmf.h51 byte digit_buffer[CAPIDTMF_RECV_DIGIT_BUFFER_SIZE];
62 byte current_digit_value;
63 byte state;
67 byte ulaw;
70 word capidtmf_recv_indication(t_capidtmf_state *p_state, byte *buffer);
71 void capidtmf_recv_block(t_capidtmf_state *p_state, byte *buffer, word length);
72 void capidtmf_init(t_capidtmf_state *p_state, byte ulaw);
H A Ddi.c44 byte pr_dpc(ADAPTER *a);
45 static byte pr_ready(ADAPTER *a);
46 static byte isdn_rc(ADAPTER *, byte, byte, byte, word, dword, dword);
47 static byte isdn_ind(ADAPTER *, byte, byte, byte, PBUFFER *, byte, word);
58 #define XDI_A_NR(_x_) ((byte)(((ISDN_ADAPTER *)(_x_->io))->ANum))
59 static void xdi_xlog(byte *msg, word code, int length);
60 static byte xdi_xlog_sec = 0;
62 #define XDI_A_NR(_x_) ((byte)0)
64 static void xdi_xlog_rc_event(byte Adapter,
65 byte Id, byte Ch, byte Rc, byte cb, byte type);
66 static void xdi_xlog_request(byte Adapter, byte Id,
67 byte Ch, byte Req, byte type);
68 static void xdi_xlog_ind(byte Adapter,
69 byte Id,
70 byte Ch,
71 byte Ind,
72 byte rnr_valid,
73 byte rnr,
74 byte type);
80 byte e_no; pr_out()
87 byte more; pr_out()
88 byte ReadyCount; pr_out()
89 byte ReqCount; pr_out()
90 byte Id; pr_out()
144 this->XCurrent = (byte)++i; pr_out()
159 this->XCurrent = (byte)++i; pr_out()
223 (byte)(a->ram_in(a, &PR_RAM->ReqInput) + ReqCount)); pr_out()
239 static byte pr_ready(ADAPTER *a) pr_ready()
241 byte ReadyCount; pr_ready()
242 ReadyCount = (byte)(a->ram_in(a, &PR_RAM->ReqOutput) - pr_ready()
255 byte pr_dpc(ADAPTER *a) pr_dpc()
257 byte Count; pr_dpc()
260 byte c; pr_dpc()
261 byte RNRId; pr_dpc()
262 byte Rc; pr_dpc()
263 byte Ind; pr_dpc()
278 (byte *)&tmp[0], pr_dpc()
345 byte scom_test_int(ADAPTER *a) scom_test_int()
356 static byte isdn_rc(ADAPTER *a, isdn_rc()
357 byte Rc, isdn_rc()
358 byte Id, isdn_rc()
359 byte Ch, isdn_rc()
365 byte e_no; isdn_rc()
558 static byte isdn_ind(ADAPTER *a, isdn_ind()
559 byte Ind, isdn_ind()
560 byte Id, isdn_ind()
561 byte Ch, isdn_ind()
563 byte MInd, isdn_ind()
570 byte *cma = NULL; isdn_ind()
728 static void xdi_xlog(byte *msg, word code, int length) { xdi_xlog()
757 static void xdi_xlog_rc_event(byte Adapter, xdi_xlog_rc_event()
758 byte Id, byte Ch, byte Rc, byte cb, byte type) { xdi_xlog_rc_event()
765 xdi_xlog((byte *)&LogInfo[0], 221, sizeof(LogInfo)); xdi_xlog_rc_event()
781 static void xdi_xlog_request(byte Adapter, byte Id, xdi_xlog_request()
782 byte Ch, byte Req, byte type) { xdi_xlog_request()
788 xdi_xlog((byte *)&LogInfo[0], 220, sizeof(LogInfo)); xdi_xlog_request()
820 static void xdi_xlog_ind(byte Adapter, xdi_xlog_ind()
821 byte Id, xdi_xlog_ind()
822 byte Ch, xdi_xlog_ind()
823 byte Ind, xdi_xlog_ind()
824 byte rnr_valid, xdi_xlog_ind()
825 byte rnr, xdi_xlog_ind()
826 byte type) { xdi_xlog_ind()
833 xdi_xlog((byte *)&LogInfo[0], 222, sizeof(LogInfo)); xdi_xlog_ind()
H A Dpc_init.h31 0x0008 <byte> TEI
32 0x0009 <byte> NT2 flag
33 0x000a <byte> Default DID length
34 0x000b <byte> Disable watchdog flag
35 0x000c <byte> Permanent connection flag
36 0x000d <byte> Bit 3-8: L1 Hunt Group/Tristate
37 0x000d <byte> Bit 1: QSig small CR length if set to 1
38 0x000d <byte> Bit 2: QSig small CHI length if set to 1
39 0x000e <byte> Bit 1-3: Stable L2, 0=OnDemand,1=NoDisc,2=permanent
40 0x000e <byte> Bit 4: NT mode
41 0x000e <byte> Bit 5: QSig Channel ID format
42 0x000e <byte> Bit 6: QSig Call Forwarding Allowed Flag
43 0x000e <byte> Bit 7: Disable AutoSPID Flag
44 0x000f <byte> No order check flag
45 0x0010 <byte> Force companding type:0=default,1=a-law,2=u-law
46 0x0012 <byte> Low channel flag
47 0x0013 <byte> Protocol version
48 0x0014 <byte> CRC4 option:0=default,1=double_frm,2=multi_frm,3=auto
49 0x0015 <byte> Bit 0: NoHscx30, Bit 1: Loopback flag, Bit 2: ForceHscx30
50 0x0016 <byte> DSP info
52 0x001a <byte> Card type
H A Dmdm_msg.h37 <byte> connected norm
133 <byte> cause
140 <byte> length of information element
142 <byte> address A (not used, default 3)
143 <byte> address B (not used, default 1)
144 <byte> modulo mode (not used, default 7)
145 <byte> window size (not used, default 7)
148 <byte> modem protocol negotiation options
149 <byte> modem protocol options
150 <byte> modem protocol break configuration
151 <byte> modem protocol application options
179 <byte> length of information element
180 <byte> info field and B-channel hardware
181 <byte> rate adaptation bit rate
182 <byte> async framing parameters
183 <byte> reserved
185 <byte> modem line taking options
186 <byte> modem modulation negotiation parameters
187 <byte> modem modulation options
188 <byte> modem disabled modulations mask low
189 <byte> modem disabled modulations mask high
190 <byte> modem enabled modulations mask
195 <byte> modem disabled symbol rates mask
196 <byte> modem info options mask
197 <byte> modem transmit level adjust
198 <byte> modem speaker parameters
H A Dcapi20.h120 byte structs[0]; /* Additional Info */
129 byte structs[0]; /* Called party number,
146 byte structs[0]; /* Called party number,
158 byte structs[0]; /* B_protocol,
165 byte structs[0]; /* Connected party number,
171 byte structs[0]; /* empty */
175 byte structs[0]; /* Additional Info */
187 byte structs[0]; /* empty */
193 byte structs[0]; /* Calling party number,
202 byte structs[0]; /* Called party number,
212 byte structs[0]; /* Info element */
216 byte structs[0]; /* empty */
220 byte structs[0]; /* B-protocol */
229 byte structs[0]; /* Facility parameters */
233 byte struct_length;
235 byte length;
243 byte structs[0]; /* Facility parameters */
248 byte structs[0]; /* Facility parameters */
253 byte structs[0]; /* Facility parameters */
257 byte structs[0]; /* NCPI */
265 byte structs[0]; /* NCPI */
270 byte structs[0]; /* NCPI */
274 byte structs[0]; /* NCPI */
278 byte structs[0]; /* empty */
282 byte structs[0]; /* NCPI */
291 byte structs[0]; /* NCPI */
295 byte structs[0]; /* empty */
338 byte structs[0]; /* NCPI */
346 byte structs[0]; /* NCPI */
350 byte structs[0]; /* empty */
354 byte structs[0]; /* NCPI */
359 byte structs[0]; /* NCPI */
372 byte controller;
373 byte plci;
423 byte b[200];
H A Distream.c44 byte usr1,
45 byte usr2);
51 byte *usr1,
52 byte *usr2);
75 byte usr1, diva_istream_write()
76 byte usr2) { diva_istream_write()
80 byte *data_ptr = (byte *)data; diva_istream_write()
153 byte *usr1, diva_istream_read()
154 byte *usr2) { diva_istream_read()
158 byte *data_ptr = (byte *)data; diva_istream_read()
H A Ds_bri.c44 byte __iomem *addrHi, *addrLo, *ioaddr; bri_cpu_trapped()
48 byte __iomem *Port; bri_cpu_trapped()
66 dump_trap_frame(IoAdapter, &((byte *)Xlog)[0x90]); bri_cpu_trapped()
69 regs[0] = GET_DWORD(&((byte *)Xlog)[0x70]); bri_cpu_trapped()
70 regs[1] = GET_DWORD(&((byte *)Xlog)[0x74]); bri_cpu_trapped()
71 regs[2] = GET_DWORD(&((byte *)Xlog)[0x78]); bri_cpu_trapped()
72 regs[3] = GET_DWORD(&((byte *)Xlog)[0x7c]); bri_cpu_trapped()
96 outpp(addrHi, (byte)((BRI_UNCACHED_ADDR(IoAdapter->MemoryBase + IoAdapter->MemorySize - bri_cpu_trapped()
105 byte __iomem *p = DIVA_OS_MEM_ATTACH_CTLREG(IoAdapter); reset_bri_hardware()
113 byte __iomem *p = DIVA_OS_MEM_ATTACH_RESET(IoAdapter); stop_bri_hardware()
127 byte __iomem *p; bri_ISR()
149 byte __iomem *p; disable_bri_interrupt()
H A Dxdi_adapter.h10 byte bus;
11 byte func;
19 byte irq;
H A Dio.c73 static byte extended_xdi_features[DIVA_XDI_EXTENDED_FEATURES_MAX_SZ + 1] = {
159 dump_trap_frame(PISDN_ADAPTER IoAdapter, byte __iomem *exceptionFrame) dump_trap_frame()
205 byte i; request()
395 e->No = (byte)i; request()
587 byte mem_in(ADAPTER *a, void *addr) mem_in()
589 byte val; mem_in()
590 volatile byte __iomem *Base = DIVA_OS_MEM_ATTACH_RAM((PISDN_ADAPTER)a->io); mem_in()
598 volatile byte __iomem *Base = DIVA_OS_MEM_ATTACH_RAM((PISDN_ADAPTER)a->io); mem_inw()
605 volatile byte __iomem *Base = DIVA_OS_MEM_ATTACH_RAM((PISDN_ADAPTER)a->io); mem_in_dw()
614 volatile byte __iomem *Base = DIVA_OS_MEM_ATTACH_RAM((PISDN_ADAPTER)a->io); mem_in_buffer()
626 void mem_out(ADAPTER *a, void *addr, byte data) mem_out()
628 volatile byte __iomem *Base = DIVA_OS_MEM_ATTACH_RAM((PISDN_ADAPTER)a->io); mem_out()
634 volatile byte __iomem *Base = DIVA_OS_MEM_ATTACH_RAM((PISDN_ADAPTER)a->io); mem_outw()
640 volatile byte __iomem *Base = DIVA_OS_MEM_ATTACH_RAM((PISDN_ADAPTER)a->io); mem_out_dw()
650 volatile byte __iomem *Base = DIVA_OS_MEM_ATTACH_RAM((PISDN_ADAPTER)a->io); mem_out_buffer()
656 volatile byte __iomem *Base = DIVA_OS_MEM_ATTACH_RAM((PISDN_ADAPTER)a->io); mem_inc()
657 byte x = READ_BYTE(Base + (unsigned long)addr); mem_inc()
664 byte io_in(ADAPTER *a, void *adr) io_in()
666 byte val; io_in()
667 byte __iomem *Port = DIVA_OS_MEM_ATTACH_PORT((PISDN_ADAPTER)a->io); io_in()
676 byte __iomem *Port = DIVA_OS_MEM_ATTACH_PORT((PISDN_ADAPTER)a->io); io_inw()
684 byte __iomem *Port = DIVA_OS_MEM_ATTACH_PORT((PISDN_ADAPTER)a->io); io_in_buffer()
685 byte *P = (byte *)buffer; io_in_buffer()
690 adr = ((byte *) adr) + 1; io_in_buffer()
703 byte __iomem *Port = DIVA_OS_MEM_ATTACH_PORT((PISDN_ADAPTER)a->io); io_look_ahead()
710 void io_out(ADAPTER *a, void *adr, byte data) io_out()
712 byte __iomem *Port = DIVA_OS_MEM_ATTACH_PORT((PISDN_ADAPTER)a->io); io_out()
719 byte __iomem *Port = DIVA_OS_MEM_ATTACH_PORT((PISDN_ADAPTER)a->io); io_outw()
726 byte __iomem *Port = DIVA_OS_MEM_ATTACH_PORT((PISDN_ADAPTER)a->io); io_out_buffer()
727 byte *P = (byte *)buffer; io_out_buffer()
732 adr = ((byte *) adr) + 1; io_out_buffer()
745 byte x; io_inc()
746 byte __iomem *Port = DIVA_OS_MEM_ATTACH_PORT((PISDN_ADAPTER)a->io); io_inc()
756 void free_entity(ADAPTER *a, byte e_no) free_entity()
766 void assign_queue(ADAPTER *a, byte e_no, word ref) assign_queue()
773 IoAdapter->e_tbl[e_no].next = (byte)IoAdapter->assign; assign_queue()
777 byte get_assign(ADAPTER *a, word ref) get_assign()
781 byte e_no; get_assign()
786 for (e_no = (byte)IoAdapter->assign; get_assign()
794 void req_queue(ADAPTER *a, byte e_no) req_queue()
811 byte look_req(ADAPTER *a) look_req()
815 return ((byte)IoAdapter->head); look_req()
830 ENTITY *entity_ptr(ADAPTER *a, byte e_no) entity_ptr()
H A Dmessage.c77 static byte test_group_ind_mask_bit(PLCI *plci, word b);
82 static word api_parse(byte *, word, byte *, API_PARSE *);
83 static void api_save_msg(API_PARSE *in, byte *format, API_SAVE *out);
95 static void control_rc(PLCI *, byte, byte, byte, byte, byte);
96 static void data_rc(PLCI *, byte);
97 static void data_ack(PLCI *, byte);
99 static void SendInfo(PLCI *, dword, byte **, byte);
100 static void SendSetupInfo(APPL *, PLCI *, dword, byte **, byte);
101 static void SendSSExtInd(APPL *, PLCI *plci, dword Id, byte **parms);
103 static void VSwitchReqInd(PLCI *plci, dword Id, byte **parms);
107 static byte connect_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
108 static byte connect_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
109 static byte connect_a_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
110 static byte disconnect_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
111 static byte disconnect_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
112 static byte listen_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
113 static byte info_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
114 static byte info_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
115 static byte alert_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
116 static byte facility_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
117 static byte facility_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
118 static byte connect_b3_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
119 static byte connect_b3_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
120 static byte connect_b3_a_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
121 static byte disconnect_b3_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
122 static byte disconnect_b3_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
123 static byte data_b3_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
124 static byte data_b3_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
125 static byte reset_b3_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
126 static byte reset_b3_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
127 static byte connect_b3_t90_a_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
128 static byte select_b_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
129 static byte manufacturer_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
130 static byte manufacturer_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
133 static void add_p(PLCI *, byte, byte *);
134 static void add_s(PLCI *plci, byte code, API_PARSE *p);
135 static void add_ss(PLCI *plci, byte code, API_PARSE *p);
136 static void add_ie(PLCI *plci, byte code, byte *p, word p_length);
137 static void add_d(PLCI *, word, byte *);
142 static void sig_req(PLCI *, byte, byte);
143 static void nl_req_ncci(PLCI *, byte, byte);
148 static byte AddInfo(byte **, byte **, byte *, byte *);
149 static byte getChannel(API_PARSE *);
150 static void IndParse(PLCI *, word *, byte **, byte);
151 static byte ie_compare(byte *, byte *);
152 static word find_cip(DIVA_CAPI_ADAPTER *, byte *, byte *);
153 static word CPN_filter_ok(byte *cpn, DIVA_CAPI_ADAPTER *, word);
159 static void channel_x_off(PLCI *plci, byte ch, byte flag);
160 static void channel_x_on(PLCI *plci, byte ch);
161 static void channel_request_xon(PLCI *plci, byte ch);
163 static int channel_can_xon(PLCI *plci, byte ch);
166 static byte SendMultiIE(PLCI *plci, dword Id, byte **parms, byte ie_type, dword info_mask, byte setupParse);
167 static word AdvCodecSupport(DIVA_CAPI_ADAPTER *, PLCI *, APPL *, byte);
169 static void SetVoiceChannel(PLCI *, byte *, DIVA_CAPI_ADAPTER *);
174 static word get_b1_facilities(PLCI *plci, byte b1_resource);
175 static byte add_b1_facilities(PLCI *plci, byte b1_resource, word b1_facilities);
176 static void adjust_b1_facilities(PLCI *plci, byte new_b1_resource, word new_b1_facilities);
177 static word adjust_b_process(dword Id, PLCI *plci, byte Rc);
179 static void adjust_b_restore(dword Id, PLCI *plci, byte Rc);
180 static void reset_b3_command(dword Id, PLCI *plci, byte Rc);
181 static void select_b_command(dword Id, PLCI *plci, byte Rc);
182 static void fax_connect_ack_command(dword Id, PLCI *plci, byte Rc);
183 static void fax_edata_ack_command(dword Id, PLCI *plci, byte Rc);
184 static void fax_connect_info_command(dword Id, PLCI *plci, byte Rc);
185 static void fax_adjust_b23_command(dword Id, PLCI *plci, byte Rc);
186 static void fax_disconnect_command(dword Id, PLCI *plci, byte Rc);
187 static void hold_save_command(dword Id, PLCI *plci, byte Rc);
188 static void retrieve_restore_command(dword Id, PLCI *plci, byte Rc);
192 static void dtmf_command(dword Id, PLCI *plci, byte Rc);
193 static byte dtmf_request(dword Id, word Number, DIVA_CAPI_ADAPTER *a, PLCI *plci, APPL *appl, API_PARSE *msg);
195 static void dtmf_indication(dword Id, PLCI *plci, byte *msg, word length);
199 static void mixer_set_bchannel_id_esc(PLCI *plci, byte bchannel_id);
200 static void mixer_set_bchannel_id(PLCI *plci, byte *chi);
202 static void mixer_notify_update(PLCI *plci, byte others);
203 static void mixer_command(dword Id, PLCI *plci, byte Rc);
204 static byte mixer_request(dword Id, word Number, DIVA_CAPI_ADAPTER *a, PLCI *plci, APPL *appl, API_PARSE *msg);
206 static void mixer_indication_xconnect_from(dword Id, PLCI *plci, byte *msg, word length);
207 static void mixer_indication_xconnect_to(dword Id, PLCI *plci, byte *msg, word length);
211 static void ec_command(dword Id, PLCI *plci, byte Rc);
212 static byte ec_request(dword Id, word Number, DIVA_CAPI_ADAPTER *a, PLCI *plci, APPL *appl, API_PARSE *msg);
213 static void ec_indication(dword Id, PLCI *plci, byte *msg, word length);
216 static void rtp_connect_b3_req_command(dword Id, PLCI *plci, byte Rc);
217 static void rtp_connect_b3_res_command(dword Id, PLCI *plci, byte Rc);
227 extern byte MapController(byte);
228 extern byte UnMapController(byte);
229 #define MapId(Id)(((Id) & 0xffffff00L) | MapController((byte)(Id)))
230 #define UnMapId(Id)(((Id) & 0xffffff00L) | UnMapController((byte)(Id)))
232 void sendf(APPL *, word, dword, word, byte *, ...);
244 extern byte max_adapter;
245 extern byte max_appl;
255 static byte remove_started = false;
261 byte *format;
262 byte (*function)(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *);
292 static byte *cip_bc[29][2] = {
325 static byte *cip_hlc[29] = {
367 static byte v120_default_header[] =
374 static byte v120_break_header[] =
390 byte c; api_put()
391 byte controller; api_put()
405 controller = (byte)((msg->header.controller & 0x7f) - 1); api_put()
459 if ((((byte *) msg) < ((byte *)(plci->msg_in_queue))) api_put()
460 || (((byte *) msg) >= ((byte *)(plci->msg_in_queue)) + sizeof(plci->msg_in_queue))) api_put()
480 if ((((CAPI_MSG *)(&((byte *)(plci->msg_in_queue))[k]))->header.command == _DATA_B3_R) api_put()
481 && (((CAPI_MSG *)(&((byte *)(plci->msg_in_queue))[k]))->header.ncci == ncci)) api_put()
484 if (((CAPI_MSG *)(&((byte *)(plci->msg_in_queue))[k]))->info.data_b3_req.Flags & 0x0004) api_put()
488 k += (((CAPI_MSG *)(&((byte *)(plci->msg_in_queue))[k]))->header.length + api_put()
501 if ((((byte *) msg) >= ((byte *)(plci->msg_in_queue))) api_put()
502 && (((byte *) msg) < ((byte *)(plci->msg_in_queue)) + sizeof(plci->msg_in_queue))) api_put()
529 m = (CAPI_MSG *)(&((byte *)(plci->msg_in_queue))[j]); api_put()
531 ((byte *)(plci->msg_in_queue))[j++] = ((byte *) msg)[i]; api_put()
541 *((APPL **)(&((byte *)(plci->msg_in_queue))[j])) = appl; api_put()
593 static word api_parse(byte *msg, word length, byte *format, API_PARSE *parms) api_parse()
632 static void api_save_msg(API_PARSE *in, byte *format, API_SAVE *out) api_save_msg()
635 byte *p; api_save_msg()
778 static word get_ncci(PLCI *plci, byte ch, word force_ncci) get_ncci()
841 a->ncci_next[plci->ncci_ring_list] = (byte) ncci; get_ncci()
844 a->ch_ncci[ch] = (byte) ncci; get_ncci()
878 && (((byte)(appl->DataFlags[i] >> 8)) == plci->Id)) ncci_free_receive_buffers()
905 && (((byte)(appl->DataFlags[i] >> 8)) == plci->Id)) ncci_free_receive_buffers()
944 static void ncci_remove(PLCI *plci, word ncci, byte preserve_ncci) ncci_remove()
1028 if (((CAPI_MSG *)(&((byte *)(plci->msg_in_queue))[i]))->header.command == _DATA_B3_R) plci_free_msg_in_queue()
1032 (byte *)(long)(((CAPI_MSG *)(&((byte *)(plci->msg_in_queue))[i]))->info.data_b3_req.Data)); plci_free_msg_in_queue()
1036 i += (((CAPI_MSG *)(&((byte *)(plci->msg_in_queue))[i]))->header.length + plci_free_msg_in_queue()
1106 static byte test_group_ind_mask_bit(PLCI *plci, word b) test_group_ind_mask_bit()
1123 static byte c_ind_mask_empty(PLCI *plci) c_ind_mask_empty()
1143 static byte test_c_ind_mask_bit(PLCI *plci, word b) test_c_ind_mask_bit()
1195 static byte connect_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, connect_req()
1201 byte LinkLayer; connect_req()
1207 byte m; connect_req()
1208 static byte esc_chi[35] = {0x02, 0x18, 0x01}; connect_req()
1209 static byte lli[2] = {0x01, 0x00}; connect_req()
1210 byte noCh = 0; connect_req()
1212 byte *p_chi = ""; connect_req()
1307 esc_chi[0] = (byte)(ai_parms[0].length - 2); connect_req()
1313 esc_chi[2] = (byte)channel; connect_req()
1314 plci->b_channel = (byte)channel; /* not correct for ETSI ch 17..31 */ connect_req()
1411 static byte connect_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, connect_res()
1416 static byte cau_t[] = {0, 0, 0x90, 0x91, 0xac, 0x9d, 0x86, 0xd8, 0x9b}; connect_res()
1417 static byte esc_t[] = {0x03, 0x08, 0x00, 0x00}; connect_res()
1472 esc_t[2] = ((byte)(Reject & 0x00ff)) | 0x80; connect_res()
1568 static byte connect_a_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, connect_a_res()
1575 static byte disconnect_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, disconnect_req()
1631 static byte disconnect_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, disconnect_res()
1659 static byte listen_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, listen_req()
1663 byte i; listen_req()
1682 a->TelOAD[0] = (byte)(parms[3].length); listen_req()
1687 a->TelOSA[0] = (byte)(parms[4].length); listen_req()
1709 static byte info_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, info_req()
1819 static byte info_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, info_res()
1826 static byte alert_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, alert_req()
1830 byte ret; alert_req()
1857 static byte facility_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, facility_req()
1867 byte *SSparms = ""; facility_req()
1868 byte RCparms[] = "\x05\x00\x00\x02\x00\x00"; facility_req()
1869 byte SSstruct[] = "\x09\x00\x00\x06\x00\x00\x00\x00\x00\x00"; facility_req()
1873 byte cai[15]; facility_req()
1922 SSparms = (byte *)SSstruct; facility_req()
2105 plci->ptyState = (byte)SSreq; facility_req()
2127 cai[2] = (byte)d; /* Conference Size resp. PartyId */ facility_req()
2178 || (MapController((byte)(relatedPLCIvalue & 0x7f)) == 0) facility_req()
2179 || (MapController((byte)(relatedPLCIvalue & 0x7f)) > max_adapter)) facility_req()
2194 relatedadapter = &adapter[MapController((byte)(relatedPLCIvalue & 0x7f)) - 1]; facility_req()
2199 if (relatedadapter->plci[i].Id == (byte)relatedPLCIvalue) facility_req()
2234 rplci->ptyState = (byte)SSreq; facility_req()
2256 cai[1] = (byte)(SSreq - 3); facility_req()
2296 ss_parms[3].info[3] = (byte)GET_WORD(&(ss_parms[2].info[0])); facility_req()
2338 cai[1] = 0x70 | (byte)GET_WORD(&(ss_parms[3].info[0])); /* Function */ facility_req()
2339 cai[2] = (byte)GET_WORD(&(ss_parms[4].info[0])); /* Basic Service */ facility_req()
2395 cai[1] = 0x60 | (byte)GET_WORD(&(ss_parms[3].info[0])); /* Function */ facility_req()
2404 cai[1] = 0x80 | (byte)GET_WORD(&(ss_parms[3].info[0])); /* Function */ facility_req()
2456 cai[2] = (byte)GET_WORD(&(ss_parms[4].info[0])); /* Basic Service */ facility_req()
2608 static byte facility_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, facility_res()
2615 static byte connect_b3_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, connect_b3_req()
2619 byte req; connect_b3_req()
2620 byte len; connect_b3_req()
2624 byte pvc[2]; connect_b3_req()
2701 (byte)((((T30_INFO *)(plci->fax_connect_info_buffer))->resolution & ~T30_RESOLUTION_R8_0770_OR_200) | connect_b3_req()
2716 if (((byte) w) != ((T30_INFO *)(plci->fax_connect_info_buffer))->data_format) connect_b3_req()
2718 ((T30_INFO *)(plci->fax_connect_info_buffer))->data_format = (byte) w; connect_b3_req()
2751 ((T30_INFO *)(plci->fax_connect_info_buffer))->station_id_len = (byte) w; connect_b3_req()
2759 plci->fax_connect_info_buffer[len++] = (byte) w; connect_b3_req()
2765 plci->fax_connect_info_buffer[len++] = (byte) w; connect_b3_req()
2780 plci->fax_connect_info_buffer[len++] = (byte)(fax_parms[7].length); connect_b3_req()
2850 static byte connect_b3_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, connect_b3_res()
2855 byte req; connect_b3_res()
2862 byte len; connect_b3_res()
2876 nl_req_ncci(plci, N_DISC, (byte)ncci); connect_b3_res()
2913 plci->fax_connect_info_buffer[len++] = (byte)(fax_parms[7].length); connect_b3_res()
2924 nl_req_ncci(plci, req, (byte)ncci); connect_b3_res()
2952 nl_req_ncci(plci, req, (byte)ncci); connect_b3_res()
2966 static byte connect_b3_a_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, connect_b3_a_res()
2987 static byte disconnect_b3_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, disconnect_b3_req()
3015 plci->send_disc = (byte)ncci; disconnect_b3_req()
3028 add_d(plci, (word)(ncpi->length - 3), (byte *)&(ncpi->info[4])); disconnect_b3_req()
3031 nl_req_ncci(plci, N_DISC, (byte)ncci); disconnect_b3_req()
3044 static byte disconnect_b3_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, disconnect_b3_res()
3061 for (i = 0; i < MAX_CHANNELS_PER_PLCI && plci->inc_dis_ncci_table[i] != (byte)ncci; i++); disconnect_b3_res()
3090 nl_req_ncci(plci, N_EDATA, (byte)ncci); disconnect_b3_res()
3101 static byte data_b3_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, data_b3_req()
3129 if ((((byte *)(parms[0].info)) >= ((byte *)(plci->msg_in_queue))) data_b3_req()
3130 && (((byte *)(parms[0].info)) < ((byte *)(plci->msg_in_queue)) + sizeof(plci->msg_in_queue))) data_b3_req()
3133 data->P = (byte *)(long)(*((dword *)(parms[0].info))); data_b3_req()
3162 if ((((byte *)(parms[0].info)) >= ((byte *)(plci->msg_in_queue))) data_b3_req()
3163 && (((byte *)(parms[0].info)) < ((byte *)(plci->msg_in_queue)) + sizeof(plci->msg_in_queue))) data_b3_req()
3166 TransmitBufferFree(appl, (byte *)(long)(*((dword *)(parms[0].info)))); data_b3_req()
3179 static byte data_b3_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, data_b3_res()
3195 (byte)(appl->DataFlags[n] >> 8) == plci->Id) { data_b3_res()
3205 nl_req_ncci(plci, N_DATA_ACK, (byte)ncci); data_b3_res()
3213 static byte reset_b3_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, reset_b3_req()
3232 nl_req_ncci(plci, N_RESET, (byte)ncci); reset_b3_req()
3255 static byte reset_b3_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, reset_b3_res()
3271 nl_req_ncci(plci, N_RESET_ACK, (byte)ncci); reset_b3_res()
3280 static byte connect_b3_t90_a_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, connect_b3_t90_a_res()
3285 byte req; connect_b3_t90_a_res()
3307 nl_req_ncci(plci, req, (byte)ncci); connect_b3_t90_a_res()
3315 static byte select_b_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, select_b_req()
3320 byte tel; select_b_req()
3435 static byte manufacturer_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, manufacturer_req()
3444 byte req; manufacturer_req()
3445 byte ch; manufacturer_req()
3446 byte dir; manufacturer_req()
3447 static byte chi[2] = {0x01, 0x00}; manufacturer_req()
3448 static byte lli[2] = {0x01, 0x00}; manufacturer_req()
3449 static byte codec_cai[2] = {0x01, 0x01}; manufacturer_req()
3450 static byte null_msg = {0}; manufacturer_req()
3485 chi[1] = (byte)(0x80 | ch); manufacturer_req()
3611 nl_req_ncci(plci, N_DISC, (byte)ncci); manufacturer_req()
3687 a->adv_voice_coef_length = (byte)(m->length - 3); manufacturer_req()
3706 plci->dtmf_parameter_length = (byte)(m->length - 3); manufacturer_req()
3764 static byte manufacturer_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, manufacturer_res()
3773 byte len; manufacturer_res()
3823 plci->fax_connect_info_buffer[len++] = (byte)(fax_parms[7].length); manufacturer_res()
3847 byte rc; callback()
3848 byte ch; callback()
3849 byte req; callback()
3850 byte global_req; callback()
3856 a = &(adapter[(byte)e->user[0]]); callback()
4019 byte Ind = e->Ind & 0x0f; callback()
4020 byte Ch = e->IndCh; callback()
4049 i = (((CAPI_MSG *)(&((byte *)(plci->msg_in_queue))[j]))->header.length + 3) & 0xfffc; callback()
4051 m = (CAPI_MSG *)(&((byte *)(plci->msg_in_queue))[j]); callback()
4052 appl = *((APPL **)(&((byte *)(plci->msg_in_queue))[j + i])); callback()
4079 TransmitBufferFree(appl, (byte *)(long)(m->info.data_b3_req.Data)); callback()
4097 static void control_rc(PLCI *plci, byte req, byte rc, byte ch, byte global_req, control_rc()
4098 byte nl_rc) control_rc()
4109 byte SSparms[] = "\x05\x00\x00\x02\x00\x00"; control_rc()
4110 byte SSstruct[] = "\x09\x00\x00\x06\x00\x00\x00\x00\x00\x00"; control_rc()
4153 SSparms[1] = (byte)S_HOLD; control_rc()
4164 SSparms[1] = (byte)S_RETRIEVE; control_rc()
4477 nl_req_ncci(plci, N_DISC, (byte)ncci); control_rc()
4764 static void data_rc(PLCI *plci, byte ch) data_rc()
4800 static void data_ack(PLCI *plci, byte ch) data_ack()
4834 byte *ie; sig_ind()
4838 byte *parms[MAXPARMSIDS]; sig_ind()
4839 byte *add_i[4]; sig_ind()
4840 byte *multi_fac_parms[MAX_MULTI_IE]; sig_ind()
4841 byte *multi_pi_parms[MAX_MULTI_IE]; sig_ind()
4842 byte *multi_ssext_parms[MAX_MULTI_IE]; sig_ind()
4843 byte *multi_CiPN_parms[MAX_MULTI_IE]; sig_ind()
4845 byte *multi_vswitch_parms[MAX_MULTI_IE]; sig_ind()
4847 byte ai_len; sig_ind()
4848 byte *esc_chi = ""; sig_ind()
4849 byte *esc_law = ""; sig_ind()
4850 byte *pty_cai = ""; sig_ind()
4851 byte *esc_cr = ""; sig_ind()
4852 byte *esc_profile = ""; sig_ind()
4854 byte facility[256]; sig_ind()
4856 byte chi[] = "\x02\x18\x01"; sig_ind()
4857 byte voice_cai[] = "\x06\x14\x00\x00\x00\x00\x08"; sig_ind()
4858 byte resume_cau[] = "\x05\x05\x00\x02\x00\x00"; sig_ind()
4878 byte *cau; sig_ind()
4880 byte SS_Ind[] = "\x05\x02\x00\x02\x00\x00"; /* Hold_Ind struct*/ sig_ind()
4881 byte CF_Ind[] = "\x09\x02\x00\x06\x00\x00\x00\x00\x00\x00"; sig_ind()
4882 byte Interr_Err_Ind[] = "\x0a\x02\x00\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"; sig_ind()
4883 byte CONF_Ind[] = "\x09\x16\x00\x06\x00\x00\x00\x00\x00\x00"; sig_ind()
4884 byte force_mt_info = false; sig_ind()
4885 byte dir; sig_ind()
6118 static void SendSetupInfo(APPL *appl, PLCI *plci, dword Id, byte **parms, byte Info_Sent_Flag) SendSetupInfo()
6121 byte *ie; SendSetupInfo()
6123 byte *Info_Element; SendSetupInfo()
6192 static void SendInfo(PLCI *plci, dword Id, byte **parms, byte iesent) SendInfo()
6197 byte *ie; SendInfo()
6199 byte *Info_Element; SendInfo()
6201 static byte charges[5] = {4, 0, 0, 0, 0}; SendInfo()
6202 static byte cause[] = {0x02, 0x80, 0x00}; SendInfo()
6368 static byte SendMultiIE(PLCI *plci, dword Id, byte **parms, byte ie_type, SendMultiIE()
6369 dword info_mask, byte setupParse) SendMultiIE()
6373 byte *ie; SendMultiIE()
6375 byte *Info_Element; SendMultiIE()
6378 byte iesent = 0; SendMultiIE()
6442 static void SendSSExtInd(APPL *appl, PLCI *plci, dword Id, byte **parms) SendSSExtInd()
6446 0 byte length SendSSExtInd()
6447 1 byte SSEXTIE SendSSExtInd()
6448 2 byte SSEXT_REQ/SSEXT_IND SendSSExtInd()
6449 3 byte length SendSSExtInd()
6490 byte ch; nl_ind()
6499 byte len, ncci_state; nl_ind()
6503 byte fax_send_edata_ack; nl_ind()
6504 static byte v120_header_buffer[2 + 3]; nl_ind()
6555 byte dtmf_code_buffer[CAPIDTMF_RECV_DIGIT_BUFFER_SIZE + 1]; nl_ind()
6621 byte *data = &plci->NL.RBuffer->P[0]; nl_ind()
6793 plci->ncpi_buffer[0] = (byte)(i + 3); nl_ind()
6794 plci->ncpi_buffer[1] = (byte)(plci->NL.Ind & N_D_BIT ? 1 : 0); nl_ind()
6906 (byte)(plci->ncpi_buffer[0] + 1), plci->ncpi_buffer); nl_ind()
7070 plci->inc_dis_ncci_table[i] = (byte) ncci; nl_ind()
7282 plci->Id = (byte)(i + 1); get_plci()
7348 static void add_p(PLCI *plci, byte code, byte *p) add_p()
7360 static void add_s(PLCI *plci, byte code, API_PARSE *p) add_s()
7368 static void add_ss(PLCI *plci, byte code, API_PARSE *p) add_ss()
7370 byte i; add_ss()
7374 for (i = 2; i < (byte)p->length; i += p->info[i] + 2) { add_ss()
7376 add_ie(plci, p->info[i - 1], (byte *)&(p->info[i]), (word)p->info[i]); add_ss()
7384 static byte getChannel(API_PARSE *p) getChannel()
7386 byte i; getChannel()
7389 for (i = 2; i < (byte)p->length; i += p->info[i] + 2) { getChannel()
7403 static void add_ie(PLCI *plci, byte code, byte *p, word p_length) add_ie()
7418 plci->RBuffer[plci->req_in++] = (byte)p_length; add_ie()
7429 static void add_d(PLCI *plci, word length, byte *p) add_d()
7474 byte cai[256]; add_b1()
7475 byte resource[] = {5, 9, 13, 12, 16, 39, 9, 17, 17, 18}; add_b1()
7476 byte voice_cai[] = "\x06\x14\x00\x00\x00\x00\x08"; add_b1()
7754 cai[7] |= (byte) d; /* line taking options */ add_b1()
7755 cai[9] |= (byte)(d >> 8); /* modulation options */ add_b1()
7756 cai[++i] = (byte)(d >> 16); /* vown modulation options */ add_b1()
7757 cai[++i] = (byte)(d >> 24); add_b1()
7761 cai[10] |= (byte) d; /* disabled modulations mask */ add_b1()
7762 cai[11] |= (byte)(d >> 8); add_b1()
7766 cai[12] = (byte) d; /* enabled modulations mask */ add_b1()
7767 cai[++i] = (byte)(d >> 8); /* vown enabled modulations */ add_b1()
7768 cai[++i] = (byte)(d >> 16); add_b1()
7769 cai[++i] = (byte)(d >> 24); add_b1()
7794 cai[23] = (byte)(-((short) w)); /* transmit level */ add_b1()
7798 cai[22] |= (byte) w; /* info options mask */ add_b1()
7799 cai[21] |= (byte)(w >> 8); /* disabled symbol rates */ add_b1()
7817 cai[i] = (byte)(mdm_cfg_v18[n].length); add_b1()
7824 cai[0] = (byte)(i - 1); add_b1()
7936 byte pos, len; add_b23()
7937 byte SAPI = 0x40; /* default SAPI 16 for x.31 */ add_b23()
7946 static byte llc[3] = {2,0,0}; add_b23()
7947 static byte dlc[20] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; add_b23()
7948 static byte nlc[256]; add_b23()
7949 static byte lli[12] = {1,1}; add_b23()
7951 const byte llc2_out[] = {1,2,4,6,2,0,0,0, X75_V42BIS,V120_L2,V120_V42BIS,V120_L2,6}; add_b23()
7952 const byte llc2_in[] = {1,3,4,6,3,0,0,0, X75_V42BIS,V120_L2,V120_V42BIS,V120_L2,6}; add_b23()
7954 const byte llc3[] = {4,3,2,2,6,6,0}; add_b23()
7955 const byte header[] = {0,2,3,3,0,0,0}; add_b23()
7978 lli[2] = (byte)(plci->rx_dma_descriptor - 1); add_b23()
7979 lli[3] = (byte)plci->rx_dma_magic; add_b23()
7980 lli[4] = (byte)(plci->rx_dma_magic >> 8); add_b23()
7981 lli[5] = (byte)(plci->rx_dma_magic >> 16); add_b23()
7982 lli[6] = (byte)(plci->rx_dma_magic >> 24); add_b23()
8055 plci->B2_prot = (byte) GET_WORD(bp_parms[1].info); add_b23()
8056 plci->B3_prot = (byte) GET_WORD(bp_parms[2].info); add_b23()
8070 dlc[0] = (byte)(8 + bp_parms[4].length); add_b23()
8074 nlc[0] = (byte)(bp_parms[5].length); add_b23()
8104 plci->B2_prot = (byte)GET_WORD(bp_parms[1].info); add_b23()
8105 plci->B3_prot = (byte)GET_WORD(bp_parms[2].info); add_b23()
8155 ((T30_INFO *)&nlc[1])->rate_div_2400 = (byte)(GET_WORD(&b1_config->info[1]) / 2400); add_b23()
8227 dlc[3] = (byte)((b2_config->info[2] << 3) | ((b2_config->info[1] >> 5) & 0x04)); add_b23()
8228 dlc[4] = (byte)((b2_config->info[1] << 1) | 0x01); add_b23()
8234 dlc[5] = (byte)(b2_config->info[3] - 1); add_b23()
8301 dlc[0] = (byte)(b2_config_parms[4].length + 6); add_b23()
8309 dlc[5] = (byte)(b2_config->info[3] - 1); add_b23()
8356 i = GET_WORD((byte *)(b3_config_parms[0].info)); add_b23()
8357 ((T30_INFO *)&nlc[1])->resolution = (byte)(((i & 0x0001) || add_b23()
8358 ((plci->B3_prot == 4) && (((byte)(GET_WORD((byte *)b3_config_parms[1].info))) != 5))) ? T30_RESOLUTION_R8_0770_OR_200 : 0); add_b23()
8359 ((T30_INFO *)&nlc[1])->data_format = (byte)(GET_WORD((byte *)b3_config_parms[1].info)); add_b23()
8403 ((T30_INFO *)&nlc[1])->station_id[i] = ((byte *)b3_config_parms[2].info)[1 + i]; add_b23()
8415 pos = (byte)(fax_head_line_time(&(((T30_INFO *)&nlc[1])->station_id[T30_MAX_STATION_ID_LENGTH]))); add_b23()
8424 len = (byte)b3_config_parms[2].length; add_b23()
8430 nlc[1 + offsetof(T30_INFO, station_id) + T30_MAX_STATION_ID_LENGTH + pos++] = ((byte *)b3_config_parms[2].info)[1 + i]; add_b23()
8437 len = (byte)b3_config_parms[3].length; add_b23()
8439 len = (byte)(CAPI_MAX_HEAD_LINE_SPACE - pos); add_b23()
8440 ((T30_INFO *)&nlc[1])->head_line_len = (byte)(pos + len); add_b23()
8441 nlc[0] += (byte)(pos + len); add_b23()
8443 nlc[1 + offsetof(T30_INFO, station_id) + T30_MAX_STATION_ID_LENGTH + pos++] = ((byte *)b3_config_parms[3].info)[1 + i]; add_b23()
8451 && (GET_WORD((byte *)b3_config_parms[1].info) & 0x8000)) /* Private SUB/SEP/PWD enable */ add_b23()
8456 && (GET_WORD((byte *)b3_config_parms[1].info) & 0x4000)) /* Private non-standard facilities enable */ add_b23()
8507 nlc[++len] = (byte)(b3_config_parms[4].length); add_b23()
8572 static byte lli[12] = {1,1}; add_modem_b23()
8573 static byte llc[3] = {2,0,0}; add_modem_b23()
8574 static byte dlc[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; add_modem_b23()
8595 plci->B2_prot = (byte) GET_WORD(bp_parms[1].info); add_modem_b23()
8596 plci->B3_prot = (byte) GET_WORD(bp_parms[2].info); add_modem_b23()
8628 lli[2] = (byte)(plci->rx_dma_descriptor - 1); add_modem_b23()
8629 lli[3] = (byte)plci->rx_dma_magic; add_modem_b23()
8630 lli[4] = (byte)(plci->rx_dma_magic >> 8); add_modem_b23()
8631 lli[5] = (byte)(plci->rx_dma_magic >> 16); add_modem_b23()
8632 lli[6] = (byte)(plci->rx_dma_magic >> 24); add_modem_b23()
8696 dlc[0] = (byte)(i - 1); add_modem_b23()
8707 static void sig_req(PLCI *plci, byte req, byte Id) sig_req()
8729 static void nl_req_ncci(PLCI *plci, byte req, byte ncci) nl_req_ncci()
8737 ncci_remove(plci, 0, (byte)(ncci != 0)); nl_req_ncci()
8844 plci->NL.Req = plci->nl_req = (byte)((data->Flags & 0x07) << 4 | N_DATA); send_data()
8851 plci->NL.Req = plci->nl_req = (byte)N_UDATA; send_data()
8854 plci->NL.Req = plci->nl_req = (byte)N_BDATA; send_data()
8857 plci->NL.Req = plci->nl_req = (byte)((data->Flags & 0x07) << 4 | N_DATA); send_data()
8890 byte activnotifiedcalls = 0; listen_check()
8929 static void IndParse(PLCI *plci, word *parms_id, byte **parms, byte multiIEsize) IndParse()
8932 byte w; IndParse()
8933 byte wlen; IndParse()
8934 byte codeset, lock; IndParse()
8935 byte *in; IndParse()
8946 parms[i] = (byte *)""; IndParse()
8950 parms[i] = (byte *)""; IndParse()
8964 wlen = (byte)(in[ploc + 1] + 1); IndParse()
8973 if (!(codeset & 0x08)) lock = (byte)(codeset & 7); IndParse()
8995 in[ploc + 0] = (byte)(in[ploc + 1] + 1); IndParse()
8996 in[ploc + 1] = (byte)(in[ploc + 2] & 0x7f); IndParse()
9014 static byte ie_compare(byte *ie1, byte *ie2) ie_compare()
9023 static word find_cip(DIVA_CAPI_ADAPTER *a, byte *bc, byte *hlc) find_cip()
9037 static byte AddInfo(byte **add_i, AddInfo()
9038 byte **fty_i, AddInfo()
9039 byte *esc_chi, AddInfo()
9040 byte *facility) AddInfo()
9042 byte i; AddInfo()
9043 byte j; AddInfo()
9044 byte k; AddInfo()
9045 byte flen; AddInfo()
9046 byte len = 0; AddInfo()
9052 add_i[0] = (byte *)"\x02\x02\x00"; /* use neither b nor d channel */ AddInfo()
9057 add_i[0] = (byte *)""; AddInfo()
9061 add_i[3] = (byte *)""; AddInfo()
9091 static void SetVoiceChannel(PLCI *plci, byte *chi, DIVA_CAPI_ADAPTER *a) SetVoiceChannel()
9093 byte voice_chi[] = "\x02\x18\x01"; SetVoiceChannel()
9094 byte channel; SetVoiceChannel()
9123 byte hook_listen) AdvCodecSupport()
9285 Check features located in the byte '0' diva_get_extended_adapter_features()
9488 static byte plci_nl_busy(PLCI *plci) plci_nl_busy()
9505 byte send_mask;
9506 byte listen_mask;
9507 byte character;
9508 byte code;
9590 static void dtmf_enable_receiver(PLCI *plci, byte enable_mask) dtmf_enable_receiver()
9623 plci->NL.Req = plci->nl_req = (byte) N_UDATA; dtmf_enable_receiver()
9628 static void dtmf_send_digits(PLCI *plci, byte *digit_buffer, word digit_count) dtmf_send_digits()
9656 plci->NL.Req = plci->nl_req = (byte) N_UDATA; dtmf_send_digits()
9701 static word dtmf_save_config(dword Id, PLCI *plci, byte Rc) dtmf_save_config()
9711 static word dtmf_restore_config(dword Id, PLCI *plci, byte Rc) dtmf_restore_config()
9748 static void dtmf_command(dword Id, PLCI *plci, byte Rc) dtmf_command()
9751 byte mask; dtmf_command()
9752 byte result[4]; dtmf_command()
9796 dtmf_enable_receiver(plci, (byte)(plci->dtmf_rec_active | mask)); dtmf_command()
9919 static byte dtmf_request(dword Id, word Number, DIVA_CAPI_ADAPTER *a, PLCI *plci, APPL *appl, API_PARSE *msg) dtmf_request()
9923 byte mask; dtmf_request()
9925 byte result[40]; dtmf_request()
10119 byte result[4]; dtmf_confirmation()
10137 static void dtmf_indication(dword Id, PLCI *plci, byte *msg, word length) dtmf_indication()
10177 msg[0] = (byte) n; dtmf_indication()
10190 byte parameter_buffer[DTMF_PARAMETER_BUFFER_SIZE + 2]; dtmf_parameter_write()
10226 static word dtmf_parameter_save_config(dword Id, PLCI *plci, byte Rc) dtmf_parameter_save_config()
10236 static word dtmf_parameter_restore_config(dword Id, PLCI *plci, byte Rc) dtmf_parameter_restore_config()
10293 static byte chi_to_channel(byte *chi, dword *pchannelmap) chi_to_channel()
10298 byte excl; chi_to_channel()
10299 byte ofs; chi_to_channel()
10300 byte ch; chi_to_channel()
10353 if ((byte)(chi[0] - p) > 30) return 0xfe; chi_to_channel()
10369 return (byte)(excl | ch); chi_to_channel()
10392 static void mixer_set_bchannel_id_esc(PLCI *plci, byte bchannel_id) mixer_set_bchannel_id_esc()
10396 byte old_id; mixer_set_bchannel_id_esc()
10447 static void mixer_set_bchannel_id(PLCI *plci, byte *chi) mixer_set_bchannel_id()
10451 byte ch, old_id; mixer_set_bchannel_id()
10759 byte mask;
10760 byte line_flags;
10771 byte from_ch;
10772 byte to_ch;
10773 byte mask;
10774 byte xconnect_override;
10815 static byte mixer_swapped_index_bri[] =
10857 byte mask;
10858 byte from_pc;
10859 byte to_pc;
10873 byte *p; xconnect_query_addresses()
10892 *(p++) = (byte) w; xconnect_query_addresses()
10893 *(p++) = (byte)(w >> 8); xconnect_query_addresses()
10895 *(p++) = (byte) w; xconnect_query_addresses()
10896 *(p++) = (byte)(w >> 8); xconnect_query_addresses()
10901 plci->NL.Req = plci->nl_req = (byte) N_UDATA; xconnect_query_addresses()
10918 static byte xconnect_write_coefs_process(dword Id, PLCI *plci, byte Rc) xconnect_write_coefs_process()
10923 byte *p; xconnect_write_coefs_process()
10925 byte ch_map[MIXER_CHANNELS_BRI]; xconnect_write_coefs_process()
11012 *(p++) = (byte) d; xconnect_write_coefs_process()
11013 *(p++) = (byte)(d >> 8); xconnect_write_coefs_process()
11014 *(p++) = (byte)(d >> 16); xconnect_write_coefs_process()
11015 *(p++) = (byte)(d >> 24); xconnect_write_coefs_process()
11017 *(p++) = (byte) d; xconnect_write_coefs_process()
11018 *(p++) = (byte)(d >> 8); xconnect_write_coefs_process()
11019 *(p++) = (byte)(d >> 16); xconnect_write_coefs_process()
11020 *(p++) = (byte)(d >> 24); xconnect_write_coefs_process()
11022 *(p++) = (byte) d; xconnect_write_coefs_process()
11023 *(p++) = (byte)(d >> 8); xconnect_write_coefs_process()
11024 *(p++) = (byte)(d >> 16); xconnect_write_coefs_process()
11025 *(p++) = (byte)(d >> 24); xconnect_write_coefs_process()
11027 *(p++) = (byte) w; xconnect_write_coefs_process()
11028 *(p++) = (byte)(w >> 8); xconnect_write_coefs_process()
11033 *(p++) = (byte) w; xconnect_write_coefs_process()
11034 *(p++) = (byte) 0; xconnect_write_coefs_process()
11079 *(p++) = (byte) w; xconnect_write_coefs_process()
11080 *(p++) = (byte)(w >> 8); xconnect_write_coefs_process()
11095 *(p++) = (byte) w; xconnect_write_coefs_process()
11096 *(p++) = (byte)(w >> 8); xconnect_write_coefs_process()
11101 ch_map[j] = (byte)(j + 1); xconnect_write_coefs_process()
11102 ch_map[j + 1] = (byte) j; xconnect_write_coefs_process()
11106 ch_map[j] = (byte) j; xconnect_write_coefs_process()
11107 ch_map[j + 1] = (byte)(j + 1); xconnect_write_coefs_process()
11158 *(p++) = (byte) w; xconnect_write_coefs_process()
11159 *(p++) = (byte)(w >> 8); xconnect_write_coefs_process()
11162 *(p++) = (byte)((plci->li_bchannel_id - 1) | mixer_write_prog_pri[n].line_flags); xconnect_write_coefs_process()
11174 *(p++) = (byte)((plci->li_bchannel_id - 1) | MIXER_COEF_LINE_ROW_FLAG | mixer_write_prog_pri[n].line_flags); xconnect_write_coefs_process()
11201 *(p++) = (byte) w; xconnect_write_coefs_process()
11202 *(p++) = (byte)(w >> 8); xconnect_write_coefs_process()
11207 ch_map[j] = (byte)(j + 1); xconnect_write_coefs_process()
11208 ch_map[j + 1] = (byte) j; xconnect_write_coefs_process()
11212 ch_map[j] = (byte) j; xconnect_write_coefs_process()
11213 ch_map[j + 1] = (byte)(j + 1); xconnect_write_coefs_process()
11249 plci->NL.Req = plci->nl_req = (byte) N_UDATA; xconnect_write_coefs_process()
11256 static void mixer_notify_update(PLCI *plci, byte others) mixer_notify_update()
11261 byte msg[sizeof(CAPI_MSG_HEADER) + 6]; mixer_notify_update()
11406 static word mixer_save_config(dword Id, PLCI *plci, byte Rc) mixer_save_config()
11431 static word mixer_restore_config(dword Id, PLCI *plci, byte Rc) mixer_restore_config()
11514 static void mixer_command(dword Id, PLCI *plci, byte Rc) mixer_command()
11638 dword plci_b_id, byte connect, dword li_flags) li_update_connect()
11644 a_b = &(adapter[MapController((byte)(plci_b_id & 0x7f)) - 1]); li_update_connect()
11781 dword plci_b_id, byte connect, dword li_flags) li2_update_connect()
11787 a_b = &(adapter[MapController((byte)(plci_b_id & 0x7f)) - 1]); li2_update_connect()
11910 dword plci_b_id, word plci_b_write_pos, byte *p_result) li_check_plci_b()
11912 byte ctlr_b; li_check_plci_b()
11926 ctlr_b = MapController((byte)(plci_b_id & 0x7f)); li_check_plci_b()
11950 if (((byte)(plci_b_id & ~EXT_CONTROLLER)) != li_check_plci_b()
11951 ((byte)(UnMapController(plci->adapter->Id) & ~EXT_CONTROLLER)) li_check_plci_b()
11973 dword plci_b_id, word plci_b_write_pos, byte *p_result) li2_check_plci_b()
11975 byte ctlr_b; li2_check_plci_b()
11989 ctlr_b = MapController((byte)(plci_b_id & 0x7f)); li2_check_plci_b()
12013 if (((byte)(plci_b_id & ~EXT_CONTROLLER)) != li2_check_plci_b()
12014 ((byte)(UnMapController(plci->adapter->Id) & ~EXT_CONTROLLER)) li2_check_plci_b()
12035 static byte mixer_request(dword Id, word Number, DIVA_CAPI_ADAPTER *a, PLCI *plci, APPL *appl, API_PARSE *msg) mixer_request()
12046 byte result_buffer[32]; mixer_request()
12047 byte *result; mixer_request()
12249 result[0] = (byte)(result_pos - 1); mixer_request()
12250 result[3] = (byte)(result_pos - 4); mixer_request()
12251 result[6] = (byte)(result_pos - 7); mixer_request()
12368 result[0] = (byte)(result_pos - 1); mixer_request()
12369 result[3] = (byte)(result_pos - 4); mixer_request()
12370 result[6] = (byte)(result_pos - 7); mixer_request()
12441 byte result[12]; mixer_indication_coefs_set()
12498 static void mixer_indication_xconnect_from(dword Id, PLCI *plci, byte *msg, word length) mixer_indication_xconnect_from()
12541 static void mixer_indication_xconnect_to(dword Id, PLCI *plci, byte *msg, word length) mixer_indication_xconnect_to()
12550 static byte mixer_notify_source_removed(PLCI *plci, dword plci_b_id) mixer_notify_source_removed()
12627 byte parameter_buffer[6]; ec_write_parameters()
12667 static word ec_save_config(dword Id, PLCI *plci, byte Rc) ec_save_config()
12677 static word ec_restore_config(dword Id, PLCI *plci, byte Rc) ec_restore_config()
12714 static void ec_command(dword Id, PLCI *plci, byte Rc) ec_command()
12717 byte result[8]; ec_command()
12827 static byte ec_request(dword Id, word Number, DIVA_CAPI_ADAPTER *a, PLCI *plci, APPL *appl, API_PARSE *msg) ec_request()
12832 byte result[16]; ec_request()
13017 static void ec_indication(dword Id, PLCI *plci, byte *msg, word length) ec_indication()
13019 byte result[8]; ec_indication()
13077 byte *p; adv_voice_write_coefs()
13080 byte ch_map[MIXER_CHANNELS_BRI]; adv_voice_write_coefs()
13082 byte coef_buffer[ADV_VOICE_COEF_BUFFER_SIZE + 2]; adv_voice_write_coefs()
13185 *(p++) = (byte) w; adv_voice_write_coefs()
13186 *(p++) = (byte)(w >> 8); adv_voice_write_coefs()
13189 ch_map[j] = (byte)(j + (plci->li_bchannel_id - 1)); adv_voice_write_coefs()
13190 ch_map[j + 1] = (byte)(j + (2 - plci->li_bchannel_id)); adv_voice_write_coefs()
13299 static word adv_voice_save_config(dword Id, PLCI *plci, byte Rc) adv_voice_save_config()
13309 static word adv_voice_restore_config(dword Id, PLCI *plci, byte Rc) adv_voice_restore_config()
13355 static byte b1_facilities_table[] =
13399 static word get_b1_facilities(PLCI *plci, byte b1_resource) get_b1_facilities()
13431 static byte add_b1_facilities(PLCI *plci, byte b1_resource, word b1_facilities) add_b1_facilities()
13433 byte b; add_b1_facilities()
13536 static void adjust_b1_facilities(PLCI *plci, byte new_b1_resource, word new_b1_facilities) adjust_b1_facilities()
13581 static word adjust_b_process(dword Id, PLCI *plci, byte Rc) adjust_b_process()
13584 byte b1_resource; adjust_b_process()
13670 (byte)((plci->adjust_b_mode & ADJUST_B_MODE_CONNECT) ? plci->adjust_b_ncci : 0)); adjust_b_process()
13877 get_ncci(plci, (byte)(Id >> 16), plci->adjust_b_ncci); adjust_b_process()
13955 static void adjust_b_restore(dword Id, PLCI *plci, byte Rc) adjust_b_restore()
14001 static void reset_b3_command(dword Id, PLCI *plci, byte Rc) reset_b3_command()
14041 static void select_b_command(dword Id, PLCI *plci, byte Rc) select_b_command()
14045 byte esc_chi[3]; select_b_command()
14100 static void fax_connect_ack_command(dword Id, PLCI *plci, byte Rc) fax_connect_ack_command()
14124 plci->NL.Req = plci->nl_req = (byte) N_CONNECT_ACK; fax_connect_ack_command()
14147 static void fax_edata_ack_command(dword Id, PLCI *plci, byte Rc) fax_edata_ack_command()
14171 plci->NL.Req = plci->nl_req = (byte) N_EDATA; fax_edata_ack_command()
14185 static void fax_connect_info_command(dword Id, PLCI *plci, byte Rc) fax_connect_info_command()
14211 plci->NL.Req = plci->nl_req = (byte) N_EDATA; fax_connect_info_command()
14236 static void fax_adjust_b23_command(dword Id, PLCI *plci, byte Rc) fax_adjust_b23_command()
14284 static void fax_disconnect_command(dword Id, PLCI *plci, byte Rc) fax_disconnect_command()
14327 static void rtp_connect_b3_req_command(dword Id, PLCI *plci, byte Rc) rtp_connect_b3_req_command()
14370 plci->NL.Req = plci->nl_req = (byte) N_UDATA; rtp_connect_b3_req_command()
14380 static void rtp_connect_b3_res_command(dword Id, PLCI *plci, byte Rc) rtp_connect_b3_res_command()
14400 nl_req_ncci(plci, N_CONNECT_ACK, (byte)(Id >> 16)); rtp_connect_b3_res_command()
14421 plci->NL.Req = plci->nl_req = (byte) N_UDATA; rtp_connect_b3_res_command()
14431 static void hold_save_command(dword Id, PLCI *plci, byte Rc) hold_save_command()
14433 byte SS_Ind[] = "\x05\x02\x00\x02\x00\x00"; /* Hold_Ind struct*/ hold_save_command()
14472 static void retrieve_restore_command(dword Id, PLCI *plci, byte Rc) retrieve_restore_command()
14474 byte SS_Ind[] = "\x05\x03\x00\x02\x00\x00"; /* Retrieve_Ind struct*/ retrieve_restore_command()
14582 static void channel_x_on(PLCI *plci, byte ch) { channel_x_on()
14589 static void channel_x_off(PLCI *plci, byte ch, byte flag) { channel_x_off()
14598 static void channel_request_xon(PLCI *plci, byte ch) { channel_request_xon()
14621 channel_request_xon(plci, (byte)i); channel_xmit_extended_xon()
14666 byte ch; channel_xmit_xon()
14671 if ((ch = (byte)find_channel_with_pending_x_on(a, plci)) == 0) { channel_xmit_xon()
14677 plci->NL.Req = plci->nl_req = (byte)N_XON; channel_xmit_xon()
14687 static int channel_can_xon(PLCI *plci, byte ch) { channel_can_xon()
14721 static word CPN_filter_ok(byte *cpn, DIVA_CAPI_ADAPTER *a, word offset) CPN_filter_ok()
14903 static void VSwitchReqInd(PLCI *plci, dword Id, byte **parms) VSwitchReqInd()
14907 0 byte length VSwitchReqInd()
14908 1 byte VSWITCHIE VSwitchReqInd()
14909 2 byte VSWITCH_REQ/VSWITCH_IND VSwitchReqInd()
14910 3 byte reserved VSwitchReqInd()
H A Ddfifo.h44 byte[0] -> flags
45 byte[1] -> length of data in block
46 byte[2] -> reserved
47 byte[4] -> reserved
H A Dentity.h24 byte buffer[2048 + 512];
H A Ddsp_defs.h172 byte *p_excess_header_data;
210 <byte> reconfigure hdlc preamble flags
233 <byte> data 0
234 <byte> data 1
237 <byte> data 0
238 <byte> data 1
240 <byte> CRC 0
241 <byte> CRC 1
242 <byte> preamble flags
258 <byte> connected norm
271 <byte> connected norm
/linux-4.4.14/arch/m68k/sun3/
H A Dleds.c5 void sun3_leds(unsigned char byte) sun3_leds() argument
11 SET_CONTROL_BYTE(AC_LEDS, byte); sun3_leds()
/linux-4.4.14/arch/cris/include/arch-v10/arch/
H A Dcache.h4 /* Etrax 100LX have 32-byte cache-lines. */
/linux-4.4.14/arch/powerpc/perf/
H A Dhv-24x7-catalog.h11 __be32 length; /* In 4096 byte pages */
15 __be16 schema_data_offs; /* in 4096 byte pages */
16 __be16 schema_data_len; /* in 4096 byte pages */
23 __be16 group_data_offs; /* in 4096 byte pages */
24 __be16 group_data_len; /* in 4096 byte pages */
27 __be16 formula_data_offs; /* in 4096 byte pages */
28 __be16 formula_data_len; /* in 4096 byte pages */
38 __be16 event_group_record_offs; /* in bytes, must be 8 byte aligned */
H A Dppc970-pmu.c149 int pmc, psel, unit, byte, bit; p970_marked_instr_event() local
166 byte = (event >> PM_BYTE_SH) & PM_BYTE_MSK; p970_marked_instr_event()
171 mask = 0x4c; /* byte 0 bits 2,3,6 */ p970_marked_instr_event()
174 /* byte 2 bits 0,2,3,4,6; all of byte 1 */ p970_marked_instr_event()
178 mask = 0x50 << 24; /* byte 3 bits 4,6 */ p970_marked_instr_event()
181 return (mask >> (byte * 8 + bit)) & 1; p970_marked_instr_event()
197 int pmc, byte, unit, sh, spcsel; p970_get_constraint() local
216 byte = (event >> PM_BYTE_SH) & PM_BYTE_MSK; p970_get_constraint()
222 grp = byte & 1; p970_get_constraint()
223 /* Set byte lane select field */ p970_get_constraint()
224 mask |= 0xfULL << (28 - 4 * byte); p970_get_constraint()
225 value |= (unsigned long)unit << (28 - 4 * byte); p970_get_constraint()
263 unsigned int pmc, unit, byte, psel; p970_compute_mmcr() local
292 byte = (event[i] >> PM_BYTE_SH) & PM_BYTE_MSK; p970_compute_mmcr()
297 ++pmc_grp_use[byte & 1]; p970_compute_mmcr()
298 if (busbyte[byte] && busbyte[byte] != unit) p970_compute_mmcr()
300 busbyte[byte] = unit; p970_compute_mmcr()
329 /* Set byte lane select fields and TTM3SEL. */ p970_compute_mmcr()
330 for (byte = 0; byte < 4; ++byte) { p970_compute_mmcr()
331 unit = busbyte[byte]; p970_compute_mmcr()
340 if (unit == PM_LSU1L && byte >= 2) p970_compute_mmcr()
341 mmcr1 |= 1ull << (MMCR1_TTM3SEL_SH + 3 - byte); p970_compute_mmcr()
344 << (MMCR1_TD_CP_DBG0SEL_SH - 2 * byte); p970_compute_mmcr()
352 byte = (event[i] >> PM_BYTE_SH) & PM_BYTE_MSK; p970_compute_mmcr()
357 psel |= 0x10 | ((byte & 2) << 2); p970_compute_mmcr()
365 if (grp == (byte & 1)) p970_compute_mmcr()
376 if (psel == 0 && (byte & 2)) p970_compute_mmcr()
H A Dpower5-pmu.c143 int pmc, byte, unit, sh; power5_get_constraint() local
168 byte = (event >> PM_BYTE_SH) & PM_BYTE_MSK; power5_get_constraint()
169 if (byte >= 4) { power5_get_constraint()
174 byte &= 3; power5_get_constraint()
189 grp = byte & 1; power5_get_constraint()
190 /* Set byte lane select field */ power5_get_constraint()
191 mask |= 0xfUL << (24 - 4 * byte); power5_get_constraint()
192 value |= (unsigned long)unit << (24 - 4 * byte); power5_get_constraint()
249 * Some direct events for decodes of event bus byte 3 have alternative
298 * The 0x80 bit indicates a byte decode PMCSEL value.
344 int bit, byte, unit; power5_marked_instr_event() local
370 byte = (event >> PM_BYTE_SH) & PM_BYTE_MSK; power5_marked_instr_event()
373 /* byte 1 bits 0-7, byte 2 bits 0,2-4,6 */ power5_marked_instr_event()
375 } else if (unit == PM_LSU1 && byte >= 4) { power5_marked_instr_event()
376 byte -= 4; power5_marked_instr_event()
377 /* byte 4 bits 1,3,5,7, byte 5 bits 6-7, byte 7 bits 0-4,6 */ power5_marked_instr_event()
382 return (mask >> (byte * 8 + bit)) & 1; power5_marked_instr_event()
390 unsigned int pmc, unit, byte, psel; power5_compute_mmcr() local
420 byte = (event[i] >> PM_BYTE_SH) & PM_BYTE_MSK; power5_compute_mmcr()
425 if (byte >= 4) { power5_compute_mmcr()
429 byte &= 3; power5_compute_mmcr()
432 ++pmc_grp_use[byte & 1]; power5_compute_mmcr()
433 if (busbyte[byte] && busbyte[byte] != unit) power5_compute_mmcr()
435 busbyte[byte] = unit; power5_compute_mmcr()
473 /* Set byte lane select fields, TTM[23]SEL and GRS_*SEL. */ power5_compute_mmcr()
474 for (byte = 0; byte < 4; ++byte) { power5_compute_mmcr()
475 unit = busbyte[byte]; power5_compute_mmcr()
482 /* select lower word of LSU1 for this byte */ power5_compute_mmcr()
483 mmcr1 |= 1ul << (MMCR1_TTM3SEL_SH + 3 - byte); power5_compute_mmcr()
487 << (MMCR1_TD_CP_DBG0SEL_SH - 2 * byte); power5_compute_mmcr()
494 byte = (event[i] >> PM_BYTE_SH) & PM_BYTE_MSK; power5_compute_mmcr()
504 if (grp == (byte & 1)) power5_compute_mmcr()
515 if ((psel == 8 || psel == 0x10) && isbus && (byte & 2)) power5_compute_mmcr()
H A Dpower5+-pmu.c139 int pmc, byte, unit, sh; power5p_get_constraint() local
161 byte = (event >> PM_BYTE_SH) & PM_BYTE_MSK; power5p_get_constraint()
162 if (byte >= 4) { power5p_get_constraint()
167 byte &= 3; power5p_get_constraint()
177 /* Set byte lane select field */ power5p_get_constraint()
178 mask |= 0xfUL << (24 - 4 * byte); power5p_get_constraint()
179 value |= (unsigned long)unit << (24 - 4 * byte); power5p_get_constraint()
240 * Some direct events for decodes of event bus byte 3 have alternative
362 * The 0x80 bit indicates a byte decode PMCSEL value.
408 int bit, byte, unit; power5p_marked_instr_event() local
439 byte = (event >> PM_BYTE_SH) & PM_BYTE_MSK; power5p_marked_instr_event()
442 /* byte 1 bits 0-7, byte 2 bits 0,2-4,6 */ power5p_marked_instr_event()
444 } else if (unit == PM_LSU1 && byte >= 4) { power5p_marked_instr_event()
445 byte -= 4; power5p_marked_instr_event()
446 /* byte 5 bits 6-7, byte 6 bits 0,4, byte 7 bits 0-4,6 */ power5p_marked_instr_event()
451 return (mask >> (byte * 8 + bit)) & 1; power5p_marked_instr_event()
459 unsigned int pmc, unit, byte, psel; power5p_compute_mmcr() local
484 byte = (event[i] >> PM_BYTE_SH) & PM_BYTE_MSK; power5p_compute_mmcr()
489 if (byte >= 4) { power5p_compute_mmcr()
493 byte &= 3; power5p_compute_mmcr()
495 if (busbyte[byte] && busbyte[byte] != unit) power5p_compute_mmcr()
497 busbyte[byte] = unit; power5p_compute_mmcr()
533 /* Set byte lane select fields, TTM[23]SEL and GRS_*SEL. */ power5p_compute_mmcr()
534 for (byte = 0; byte < 4; ++byte) { power5p_compute_mmcr()
535 unit = busbyte[byte]; power5p_compute_mmcr()
542 /* select lower word of LSU1 for this byte */ power5p_compute_mmcr()
543 mmcr1 |= 1ul << (MMCR1_TTM3SEL_SH + 3 - byte); power5p_compute_mmcr()
547 << (MMCR1_TD_CP_DBG0SEL_SH - 2 * byte); power5p_compute_mmcr()
554 byte = (event[i] >> PM_BYTE_SH) & PM_BYTE_MSK; power5p_compute_mmcr()
569 if (isbus && (byte & 2) && power5p_compute_mmcr()
584 if ((psel & 0x58) == 0x40 && (byte & 1) != ((pmc >> 1) & 1)) power5p_compute_mmcr()
585 /* select alternate byte lane */ power5p_compute_mmcr()
H A Dpower4-pmu.c220 int pmc, psel, unit, byte, bit; p4_marked_instr_event() local
237 byte = (event >> PM_BYTE_SH) & PM_BYTE_MSK; p4_marked_instr_event()
243 mask = 1 << 28; /* byte 7 bit 4 */ p4_marked_instr_event()
245 mask = 6 << 24; /* byte 3 bits 1 and 2 */ p4_marked_instr_event()
248 /* byte 3, bit 3; byte 2 bits 0,2,3,4,5; byte 1 */ p4_marked_instr_event()
251 return (mask >> (byte * 8 + bit)) & 1; p4_marked_instr_event()
257 int pmc, byte, unit, lower, sh; p4_get_constraint() local
271 byte = (event >> PM_BYTE_SH) & PM_BYTE_MSK; p4_get_constraint()
280 grp = byte & 1; p4_get_constraint()
293 /* Set byte lane select field */ p4_get_constraint()
294 mask |= 0xfULL << (28 - 4 * byte); p4_get_constraint()
295 value |= (unsigned long)unit << (28 - 4 * byte); p4_get_constraint()
313 /* PMCSEL=6 decode events on byte 2 need sample_enable clear */ p4_get_constraint()
314 if (pmc && (event & PM_PMCSEL_MSK) == 6 && byte == 2) p4_get_constraint()
362 unsigned int pmc, unit, byte, psel, lower; p4_compute_mmcr() local
388 byte = (event[i] >> PM_BYTE_SH) & PM_BYTE_MSK; p4_compute_mmcr()
392 ++pmc_grp_use[byte & 1]; p4_compute_mmcr()
396 if (busbyte[byte] && busbyte[byte] != unit) p4_compute_mmcr()
398 busbyte[byte] = unit; p4_compute_mmcr()
451 /* Set byte lane select fields. */ p4_compute_mmcr()
452 for (byte = 0; byte < 4; ++byte) { p4_compute_mmcr()
453 unit = busbyte[byte]; p4_compute_mmcr()
458 mmcr1 |= 1ull << (MMCR1_DEBUG0SEL_SH - byte); p4_compute_mmcr()
465 << (MMCR1_TD_CP_DBG0SEL_SH - 2 * byte); p4_compute_mmcr()
473 byte = (event[i] >> PM_BYTE_SH) & PM_BYTE_MSK; p4_compute_mmcr()
478 psel |= 0x10 | ((byte & 2) << 2); p4_compute_mmcr()
484 if (grp == (byte & 1)) p4_compute_mmcr()
495 if (psel == 0 && (byte & 2)) p4_compute_mmcr()
498 else if (psel == 6 && byte == 3) p4_compute_mmcr()
H A Dpower6-pmu.c59 * 1 = byte decode event,
118 * These masks are in LE order, i.e. 0x00000001 is byte 0, bit 0.
121 0x01000000, /* direct events set 1: byte 3 bit 0 */
122 0x00010000, /* direct events set 2: byte 2 bit 0 */
124 0x00000088, /* VMX set 1: byte 0 bits 3, 7 */
125 0x000000c0, /* VMX set 2: byte 0 bits 4-7 */
126 0x04010000, /* LSU set 1: byte 2 bit 0, byte 3 bit 2 */
127 0xff010000u, /* LSU set 2: byte 2 bit 0, all of byte 3 */
129 0x00000010, /* VMX set 3: byte 0 bit 4 */
131 0x00000022, /* BFP set 2: byte 0 bits 1, 5 */
142 int bit, byte, unit; power6_marked_instr_event() local
168 byte = (event >> PM_BYTE_SH) & PM_BYTE_MSK; power6_marked_instr_event()
171 return (mask >> (byte * 8 + bit)) & 1; power6_marked_instr_event()
217 /* check for conflict on this byte of event bus */ p6_compute_mmcr()
266 * 16-19 select field: unit on byte 0 of event bus
273 int pmc, byte, sh, subunit; p6_get_constraint() local
285 byte = (event >> PM_BYTE_SH) & PM_BYTE_MSK; p6_get_constraint()
286 sh = byte * 4 + (16 - PM_UNIT_SH); p6_get_constraint()
/linux-4.4.14/Documentation/EDID/
H A Dedid.S60 header: .byte 0x00,0xff,0xff,0xff,0xff,0xff,0xff,0x00
70 week: .byte WEEK
74 year: .byte YEAR-1990
76 version: .byte VERSION /* EDID version, usually 1 (for 1.3) */
77 revision: .byte REVISION /* EDID revision, usually 3 (for 1.3) */
93 video_parms: .byte 0x6d
97 max_hor_size: .byte xsize/10
100 If either byte is 0, undefined (e.g. projector) */
101 max_vert_size: .byte ysize/10
104 gamma: .byte 120
115 dsp_features: .byte 0xea
123 red_green_lsb: .byte 0x5e
126 blue_white_lsb: .byte 0xc0
130 red_x_msb: .byte 0xa4
133 red_y_msb: .byte 0x59
136 green_x_y_msb: .byte 0x4a,0x98
139 blue_x_y_msb: .byte 0x25,0x20
142 white_x_y_msb: .byte 0x50,0x54
153 estbl_timing1: .byte ESTABLISHED_TIMING1_BITS
163 estbl_timing2: .byte ESTABLISHED_TIMING2_BITS
167 estbl_timing3: .byte ESTABLISHED_TIMING3_BITS
171 std_xres: .byte (XPIX/8)-31
175 std_vres: .byte (XY_RATIO<<6)+VFREQ-60
183 x_act_lsb: .byte XPIX&0xff
186 x_blk_lsb: .byte XBLANK&0xff
189 x_msbs: .byte msbs2(XPIX,XBLANK)
192 y_act_lsb: .byte YPIX&0xff
194 y_blk_lsb: .byte YBLANK&0xff
197 y_msbs: .byte msbs2(YPIX,YBLANK)
200 x_snc_off_lsb: .byte XOFFSET&0xff
202 x_snc_pls_lsb: .byte XPULSE&0xff
205 y_snc_lsb: .byte ((YOFFSET-63)<<4)+(YPULSE-63)
210 xy_snc_msbs: .byte msbs4(XOFFSET,XPULSE,YOFFSET,YPULSE)
213 x_dsp_size: .byte xsize&0xff
216 y_dsp_size: .byte ysize&0xff
220 dsp_size_mbsb: .byte msbs2(xsize,ysize)
223 x_border: .byte 0
225 y_border: .byte 0
240 features: .byte 0x18+(VSYNC_POL<<2)+(HSYNC_POL<<1)
242 descriptor2: .byte 0,0 /* Not a detailed timing descriptor */
243 .byte 0 /* Must be zero */
244 .byte 0xff /* Descriptor is monitor serial number (text) */
245 .byte 0 /* Must be zero */
247 end1: .byte 0x0a /* End marker */
249 descriptor3: .byte 0,0 /* Not a detailed timing descriptor */
250 .byte 0 /* Must be zero */
251 .byte 0xfd /* Descriptor is monitor range limits */
252 .byte 0 /* Must be zero */
253 start2: .byte VFREQ-1 /* Minimum vertical field rate (1-255 Hz) */
254 .byte VFREQ+1 /* Maximum vertical field rate (1-255 Hz) */
255 .byte (CLOCK/(XPIX+XBLANK))-1 /* Minimum horizontal line rate
257 .byte (CLOCK/(XPIX+XBLANK))+1 /* Maximum horizontal line rate
259 .byte (CLOCK/10000)+1 /* Maximum pixel clock rate, rounded up
261 .byte 0 /* No extended timing information type */
262 end2: .byte 0x0a /* End marker */
264 descriptor4: .byte 0,0 /* Not a detailed timing descriptor */
265 .byte 0 /* Must be zero */
266 .byte 0xfc /* Descriptor is text */
267 .byte 0 /* Must be zero */
269 end3: .byte 0x0a /* End marker */
271 extensions: .byte 0 /* Number of extensions to follow */
272 checksum: .byte CRC /* Sum of all bytes must be 0 */
/linux-4.4.14/arch/powerpc/kernel/vdso64/
H A Dsigtramp.S45 .byte 0x0f; /* DW_CFA_def_cfa_expression */ \
48 .byte 0x71; .sleb128 PTREGS; /* DW_OP_breg1 */ \
49 .byte 0x06; /* DW_OP_deref */ \
50 .byte 0x23; .uleb128 RSIZE; /* DW_OP_plus_uconst */ \
51 .byte 0x06; /* DW_OP_deref */ \
57 .byte 0x10; /* DW_CFA_expression */ \
61 .byte 0x71; .sleb128 PTREGS; /* DW_OP_breg1 */ \
62 .byte 0x06; /* DW_OP_deref */ \
64 .byte 0x23; .uleb128 ofs; /* DW_OP_plus_uconst */ \
73 .byte 0x10; /* DW_CFA_expression */ \
77 .byte 0x30 + regno; /* DW_OP_lit0 */ \
79 .byte 0x40; /* DW_OP_lit16 */ \
80 .byte 0x1e; /* DW_OP_mul */ \
82 .byte 0x71; .sleb128 PTREGS; /* DW_OP_breg1 */ \
83 .byte 0x06; /* DW_OP_deref */ \
84 .byte 0x12; /* DW_OP_dup */ \
85 .byte 0x23; /* DW_OP_plus_uconst */ \
87 .byte 0x06; /* DW_OP_deref */ \
88 .byte 0x0c; .long 1 << 25; /* DW_OP_const4u */ \
89 .byte 0x1a; /* DW_OP_and */ \
90 .byte 0x12; /* DW_OP_dup, ret 0 if bra taken */ \
91 .byte 0x30; /* DW_OP_lit0 */ \
92 .byte 0x29; /* DW_OP_eq */ \
93 .byte 0x28; .short 0x7fff; /* DW_OP_bra to end */ \
94 .byte 0x13; /* DW_OP_drop, pop the 0 */ \
95 .byte 0x23; .uleb128 VREGS; /* DW_OP_plus_uconst */ \
96 .byte 0x06; /* DW_OP_deref */ \
97 .byte 0x22; /* DW_OP_plus */ \
98 .byte 0x2f; .short 0x7fff; /* DW_OP_skip to end */ \
104 .byte 0x10; /* DW_CFA_expression */ \
108 .byte 0x30 + regno; /* DW_OP_lit n */ \
109 .byte 0x2f; .short 2b - 9f; /* DW_OP_skip */ \
115 .byte 0x10; /* DW_CFA_expression */ \
119 .byte 0x0a; .short ofs; /* DW_OP_const2u */ \
120 .byte 0x2f; .short 3b - 9f; /* DW_OP_skip */ \
125 .byte 0x10; /* DW_CFA_expression */ \
129 .byte 0x71; .sleb128 PTREGS; /* DW_OP_breg1 */ \
130 .byte 0x06; /* DW_OP_deref */ \
131 .byte 0x23; .uleb128 VREGS; /* DW_OP_plus_uconst */ \
132 .byte 0x06; /* DW_OP_deref */ \
133 .byte 0x23; .uleb128 ofs; /* DW_OP_plus_uconst */ \
281 .byte 1 /* Version number */
285 .byte 67 /* Return address register column, ap */
287 .byte 0x14 /* DW_EH_PE_pcrel | DW_EH_PE_udata8. */
288 .byte 0x0c,1,0 /* DW_CFA_def_cfa: r1 ofs 0 */
304 # .byte 0x41 /* DW_CFA_advance_loc 1*4 */
/linux-4.4.14/arch/cris/arch-v10/lib/
H A Ddram_init.S125 .byte 3 ; Precharge
126 .byte 0 ; nop
127 .byte 2 ; refresh
128 .byte 0 ; nop
129 .byte 2 ; refresh
130 .byte 0 ; nop
131 .byte 2 ; refresh
132 .byte 0 ; nop
133 .byte 2 ; refresh
134 .byte 0 ; nop
135 .byte 2 ; refresh
136 .byte 0 ; nop
137 .byte 2 ; refresh
138 .byte 0 ; nop
139 .byte 2 ; refresh
140 .byte 0 ; nop
141 .byte 2 ; refresh
142 .byte 0 ; nop
143 .byte 1 ; mrs
144 .byte 0 ; nop
/linux-4.4.14/arch/xtensa/lib/
H A Dstrnlen_user.S60 movi a5, MASK0 # mask for byte 0
61 movi a6, MASK1 # mask for byte 1
62 movi a7, MASK2 # mask for byte 2
63 movi a8, MASK3 # mask for byte 3
82 bnone a9, a5, .Lz0 # if byte 0 is zero
83 bnone a9, a6, .Lz1 # if byte 1 is zero
84 bnone a9, a7, .Lz2 # if byte 2 is zero
85 bnone a9, a8, .Lz3 # if byte 3 is zero
96 bnone a9, a5, .Lz0 # if byte 0 is zero
97 bnone a9, a6, .Lz1 # if byte 1 is zero
100 # check one more byte (byte 2 of word)
109 # NOTE that in several places below, we point to the byte just after
110 # the zero byte in order to include the NULL terminator in the count.
112 .Lz3: # byte 3 is zero
113 addi a4, a4, 3 # point to zero byte
114 .Lz0: # byte 0 is zero
115 addi a4, a4, 1 # point just beyond zero byte
118 .Lz1: # byte 1 is zero
119 addi a4, a4, 1+1 # point just beyond zero byte
122 .Lz2: # byte 2 is zero
123 addi a4, a4, 2+1 # point just beyond zero byte
128 EX(l8ui, a9, a4, 4, lenfixup) # get byte 0
130 beqz a9, .Lz3 # if byte 0 is zero
136 bnone a9, a7, .Lz2 # if byte 2 (of word, not string) is zero
137 bany a9, a8, .Laligned # if byte 3 (of word, not string) is nonzero
138 # byte 3 is zero
139 addi a4, a4, 3+1 # point just beyond zero byte
H A Dchecksum.S32 * This function assumes 2- or 4-byte alignment. Other alignments will fail!
47 * is aligned on either a 2-byte or 4-byte boundary.
51 bnez a5, 8f /* branch if 2-byte aligned */
52 /* Fall-through on common case, 4-byte alignment */
54 srli a5, a3, 5 /* 32-byte chunks */
60 add a5, a5, a2 /* a5 = end of last 32-byte chunk */
84 extui a5, a3, 2, 3 /* remaining 4-byte chunks */
90 add a5, a5, a2 /* a5 = end of last 4-byte chunk */
100 _bbci.l a3, 1, 5f /* remaining 2-byte chunk */
105 _bbci.l a3, 0, 7f /* remaining 1-byte chunk */
108 slli a6, a6, 8 /* load byte into bits 8..15 */
115 /* uncommon case, buf is 2-byte aligned */
121 bnez a5, 8f /* branch if 1-byte aligned */
127 j 1b /* now buf is 4-byte aligned */
129 /* case: odd-byte aligned, len > 1
134 srli a5, a3, 2 /* 4-byte chunks */
140 add a5, a5, a2 /* a5 = end of last 4-byte chunk */
160 _bbci.l a3, 1, 3f /* remaining 2-byte chunk, still odd addr */
172 j 5b /* branch to handle the remaining byte */
210 This function is optimized for 4-byte aligned addresses. Other
221 /* We optimize the following alignment tests for the 4-byte
229 beqz a9, 1f /* branch if both are 4-byte aligned */
231 j 3f /* one address is 2-byte aligned */
234 /* _bbsi.l a10, 1, 3f */ /* branch if 2-byte-aligned address */
237 /* src and dst are both 4-byte aligned */
238 srli a10, a4, 5 /* 32-byte chunks */
244 add a10, a10, a2 /* a10 = end of last 32-byte src chunk */
277 extui a10, a4, 2, 3 /* remaining 4-byte chunks */
278 extui a4, a4, 0, 2 /* reset len for general-case, 2-byte chunks */
284 add a10, a10, a2 /* a10 = end of last 4-byte src chunk */
298 to here from the 4-byte alignment case to process, at most,
299 one 2-byte chunk. (2) It branches to here from above if
300 either src or dst is 2-byte aligned, and we process all bytes
301 here, except for perhaps a trailing odd byte. It's
302 inefficient, so align your addresses to 4-byte boundaries.
309 srli a10, a4, 1 /* 2-byte chunks */
315 add a10, a10, a2 /* a10 = end of last 2-byte src chunk */
327 /* This section processes a possible trailing odd byte. */
328 _bbci.l a4, 0, 8f /* 1-byte chunk */
332 slli a9, a9, 8 /* shift byte to bits 8..15 */
350 add a10, a10, a2 /* a10 = end of last odd-aligned, 2-byte src chunk */
370 j 4b /* process the possible trailing odd byte */
H A Dstrncpy_user.S65 movi a5, MASK0 # mask for byte 0
66 movi a6, MASK1 # mask for byte 1
67 movi a7, MASK2 # mask for byte 2
68 movi a8, MASK3 # mask for byte 3
78 EX(l8ui, a9, a3, 0, fixup_l) # get byte 0
80 EX(s8i, a9, a11, 0, fixup_s) # store byte 0
81 beqz a9, .Lret # if byte 0 is zero
88 EX(l8ui, a9, a3, 0, fixup_l) # get byte 0
90 EX(s8i, a9, a11, 0, fixup_s) # store byte 0
91 beqz a9, .Lret # if byte 0 is zero
95 EX(l8ui, a9, a3, 1, fixup_l) # get byte 0
97 EX(s8i, a9, a11, 0, fixup_s) # store byte 0
98 beqz a9, .Lret # if byte 0 is zero
110 .byte 0 # (0 mod 4 alignment for LBEG)
122 bnone a9, a5, .Lz0 # if byte 0 is zero
123 bnone a9, a6, .Lz1 # if byte 1 is zero
124 bnone a9, a7, .Lz2 # if byte 2 is zero
126 bnone a9, a8, .Lz3 # if byte 3 is zero
138 bnone a9, a7, .Lz0 # if byte 2 is zero
139 bnone a9, a8, .Lz1 # if byte 3 is zero
141 bnone a9, a5, .Lz0 # if byte 0 is zero
142 bnone a9, a6, .Lz1 # if byte 1 is zero
151 beqz a9, .Lret # if byte is zero
156 .Lz3: # byte 3 is zero
160 .Lz0: # byte 0 is zero
167 .Lz1: # byte 1 is zero
175 .Lz2: # byte 2 is zero
187 .byte 0 # (0 mod 4 alignment for LBEG)
190 * for now just use byte copy loop
H A Dmemset.S20 * Create a word with c in all byte positions
66 .byte 0 # (0 mod 4 alignment for LBEG)
102 # set 1 byte
113 bltui a4, 8, .Lbyteset # do short copies byte by byte
115 # dst is only byte aligned
116 # set 1 byte
131 * Byte by byte set
134 .byte 0 # 1 mod 4 alignment for LOOPNEZ
/linux-4.4.14/include/xen/
H A Dplatform_pci.h10 #define XEN_IOPORT_PLATFLAGS (XEN_IOPORT_BASE + 0) /* 1 byte access (R/W) */
11 #define XEN_IOPORT_MAGIC (XEN_IOPORT_BASE + 0) /* 2 byte access (R) */
12 #define XEN_IOPORT_UNPLUG (XEN_IOPORT_BASE + 0) /* 2 byte access (W) */
13 #define XEN_IOPORT_DRVVER (XEN_IOPORT_BASE + 0) /* 4 byte access (W) */
15 #define XEN_IOPORT_SYSLOG (XEN_IOPORT_BASE + 2) /* 1 byte access (W) */
16 #define XEN_IOPORT_PROTOVER (XEN_IOPORT_BASE + 2) /* 1 byte access (R) */
17 #define XEN_IOPORT_PRODNUM (XEN_IOPORT_BASE + 2) /* 2 byte access (W) */
/linux-4.4.14/arch/s390/net/
H A Dbpf_jit.h32 * | 4 byte align | |
39 * | 8 byte skbp | |
41 * | 8 byte hlen | |
43 * | 4 byte align | |
45 * | 4 byte temp | |
50 * | + 152 byte SA | |
54 * 12 * 8 byte for old backchain, r15..r6, and tail_call_cnt.
/linux-4.4.14/arch/powerpc/kernel/vdso32/
H A Dsigtramp.S46 .byte 0x0f; /* DW_CFA_def_cfa_expression */ \
49 .byte 0x71; .sleb128 PTREGS; /* DW_OP_breg1 */ \
50 .byte 0x06; /* DW_OP_deref */ \
51 .byte 0x23; .uleb128 RSIZE; /* DW_OP_plus_uconst */ \
52 .byte 0x06; /* DW_OP_deref */ \
58 .byte 0x10; /* DW_CFA_expression */ \
62 .byte 0x71; .sleb128 PTREGS; /* DW_OP_breg1 */ \
63 .byte 0x06; /* DW_OP_deref */ \
65 .byte 0x23; .uleb128 ofs; /* DW_OP_plus_uconst */ \
74 .byte 0x10; /* DW_CFA_expression */ \
78 .byte 0x30 + regno; /* DW_OP_lit0 */ \
80 .byte 0x40; /* DW_OP_lit16 */ \
81 .byte 0x1e; /* DW_OP_mul */ \
83 .byte 0x71; .sleb128 PTREGS; /* DW_OP_breg1 */ \
84 .byte 0x06; /* DW_OP_deref */ \
85 .byte 0x12; /* DW_OP_dup */ \
86 .byte 0x23; /* DW_OP_plus_uconst */ \
88 .byte 0x06; /* DW_OP_deref */ \
89 .byte 0x0c; .long 1 << 25; /* DW_OP_const4u */ \
90 .byte 0x1a; /* DW_OP_and */ \
91 .byte 0x12; /* DW_OP_dup, ret 0 if bra taken */ \
92 .byte 0x30; /* DW_OP_lit0 */ \
93 .byte 0x29; /* DW_OP_eq */ \
94 .byte 0x28; .short 0x7fff; /* DW_OP_bra to end */ \
95 .byte 0x13; /* DW_OP_drop, pop the 0 */ \
96 .byte 0x23; .uleb128 VREGS; /* DW_OP_plus_uconst */ \
97 .byte 0x22; /* DW_OP_plus */ \
98 .byte 0x2f; .short 0x7fff; /* DW_OP_skip to end */ \
104 .byte 0x10; /* DW_CFA_expression */ \
108 .byte 0x30 + regno; /* DW_OP_lit n */ \
109 .byte 0x2f; .short 2b - 9f; /* DW_OP_skip */ \
115 .byte 0x10; /* DW_CFA_expression */ \
119 .byte 0x0a; .short ofs; /* DW_OP_const2u */ \
120 .byte 0x2f; .short 3b - 9f; /* DW_OP_skip */ \
125 .byte 0x10; /* DW_CFA_expression */ \
129 .byte 0x71; .sleb128 PTREGS; /* DW_OP_breg1 */ \
130 .byte 0x06; /* DW_OP_deref */ \
131 .byte 0x23; .uleb128 VREGS; /* DW_OP_plus_uconst */ \
132 .byte 0x23; .uleb128 ofs; /* DW_OP_plus_uconst */ \
262 .byte 1 /* Version number */
266 .byte 67 /* Return address register column, ap */
268 .byte 0x1b /* DW_EH_PE_pcrel | DW_EH_PE_sdata4. */
269 .byte 0x0c,1,0 /* DW_CFA_def_cfa: r1 ofs 0 */
/linux-4.4.14/drivers/media/usb/dvb-usb/
H A Dm920x.h27 (0x00 out byte)*
28 0x40 out byte
31 (0x00 out byte)*
33 (0x21 in byte)*
34 0x60 in byte
38 (0x21 in byte)*
39 0x60 in byte
42 I2C operation is done one byte at a time with USB control messages. The
48 0x40: Send STOP condition. This should be set on the last byte of an
50 0x20: Read a byte from the slave. As opposed to writing a byte to the
54 0x01: Respond with ACK, as opposed to a NACK. For a multi-byte read,
56 clock cycle, after every byte but the last. This flags only makes
/linux-4.4.14/include/uapi/linux/nfsd/
H A Dnfsfh.h37 * The file handle starts with a sequence of four-byte words.
42 * All four-byte values are in host-byte-order.
49 * 0 - 4 byte device id (ms-2-bytes major, ls-2-bytes minor), 4byte inode number
52 * 1 - 4 byte user specified identifier
53 * 2 - 4 byte major, 4 byte minor, 4 byte inode number - DEPRECATED
54 * 3 - 4 byte device id, encoded for user-space, 4 byte inode number
55 * 4 - 4 byte inode number and 4 byte uuid
56 * 5 - 8 byte uuid
57 * 6 - 16 byte uuid
58 * 7 - 8 byte inode number and 16 byte uuid
/linux-4.4.14/arch/arm64/crypto/
H A Daes-neon.S309 .byte 0x0, 0x5, 0xa, 0xf, 0x4, 0x9, 0xe, 0x3
310 .byte 0x8, 0xd, 0x2, 0x7, 0xc, 0x1, 0x6, 0xb
313 .byte 0x0, 0xd, 0xa, 0x7, 0x4, 0x1, 0xe, 0xb
314 .byte 0x8, 0x5, 0x2, 0xf, 0xc, 0x9, 0x6, 0x3
317 .byte 0x63, 0x7c, 0x77, 0x7b, 0xf2, 0x6b, 0x6f, 0xc5
318 .byte 0x30, 0x01, 0x67, 0x2b, 0xfe, 0xd7, 0xab, 0x76
319 .byte 0xca, 0x82, 0xc9, 0x7d, 0xfa, 0x59, 0x47, 0xf0
320 .byte 0xad, 0xd4, 0xa2, 0xaf, 0x9c, 0xa4, 0x72, 0xc0
321 .byte 0xb7, 0xfd, 0x93, 0x26, 0x36, 0x3f, 0xf7, 0xcc
322 .byte 0x34, 0xa5, 0xe5, 0xf1, 0x71, 0xd8, 0x31, 0x15
323 .byte 0x04, 0xc7, 0x23, 0xc3, 0x18, 0x96, 0x05, 0x9a
324 .byte 0x07, 0x12, 0x80, 0xe2, 0xeb, 0x27, 0xb2, 0x75
325 .byte 0x09, 0x83, 0x2c, 0x1a, 0x1b, 0x6e, 0x5a, 0xa0
326 .byte 0x52, 0x3b, 0xd6, 0xb3, 0x29, 0xe3, 0x2f, 0x84
327 .byte 0x53, 0xd1, 0x00, 0xed, 0x20, 0xfc, 0xb1, 0x5b
328 .byte 0x6a, 0xcb, 0xbe, 0x39, 0x4a, 0x4c, 0x58, 0xcf
329 .byte 0xd0, 0xef, 0xaa, 0xfb, 0x43, 0x4d, 0x33, 0x85
330 .byte 0x45, 0xf9, 0x02, 0x7f, 0x50, 0x3c, 0x9f, 0xa8
331 .byte 0x51, 0xa3, 0x40, 0x8f, 0x92, 0x9d, 0x38, 0xf5
332 .byte 0xbc, 0xb6, 0xda, 0x21, 0x10, 0xff, 0xf3, 0xd2
333 .byte 0xcd, 0x0c, 0x13, 0xec, 0x5f, 0x97, 0x44, 0x17
334 .byte 0xc4, 0xa7, 0x7e, 0x3d, 0x64, 0x5d, 0x19, 0x73
335 .byte 0x60, 0x81, 0x4f, 0xdc, 0x22, 0x2a, 0x90, 0x88
336 .byte 0x46, 0xee, 0xb8, 0x14, 0xde, 0x5e, 0x0b, 0xdb
337 .byte 0xe0, 0x32, 0x3a, 0x0a, 0x49, 0x06, 0x24, 0x5c
338 .byte 0xc2, 0xd3, 0xac, 0x62, 0x91, 0x95, 0xe4, 0x79
339 .byte 0xe7, 0xc8, 0x37, 0x6d, 0x8d, 0xd5, 0x4e, 0xa9
340 .byte 0x6c, 0x56, 0xf4, 0xea, 0x65, 0x7a, 0xae, 0x08
341 .byte 0xba, 0x78, 0x25, 0x2e, 0x1c, 0xa6, 0xb4, 0xc6
342 .byte 0xe8, 0xdd, 0x74, 0x1f, 0x4b, 0xbd, 0x8b, 0x8a
343 .byte 0x70, 0x3e, 0xb5, 0x66, 0x48, 0x03, 0xf6, 0x0e
344 .byte 0x61, 0x35, 0x57, 0xb9, 0x86, 0xc1, 0x1d, 0x9e
345 .byte 0xe1, 0xf8, 0x98, 0x11, 0x69, 0xd9, 0x8e, 0x94
346 .byte 0x9b, 0x1e, 0x87, 0xe9, 0xce, 0x55, 0x28, 0xdf
347 .byte 0x8c, 0xa1, 0x89, 0x0d, 0xbf, 0xe6, 0x42, 0x68
348 .byte 0x41, 0x99, 0x2d, 0x0f, 0xb0, 0x54, 0xbb, 0x16
351 .byte 0x52, 0x09, 0x6a, 0xd5, 0x30, 0x36, 0xa5, 0x38
352 .byte 0xbf, 0x40, 0xa3, 0x9e, 0x81, 0xf3, 0xd7, 0xfb
353 .byte 0x7c, 0xe3, 0x39, 0x82, 0x9b, 0x2f, 0xff, 0x87
354 .byte 0x34, 0x8e, 0x43, 0x44, 0xc4, 0xde, 0xe9, 0xcb
355 .byte 0x54, 0x7b, 0x94, 0x32, 0xa6, 0xc2, 0x23, 0x3d
356 .byte 0xee, 0x4c, 0x95, 0x0b, 0x42, 0xfa, 0xc3, 0x4e
357 .byte 0x08, 0x2e, 0xa1, 0x66, 0x28, 0xd9, 0x24, 0xb2
358 .byte 0x76, 0x5b, 0xa2, 0x49, 0x6d, 0x8b, 0xd1, 0x25
359 .byte 0x72, 0xf8, 0xf6, 0x64, 0x86, 0x68, 0x98, 0x16
360 .byte 0xd4, 0xa4, 0x5c, 0xcc, 0x5d, 0x65, 0xb6, 0x92
361 .byte 0x6c, 0x70, 0x48, 0x50, 0xfd, 0xed, 0xb9, 0xda
362 .byte 0x5e, 0x15, 0x46, 0x57, 0xa7, 0x8d, 0x9d, 0x84
363 .byte 0x90, 0xd8, 0xab, 0x00, 0x8c, 0xbc, 0xd3, 0x0a
364 .byte 0xf7, 0xe4, 0x58, 0x05, 0xb8, 0xb3, 0x45, 0x06
365 .byte 0xd0, 0x2c, 0x1e, 0x8f, 0xca, 0x3f, 0x0f, 0x02
366 .byte 0xc1, 0xaf, 0xbd, 0x03, 0x01, 0x13, 0x8a, 0x6b
367 .byte 0x3a, 0x91, 0x11, 0x41, 0x4f, 0x67, 0xdc, 0xea
368 .byte 0x97, 0xf2, 0xcf, 0xce, 0xf0, 0xb4, 0xe6, 0x73
369 .byte 0x96, 0xac, 0x74, 0x22, 0xe7, 0xad, 0x35, 0x85
370 .byte 0xe2, 0xf9, 0x37, 0xe8, 0x1c, 0x75, 0xdf, 0x6e
371 .byte 0x47, 0xf1, 0x1a, 0x71, 0x1d, 0x29, 0xc5, 0x89
372 .byte 0x6f, 0xb7, 0x62, 0x0e, 0xaa, 0x18, 0xbe, 0x1b
373 .byte 0xfc, 0x56, 0x3e, 0x4b, 0xc6, 0xd2, 0x79, 0x20
374 .byte 0x9a, 0xdb, 0xc0, 0xfe, 0x78, 0xcd, 0x5a, 0xf4
375 .byte 0x1f, 0xdd, 0xa8, 0x33, 0x88, 0x07, 0xc7, 0x31
376 .byte 0xb1, 0x12, 0x10, 0x59, 0x27, 0x80, 0xec, 0x5f
377 .byte 0x60, 0x51, 0x7f, 0xa9, 0x19, 0xb5, 0x4a, 0x0d
378 .byte 0x2d, 0xe5, 0x7a, 0x9f, 0x93, 0xc9, 0x9c, 0xef
379 .byte 0xa0, 0xe0, 0x3b, 0x4d, 0xae, 0x2a, 0xf5, 0xb0
380 .byte 0xc8, 0xeb, 0xbb, 0x3c, 0x83, 0x53, 0x99, 0x61
381 .byte 0x17, 0x2b, 0x04, 0x7e, 0xba, 0x77, 0xd6, 0x26
382 .byte 0xe1, 0x69, 0x14, 0x63, 0x55, 0x21, 0x0c, 0x7d
/linux-4.4.14/include/linux/mtd/
H A Dnand_ecc.h21 * Calculate 3 byte ECC code for eccsize byte block
27 * Calculate 3 byte ECC code for 256/512 byte block
32 * Detect and correct a 1 bit error for eccsize byte block
38 * Detect and correct a 1 bit error for 256/512 byte block
/linux-4.4.14/arch/cris/arch-v32/mach-a3/
H A Ddram_init.S92 .byte regk_ddr2_deselect
94 .byte regk_ddr2_pre
96 .byte regk_ddr2_emrs2
98 .byte regk_ddr2_emrs3
100 .byte regk_ddr2_emrs
102 .byte regk_ddr2_mrs
104 .byte regk_ddr2_pre
106 .byte regk_ddr2_ref
108 .byte regk_ddr2_ref
110 .byte regk_ddr2_mrs
112 .byte regk_ddr2_emrs
114 .byte regk_ddr2_emrs
/linux-4.4.14/drivers/media/i2c/
H A Dtea6415c.c53 u8 byte = 0; tea6415c_s_routing() local
66 byte = 0x00; tea6415c_s_routing()
69 byte = 0x20; tea6415c_s_routing()
72 byte = 0x10; tea6415c_s_routing()
75 byte = 0x08; tea6415c_s_routing()
78 byte = 0x18; tea6415c_s_routing()
81 byte = 0x28; tea6415c_s_routing()
87 byte |= 0x00; tea6415c_s_routing()
90 byte |= 0x04; tea6415c_s_routing()
93 byte |= 0x02; tea6415c_s_routing()
96 byte |= 0x06; tea6415c_s_routing()
99 byte |= 0x01; tea6415c_s_routing()
102 byte |= 0x05; tea6415c_s_routing()
105 byte |= 0x03; tea6415c_s_routing()
108 byte |= 0x07; tea6415c_s_routing()
112 ret = i2c_smbus_write_byte(client, byte); tea6415c_s_routing()
H A Dtda9840.c71 u8 byte; tda9840_status() local
73 if (1 != i2c_master_recv(client, &byte, 1)) { tda9840_status()
79 if (byte & 0x80) { tda9840_status()
85 v4l2_dbg(1, debug, sd, "TDA9840_DETECT: byte: 0x%02x\n", byte); tda9840_status()
86 return byte & 0x60; tda9840_status()
92 int byte; tda9840_s_tuner() local
99 byte = TDA9840_SET_MONO; tda9840_s_tuner()
101 byte = (t->audmode == V4L2_TUNER_MODE_MONO) ? tda9840_s_tuner()
106 byte = TDA9840_SET_BOTH; tda9840_s_tuner()
109 byte = TDA9840_SET_LANG2; tda9840_s_tuner()
112 byte = TDA9840_SET_LANG1; tda9840_s_tuner()
116 v4l2_dbg(1, debug, sd, "TDA9840_SWITCH: 0x%02x\n", byte); tda9840_s_tuner()
117 tda9840_write(sd, SWITCH, byte); tda9840_s_tuner()
H A Dtea6420.c55 u8 byte; tea6420_s_routing() local
65 byte = ((o - 1) << 5); tea6420_s_routing()
66 byte |= (i - 1); tea6420_s_routing()
71 byte |= (3 << 3); tea6420_s_routing()
74 byte |= (2 << 3); tea6420_s_routing()
77 byte |= (1 << 3); tea6420_s_routing()
83 ret = i2c_smbus_write_byte(client, byte); tea6420_s_routing()
/linux-4.4.14/arch/xtensa/include/uapi/asm/
H A Dbyteorder.h9 # error processor byte order undefined!
/linux-4.4.14/arch/sh/kernel/vsyscall/
H A Dvsyscall-trapa.S17 .byte 0x1 /* Version number */
21 .byte 0x11 /* Return address register column */
23 .byte 0x1b /* DW_EH_PE_pcrel | DW_EH_PE_sdata4. */
24 .byte 0xc,0xf,0x0 /* DW_CFA_def_cfa: r15 ofs 0 */
H A Dvsyscall-sigreturn.S44 .byte 0x1 /* Version number */
48 .byte 0x11 /* Return address register column */
50 .byte 0x1b /* DW_EH_PE_pcrel | DW_EH_PE_sdata4. */
51 .byte 0xc, 0xf, 0x0 /* DW_CFA_def_cfa: r15 ofs 0 */
/linux-4.4.14/arch/mips/vdso/
H A Delf.S40 .byte __mips /* isa_level */
44 .byte __mips_isa_rev
46 .byte 0
51 .byte 2 /* AFL_REG_64 */
53 .byte 1 /* AFL_REG_32 */
58 .byte 2 /* AFL_REG_64 */
60 .byte 1 /* AFL_REG_32 */
63 .byte 0 /* cpr2_size (AFL_REG_NONE) */
64 .byte 0 /* fp_abi (Val_GNU_MIPS_ABI_FP_ANY) */
/linux-4.4.14/arch/arm64/include/asm/
H A Dboot.h8 * arm64 requires the DTB to be 8 byte aligned and
H A Dsuspend.h7 * struct cpu_suspend_ctx must be 16-byte aligned since it is allocated on
8 * the stack, which must be 16-byte aligned on v8
/linux-4.4.14/arch/m68k/include/asm/
H A Dmac_asc.h17 #define ASC_FREQ(chan,byte) ((0x810)+((chan)<<3)+(byte))
H A Dcontregs.h14 #define AC_IDPROM 0x00000000 /* 34 ID PROM, R/O, byte, 32 bytes */
16 #define AC_SEGMAP 0x20000000 /* 3 Segment map, byte */
19 #define AC_UDVMA_ENB 0x50000000 /* 34 Not used on Sun boards, byte */
20 #define AC_BUS_ERROR 0x60000000 /* 34 Not cleared on read, byte. */
25 #define AC_LEDS 0x70000000 /* 34 Zero turns on LEDs, byte */
28 #define AC_UDVMA_MAP 0xD0000000 /* 4 Not used on Sun boards, byte */
29 #define AC_VME_VECTOR 0xE0000000 /* 4 For non-Autovector VME, byte */
30 #define AC_BOOT_SCC 0xF0000000 /* 34 bypass to access Zilog 8530. byte.*/
H A Dmac_iop.h77 __u8 ram_addr_hi; /* shared RAM address hi byte */
79 __u8 ram_addr_lo; /* shared RAM address lo byte */
83 __u8 ram_data; /* RAM data byte at ramhi/lo */
101 __u8 wdata; /* write a data byte */
103 __u8 wmark; /* write a mark byte */
105 __u8 wcrc; /* write 2-byte crc to disk */
117 __u8 rdata; /* read a data byte */
119 __u8 rmark; /* read a mark byte */
H A Dmovs.h36 /* Set a byte using the "movs" instruction */
41 /* Get a byte using the "movs" instruction */
H A Dsun3mmu.h28 #define AC_IDPROM 0x00000000 /* 34 ID PROM, R/O, byte, 32 bytes */
30 #define AC_SEGMAP 0x20000000 /* 3 Segment map, byte */
33 #define AC_UDVMA_ENB 0x50000000 /* 34 Not used on Sun boards, byte */
34 #define AC_BUS_ERROR 0x60000000 /* 34 Cleared on read, byte. */
39 #define AC_LEDS 0x70000000 /* 34 Zero turns on LEDs, byte */
42 #define AC_UDVMA_MAP 0xD0000000 /* 4 Not used on Sun boards, byte */
43 #define AC_VME_VECTOR 0xE0000000 /* 4 For non-Autovector VME, byte */
44 #define AC_BOOT_SCC 0xF0000000 /* 34 bypass to access Zilog 8530. byte.*/
/linux-4.4.14/include/uapi/linux/netfilter_bridge/
H A Debt_802_3.h19 * Control field may be one or two bytes. If the first byte has
20 * the value 0x03 then the entire length is one byte, otherwise it is two.
21 * One byte controls are used in Unnumbered Information frames.
22 * Two byte controls are used in Numbered Information frames.
28 /* ui has one byte ctrl, ni has two */
/linux-4.4.14/arch/arm/mach-sa1100/
H A Djornada720_ssp.c31 * jornada_ssp_reverse - reverses input byte
36 u8 inline jornada_ssp_reverse(u8 byte) jornada_ssp_reverse() argument
39 ((0x80 & byte) >> 7) | jornada_ssp_reverse()
40 ((0x40 & byte) >> 5) | jornada_ssp_reverse()
41 ((0x20 & byte) >> 3) | jornada_ssp_reverse()
42 ((0x10 & byte) >> 1) | jornada_ssp_reverse()
43 ((0x08 & byte) << 1) | jornada_ssp_reverse()
44 ((0x04 & byte) << 3) | jornada_ssp_reverse()
45 ((0x02 & byte) << 5) | jornada_ssp_reverse()
46 ((0x01 & byte) << 7); jornada_ssp_reverse()
51 * jornada_ssp_byte - waits for ready ssp bus and sends byte
59 int jornada_ssp_byte(u8 byte) jornada_ssp_byte() argument
72 ret = jornada_ssp_reverse(byte) << 8; jornada_ssp_byte()
82 * jornada_ssp_inout - decide if input is command or trading byte
84 * returns : (jornada_ssp_byte(byte)) on success
87 int jornada_ssp_inout(u8 byte) jornada_ssp_inout() argument
91 /* true means command byte */ jornada_ssp_inout()
92 if (byte != TXDUMMY) { jornada_ssp_inout()
93 ret = jornada_ssp_byte(byte); jornada_ssp_inout()
/linux-4.4.14/sound/pci/ice1712/
H A Denvy24ht.h55 #define VT1724_REG_CONTROL 0x00 /* byte */
57 #define VT1724_REG_IRQMASK 0x01 /* byte */
61 #define VT1724_REG_IRQSTAT 0x02 /* byte */
63 #define VT1724_REG_SYS_CFG 0x04 /* byte - system configuration PCI60 on Envy24*/
72 #define VT1724_REG_AC97_CFG 0x05 /* byte */
76 #define VT1724_REG_I2S_FEATURES 0x06 /* byte */
83 #define VT1724_REG_SPDIF_CFG 0x07 /* byte */
91 //#define VT1724_REG_AC97_INDEX 0x08 /* byte */
92 //#define VT1724_REG_AC97_CMD 0x09 /* byte */
94 #define VT1724_REG_MPU_TXFIFO 0x0a /*byte ro. number of bytes in TX fifo*/
95 #define VT1724_REG_MPU_RXFIFO 0x0b /*byte ro. number of bytes in RX fifo*/
97 #define VT1724_REG_MPU_DATA 0x0c /* byte */
98 #define VT1724_REG_MPU_CTRL 0x0d /* byte */
105 #define VT1724_REG_MPU_FIFO_WM 0x0e /*byte set the high/low watermarks for RX/TX fifos*/
109 #define VT1724_REG_I2C_DEV_ADDR 0x10 /* byte */
111 #define VT1724_REG_I2C_BYTE_ADDR 0x11 /* byte */
112 #define VT1724_REG_I2C_DATA 0x12 /* byte */
113 #define VT1724_REG_I2C_CTRL 0x13 /* byte */
123 #define VT1724_REG_GPIO_DATA_22 0x1e /* byte direction for GPIO 16:22 */
124 #define VT1724_REG_GPIO_WRITE_MASK_22 0x1f /* byte write mask for GPIO 16:22 */
133 #define VT1724_MT_IRQ 0x00 /* byte - interrupt mask */
143 #define VT1724_MT_RATE 0x01 /* byte - sampling rate select */
145 #define VT1724_MT_I2S_FORMAT 0x02 /* byte - I2S data format */
149 #define VT1724_MT_DMA_INT_MASK 0x03 /* byte -DMA Interrupt Mask */
151 #define VT1724_MT_AC97_INDEX 0x04 /* byte - AC'97 index */
152 #define VT1724_MT_AC97_CMD 0x05 /* byte - AC'97 command & status */
162 #define VT1724_MT_DMA_CONTROL 0x18 /* byte - control */
199 #define VT1724_MT_MONITOR_PEAKINDEX 0x3e /* byte */
200 #define VT1724_MT_MONITOR_PEAKDATA 0x3f /* byte */
H A Dice1712.h43 #define ICE1712_REG_CONTROL 0x00 /* byte */
50 #define ICE1712_REG_IRQMASK 0x01 /* byte */
59 #define ICE1712_REG_IRQSTAT 0x02 /* byte */
61 #define ICE1712_REG_INDEX 0x03 /* byte - indirect CCIxx regs */
62 #define ICE1712_REG_DATA 0x04 /* byte - indirect CCIxx regs */
63 #define ICE1712_REG_NMI_STAT1 0x05 /* byte */
64 #define ICE1712_REG_NMI_DATA 0x06 /* byte */
65 #define ICE1712_REG_NMI_INDEX 0x07 /* byte */
66 #define ICE1712_REG_AC97_INDEX 0x08 /* byte */
67 #define ICE1712_REG_AC97_CMD 0x09 /* byte */
76 #define ICE1712_REG_MPU1_CTRL 0x0c /* byte */
77 #define ICE1712_REG_MPU1_DATA 0x0d /* byte */
78 #define ICE1712_REG_I2C_DEV_ADDR 0x10 /* byte */
80 #define ICE1712_REG_I2C_BYTE_ADDR 0x11 /* byte */
81 #define ICE1712_REG_I2C_DATA 0x12 /* byte */
82 #define ICE1712_REG_I2C_CTRL 0x13 /* byte */
87 #define ICE1712_REG_SERR_SHADOW 0x1b /* byte */
88 #define ICE1712_REG_MPU2_CTRL 0x1c /* byte */
89 #define ICE1712_REG_MPU2_DATA 0x1d /* byte */
133 #define ICE1712_DSC_CONTROL 0x04 /* byte - control & status */
151 #define ICE1712_MT_IRQ 0x00 /* byte - interrupt mask */
156 #define ICE1712_MT_RATE 0x01 /* byte - sampling rate select */
158 #define ICE1712_MT_I2S_FORMAT 0x02 /* byte - I2S data format */
159 #define ICE1712_MT_AC97_INDEX 0x04 /* byte - AC'97 index */
160 #define ICE1712_MT_AC97_CMD 0x05 /* byte - AC'97 command & status */
166 #define ICE1712_MT_PLAYBACK_CONTROL 0x18 /* byte - control */
173 #define ICE1712_MT_CAPTURE_CONTROL 0x28 /* byte - control */
179 #define ICE1712_MT_MONITOR_INDEX 0x3a /* byte */
180 #define ICE1712_MT_MONITOR_RATE 0x3b /* byte */
181 #define ICE1712_MT_MONITOR_ROUTECTRL 0x3c /* byte */
183 #define ICE1712_MT_MONITOR_PEAKINDEX 0x3e /* byte */
184 #define ICE1712_MT_MONITOR_PEAKDATA 0x3f /* byte */
/linux-4.4.14/arch/x86/include/asm/
H A Dinst.h2 * Generate .byte code for some instructions not supported by old
193 .byte 0x66
198 .byte 0x40 | ((\opd1 & 8) >> 3) | ((\opd2 & 8) >> 1) | (\W << 3)
203 .byte \mod | (\opd1 & 7) | ((\opd2 & 7) << 3)
211 .byte 0x0f, 0x38, 0x00
220 .byte 0x0f, 0x3a, 0x44
222 .byte \imm8
230 .byte 0x0f, 0x3a, 0x16
232 .byte \imm8
240 .byte 0x0f, 0x3a, 0xdf
242 .byte \rcon
250 .byte 0x0f, 0x38, 0xdb
259 .byte 0x0f, 0x38, 0xdc
268 .byte 0x0f, 0x38, 0xdd
277 .byte 0x0f, 0x38, 0xde
286 .byte 0x0f, 0x38, 0xdf
302 .byte 0x0f, 0x7e
304 .byte 0x0f, 0x6e
H A Darch_hweight.h6 #define POPCNT32 ".byte 0xf3,0x40,0x0f,0xb8,0xc7"
8 #define POPCNT64 ".byte 0xf3,0x48,0x0f,0xb8,0xc7"
13 #define POPCNT32 ".byte 0xf3,0x0f,0xb8,0xc0"
H A Djump_label.h22 ".byte " __stringify(STATIC_KEY_INIT_NOP) "\n\t" arch_static_branch()
37 ".byte 0xe9\n\t .long %l[l_yes] - 2f\n\t" arch_static_branch_jump()
H A Dalternative-asm.h31 .byte \orig_len
32 .byte \alt_len
33 .byte \pad_len
H A Dmwait.h25 asm volatile(".byte 0x0f, 0x01, 0xc8;" __monitor()
33 asm volatile(".byte 0x0f, 0x01, 0xfa;" __monitorx()
40 asm volatile(".byte 0x0f, 0x01, 0xc9;" __mwait()
74 asm volatile(".byte 0x0f, 0x01, 0xfb;" __mwaitx()
82 asm volatile("sti; .byte 0x0f, 0x01, 0xc9;" __sti_mwait()
/linux-4.4.14/include/linux/
H A Dds17287rtc.h22 #define DS_B1_MODEL 0x40 /* model number byte */
23 #define DS_B1_SN1 0x41 /* serial number byte 1 */
24 #define DS_B1_SN2 0x42 /* serial number byte 2 */
25 #define DS_B1_SN3 0x43 /* serial number byte 3 */
26 #define DS_B1_SN4 0x44 /* serial number byte 4 */
27 #define DS_B1_SN5 0x45 /* serial number byte 5 */
28 #define DS_B1_SN6 0x46 /* serial number byte 6 */
29 #define DS_B1_CRC 0x47 /* CRC byte */
30 #define DS_B1_CENTURY 0x48 /* Century byte */
H A Dks0108.h28 /* Write a byte to the data port */
29 extern void ks0108_writedata(unsigned char byte);
31 /* Write a byte to the control port */
32 extern void ks0108_writecontrol(unsigned char byte);
H A Data_platform.h7 * constantly spaced and need larger than the 1-byte
H A Dpatchkey.h23 # error "could not determine byte order"
/linux-4.4.14/drivers/net/ethernet/pasemi/
H A Dpasemi_mac_ethtool.c41 { "rx-64-byte-packets" },
42 { "rx-65-127-byte-packets" },
43 { "rx-128-255-byte-packets" },
44 { "rx-256-511-byte-packets" },
45 { "rx-512-1023-byte-packets" },
46 { "rx-1024-1518-byte-packets" },
58 { "tx-64-byte-packets" },
59 { "tx-65-127-byte-packets" },
60 { "tx-128-255-byte-packets" },
61 { "tx-256-511-byte-packets" },
62 { "tx-512-1023-byte-packets" },
63 { "tx-1024-1518-byte-packets" },
/linux-4.4.14/tools/testing/selftests/powerpc/switch_endian/
H A DMakefile13 hexdump -v -e '/1 ".byte 0x%02X\n"' $< > $@
/linux-4.4.14/drivers/media/radio/
H A Dradio-tea5777.h44 * val represents the 6 write registers, with byte 1 from the
45 * datasheet being the most significant byte (so byte 5 of the u64),
46 * and byte 6 from the datasheet being the least significant byte.
54 * The read value gets returned in val, akin to write_reg, byte 1 from
55 * the datasheet is stored as the most significant byte (so byte 2 of
56 * the u32), and byte 3 from the datasheet gets stored as the least
57 * significant byte (iow byte 0 of the u32).
/linux-4.4.14/arch/parisc/include/asm/
H A Deisa_eeprom.h81 /* memory descriptor: byte 0 */
92 /* memory descriptor: byte 1 */
101 /* byte 2 and 3 are a 16bit LE value
103 /* byte 4,5,6 are a 24bit LE value
108 /* Interrupt entry: byte 0 */
112 /* byte 1 seems to be unused */
116 /* dma entry: byte 0 */
125 /* dma entry: byte 1 */
133 /* port entry byte 0 */
137 /* byte 1 and 2 is a 16bit LE value
141 /* port init entry byte 0 */
H A Dldcw.h5 /* Because kmalloc only guarantees 8-byte alignment for kmalloc'd data,
6 and GCC only guarantees 8-byte alignment for stack locals, we can't
7 be assured of 16-byte alignment for atomic lock data even if we
10 type and dynamically select the 16-byte aligned int from the array
26 16-byte alignment requirement for ldcw and ldcd is relaxed, and instead
27 they only require "natural" alignment (4-byte for ldcw, 8-byte for
H A Dcompat_ucontext.h11 /* FIXME: Pad out to get uc_mcontext to start at an 8-byte aligned boundary */
H A Dcache.h10 * PA 2.0 processors have 64 and 128-byte L2 cachelines; PA 1.1 processors
11 * have 32-byte cachelines. The L1 length appears to be 16 bytes but this
/linux-4.4.14/arch/metag/lib/
H A Dmemset.S11 AND D0Ar2,D0Ar2,#0xFF ! Ensure a byte input value
12 MULW D0Ar2,D0Ar2,#0x0101 ! Duplicate byte value into 0-15
14 LSL D0Re0,D0Ar2,#16 ! Duplicate byte value into 16-31
15 ADD A0.2,D0Ar2,D0Re0 ! Duplicate byte value into 4 (A0.2)
18 ! start address is not aligned on an 8 byte boundary, so we
19 ! need the number of bytes up to the next 8 byte address
59 ! This does a byte structured burst of up to 7 bytes
62 ! D1Ar3 should be the remaining total byte count
H A Dmemcpy.S15 ! If there are less than 16 bytes to copy use the byte copy loop
19 ! Simply copy a byte at a time
36 ! The destination address is not 8 byte aligned. We will copy bytes from
37 ! the source to the destination until the remaining data has an 8 byte
48 ! We have at least (16 - 7) = 9 bytes to copy - calculate the number of 8 byte
53 LSR D1Ar5, D1Ar3, #3 ! D1Ar5 = number of 8 byte blocks
57 ! Both source and destination are 8 byte aligned - the easy case.
59 LSRS D1Ar5, D1Ar3, #5 ! D1Ar5 = number of 32 byte blocks
74 ! If there are any remaining bytes use the byte copy loop, otherwise we are done
79 ! The destination is 8 byte aligned but the source is not, and there are 8
82 ! Adjust the source pointer (A1.2) to the 8 byte boundary before its
102 BLT $Lunaligned_1_2_3 ! use 1-3 byte mis-alignment loop
103 BZ $Lunaligned_4 ! use 4 byte mis-alignment loop
163 ! The 4 byte mis-alignment case - this does not require any shifting, just a
178 ! Re-adjust the source pointer (A1.2) back to the actual (unaligned) byte
179 ! address of the remaining bytes, and fall through to the byte copy loop.
/linux-4.4.14/drivers/scsi/isci/
H A Dsas.h125 u8 ign_zone_grp:1; /* byte 8 */
128 u8 phy_id; /* byte 9 */
129 u8 _r_c; /* byte 10 */
130 u8 _r_d; /* byte 11 */
142 u8 exp_rt_idx_hi; /* byte 6 */
143 u8 exp_rt_idx; /* byte 7 */
145 u8 _r_a; /* byte 8 */
146 u8 phy_id; /* byte 9 */
149 u8 _r_c:7; /* byte 12 */
165 u16 exp_change_cnt; /* byte 4-5 */
169 u8 phy_id; /* byte 9 */
170 u8 phy_op; /* byte 10 */
172 u8 upd_pathway:1; /* byte 11 */
175 u8 _r_c[12]; /* byte 12-23 */
177 u8 att_dev_name[8]; /* byte 24-31 */
179 u8 _r_d:4; /* byte 32 */
182 u8 _r_e:4; /* byte 33 */
185 u8 _r_f[2]; /* byte 34-35 */
187 u8 pathway:4; /* byte 36 */
200 u8 type; /* byte 0 */
201 u8 func; /* byte 1 */
202 u8 alloc_resp_len; /* byte 2 */
203 u8 req_len; /* byte 3 */
/linux-4.4.14/arch/cris/arch-v32/mach-fs/
H A Ddram_init.S106 .byte regk_bif_core_pre ; Precharge
107 .byte regk_bif_core_ref ; refresh
108 .byte regk_bif_core_ref ; refresh
109 .byte regk_bif_core_ref ; refresh
110 .byte regk_bif_core_ref ; refresh
111 .byte regk_bif_core_ref ; refresh
112 .byte regk_bif_core_ref ; refresh
113 .byte regk_bif_core_ref ; refresh
114 .byte regk_bif_core_ref ; refresh
115 .byte regk_bif_core_mrs ; mrs
/linux-4.4.14/arch/mips/lasat/
H A Dpicvue.c35 static void pvc_write_byte(u32 data, u8 byte) pvc_write_byte() argument
40 data |= byte << picvue->data_shift; pvc_write_byte()
49 u8 byte; pvc_read_byte() local
54 byte = (pvc_reg_read() & picvue->data_mask) >> picvue->data_shift; pvc_read_byte()
58 return byte; pvc_read_byte()
64 u8 byte; pvc_read_data() local
69 byte = pvc_read_byte(data); pvc_read_data()
72 return byte; pvc_read_data()
91 static void pvc_write(u8 byte, int mode) pvc_write() argument
101 pvc_write_byte(data, byte); pvc_write()
H A Dat93c.c131 u8 byte; at93c_read() local
134 byte = at93c_read_byte(); at93c_read()
136 return byte; at93c_read()
/linux-4.4.14/drivers/net/irda/
H A Dma600-sir.c45 /* control byte for MA600 */
111 __u8 byte; get_control_byte() local
116 byte = MA600_115200; get_control_byte()
119 byte = MA600_57600; get_control_byte()
122 byte = MA600_38400; get_control_byte()
125 byte = MA600_19200; get_control_byte()
128 byte = MA600_9600; get_control_byte()
131 byte = MA600_2400; get_control_byte()
135 return byte; get_control_byte()
169 u8 byte; ma600_change_speed() local
180 /* Write control byte */ ma600_change_speed()
181 byte = get_control_byte(speed); ma600_change_speed()
182 sirdev_raw_write(dev, &byte, sizeof(byte)); ma600_change_speed()
188 /* read-back of the control byte. ma600 is the first dongle driver ma600_change_speed()
193 sirdev_raw_read(dev, &byte, sizeof(byte)); ma600_change_speed()
194 if (byte != get_control_byte(speed)) { ma600_change_speed()
195 net_warn_ratelimited("%s(): bad control byte read-back %02x != %02x\n", ma600_change_speed()
196 __func__, (unsigned)byte, ma600_change_speed()
201 pr_debug("%s() control byte write read OK\n", __func__); ma600_change_speed()
H A Dw83977af.h29 * Write a byte to a register
38 * read a byte from a register
H A Dtekram-sir.c112 * [oops, why 100 msec? sending 1 byte (10 bits) takes 1.05 msec
126 u8 byte; tekram_change_speed() local
138 byte = TEKRAM_PW|TEKRAM_9600; tekram_change_speed()
141 byte = TEKRAM_PW|TEKRAM_19200; tekram_change_speed()
144 byte = TEKRAM_PW|TEKRAM_38400; tekram_change_speed()
147 byte = TEKRAM_PW|TEKRAM_57600; tekram_change_speed()
150 byte = TEKRAM_115200; tekram_change_speed()
160 /* Write control byte */ tekram_change_speed()
161 sirdev_raw_write(dev, &byte, 1); tekram_change_speed()
/linux-4.4.14/tools/perf/util/intel-pt-decoder/
H A Dintel-pt-pkt-decoder.c244 case 0xC3: /* 3-byte header */ intel_pt_get_ext()
251 static int intel_pt_get_short_tnt(unsigned int byte, intel_pt_get_short_tnt() argument
257 if (byte & BIT(7)) intel_pt_get_short_tnt()
259 byte <<= 1; intel_pt_get_short_tnt()
264 packet->payload = (uint64_t)byte << 57; intel_pt_get_short_tnt()
269 static int intel_pt_get_cyc(unsigned int byte, const unsigned char *buf, intel_pt_get_cyc() argument
273 uint64_t payload = byte >> 3; intel_pt_get_cyc()
275 byte >>= 2; intel_pt_get_cyc()
277 for (shift = 5; byte & 1; shift += 7) { intel_pt_get_cyc()
282 byte = buf[offs++]; intel_pt_get_cyc()
283 payload |= (byte >> 1) << shift; intel_pt_get_cyc()
291 static int intel_pt_get_ip(enum intel_pt_pkt_type type, unsigned int byte, intel_pt_get_ip() argument
295 switch (byte >> 5) { intel_pt_get_ip()
386 unsigned int byte; intel_pt_do_get_packet() local
393 byte = buf[0]; intel_pt_do_get_packet()
394 if (!(byte & BIT(0))) { intel_pt_do_get_packet()
395 if (byte == 0) intel_pt_do_get_packet()
397 if (byte == 2) intel_pt_do_get_packet()
399 return intel_pt_get_short_tnt(byte, packet); intel_pt_do_get_packet()
402 if ((byte & 2)) intel_pt_do_get_packet()
403 return intel_pt_get_cyc(byte, buf, len, packet); intel_pt_do_get_packet()
405 switch (byte & 0x1f) { intel_pt_do_get_packet()
407 return intel_pt_get_ip(INTEL_PT_TIP, byte, buf, len, packet); intel_pt_do_get_packet()
409 return intel_pt_get_ip(INTEL_PT_TIP_PGE, byte, buf, len, intel_pt_do_get_packet()
412 return intel_pt_get_ip(INTEL_PT_TIP_PGD, byte, buf, len, intel_pt_do_get_packet()
415 return intel_pt_get_ip(INTEL_PT_FUP, byte, buf, len, packet); intel_pt_do_get_packet()
417 switch (byte) { intel_pt_do_get_packet()
/linux-4.4.14/drivers/input/joystick/
H A Dzhenhua.c12 * Driver to use 4CH RC transmitter using Zhen Hua 5-byte protocol (Walkera Lama,
15 * RC transmitters using Zhen Hua 5-byte protocol are cheap four channels
19 * 1. byte = synchronisation byte
20 * 2. byte = X axis
21 * 3. byte = Y axis
22 * 4. byte = RZ axis
23 * 5. byte = Z axis
54 #define DRIVER_DESC "RC transmitter with 5-byte Zhen Hua protocol joystick driver"
104 /* All Zhen Hua packets are 5 bytes. The fact that the first byte zhenhua_interrupt()
109 zhenhua->idx = 0; /* this byte starts a new packet */ zhenhua_interrupt()
111 return IRQ_HANDLED; /* wrong MSB -- ignore this byte */ zhenhua_interrupt()
158 input_dev->name = "Zhen Hua 5-byte device"; zhenhua_connect()
/linux-4.4.14/drivers/block/paride/
H A Dparide.h68 char * scratch, /* address of 512 byte buffer */
101 #define out_p(offs,byte) outb(byte,pi->port+offs); delay_p;
104 #define w0(byte) {out_p(0,byte);}
106 #define w1(byte) {out_p(1,byte);}
108 #define w2(byte) {out_p(2,byte);}
110 #define w3(byte) {out_p(3,byte);}
111 #define w4(byte) {out_p(4,byte);}
/linux-4.4.14/drivers/acpi/acpica/
H A Dutuuid.c54 * This table is used to convert an input UUID ascii string to a 16 byte
56 * the index within the 36-byte UUID string where the associated 2-byte
59 * 36-byte UUID strings are of the form:
61 * Where aa-pp are one byte hex numbers, made up of two hex digits
74 * PARAMETERS: in_string - 36-byte formatted UUID string
75 * uuid_buffer - Where the 16-byte UUID buffer is returned
79 * DESCRIPTION: Convert a 36-byte formatted UUID string to 16-byte UUID buffer
/linux-4.4.14/arch/arm64/kernel/
H A Dkuser32.S23 * Each segment is 32-byte aligned and will be moved to the top of the high
96 .byte __NR_compat_sigreturn, 0x70, 0xa0, 0xe3 // mov r7, #__NR_compat_sigreturn
97 .byte __NR_compat_sigreturn, 0x00, 0x00, 0xef // svc #__NR_compat_sigreturn
102 .byte __NR_compat_sigreturn, 0x27 // svc #__NR_compat_sigreturn
103 .byte __NR_compat_sigreturn, 0xdf // mov r7, #__NR_compat_sigreturn
108 .byte __NR_compat_rt_sigreturn, 0x70, 0xa0, 0xe3 // mov r7, #__NR_compat_rt_sigreturn
109 .byte __NR_compat_rt_sigreturn, 0x00, 0x00, 0xef // svc #__NR_compat_rt_sigreturn
114 .byte __NR_compat_rt_sigreturn, 0x27 // svc #__NR_compat_rt_sigreturn
115 .byte __NR_compat_rt_sigreturn, 0xdf // mov r7, #__NR_compat_rt_sigreturn
/linux-4.4.14/arch/tile/lib/
H A Dstring-endian.h36 * Create eight copies of the byte in a uint64_t. Byte Shuffle uses
38 * byte. With all indices of zero, the first byte is copied into all
41 static inline uint64_t copy_byte(uint8_t byte) copy_byte() argument
43 return __insn_shufflebytes(byte, 0, 0); copy_byte()
H A Dmemchr_32.c37 /* Create four copies of the byte for which we are looking. */ memchr()
49 /* Compute the address of the last byte. */ memchr()
52 /* Compute the address of the word containing the last byte. */ memchr()
65 /* We found a match, but it might be in a byte past the end memchr()
H A Dmemchr_64.c38 /* Create eight copies of the byte for which we are looking. */ memchr()
47 /* Compute the address of the last byte. */ memchr()
50 /* Compute the address of the word containing the last byte. */ memchr()
63 /* We found a match, but it might be in a byte past the end memchr()
H A Dstrchr_32.c27 /* Create four copies of the byte for which we are looking. */ strchr()
32 * byte is 1, and the low 7 bits are all the opposite of the goal strchr()
33 * byte). strchr()
46 /* Look for the goal byte. */ strchr()
H A Dstrchr_64.c28 /* Create eight copies of the byte for which we are looking. */ strchr()
33 * byte is 1, and the low 7 bits are all the opposite of the goal strchr()
34 * byte). strchr()
44 /* Look for the goal byte. */ strchr()
/linux-4.4.14/sound/soc/codecs/
H A Dl3.c27 * Send one byte of data to the chip. Data is latched into the chip on
30 static void sendbyte(struct l3_pins *adap, unsigned int byte) sendbyte() argument
37 adap->setdat(byte & 1); sendbyte()
41 byte >>= 1; sendbyte()
47 * between each byte, but never at the start nor at the end of the
/linux-4.4.14/include/uapi/linux/
H A Dgen_stats.h18 * struct gnet_stats_basic - byte/packet throughput statistics
33 * @bps: current byte rate
43 * @bps: current byte rate
H A Dncp_no.h4 /* these define the attribute byte as seen by NCP */
H A Datm_tcp.h17 * All values in struct atmtcp_hdr are in network byte order
27 * All values in struct atmtcp_command are in host byte order
H A Dtypes.h45 * 64-bit values align to 4-byte boundaries on x86_32 (and possibly other
46 * architectures) and to 8-byte boundaries on 64-bit architectures. The new
47 * aligned_64 type enforces 8-byte alignment so that structs containing
/linux-4.4.14/net/irda/
H A Dwrapper.c50 * Function stuff_byte (byte, buf)
52 * Byte stuff one single byte and put the result in buffer pointed to by
58 static inline int stuff_byte(__u8 byte, __u8 *buf) stuff_byte() argument
60 switch (byte) { stuff_byte()
66 buf[1] = byte^IRDA_TRANS; /* Complement bit 5 */ stuff_byte()
71 buf[0] = byte; stuff_byte()
169 * (for reference, 115200 b/s is 1 byte every 69 us)
274 * Function async_unwrap_bof(dev, byte)
282 iobuff_t *rx_buff, __u8 byte) async_unwrap_bof()
314 * Function async_unwrap_eof(dev, byte)
322 iobuff_t *rx_buff, __u8 byte) async_unwrap_eof()
372 * Function async_unwrap_ce(dev, byte)
380 iobuff_t *rx_buff, __u8 byte) async_unwrap_ce()
395 /* Stuffed byte coming */ async_unwrap_ce()
402 * Function async_unwrap_other(dev, byte)
410 iobuff_t *rx_buff, __u8 byte) async_unwrap_other()
416 /* Must be the next byte of the frame */ async_unwrap_other()
418 rx_buff->data[rx_buff->len++] = byte; async_unwrap_other()
420 rx_buff->fcs = irda_fcs(rx_buff->fcs, byte); async_unwrap_other()
431 * Stuffed char, complement bit 5 of byte async_unwrap_other()
434 byte ^= IRDA_TRANS; async_unwrap_other()
436 rx_buff->data[rx_buff->len++] = byte; async_unwrap_other()
438 rx_buff->fcs = irda_fcs(rx_buff->fcs, byte); async_unwrap_other()
450 if(byte != XBOF) async_unwrap_other()
456 rx_buff->data[rx_buff->len++] = byte; async_unwrap_other()
458 rx_buff->fcs = irda_fcs(rx_buff->fcs, byte); async_unwrap_other()
466 * Function async_unwrap_char (dev, rx_buff, byte)
474 iobuff_t *rx_buff, __u8 byte) async_unwrap_char()
476 switch(byte) { async_unwrap_char()
478 async_unwrap_ce(dev, stats, rx_buff, byte); async_unwrap_char()
481 async_unwrap_bof(dev, stats, rx_buff, byte); async_unwrap_char()
484 async_unwrap_eof(dev, stats, rx_buff, byte); async_unwrap_char()
487 async_unwrap_other(dev, stats, rx_buff, byte); async_unwrap_char()
280 async_unwrap_bof(struct net_device *dev, struct net_device_stats *stats, iobuff_t *rx_buff, __u8 byte) async_unwrap_bof() argument
320 async_unwrap_eof(struct net_device *dev, struct net_device_stats *stats, iobuff_t *rx_buff, __u8 byte) async_unwrap_eof() argument
378 async_unwrap_ce(struct net_device *dev, struct net_device_stats *stats, iobuff_t *rx_buff, __u8 byte) async_unwrap_ce() argument
408 async_unwrap_other(struct net_device *dev, struct net_device_stats *stats, iobuff_t *rx_buff, __u8 byte) async_unwrap_other() argument
472 async_unwrap_char(struct net_device *dev, struct net_device_stats *stats, iobuff_t *rx_buff, __u8 byte) async_unwrap_char() argument
/linux-4.4.14/drivers/pci/
H A Dsyscall.c20 u8 byte; SYSCALL_DEFINE5() local
36 cfg_ret = pci_user_read_config_byte(dev, off, &byte); SYSCALL_DEFINE5()
55 err = put_user(byte, (unsigned char __user *)buf); SYSCALL_DEFINE5()
90 u8 byte; SYSCALL_DEFINE5() local
104 err = get_user(byte, (u8 __user *)buf); SYSCALL_DEFINE5()
107 err = pci_user_write_config_byte(dev, off, byte); SYSCALL_DEFINE5()
/linux-4.4.14/arch/alpha/lib/
H A Dstrchr.S28 cmpbge zero, t0, t2 # .. e1 : bits set iff byte == zero
32 cmpbge zero, t4, t4 # .. e1 : bits set iff byte is garbage
35 cmpbge zero, t1, t3 # e0 : bits set iff byte == c
44 cmpbge zero, t0, t2 # e0 : bits set iff byte == 0
45 cmpbge zero, t1, t3 # .. e1 : bits set iff byte == c
52 and t0, t3, t1 # e0 : bit set iff byte was the char
H A Dstrncat.S32 cmpbge $31, $1, $2 # bits set iff byte == 0
59 zapnot $1, $27, $2 # was last byte a null?
67 and $24, 0x80, $2 # no zero next byte
76 1: /* Here we must read the next DST word and clear the first byte. */
H A Dstrrchr.S24 mov zero, t8 # .. e1 : t8 is last match byte compare mask
32 cmpbge zero, t0, t1 # .. e1 : bits set iff byte == zero
36 cmpbge zero, t4, t4 # .. e1 : bits set iff byte is garbage
37 cmpbge zero, t2, t3 # e0 : bits set iff byte == c
49 cmpbge zero, t0, t1 # .. e1 : bits set iff byte == zero
50 cmpbge zero, t2, t3 # e0 : bits set iff byte == c
55 negq t1, t4 # e0 : isolate first null byte match
H A Dev67-strchr.S48 cmpbge zero, t0, t2 # E : bits set iff byte == zero
49 cmpbge zero, t4, t4 # E : bits set iff byte is garbage
54 cmpbge zero, t1, t3 # E : bits set iff byte == c
71 cmpbge zero, t0, t2 # E : bits set iff byte == 0
73 cmpbge zero, t1, t3 # E : bits set iff byte == c
80 and t0, t3, t1 # E : bit set iff byte was the char
H A Dstrlen.S9 * - does binary search to find 0 byte in last
29 cmpbge $31, $1, $2 # $2 <- bitmask: bit i == 1 <==> i-th byte == 0
H A Dev67-strncat.S46 cmpbge $31, $1, $2 # E : bits set iff byte == 0
61 zapnot $1, $27, $2 # U : was last byte a null?
69 and $24, 0x80, $3 # E : no zero next byte
82 1: /* Here we must clear the first byte of the next DST word */
/linux-4.4.14/include/asm-generic/
H A Dword-at-a-time.h26 long byte = 0; find_zero() local
31 byte = 4; find_zero()
36 byte += 2; find_zero()
37 return (mask >> 8) ? byte : byte + 1; find_zero()
54 * The optimal byte mask counting is probably going to be something
/linux-4.4.14/drivers/staging/speakup/
H A Dspeakup_acnt.h9 * byte can be read from the data port
13 * to accept a byte of data.
/linux-4.4.14/arch/sparc/include/asm/
H A Dlsu.h7 #define LSU_CONTROL_PM _AC(0x000001fe00000000,UL) /* Phys-watchpoint byte mask*/
8 #define LSU_CONTROL_VM _AC(0x00000001fe000000,UL) /* Virt-watchpoint byte mask*/
/linux-4.4.14/arch/powerpc/crypto/
H A Daes-tab-4k.S300 .byte 0x52, 0x09, 0x6a, 0xd5, 0x30, 0x36, 0xa5, 0x38
301 .byte 0xbf, 0x40, 0xa3, 0x9e, 0x81, 0xf3, 0xd7, 0xfb
302 .byte 0x7c, 0xe3, 0x39, 0x82, 0x9b, 0x2f, 0xff, 0x87
303 .byte 0x34, 0x8e, 0x43, 0x44, 0xc4, 0xde, 0xe9, 0xcb
304 .byte 0x54, 0x7b, 0x94, 0x32, 0xa6, 0xc2, 0x23, 0x3d
305 .byte 0xee, 0x4c, 0x95, 0x0b, 0x42, 0xfa, 0xc3, 0x4e
306 .byte 0x08, 0x2e, 0xa1, 0x66, 0x28, 0xd9, 0x24, 0xb2
307 .byte 0x76, 0x5b, 0xa2, 0x49, 0x6d, 0x8b, 0xd1, 0x25
308 .byte 0x72, 0xf8, 0xf6, 0x64, 0x86, 0x68, 0x98, 0x16
309 .byte 0xd4, 0xa4, 0x5c, 0xcc, 0x5d, 0x65, 0xb6, 0x92
310 .byte 0x6c, 0x70, 0x48, 0x50, 0xfd, 0xed, 0xb9, 0xda
311 .byte 0x5e, 0x15, 0x46, 0x57, 0xa7, 0x8d, 0x9d, 0x84
312 .byte 0x90, 0xd8, 0xab, 0x00, 0x8c, 0xbc, 0xd3, 0x0a
313 .byte 0xf7, 0xe4, 0x58, 0x05, 0xb8, 0xb3, 0x45, 0x06
314 .byte 0xd0, 0x2c, 0x1e, 0x8f, 0xca, 0x3f, 0x0f, 0x02
315 .byte 0xc1, 0xaf, 0xbd, 0x03, 0x01, 0x13, 0x8a, 0x6b
316 .byte 0x3a, 0x91, 0x11, 0x41, 0x4f, 0x67, 0xdc, 0xea
317 .byte 0x97, 0xf2, 0xcf, 0xce, 0xf0, 0xb4, 0xe6, 0x73
318 .byte 0x96, 0xac, 0x74, 0x22, 0xe7, 0xad, 0x35, 0x85
319 .byte 0xe2, 0xf9, 0x37, 0xe8, 0x1c, 0x75, 0xdf, 0x6e
320 .byte 0x47, 0xf1, 0x1a, 0x71, 0x1d, 0x29, 0xc5, 0x89
321 .byte 0x6f, 0xb7, 0x62, 0x0e, 0xaa, 0x18, 0xbe, 0x1b
322 .byte 0xfc, 0x56, 0x3e, 0x4b, 0xc6, 0xd2, 0x79, 0x20
323 .byte 0x9a, 0xdb, 0xc0, 0xfe, 0x78, 0xcd, 0x5a, 0xf4
324 .byte 0x1f, 0xdd, 0xa8, 0x33, 0x88, 0x07, 0xc7, 0x31
325 .byte 0xb1, 0x12, 0x10, 0x59, 0x27, 0x80, 0xec, 0x5f
326 .byte 0x60, 0x51, 0x7f, 0xa9, 0x19, 0xb5, 0x4a, 0x0d
327 .byte 0x2d, 0xe5, 0x7a, 0x9f, 0x93, 0xc9, 0x9c, 0xef
328 .byte 0xa0, 0xe0, 0x3b, 0x4d, 0xae, 0x2a, 0xf5, 0xb0
329 .byte 0xc8, 0xeb, 0xbb, 0x3c, 0x83, 0x53, 0x99, 0x61
330 .byte 0x17, 0x2b, 0x04, 0x7e, 0xba, 0x77, 0xd6, 0x26
331 .byte 0xe1, 0x69, 0x14, 0x63, 0x55, 0x21, 0x0c, 0x7d
/linux-4.4.14/arch/arm/include/asm/
H A Dswab.h5 * that byte accesses appear as:
10 * When in big endian mode, byte accesses appear as:
H A Dsparsemem.h10 * to address the last byte of memory.
H A Ducontext.h24 /* Last for extensibility. Eight byte aligned because some
25 coprocessors require eight byte alignment. */
73 * 8 byte for magic and size, 264 byte for ufp, 12 bytes for ufp_exc,
H A Dbitops.h133 * little byte 3 byte 2 byte 1 byte 0
134 * big byte 0 byte 1 byte 2 byte 3
146 * Note that bit 0 is defined to be 32-bit word bit 0, not byte 0 bit 0.
160 * Little endian assembly bitops. nr = 0 -> byte 0 bit 0.
168 * Big endian assembly bitops. nr = 0 -> byte 3 bit 0.
343 * Ext2 is defined to use little-endian byte ordering.
/linux-4.4.14/arch/arm/include/uapi/asm/
H A Dbyteorder.h5 * that byte accesses appear as:
10 * When in big endian mode, byte accesses appear as:
H A Dswab.h5 * that byte accesses appear as:
10 * When in big endian mode, byte accesses appear as:
/linux-4.4.14/arch/sparc/kernel/
H A Dvisemul.c117 /* 000010000 - convert 8-bit 3-D address to blocked byte address */
120 /* 000010010 - convert 16-bit 3-D address to blocked byte address */
123 /* 000010100 - convert 32-bit 3-D address to blocked byte address */
435 unsigned long byte; bshuffle() local
438 byte = (rs1 >> (which * 8)) & 0xff; bshuffle()
440 byte = (rs2 >> ((which-8)*8)) & 0xff; bshuffle()
441 rd_val |= (byte << (i * 8)); bshuffle()
485 unsigned long byte; pformat() local
489 for (byte = 0; byte < 4; byte++) { pformat()
491 s16 src = (rs2 >> (byte * 16UL)) & 0xffffUL; pformat()
500 rd_val |= (val << (8 * byte)); pformat()
553 unsigned long byte; pformat() local
558 for (byte = 0; byte < 4; byte++) { pformat()
560 u8 src = (rs2 >> (byte * 8)) & 0xff; pformat()
564 rd_val |= (val << (byte * 16)); pformat()
595 unsigned long byte; pmul() local
601 for (byte = 0; byte < 4; byte++) { pmul()
602 u16 src1 = (rs1 >> (byte * 8)) & 0x00ff; pmul()
603 s16 src2 = (rs2 >> (byte * 16)) & 0xffff; pmul()
610 rd_val |= ((scaled & 0xffffUL) << (byte * 16UL)); pmul()
619 unsigned long byte; pmul() local
627 for (byte = 0; byte < 4; byte++) { pmul()
628 u16 src1 = (rs1 >> (byte * 8)) & 0x00ff; pmul()
635 rd_val |= ((scaled & 0xffffUL) << (byte * 16UL)); pmul()
644 unsigned long byte, ushift; pmul() local
651 for (byte = 0; byte < 4; byte++) { pmul()
657 src1 = ((rs1 >> ((16 * byte) + ushift)) & 0x00ff); pmul()
658 src2 = ((rs2 >> (16 * byte)) & 0xffff); pmul()
665 rd_val |= ((scaled & 0xffffUL) << (byte * 16UL)); pmul()
674 unsigned long byte, ushift; pmul() local
681 for (byte = 0; byte < 2; byte++) { pmul()
687 src1 = ((rs1 >> ((16 * byte) + ushift)) & 0x00ff); pmul()
688 src2 = ((rs2 >> (16 * byte)) & 0xffff); pmul()
696 ((byte * 32UL) + 7UL)); pmul()
/linux-4.4.14/arch/ia64/lib/
H A Dcopy_user.S37 #define COPY_BREAK 16 // we do byte copy below (must be >=16)
90 add enddst=dst,len // first byte after end of source
91 add endsrc=src,len // first byte after end of destination
109 // Now we do the byte by byte loop with software pipeline
123 // Not 8-byte aligned
131 // The basic idea is that we copy byte-by-byte at the head so
132 // that we can reach 8-byte alignment for both src1 and dst1.
133 // Then copy the body using software pipelined 8-byte copy,
135 // the tail by copying byte-by-byte.
137 // Fault handling. If the byte-by-byte at the head fails on the
140 // If 8-byte software pipeline fails on the load, do the same as
141 // failure_in3 does. If the byte-by-byte at the tail fails, it is
151 // Optimization. If dst1 is 8-byte aligned (quite common), we don't need
152 // to copy the head to dst1, to start 8-byte copy software pipeline.
153 // We know src1 is not 8-byte aligned in this case.
203 (p9) br.cond.spnt 4f // if (16 > len1) skip 8-byte copy
213 // Now both src1 and dst1 point to an 8-byte aligned address. And
296 // To fix that, we simply copy the tail byte by byte.
329 // forward slowly until we reach 16byte alignment: no need to
332 EX(.failure_in1,(p6) ld1 val1[0]=[src1],1) // 1-byte aligned
336 EX(.failure_in1,(p7) ld2 val1[1]=[src1],2) // 2-byte aligned
344 EX(.failure_in1,(p8) ld4 val2[0]=[src1],4) // 4-byte aligned
353 EX(.failure_in1,(p9) ld8 val2[1]=[src1],8) // 8-byte aligned
386 // is 16 byte aligned AND we have less than 16 bytes to copy.
400 EX(.failure_in1,(p9) ld1 val2[1]=[src1]) // only 1 byte left
414 // Here we handle the case where the byte by byte copy fails
450 // This is the case where the byte by byte copy fails on the load
493 // As we move towards eight byte alignment we may encounter faults.
509 // to it, i.e. 8byte alignment within an unexisting page.
511 // you are 8byte aligned but also 16byte align, therefore you would
512 // either go for the 16byte copy loop OR the ld8 in the tail part.
515 // would have defaulted to the byte by byte copy.
519 // Here we now we have less than 16 bytes AND we are either 8 or 16 byte
549 mov ar.lc=len // Continue with a stupid byte store.
H A Dclear_user.S36 // in which case we do the byte by byte loop.
38 // - Otherwise we go progressively from 1 byte store to 8byte store in
39 // the head part, the body is a 16byte store loop and we finish we the
85 // .Lexit4: comes from byte by byte loop
104 EX( .Lexit3, (p6) st1 [buf]=r0,1 ) // 1-byte aligned
108 EX( .Lexit3, (p6) st2 [buf]=r0,2 ) // 2-byte aligned
112 EX( .Lexit3, (p6) st4 [buf]=r0,4 ) // 4-byte aligned
116 EX( .Lexit3, (p6) st8 [buf]=r0,8 ) // 8-byte aligned
132 // we come into the loop only when we are 16-byte aligned.
138 // way would be to use ar.lc and derive how many byte were left by
179 EX( .Lexit2, (p7) st1 [buf]=r0 ) // only 1 byte left
H A Dmemcpy_mck.S11 * or number of byte NOT copied if error occurred.
107 // both dest and src are aligned on 8-byte boundary
138 shr.u r29=in2,5 // number of 32-byte iteration
175 EX(.ex_handler, (p6) st8 [dst0]=t1) // store byte 1
177 EX(.ex_hndlr_d, (p7) st8 [dst1]=t2,8) // store byte 2
181 EX(.ex_handler, (p8) st8 [dst1]=t3) // store byte 3
273 // dest is on 8-byte boundary, src is not. We need to do
274 // ld8-ld8, shrp, then st8. Max 8 byte copy per cycle.
295 shr.u r22=in2,4 // number of 16-byte iteration
318 cmp.le p6,p7=8,curlen; // have at least 8 byte remaining?
348 // for 8-15 byte case
374 /* we have up to 15 byte to copy in the tail.
392 EX(.ex_handler, (p6) st8 [dst1]=r21,8) // more than 8 byte to copy
403 // 7 byte or smaller.
415 (p9) br.ret.dpnt rp // 0 byte copy
420 (p11) br.ret.dpnt rp // 1 byte copy
424 (p13) br.ret.dpnt rp // 2 byte copy
433 (p15) br.ret.dpnt rp // 3 byte copy
438 (p7) br.ret.dpnt rp // 4 byte copy
443 (p9) br.ret.dptk rp // 5 byte copy
446 (p11) br.ret.dptk rp // 6 byte copy
453 /* Align dest to nearest 8-byte boundary. We know we have at
454 * least 7 bytes to copy, enough to crawl to 8-byte boundary.
455 * Actual number of byte to crawl depend on the dest alignment.
456 * 7 byte or less is taken care at .memcpy_short
462 * r30 - distance to 8-byte boundary
511 (p7) add src1=-8,src1; /* back out for <8 byte case */ \
537 * case, remaining byte in kernel buffer will be zeroed.
542 * This is based on knowledge that if we can access one byte in a page, we
543 * can access any byte in that page.
616 * The remaining byte to copy is calculated as:
631 sub B = dst0, saved_in0 // how many byte copied so far
638 cmp.gt p8,p0=C,r0 // more than 1 byte?
653 cmp.gt p8,p0=memset_arg2,r0 // more than 1 byte?
/linux-4.4.14/arch/x86/kernel/cpu/
H A Dintel_cacheinfo.c40 { 0x06, LVL_1_INST, 8 }, /* 4-way set assoc, 32 byte line size */
41 { 0x08, LVL_1_INST, 16 }, /* 4-way set assoc, 32 byte line size */
42 { 0x09, LVL_1_INST, 32 }, /* 4-way set assoc, 64 byte line size */
43 { 0x0a, LVL_1_DATA, 8 }, /* 2 way set assoc, 32 byte line size */
44 { 0x0c, LVL_1_DATA, 16 }, /* 4-way set assoc, 32 byte line size */
45 { 0x0d, LVL_1_DATA, 16 }, /* 4-way set assoc, 64 byte line size */
46 { 0x0e, LVL_1_DATA, 24 }, /* 6-way set assoc, 64 byte line size */
47 { 0x21, LVL_2, 256 }, /* 8-way set assoc, 64 byte line size */
48 { 0x22, LVL_3, 512 }, /* 4-way set assoc, sectored cache, 64 byte line size */
49 { 0x23, LVL_3, MB(1) }, /* 8-way set assoc, sectored cache, 64 byte line size */
50 { 0x25, LVL_3, MB(2) }, /* 8-way set assoc, sectored cache, 64 byte line size */
51 { 0x29, LVL_3, MB(4) }, /* 8-way set assoc, sectored cache, 64 byte line size */
52 { 0x2c, LVL_1_DATA, 32 }, /* 8-way set assoc, 64 byte line size */
53 { 0x30, LVL_1_INST, 32 }, /* 8-way set assoc, 64 byte line size */
54 { 0x39, LVL_2, 128 }, /* 4-way set assoc, sectored cache, 64 byte line size */
55 { 0x3a, LVL_2, 192 }, /* 6-way set assoc, sectored cache, 64 byte line size */
56 { 0x3b, LVL_2, 128 }, /* 2-way set assoc, sectored cache, 64 byte line size */
57 { 0x3c, LVL_2, 256 }, /* 4-way set assoc, sectored cache, 64 byte line size */
58 { 0x3d, LVL_2, 384 }, /* 6-way set assoc, sectored cache, 64 byte line size */
59 { 0x3e, LVL_2, 512 }, /* 4-way set assoc, sectored cache, 64 byte line size */
60 { 0x3f, LVL_2, 256 }, /* 2-way set assoc, 64 byte line size */
61 { 0x41, LVL_2, 128 }, /* 4-way set assoc, 32 byte line size */
62 { 0x42, LVL_2, 256 }, /* 4-way set assoc, 32 byte line size */
63 { 0x43, LVL_2, 512 }, /* 4-way set assoc, 32 byte line size */
64 { 0x44, LVL_2, MB(1) }, /* 4-way set assoc, 32 byte line size */
65 { 0x45, LVL_2, MB(2) }, /* 4-way set assoc, 32 byte line size */
66 { 0x46, LVL_3, MB(4) }, /* 4-way set assoc, 64 byte line size */
67 { 0x47, LVL_3, MB(8) }, /* 8-way set assoc, 64 byte line size */
68 { 0x48, LVL_2, MB(3) }, /* 12-way set assoc, 64 byte line size */
69 { 0x49, LVL_3, MB(4) }, /* 16-way set assoc, 64 byte line size */
70 { 0x4a, LVL_3, MB(6) }, /* 12-way set assoc, 64 byte line size */
71 { 0x4b, LVL_3, MB(8) }, /* 16-way set assoc, 64 byte line size */
72 { 0x4c, LVL_3, MB(12) }, /* 12-way set assoc, 64 byte line size */
73 { 0x4d, LVL_3, MB(16) }, /* 16-way set assoc, 64 byte line size */
74 { 0x4e, LVL_2, MB(6) }, /* 24-way set assoc, 64 byte line size */
75 { 0x60, LVL_1_DATA, 16 }, /* 8-way set assoc, sectored cache, 64 byte line size */
76 { 0x66, LVL_1_DATA, 8 }, /* 4-way set assoc, sectored cache, 64 byte line size */
77 { 0x67, LVL_1_DATA, 16 }, /* 4-way set assoc, sectored cache, 64 byte line size */
78 { 0x68, LVL_1_DATA, 32 }, /* 4-way set assoc, sectored cache, 64 byte line size */
83 { 0x78, LVL_2, MB(1) }, /* 4-way set assoc, 64 byte line size */
84 { 0x79, LVL_2, 128 }, /* 8-way set assoc, sectored cache, 64 byte line size */
85 { 0x7a, LVL_2, 256 }, /* 8-way set assoc, sectored cache, 64 byte line size */
86 { 0x7b, LVL_2, 512 }, /* 8-way set assoc, sectored cache, 64 byte line size */
87 { 0x7c, LVL_2, MB(1) }, /* 8-way set assoc, sectored cache, 64 byte line size */
88 { 0x7d, LVL_2, MB(2) }, /* 8-way set assoc, 64 byte line size */
89 { 0x7f, LVL_2, 512 }, /* 2-way set assoc, 64 byte line size */
90 { 0x80, LVL_2, 512 }, /* 8-way set assoc, 64 byte line size */
91 { 0x82, LVL_2, 256 }, /* 8-way set assoc, 32 byte line size */
92 { 0x83, LVL_2, 512 }, /* 8-way set assoc, 32 byte line size */
93 { 0x84, LVL_2, MB(1) }, /* 8-way set assoc, 32 byte line size */
94 { 0x85, LVL_2, MB(2) }, /* 8-way set assoc, 32 byte line size */
95 { 0x86, LVL_2, 512 }, /* 4-way set assoc, 64 byte line size */
96 { 0x87, LVL_2, MB(1) }, /* 8-way set assoc, 64 byte line size */
97 { 0xd0, LVL_3, 512 }, /* 4-way set assoc, 64 byte line size */
98 { 0xd1, LVL_3, MB(1) }, /* 4-way set assoc, 64 byte line size */
99 { 0xd2, LVL_3, MB(2) }, /* 4-way set assoc, 64 byte line size */
100 { 0xd6, LVL_3, MB(1) }, /* 8-way set assoc, 64 byte line size */
101 { 0xd7, LVL_3, MB(2) }, /* 8-way set assoc, 64 byte line size */
102 { 0xd8, LVL_3, MB(4) }, /* 12-way set assoc, 64 byte line size */
103 { 0xdc, LVL_3, MB(2) }, /* 12-way set assoc, 64 byte line size */
104 { 0xdd, LVL_3, MB(4) }, /* 12-way set assoc, 64 byte line size */
105 { 0xde, LVL_3, MB(8) }, /* 12-way set assoc, 64 byte line size */
106 { 0xe2, LVL_3, MB(2) }, /* 16-way set assoc, 64 byte line size */
107 { 0xe3, LVL_3, MB(4) }, /* 16-way set assoc, 64 byte line size */
108 { 0xe4, LVL_3, MB(8) }, /* 16-way set assoc, 64 byte line size */
109 { 0xea, LVL_3, MB(12) }, /* 24-way set assoc, 64 byte line size */
110 { 0xeb, LVL_3, MB(18) }, /* 24-way set assoc, 64 byte line size */
111 { 0xec, LVL_3, MB(24) }, /* 24-way set assoc, 64 byte line size */
/linux-4.4.14/arch/x86/boot/
H A Dheader.S47 .byte 0x4d
48 .byte 0x5a
97 .byte 0
134 .byte 0x02 # MajorLinkerVersion
135 .byte 0x14 # MinorLinkerVersion
203 .byte 0
204 .byte 0
222 .byte 0
223 .byte 0
238 .byte 0
239 .byte 0
240 .byte 0
256 .byte 0
257 .byte 0
258 .byte 0
259 .byte 0
278 sentinel: .byte 0xff, 0xff /* Used to detect broken loaders */
282 setup_sects: .byte 0 /* Filled in by build.c */
295 # tries to generate a 3-byte jump here, which causes
297 .byte 0xeb # short (2-byte) jump
298 .byte start_of_setup-1f
315 type_of_loader: .byte 0 # 0 means ancient bootloader, newer
322 .byte LOADED_HIGH # The kernel is to be loaded high
352 .byte 0 # Extended boot loader version
354 .byte 0 # Extended boot loader type
383 relocatable_kernel: .byte 1
385 relocatable_kernel: .byte 0
387 min_alignment: .byte MIN_KERNEL_ALIGN_LG2 # minimum alignment
527 .byte 7
/linux-4.4.14/firmware/keyspan_pda/
H A Dkeyspan_pda.S35 * There are two 256-byte ring buffers, one for tx, one for rx.
46 * (only "tx unthrottle" at this time) back up to the host. The first byte
173 .byte 0
177 .byte 0 ; filled in by the USB core
181 rx_ring_in: .byte 0
182 rx_ring_out: .byte 0
183 tx_ring_in: .byte 0
184 tx_ring_out: .byte 0
185 tx_unthrottle_threshold: .byte 0
190 .byte 0
192 .byte 0
194 .byte 0
196 .byte 0
198 .byte 0
200 .byte 0
202 .byte 0
204 .byte 0
206 .byte 0
208 .byte 0
210 .byte 0
212 .byte 0
596 ;; Get_Configuration. always 1. return one byte.
746 mov dptr, OUT2BC ; get byte count
986 ;; either we ran out of data, or we copied 64 bytes. r1 has byte count
1022 .byte BAUD_HIGH(110)
1023 .byte BAUD_LOW(110)
1025 .byte BAUD_HIGH(300)
1026 .byte BAUD_LOW(300)
1028 .byte BAUD_HIGH(1200)
1029 .byte BAUD_LOW(1200)
1031 .byte BAUD_HIGH(2400)
1032 .byte BAUD_LOW(2400)
1034 .byte BAUD_HIGH(4800)
1035 .byte BAUD_LOW(4800)
1037 .byte BAUD_HIGH(9600)
1038 .byte BAUD_LOW(9600)
1040 .byte BAUD_HIGH(19200)
1041 .byte BAUD_LOW(19200)
1043 .byte BAUD_HIGH(38400)
1044 .byte BAUD_LOW(38400)
1046 .byte BAUD_HIGH(57600)
1047 .byte BAUD_LOW(57600)
1049 .byte BAUD_HIGH(115200)
1050 .byte BAUD_LOW(115200)
1053 .byte 0x12, 0x01, 0x00, 0x01, 0xff, 0xff, 0xff, 0x40
1054 .byte 0xcd, 0x06, 0x04, 0x01, 0x89, 0xab, 1, 2, 3, 0x01
1059 .byte 0x09, 0x02, 0x20, 0x00, 0x01, 0x01, 0x00, 0x80, 0x32
1060 .byte 0x09, 0x04, 0x00, 0x00, 0x02, 0xff, 0xff, 0xff, 0x00
1061 .byte 0x07, 0x05, 0x82, 0x03, 0x40, 0x00, 0x01
1062 .byte 0x07, 0x05, 0x02, 0x02, 0x40, 0x00, 0x00
1068 string_langids: .byte string_langids_end-string_langids
1069 .byte 3
1084 string_mfg: .byte string_mfg_end-string_mfg
1085 .byte 3
1086 ; .byte "ACME usb widgets"
1087 .byte 0x41, 0x00, 0x43, 0x00, 0x4d, 0x00, 0x45, 0x00, 0x20, 0x00, 0x75, 0x00, 0x73, 0x00, 0x62, 0x00, 0x20, 0x00, 0x77, 0x00, 0x69, 0x00, 0x64, 0x00, 0x67, 0x00, 0x65, 0x00, 0x74, 0x00, 0x73, 0x00
1090 string_product: .byte string_product_end-string_product
1091 .byte 3
1092 ; .byte "ACME USB serial widget"
1093 .byte 0x41, 0x00, 0x43, 0x00, 0x4d, 0x00, 0x45, 0x00, 0x20, 0x00, 0x55, 0x00, 0x53, 0x00, 0x42, 0x00, 0x20, 0x00, 0x73, 0x00, 0x65, 0x00, 0x72, 0x00, 0x69, 0x00, 0x61, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x77, 0x00, 0x69, 0x00, 0x64, 0x00, 0x67, 0x00, 0x65, 0x00, 0x74, 0x00
1096 string_serial: .byte string_serial_end-string_serial
1097 .byte 3
1098 ; .byte "47"
1099 .byte 0x34, 0x00, 0x37, 0x00
1103 ;; tx_ring_in+1 is where the next input byte will go
H A Dxircom_pgs.S35 * There are two 256-byte ring buffers, one for tx, one for rx.
46 * (only "tx unthrottle" at this time) back up to the host. The first byte
175 .byte 0
179 .byte 0 ; filled in by the USB core
183 rx_ring_in: .byte 0
184 rx_ring_out: .byte 0
185 tx_ring_in: .byte 0
186 tx_ring_out: .byte 0
187 tx_unthrottle_threshold: .byte 0
192 .byte 0
194 .byte 0
196 .byte 0
198 .byte 0
200 .byte 0
202 .byte 0
204 .byte 0
206 .byte 0
208 .byte 0
210 .byte 0
212 .byte 0
214 .byte 0
634 ;; Get_Configuration. always 1. return one byte.
803 mov dptr, OUT2BC ; get byte count
1051 ;; either we ran out of data, or we copied 64 bytes. r1 has byte count
1090 .byte BAUD_HIGH(110)
1091 .byte BAUD_LOW(110)
1093 .byte BAUD_HIGH(300)
1094 .byte BAUD_LOW(300)
1096 .byte BAUD_HIGH(1200)
1097 .byte BAUD_LOW(1200)
1099 .byte BAUD_HIGH(2400)
1100 .byte BAUD_LOW(2400)
1102 .byte BAUD_HIGH(4800)
1103 .byte BAUD_LOW(4800)
1105 .byte BAUD_HIGH(9600)
1106 .byte BAUD_LOW(9600)
1108 .byte BAUD_HIGH(19200)
1109 .byte BAUD_LOW(19200)
1111 .byte BAUD_HIGH(38400)
1112 .byte BAUD_LOW(38400)
1114 .byte BAUD_HIGH(57600)
1115 .byte BAUD_LOW(57600)
1117 .byte BAUD_HIGH(115200)
1118 .byte BAUD_LOW(115200)
1121 .byte 0x12, 0x01, 0x00, 0x01, 0xff, 0xff, 0xff, 0x40
1122 .byte 0xcd, 0x06, 0x04, 0x01, 0x89, 0xab, 1, 2, 3, 0x01
1127 .byte 0x09, 0x02, 0x20, 0x00, 0x01, 0x01, 0x00, 0x80, 0x32
1128 .byte 0x09, 0x04, 0x00, 0x00, 0x02, 0xff, 0xff, 0xff, 0x00
1129 .byte 0x07, 0x05, 0x82, 0x03, 0x40, 0x00, 0x01
1130 .byte 0x07, 0x05, 0x02, 0x02, 0x40, 0x00, 0x00
1136 string_langids: .byte string_langids_end-string_langids
1137 .byte 3
1152 string_mfg: .byte string_mfg_end-string_mfg
1153 .byte 3
1154 ; .byte "ACME usb widgets"
1155 .byte 0x41, 0x00, 0x43, 0x00, 0x4d, 0x00, 0x45, 0x00, 0x20, 0x00, 0x75, 0x00, 0x73, 0x00, 0x62, 0x00, 0x20, 0x00, 0x77, 0x00, 0x69, 0x00, 0x64, 0x00, 0x67, 0x00, 0x65, 0x00, 0x74, 0x00, 0x73, 0x00
1158 string_product: .byte string_product_end-string_product
1159 .byte 3
1160 ; .byte "ACME USB serial widget"
1161 .byte 0x41, 0x00, 0x43, 0x00, 0x4d, 0x00, 0x45, 0x00, 0x20, 0x00, 0x55, 0x00, 0x53, 0x00, 0x42, 0x00, 0x20, 0x00, 0x73, 0x00, 0x65, 0x00, 0x72, 0x00, 0x69, 0x00, 0x61, 0x00, 0x6c, 0x00, 0x20, 0x00, 0x77, 0x00, 0x69, 0x00, 0x64, 0x00, 0x67, 0x00, 0x65, 0x00, 0x74, 0x00
1164 string_serial: .byte string_serial_end-string_serial
1165 .byte 3
1166 ; .byte "47"
1167 .byte 0x34, 0x00, 0x37, 0x00
1171 ;; tx_ring_in+1 is where the next input byte will go
/linux-4.4.14/drivers/scsi/lpfc/
H A Dlpfc_scsi.h59 uint32_t rspRsvd1; /* FC Word 0, byte 0:3 */
60 uint32_t rspRsvd2; /* FC Word 1, byte 0:3 */
62 uint8_t rspStatus0; /* FCP_STATUS byte 0 (reserved) */
63 uint8_t rspStatus1; /* FCP_STATUS byte 1 (reserved) */
64 uint8_t rspStatus2; /* FCP_STATUS byte 2 field validity */
69 uint8_t rspStatus3; /* FCP_STATUS byte 3 SCSI status byte */
79 uint8_t rspInfo0; /* FCP_RSP_INFO byte 0 (reserved) */
80 uint8_t rspInfo1; /* FCP_RSP_INFO byte 1 (reserved) */
81 uint8_t rspInfo2; /* FCP_RSP_INFO byte 2 (reserved) */
82 uint8_t rspInfo3; /* FCP_RSP_INFO RSP_CODE byte 3 */
95 #define SNS_ILLEGAL_REQ 0x05 /* sense key is byte 3 ([2]) */
96 #define SNSCOD_BADCMD 0x20 /* sense code is byte 13 ([12]) */
102 uint8_t fcpCntl0; /* FCP_CNTL byte 0 (reserved) */
103 uint8_t fcpCntl1; /* FCP_CNTL byte 1 task codes */
109 uint8_t fcpCntl2; /* FCP_CTL byte 2 task management codes */
/linux-4.4.14/arch/x86/lib/
H A Dcopy_user_64.S78 jb 20f /* less then 8 bytes, go to byte copy loop */
180 jb 2f /* less than 8 bytes, go to byte copy loop */
239 * - Require 8-byte alignment when size is 8 bytes or larger.
240 * - Require 4-byte alignment when size is 4 bytes.
245 /* If size is less than 8 bytes, go to 4-byte copy */
249 /* If destination is not 8-byte aligned, "cache" copy to align it */
252 /* Set 4x8-byte copy count and remainder */
258 /* Perform 4x8-byte nocache loop-copy */
281 /* Set 8-byte copy count and remainder */
288 /* Perform 8-byte nocache loop-copy */
297 /* If no byte left, we're done */
302 /* If destination is not 4-byte aligned, go to byte copy: */
307 /* Set 4-byte copy count (1 or 0) and remainder */
313 /* Perform 4-byte nocache copy: */
323 /* Perform byte "cache" loop-copy for the remainder */
/linux-4.4.14/arch/x86/realmode/rm/
H A Drealmode.h12 #define LJMPW_RM(to) .byte 0xea ; .word (to), real_mode_seg
/linux-4.4.14/arch/alpha/include/asm/
H A Dbug.h14 ".long %1\n\t.8byte %2" \
/linux-4.4.14/arch/metag/include/asm/
H A Dcache.h8 /* Meta requires large data items to be 8 byte aligned. */
/linux-4.4.14/arch/ia64/include/asm/
H A Ddma.h10 #include <asm/io.h> /* need byte IO */
/linux-4.4.14/arch/m32r/mm/
H A Dpage.S20 * PAGE_SIZE = 4096-byte
21 * Cache line = 16-byte
58 * PAGE_SIZE = 4096-byte
59 * Cache line = 16-byte
/linux-4.4.14/arch/arm/plat-pxa/include/plat/
H A Ddma.h46 #define DCMD_BURST8 (1 << 16) /* 8 byte burst */
47 #define DCMD_BURST16 (2 << 16) /* 16 byte burst */
48 #define DCMD_BURST32 (3 << 16) /* 32 byte burst */
49 #define DCMD_WIDTH1 (1 << 14) /* 1 byte width */
50 #define DCMD_WIDTH2 (2 << 14) /* 2 byte width (HalfWord) */
51 #define DCMD_WIDTH4 (3 << 14) /* 4 byte width (Word) */
56 * Note: this structure must always be aligned to a 16-byte boundary.
/linux-4.4.14/arch/x86/entry/vdso/vdso32/
H A Dsigreturn.S48 .byte 1 /* Version number */
52 .byte 8 /* Return address register column */
54 .byte 0x1b /* DW_EH_PE_pcrel|DW_EH_PE_sdata4. */
55 .byte 0 /* DW_CFA_nop */
81 .byte 0x0f; /* DW_CFA_def_cfa_expression */ \
83 0: .byte 0x74; /* DW_OP_breg4 */ \
85 .byte 0x06; /* DW_OP_deref */ \
89 .byte 0x10; /* DW_CFA_expression */ \
92 0: .byte 0x74; /* DW_OP_breg4 */ \
106 .byte 0x42 /* DW_CFA_advance_loc 2 -- nop; popl eax. */
/linux-4.4.14/arch/mips/include/asm/octeon/
H A Dcvmx-scratch.h31 * Scratch memory is byte addressable - all addresses are byte addresses.
47 * @address: byte address to read from
59 * @address: byte address to read from
71 * @address: byte address to read from
83 * @address: byte address to read from
95 * @address: byte address to write to
107 * @address: byte address to write to
119 * @address: byte address to write to
131 * @address: byte address to write to
/linux-4.4.14/arch/sh/include/asm/
H A Dwatchdog.h80 * Writes the given value @val to the lower byte of the timer counter.
81 * The upper byte is set manually on each write.
92 * Writes the given value @val to the lower byte of the timer counter.
93 * The upper byte is set manually on each write.
113 * Writes the given value @val to the lower byte of the control/status
114 * register. The upper byte is set manually on each write.
134 * Writes the given value @val to the lower byte of the timer counter.
135 * The upper byte is set manually on each write.
156 * Writes the given value @val to the lower byte of the control/status
157 * register. The upper byte is set manually on each write.
/linux-4.4.14/include/net/irda/
H A Dqos.h46 /* Baud rates (first byte) */
56 /* Baud rates (second byte) */
63 __u16 bits; /* LSB is first byte, MSB is second byte */
91 * Note : one byte is 10 bits if you include start and stop bits
H A Ddiscovery.h45 * byte[1] and LSB in byte[0]. A big endian machine stores MSB in byte[0]
46 * and LSB in byte[1].
55 __u8 byte[2]; member in union:__anon13436
/linux-4.4.14/arch/mips/include/asm/dec/
H A Dkn02xa.h49 #define KN02XA_MER_BYTERR (0xf<<8) /* byte lane error bitmask: */
50 #define KN02XA_MER_BYTERR_3 (0x8<<8) /* byte lane #3 */
51 #define KN02XA_MER_BYTERR_2 (0x4<<8) /* byte lane #2 */
52 #define KN02XA_MER_BYTERR_1 (0x2<<8) /* byte lane #1 */
53 #define KN02XA_MER_BYTERR_0 (0x1<<8) /* byte lane #0 */
/linux-4.4.14/sound/firewire/
H A Dscs1x.c135 u8 byte; scs_output_tasklet() local
151 if (snd_rawmidi_transmit(stream, &byte, 1) != 1) { scs_output_tasklet()
161 if (scs->output_escaped && byte < 0x80) { scs_output_tasklet()
164 scs->buffer[i] = byte << 4; scs_output_tasklet()
168 scs->buffer[i++] |= byte & 0x0f; scs_output_tasklet()
171 } else if (byte < 0x80) { scs_output_tasklet()
178 scs->buffer[i++] = byte; scs_output_tasklet()
191 } else if (byte == 0xf7) { scs_output_tasklet()
204 } else if (!is_invalid_cmd(byte) && scs_output_tasklet()
205 byte < 0xf8) { scs_output_tasklet()
208 scs->buffer[i++] = byte; scs_output_tasklet()
209 scs->output_status = byte; scs_output_tasklet()
211 if (is_one_byte_cmd(byte)) scs_output_tasklet()
264 u8 byte) scs_input_escaped_byte()
268 nibbles[0] = byte >> 4; scs_input_escaped_byte()
269 nibbles[1] = byte & 0x0f; scs_input_escaped_byte()
275 u8 byte) scs_input_midi_byte()
278 scs_input_escaped_byte(stream, byte); scs_input_midi_byte()
282 } else if (byte == 0xf9) {
289 snd_rawmidi_receive(stream, &byte, 1);
263 scs_input_escaped_byte(struct snd_rawmidi_substream *stream, u8 byte) scs_input_escaped_byte() argument
273 scs_input_midi_byte(struct scs *scs, struct snd_rawmidi_substream *stream, u8 byte) scs_input_midi_byte() argument
/linux-4.4.14/drivers/media/usb/tm6000/
H A Dtm6000-i2c.c160 int addr, rc, i, byte; tm6000_i2c_xfer() local
173 * immediately after a 1 or 2 byte write to select tm6000_i2c_xfer()
183 /* 1 or 2 byte write followed by a read */ tm6000_i2c_xfer()
185 for (byte = 0; byte < msgs[i].len; byte++) tm6000_i2c_xfer()
186 printk(KERN_CONT " %02x", msgs[i].buf[byte]); tm6000_i2c_xfer()
207 for (byte = 0; byte < msgs[i].len; byte++) tm6000_i2c_xfer()
208 printk(KERN_CONT " %02x", msgs[i].buf[byte]); tm6000_i2c_xfer()
212 for (byte = 0; byte < msgs[i].len; byte++) tm6000_i2c_xfer()
213 printk(KERN_CONT " %02x", msgs[i].buf[byte]); tm6000_i2c_xfer()
/linux-4.4.14/drivers/staging/rtl8188eu/include/
H A Dbasic_types.h101 * Return 4-byte value in host byte ordering from
102 * 4-byte pointer in little-endian system.
112 Translate subfield (continuous bits in little-endian) of 4-byte
113 value to host byte ordering.*/
131 * Mask subfield (continuous bits in little-endian) of 4-byte value
132 * and return the result in 4-byte value in host byte ordering.
151 * Set subfield of little-endian 4-byte value to specified value.
/linux-4.4.14/drivers/gpu/drm/radeon/
H A Dradeon_dp_auxch.c64 u8 byte; radeon_dp_aux_transfer_native() local
120 byte = (msg->request << 4) | ((msg->address >> 16) & 0xf); radeon_dp_aux_transfer_native()
122 AUX_SW_DATA_MASK(byte) | AUX_SW_AUTOINCREMENT_DISABLE); radeon_dp_aux_transfer_native()
124 byte = (msg->address >> 8) & 0xff; radeon_dp_aux_transfer_native()
126 AUX_SW_DATA_MASK(byte)); radeon_dp_aux_transfer_native()
128 byte = msg->address & 0xff; radeon_dp_aux_transfer_native()
130 AUX_SW_DATA_MASK(byte)); radeon_dp_aux_transfer_native()
132 byte = msize; radeon_dp_aux_transfer_native()
134 AUX_SW_DATA_MASK(byte)); radeon_dp_aux_transfer_native()
/linux-4.4.14/drivers/staging/sm750fb/
H A Dsm750_cursor.c105 /* in byte*/ hw_cursor_setData()
108 /* in byte */ hw_cursor_setData()
111 /* in byte */ hw_cursor_setData()
169 /* in byte*/ hw_cursor_setData2()
172 /* in byte */ hw_cursor_setData2()
175 /* in byte */ hw_cursor_setData2()
/linux-4.4.14/drivers/mtd/maps/
H A Dck804xrom.c67 * byte @0x88: bit 0..7
68 * byte @0x8c: bit 8..15
84 u8 byte; ck804xrom_cleanup() local
88 pci_read_config_byte(window->pdev, 0x6d, &byte); ck804xrom_cleanup()
89 pci_write_config_byte(window->pdev, 0x6d, byte & ~1); ck804xrom_cleanup()
119 u8 byte; ck804xrom_init_one() local
137 pci_read_config_byte(pdev, 0x88, &byte); ck804xrom_init_one()
138 pci_write_config_byte(pdev, 0x88, byte | win_size_bits ); ck804xrom_init_one()
141 pci_read_config_byte(pdev, 0x88, &byte); ck804xrom_init_one()
143 if ((byte & ((1<<7)|(1<<6))) == ((1<<7)|(1<<6))) ck804xrom_init_one()
145 else if ((byte & (1<<7)) == (1<<7)) ck804xrom_init_one()
152 pci_read_config_byte(pdev, 0x88, &byte); ck804xrom_init_one()
153 pci_write_config_byte(pdev, 0x88, byte | (win_size_bits & 0xff)); ck804xrom_init_one()
155 pci_read_config_byte(pdev, 0x8c, &byte); ck804xrom_init_one()
156 pci_write_config_byte(pdev, 0x8c, byte | ((win_size_bits & 0xff00) >> 8)); ck804xrom_init_one()
187 pci_read_config_byte(pdev, 0x6d, &byte); ck804xrom_init_one()
188 pci_write_config_byte(pdev, 0x6d, byte | 1); ck804xrom_init_one()
H A Dichxrom.c94 u8 byte; ichxrom_init_one() local
111 pci_read_config_byte(pdev, FWH_DEC_EN1, &byte); ichxrom_init_one()
112 if (byte == 0xff) { ichxrom_init_one()
114 pci_read_config_byte(pdev, FWH_DEC_EN2, &byte); ichxrom_init_one()
115 if ((byte & 0x0f) == 0x0f) { ichxrom_init_one()
118 else if ((byte & 0x0e) == 0x0e) { ichxrom_init_one()
121 else if ((byte & 0x0c) == 0x0c) { ichxrom_init_one()
124 else if ((byte & 0x08) == 0x08) { ichxrom_init_one()
128 else if ((byte & 0xfe) == 0xfe) { ichxrom_init_one()
131 else if ((byte & 0xfc) == 0xfc) { ichxrom_init_one()
134 else if ((byte & 0xf8) == 0xf8) { ichxrom_init_one()
137 else if ((byte & 0xf0) == 0xf0) { ichxrom_init_one()
140 else if ((byte & 0xe0) == 0xe0) { ichxrom_init_one()
143 else if ((byte & 0xc0) == 0xc0) { ichxrom_init_one()
146 else if ((byte & 0x80) == 0x80) { ichxrom_init_one()
/linux-4.4.14/crypto/
H A Dgf128mul.c91 /* Given the value i in 0..255 as the byte overflow when a field element
253 A 16 byte buffer has to be multiplied by a 16 byte key
255 the buffer's lowest byte, we can construct a table of
256 the 256 16 byte values that result from the 256 values
257 of this byte. This requires 4096 bytes. But we also
387 A 16 byte buffer has to be multiplied by a 16 byte key
389 single byte, we can construct a table of the 256 16 byte
390 values that result from the 256 values of this byte.
391 This requires 4096 bytes. If we take the highest byte in
394 next highest byte the result has to be multiplied by x^112
397 byte. We repeatedly multiply the accumulator value by
399 lower byte in the buffer, stopping when we reach the
400 lowest byte. This requires a 4096 byte table.
H A Dseed.c28 * #define byte(x, nr) ((unsigned char)((x) >> (nr*8)))
31 byte(const u32 x, const unsigned n) byte() function
319 t1 = SS0[byte(t1, 0)] ^ SS1[byte(t1, 1)] ^ \
320 SS2[byte(t1, 2)] ^ SS3[byte(t1, 3)]; \
322 t0 = SS0[byte(t0, 0)] ^ SS1[byte(t0, 1)] ^ \
323 SS2[byte(t0, 2)] ^ SS3[byte(t0, 3)]; \
325 t1 = SS0[byte(t1, 0)] ^ SS1[byte(t1, 1)] ^ \
326 SS2[byte(t1, 2)] ^ SS3[byte(t1, 3)]; \
347 *(keyout++) = SS0[byte(t0, 0)] ^ SS1[byte(t0, 1)] ^ seed_set_key()
348 SS2[byte(t0, 2)] ^ SS3[byte(t0, 3)]; seed_set_key()
349 *(keyout++) = SS0[byte(t1, 0)] ^ SS1[byte(t1, 1)] ^ seed_set_key()
350 SS2[byte(t1, 2)] ^ SS3[byte(t1, 3)]; seed_set_key()
/linux-4.4.14/arch/m68k/ifpsp060/
H A Dos.S68 | Linux/68k: The _060_[id]mem_{read,write}_{byte,word,long} functions
92 move.b (%a0)+,(%a1)+ | copy 1 byte
97 move.b (%a0)+,%d1 | copy 1 byte
125 move.b (%a0)+,(%a1)+ | copy 1 byte
132 move.b %d1,(%a1)+ | copy 1 byte
140 | Read a data byte from user memory.
146 | d0 - data byte in d0
155 dmrbuae:movs.b (%a0),%d0 | fetch user byte
157 dmrbs: move.b (%a0),%d0 | fetch super byte
234 | Write a data byte to user memory.
238 | d0 - data byte in d0
248 dmwbuae:movs.b %d0,(%a0) | store user byte
250 dmwbs: move.b %d0,(%a0) | store super byte
323 move.b (%a0)+,%d1 | fetch supervisor byte
325 movs.b %d1,(%a1)+ | store user byte
341 movs.b (%a0)+,%d1 | fetch user byte
342 move.b %d1,(%a1)+ | write supervisor byte
/linux-4.4.14/drivers/scsi/libsas/
H A Dsas_host_smp.c56 * to_sas_gpio_gp_bit - given the gpio frame data find the byte/bit position of 'od'
61 * @bit: bit position of 'od' in the returned byte
66 * "In GPIO_TX[1], bit 0 of byte 3 contains the first bit (i.e., OD0.0)
67 * and bit 7 of byte 0 contains the 32nd bit (i.e., OD10.1).
69 * In GPIO_TX[2], bit 0 of byte 3 contains the 33rd bit (i.e., OD10.2)
70 * and bit 7 of byte 0 contains the 64th bit (i.e., OD21.0)."
80 u8 byte; to_sas_gpio_gp_bit() local
97 byte = 3 - (od >> 3); to_sas_gpio_gp_bit()
100 return &data[reg * 4 + byte]; to_sas_gpio_gp_bit()
105 u8 *byte; try_test_sas_gpio_gp_bit() local
108 byte = to_sas_gpio_gp_bit(od, data, index, count, &bit); try_test_sas_gpio_gp_bit()
109 if (!byte) try_test_sas_gpio_gp_bit()
112 return (*byte >> bit) & 1; try_test_sas_gpio_gp_bit()
/linux-4.4.14/drivers/scsi/bfa/
H A Dbfa_cs.h332 u8 byte[8]; wwn2str() member in union:__anon9198
336 sprintf(wwn_str, "%02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x", w.byte[0], wwn2str()
337 w.byte[1], w.byte[2], w.byte[3], w.byte[4], w.byte[5], wwn2str()
338 w.byte[6], w.byte[7]); wwn2str()
346 u8 byte[4]; fcid2str() member in union:__anon9199
350 sprintf(fcid_str, "%02x:%02x:%02x", f.byte[1], f.byte[2], f.byte[3]); fcid2str()
/linux-4.4.14/drivers/pcmcia/
H A Dpxa2xx_base.c45 #define PCMCIAPrtSp 0x04000000 /* PCMCIA Partition Space [byte] */
46 #define PCMCIASp (4*PCMCIAPrtSp) /* PCMCIA Space [byte] */
47 #define PCMCIAIOSp PCMCIAPrtSp /* PCMCIA I/O Space [byte] */
48 #define PCMCIAAttrSp PCMCIAPrtSp /* PCMCIA Attribute Space [byte] */
49 #define PCMCIAMemSp PCMCIAPrtSp /* PCMCIA Memory Space [byte] */
51 #define PCMCIA0Sp PCMCIASp /* PCMCIA 0 Space [byte] */
52 #define PCMCIA0IOSp PCMCIAIOSp /* PCMCIA 0 I/O Space [byte] */
53 #define PCMCIA0AttrSp PCMCIAAttrSp /* PCMCIA 0 Attribute Space [byte] */
54 #define PCMCIA0MemSp PCMCIAMemSp /* PCMCIA 0 Memory Space [byte] */
56 #define PCMCIA1Sp PCMCIASp /* PCMCIA 1 Space [byte] */
57 #define PCMCIA1IOSp PCMCIAIOSp /* PCMCIA 1 I/O Space [byte] */
58 #define PCMCIA1AttrSp PCMCIAAttrSp /* PCMCIA 1 Attribute Space [byte] */
59 #define PCMCIA1MemSp PCMCIAMemSp /* PCMCIA 1 Memory Space [byte] */
/linux-4.4.14/fs/jfs/
H A Djfs_dtree.h70 __le16 name[11]; /* 22: 2-byte aligned */
86 __le32 inumber; /* 4: 4-byte aligned */
89 __le16 name[11]; /* 22: 2-byte aligned */
173 * entry slot array of 32 byte slot
177 * 1-byte per entry
178 * 512 byte block: 16 entry tbl (1 slot)
179 * 1024 byte block: 32 entry tbl (1 slot)
180 * 2048 byte block: 64 entry tbl (2 slot)
181 * 4096 byte block: 128 entry tbl (4 slot)
184 * 512 byte block: 16 - 2 = 14 slot
185 * 1024 byte block: 32 - 2 = 30 slot
186 * 2048 byte block: 64 - 3 = 61 slot
187 * 4096 byte block: 128 - 5 = 123 slot
/linux-4.4.14/fs/ntfs/
H A Dbitmap.c84 /* Set @pos to the position of the byte containing @start_bit. */ __ntfs_bitmap_set_bits_in_run()
87 /* Calculate the position of @start_bit in the first byte. */ __ntfs_bitmap_set_bits_in_run()
90 /* If the first byte is partial, modify the appropriate bits in it. */ __ntfs_bitmap_set_bits_in_run()
92 u8 *byte = kaddr + pos; __ntfs_bitmap_set_bits_in_run() local
96 *byte |= 1 << bit++; __ntfs_bitmap_set_bits_in_run()
98 *byte &= ~(1 << bit++); __ntfs_bitmap_set_bits_in_run()
115 /* Update @len to point to the first not-done byte in the page. */ __ntfs_bitmap_set_bits_in_run()
140 * The currently mapped page is the last one. If the last byte is __ntfs_bitmap_set_bits_in_run()
142 * position of the last byte inside the page. __ntfs_bitmap_set_bits_in_run()
145 u8 *byte; __ntfs_bitmap_set_bits_in_run() local
150 byte = kaddr + len; __ntfs_bitmap_set_bits_in_run()
153 *byte |= 1 << bit; __ntfs_bitmap_set_bits_in_run()
155 *byte &= ~(1 << bit); __ntfs_bitmap_set_bits_in_run()
/linux-4.4.14/arch/arm/crypto/
H A Daes-armv4.S17 @ is endian-neutral. The performance is ~42 cycles/byte for 128-bit
27 @ Cortex A8 core and ~25 cycles per byte processed with 128-bit key.
32 @ improvement on Cortex A8 core and ~21.5 cycles per byte.
110 .byte 0x63, 0x7c, 0x77, 0x7b, 0xf2, 0x6b, 0x6f, 0xc5
111 .byte 0x30, 0x01, 0x67, 0x2b, 0xfe, 0xd7, 0xab, 0x76
112 .byte 0xca, 0x82, 0xc9, 0x7d, 0xfa, 0x59, 0x47, 0xf0
113 .byte 0xad, 0xd4, 0xa2, 0xaf, 0x9c, 0xa4, 0x72, 0xc0
114 .byte 0xb7, 0xfd, 0x93, 0x26, 0x36, 0x3f, 0xf7, 0xcc
115 .byte 0x34, 0xa5, 0xe5, 0xf1, 0x71, 0xd8, 0x31, 0x15
116 .byte 0x04, 0xc7, 0x23, 0xc3, 0x18, 0x96, 0x05, 0x9a
117 .byte 0x07, 0x12, 0x80, 0xe2, 0xeb, 0x27, 0xb2, 0x75
118 .byte 0x09, 0x83, 0x2c, 0x1a, 0x1b, 0x6e, 0x5a, 0xa0
119 .byte 0x52, 0x3b, 0xd6, 0xb3, 0x29, 0xe3, 0x2f, 0x84
120 .byte 0x53, 0xd1, 0x00, 0xed, 0x20, 0xfc, 0xb1, 0x5b
121 .byte 0x6a, 0xcb, 0xbe, 0x39, 0x4a, 0x4c, 0x58, 0xcf
122 .byte 0xd0, 0xef, 0xaa, 0xfb, 0x43, 0x4d, 0x33, 0x85
123 .byte 0x45, 0xf9, 0x02, 0x7f, 0x50, 0x3c, 0x9f, 0xa8
124 .byte 0x51, 0xa3, 0x40, 0x8f, 0x92, 0x9d, 0x38, 0xf5
125 .byte 0xbc, 0xb6, 0xda, 0x21, 0x10, 0xff, 0xf3, 0xd2
126 .byte 0xcd, 0x0c, 0x13, 0xec, 0x5f, 0x97, 0x44, 0x17
127 .byte 0xc4, 0xa7, 0x7e, 0x3d, 0x64, 0x5d, 0x19, 0x73
128 .byte 0x60, 0x81, 0x4f, 0xdc, 0x22, 0x2a, 0x90, 0x88
129 .byte 0x46, 0xee, 0xb8, 0x14, 0xde, 0x5e, 0x0b, 0xdb
130 .byte 0xe0, 0x32, 0x3a, 0x0a, 0x49, 0x06, 0x24, 0x5c
131 .byte 0xc2, 0xd3, 0xac, 0x62, 0x91, 0x95, 0xe4, 0x79
132 .byte 0xe7, 0xc8, 0x37, 0x6d, 0x8d, 0xd5, 0x4e, 0xa9
133 .byte 0x6c, 0x56, 0xf4, 0xea, 0x65, 0x7a, 0xae, 0x08
134 .byte 0xba, 0x78, 0x25, 0x2e, 0x1c, 0xa6, 0xb4, 0xc6
135 .byte 0xe8, 0xdd, 0x74, 0x1f, 0x4b, 0xbd, 0x8b, 0x8a
136 .byte 0x70, 0x3e, 0xb5, 0x66, 0x48, 0x03, 0xf6, 0x0e
137 .byte 0x61, 0x35, 0x57, 0xb9, 0x86, 0xc1, 0x1d, 0x9e
138 .byte 0xe1, 0xf8, 0x98, 0x11, 0x69, 0xd9, 0x8e, 0x94
139 .byte 0x9b, 0x1e, 0x87, 0xe9, 0xce, 0x55, 0x28, 0xdf
140 .byte 0x8c, 0xa1, 0x89, 0x0d, 0xbf, 0xe6, 0x42, 0x68
141 .byte 0x41, 0x99, 0x2d, 0x0f, 0xb0, 0x54, 0xbb, 0x16
809 .byte 0x52, 0x09, 0x6a, 0xd5, 0x30, 0x36, 0xa5, 0x38
810 .byte 0xbf, 0x40, 0xa3, 0x9e, 0x81, 0xf3, 0xd7, 0xfb
811 .byte 0x7c, 0xe3, 0x39, 0x82, 0x9b, 0x2f, 0xff, 0x87
812 .byte 0x34, 0x8e, 0x43, 0x44, 0xc4, 0xde, 0xe9, 0xcb
813 .byte 0x54, 0x7b, 0x94, 0x32, 0xa6, 0xc2, 0x23, 0x3d
814 .byte 0xee, 0x4c, 0x95, 0x0b, 0x42, 0xfa, 0xc3, 0x4e
815 .byte 0x08, 0x2e, 0xa1, 0x66, 0x28, 0xd9, 0x24, 0xb2
816 .byte 0x76, 0x5b, 0xa2, 0x49, 0x6d, 0x8b, 0xd1, 0x25
817 .byte 0x72, 0xf8, 0xf6, 0x64, 0x86, 0x68, 0x98, 0x16
818 .byte 0xd4, 0xa4, 0x5c, 0xcc, 0x5d, 0x65, 0xb6, 0x92
819 .byte 0x6c, 0x70, 0x48, 0x50, 0xfd, 0xed, 0xb9, 0xda
820 .byte 0x5e, 0x15, 0x46, 0x57, 0xa7, 0x8d, 0x9d, 0x84
821 .byte 0x90, 0xd8, 0xab, 0x00, 0x8c, 0xbc, 0xd3, 0x0a
822 .byte 0xf7, 0xe4, 0x58, 0x05, 0xb8, 0xb3, 0x45, 0x06
823 .byte 0xd0, 0x2c, 0x1e, 0x8f, 0xca, 0x3f, 0x0f, 0x02
824 .byte 0xc1, 0xaf, 0xbd, 0x03, 0x01, 0x13, 0x8a, 0x6b
825 .byte 0x3a, 0x91, 0x11, 0x41, 0x4f, 0x67, 0xdc, 0xea
826 .byte 0x97, 0xf2, 0xcf, 0xce, 0xf0, 0xb4, 0xe6, 0x73
827 .byte 0x96, 0xac, 0x74, 0x22, 0xe7, 0xad, 0x35, 0x85
828 .byte 0xe2, 0xf9, 0x37, 0xe8, 0x1c, 0x75, 0xdf, 0x6e
829 .byte 0x47, 0xf1, 0x1a, 0x71, 0x1d, 0x29, 0xc5, 0x89
830 .byte 0x6f, 0xb7, 0x62, 0x0e, 0xaa, 0x18, 0xbe, 0x1b
831 .byte 0xfc, 0x56, 0x3e, 0x4b, 0xc6, 0xd2, 0x79, 0x20
832 .byte 0x9a, 0xdb, 0xc0, 0xfe, 0x78, 0xcd, 0x5a, 0xf4
833 .byte 0x1f, 0xdd, 0xa8, 0x33, 0x88, 0x07, 0xc7, 0x31
834 .byte 0xb1, 0x12, 0x10, 0x59, 0x27, 0x80, 0xec, 0x5f
835 .byte 0x60, 0x51, 0x7f, 0xa9, 0x19, 0xb5, 0x4a, 0x0d
836 .byte 0x2d, 0xe5, 0x7a, 0x9f, 0x93, 0xc9, 0x9c, 0xef
837 .byte 0xa0, 0xe0, 0x3b, 0x4d, 0xae, 0x2a, 0xf5, 0xb0
838 .byte 0xc8, 0xeb, 0xbb, 0x3c, 0x83, 0x53, 0x99, 0x61
839 .byte 0x17, 0x2b, 0x04, 0x7e, 0xba, 0x77, 0xd6, 0x26
840 .byte 0xe1, 0x69, 0x14, 0x63, 0x55, 0x21, 0x0c, 0x7d
/linux-4.4.14/drivers/net/wan/
H A Dx25_asy.h12 #define X25_ESC 0x7D /* indicates byte stuffing */
29 unsigned char *xhead; /* pointer to next byte to XMIT */
/linux-4.4.14/drivers/net/ethernet/amd/
H A Dhplance.h7 #define HPLANCE_ID 0x01 /* DIO register: ID byte */
26 #define HPLANCE_NVRAMOFF 0xC008 /* etheraddress as one *nibble* per byte */
/linux-4.4.14/arch/cris/include/arch-v32/arch/
H A Dbitops.h6 * number of leading zeroes of a bits-in-byte, byte-in-word and
/linux-4.4.14/include/uapi/linux/netfilter/
H A Dxt_tcpudp.h11 __u8 flg_mask; /* TCP flags mask byte */
12 __u8 flg_cmp; /* TCP flags compare byte */
/linux-4.4.14/arch/powerpc/include/asm/
H A Dvga.h21 * endian byte ordering.
22 * In other cases, we can optimize by using native byte ordering and
/linux-4.4.14/arch/mips/include/asm/
H A Dvga.h25 * endian byte ordering.
26 * In other cases, we can optimize by using native byte ordering and
/linux-4.4.14/arch/s390/include/uapi/asm/
H A Dhypfs.h46 __u32 reserved; /* Align to 8 byte */
50 struct hypfs_diag0c_hdr hdr; /* 64 byte header */
H A Dtape390.h19 * - 1 format control byte, and
20 * - two 8-byte messages
22 * Format control byte:
/linux-4.4.14/arch/h8300/boot/compressed/
H A Dhead.S39 .byte 0 ; = 0, old one (LILO, Loadlin,
42 .byte 1 ; Load flags bzImage=1
/linux-4.4.14/arch/arm/mach-sa1100/include/mach/
H A Djornada720.h31 extern int jornada_ssp_inout(u8 byte);
32 extern int jornada_ssp_byte(u8 byte);
/linux-4.4.14/arch/arm/lib/
H A Decard.S22 @ Returns: byte read
35 @ Returns: byte read
/linux-4.4.14/tools/perf/arch/x86/util/
H A Dheader.c13 __asm__ __volatile__ (".byte 0x53\n\tcpuid\n\t" cpuid()
14 "movl %%ebx, %%esi\n\t.byte 0x5b" cpuid()
/linux-4.4.14/drivers/staging/unisys/visorinput/
H A Dultrainputreport.h39 If arg1 <= 0xff, it's a 1-byte
41 If arg1 > 0xff, it's a 2-byte
42 scanecode, with the 1st byte in the
43 low 8 bits, and the 2nd byte in the
/linux-4.4.14/drivers/i2c/
H A Di2c-stub.c55 module_param_array(bank_reg, byte, NULL, S_IRUGO);
59 module_param_array(bank_mask, byte, NULL, S_IRUGO);
63 module_param_array(bank_start, byte, NULL, S_IRUGO);
67 module_param_array(bank_end, byte, NULL, S_IRUGO);
161 "smbus byte - addr 0x%02x, wrote 0x%02x.\n", stub_xfer()
165 data->byte = *wordp & 0xff; stub_xfer()
167 "smbus byte - addr 0x%02x, read 0x%02x.\n", stub_xfer()
168 addr, data->byte); stub_xfer()
178 *wordp |= data->byte; stub_xfer()
180 "smbus byte data - addr 0x%02x, wrote 0x%02x at 0x%02x.\n", stub_xfer()
181 addr, data->byte, command); stub_xfer()
186 (data->byte >> chip->bank_shift) stub_xfer()
193 data->byte = *wordp & 0xff; stub_xfer()
195 "smbus byte data - addr 0x%02x, read 0x%02x at 0x%02x.\n", stub_xfer()
196 addr, data->byte, command); stub_xfer()
274 /* update for byte and word commands */ stub_xfer()
/linux-4.4.14/drivers/atm/
H A Dtonga.h12 #define END_SWAP_BYTE 0x40 /* endian swap on slave byte accesses */
/linux-4.4.14/fs/f2fs/
H A Df2fs_crypto.h43 * 1 byte: Protector format (1 = this version)
44 * 1 byte: File contents encryption mode
45 * 1 byte: File names encryption mode
46 * 1 byte: Flags
/linux-4.4.14/include/uapi/xen/
H A Dgntalloc.h67 /* Offset in the file descriptor for a byte within the page (same as
68 * used in mmap). If using UNMAP_NOTIFY_CLEAR_BYTE, this is the byte to
69 * be cleared. Otherwise, it can be any byte in the page whose
79 /* Clear (set to zero) the byte specified by index */
/linux-4.4.14/include/linux/platform_data/
H A Dmacb.h17 * @rev_eth_addr: reverse Ethernet address byte order
/linux-4.4.14/drivers/usb/serial/
H A Dwhiteheat.h100 __u8 xoff; /* XOFF byte value */
101 __u8 xon; /* XON byte value */
256 __u8 vendor_id_low; /* vendor id (low byte) */
257 __u8 vendor_id_high; /* vendor id (high byte) */
258 __u8 product_id_low; /* product id (low byte) */
259 __u8 product_id_high; /* product id (high byte) */
260 __u8 device_id_low; /* device id (low byte) */
261 __u8 device_id_high; /* device id (high byte) */
263 __u8 serial_number_0; /* serial number (low byte) */
266 __u8 serial_number_3; /* serial number (high byte) */
269 __u8 checksum_low; /* checksum (low byte) */
270 __u8 checksum_high; /* checksum (high byte */
/linux-4.4.14/drivers/tty/
H A Dehv_bytechan.c1 /* ePAPR hypervisor byte channel device driver
12 * ePAPR hypervisor byte channels.
15 * through a byte channel. The byte channel handle must be specified in a
18 * 2) A normal console driver. Output is sent to the byte channel designated
23 * byte channel used for the console is designated as the default tty.
47 /* Per-byte channel private data */
63 /* Array of byte channel objects */
69 /* Virtual IRQ for the byte channel handle for stdin, taken from device tree */
77 * Unlike a serial device, byte channels have no mechanism for disabling their
107 * find the byte channel handle to use for the console
109 * The byte channel to be used for the console is specified via a "stdout"
118 * care if it's compatible with "epapr,hv-byte-channel", because that find_console_handle()
119 * indicates that it's a byte channel node. find_console_handle()
121 if (!np || !of_device_is_compatible(np, "epapr,hv-byte-channel")) find_console_handle()
131 * The 'hv-handle' property contains the handle for this byte channel. find_console_handle()
148 * send a byte to a byte channel, wait if necessary
150 * This function sends a byte to a byte channel, and it waits and
151 * retries if the byte channel is full. It returns if the character
184 * byte channel handle for stdout.
194 /* Verify the byte channel handle */ udbg_init_ehv_bc()
203 udbg_printf("ehv-bc: early console using byte channel handle %u\n", udbg_init_ehv_bc()
295 * available, so here is where we determine the byte channel handle and IRQ for
302 pr_debug("ehv-bc: stdout is not a byte channel\n"); ehv_bc_console_init()
307 /* Print a friendly warning if the user chose the wrong byte channel ehv_bc_console_init()
317 byte channels here, either, since we only care about one. */ ehv_bc_console_init()
322 pr_info("ehv-bc: registered console driver for byte channel %u\n", ehv_bc_console_init()
332 * byte channel receive interupt handler
334 * This ISR is called whenever data is available on a byte channel.
345 * if it can handle that much. We want to ensure that every byte we ehv_bc_tty_rx_isr()
346 * read from the byte channel will be accepted by the TTY layer. ehv_bc_tty_rx_isr()
360 /* Read some data from the byte channel. This function will ehv_bc_tty_rx_isr()
376 * that we read from the byte channel. ehv_bc_tty_rx_isr()
394 * data as possible from the transmit buffer to the byte channel.
432 * byte channel transmit interupt handler
435 * characters on a byte channel.
636 * byte channel at once, so by default it's disabled. ehv_bc_tty_port_activate()
675 * we probe the console byte channel node. ehv_bc_tty_probe()
708 dev_info(&pdev->dev, "registered /dev/%s%u for byte channel %u\n", ehv_bc_tty_probe()
736 { .compatible = "epapr,hv-byte-channel" },
750 * ehv_bc_init - ePAPR hypervisor byte channel driver initialization
760 pr_info("ePAPR hypervisor byte channel driver\n"); ehv_bc_init()
762 /* Count the number of byte channels */ ehv_bc_init()
763 for_each_compatible_node(np, NULL, "epapr,hv-byte-channel") ehv_bc_init()
820 * ehv_bc_exit - ePAPR hypervisor byte channel driver termination
836 MODULE_DESCRIPTION("ePAPR hypervisor byte channel driver");
/linux-4.4.14/arch/tile/include/asm/
H A Dspinlock_types.h50 * Byte 0 for tns (only the low bit is used), byte 1 for ticket-lock "next",
51 * byte 2 for ticket-lock "current", byte 3 for reader count.
/linux-4.4.14/scripts/
H A Ddecodecode45 1) type=byte ;;
46 2) type=2byte ;;
47 4) type=4byte ;;
/linux-4.4.14/include/linux/netfilter_ipv4/
H A Dip_tables.h10 * src, dst, src_mask, dst_mask are always stored in network byte order.
11 * flags are stored in host byte order (of course).
12 * Port numbers are stored in HOST byte order.
/linux-4.4.14/include/linux/netfilter_ipv6/
H A Dip6_tables.h10 * src, dst, src_mask, dst_mask are always stored in network byte order.
11 * flags are stored in host byte order (of course).
12 * Port numbers are stored in HOST byte order.
/linux-4.4.14/arch/sh/include/cpu-sh2/cpu/
H A Dwatchdog.h55 * Writes the given value @val to the lower byte of the control/status
56 * register. The upper byte is set manually on each write.
62 * we can't presently touch the WOVF bit, since the upper byte sh_wdt_write_rstcsr()
/linux-4.4.14/arch/blackfin/lib/
H A Dstrncpy.S45 * but, we can get here when the last byte is zero, and we don't
46 * want to copy an extra byte at the end, so we need to check
64 * R1 = filler byte (this case it's zero, set above)
/linux-4.4.14/drivers/parport/
H A Dieee1284_ops.c47 unsigned char byte; parport_ieee1284_write_compat() local
122 byte = *addr++; parport_ieee1284_write_compat()
123 parport_write_data (port, byte); parport_ieee1284_write_compat()
158 unsigned char byte = 0; parport_ieee1284_read_nibble()
211 byte |= nibble << 4; parport_ieee1284_read_nibble()
212 *buf++ = byte; parport_ieee1284_read_nibble()
214 byte = nibble; parport_ieee1284_read_nibble()
251 unsigned char byte; parport_ieee1284_read_byte()
279 byte = parport_read_data (port); parport_ieee1284_read_byte()
280 *buf++ = byte; parport_ieee1284_read_byte()
306 /* Read the last byte without checking data avail. */ parport_ieee1284_read_byte()
310 "%s: No more byte data (%Zd bytes)\n", parport_ieee1284_read_byte()
430 unsigned char byte; parport_ieee1284_ecp_write_data()
432 byte = *buf; parport_ieee1284_ecp_write_data()
434 parport_write_data (port, byte); parport_ieee1284_ecp_write_data()
519 unsigned char byte; parport_ieee1284_ecp_read_data()
553 /* The last byte was a run-length count, so parport_ieee1284_ecp_read_data()
561 byte = parport_read_data (port); parport_ieee1284_ecp_read_data()
564 command or a normal data byte, don't accept it. */ parport_ieee1284_ecp_read_data()
566 if (byte & 0x80) { parport_ieee1284_ecp_read_data()
569 port->name, byte); parport_ieee1284_ecp_read_data()
577 rle_count = byte + 1; parport_ieee1284_ecp_read_data()
603 port->name, byte); parport_ieee1284_ecp_read_data()
616 /* If this is the byte after a run-length count, decompress. */ parport_ieee1284_ecp_read_data()
619 memset (buf, byte, rle_count); parport_ieee1284_ecp_read_data()
625 /* Normal data byte. */ parport_ieee1284_ecp_read_data()
626 *buf = byte; parport_ieee1284_ecp_read_data()
666 unsigned char byte; parport_ieee1284_ecp_write_addr()
668 byte = *buf; parport_ieee1284_ecp_write_addr()
670 parport_write_data (port, byte); parport_ieee1284_ecp_write_addr()
/linux-4.4.14/net/sunrpc/auth_gss/
H A Dgss_krb5_keys.c77 int byte, i, msbit; krb5_nfold() local
91 byte = 0; krb5_nfold()
96 /* compute the msbit in k which gets added into this byte */ krb5_nfold()
99 * unrotated byte */ krb5_nfold()
101 /* then, for each byte, shift to the right krb5_nfold()
104 /* last, pick out the correct byte within krb5_nfold()
109 /* pull out the byte value itself */ krb5_nfold()
110 byte += (((in[((inbits - 1) - (msbit >> 3)) % inbits] << 8)| krb5_nfold()
115 byte += out[i % outbits]; krb5_nfold()
116 out[i % outbits] = byte & 0xff; krb5_nfold()
119 byte >>= 8; krb5_nfold()
124 if (byte) { krb5_nfold()
127 byte += out[i]; krb5_nfold()
128 out[i] = byte & 0xff; krb5_nfold()
131 byte >>= 8; krb5_nfold()
/linux-4.4.14/drivers/isdn/hysdn/
H A Dince1pc.h61 * RotlCRC := special 1 byte CRC over all NonEndTokenChunk bytes
68 * ucSum += Char; add current byte with swap around
72 * - for 16-bit FIFO add padding 0 byte to achieve even token data bytes!
78 #define ERRLOG_CMD_REQ_SIZE 10 /* with final 0 byte ! */
80 #define ERRLOG_CMD_STOP_SIZE 11 /* with final 0 byte ! */
/linux-4.4.14/include/linux/mfd/
H A Dipaq-micro.h36 STATE_SOF = 0, /* Next byte should be start of frame */
37 STATE_ID, /* Next byte is ID & message length */
38 STATE_DATA, /* Next byte is a data byte */
39 STATE_CHKSUM /* Next byte should be checksum */
/linux-4.4.14/drivers/sbus/char/
H A Ductrl.c267 u32 byte; uctrl_do_txn() local
277 byte = (txn->opcode << 8); uctrl_do_txn()
278 WRITEUCTLDATA(byte); uctrl_do_txn()
282 byte = (txn->inbuf[bytecnt] << 8); uctrl_do_txn()
283 WRITEUCTLDATA(byte); uctrl_do_txn()
289 READUCTLDATA(byte); uctrl_do_txn()
290 dprintk(("ack was %x\n", (byte >> 8))); uctrl_do_txn()
294 READUCTLDATA(byte); uctrl_do_txn()
295 txn->outbuf[bytecnt] = (byte >> 8); uctrl_do_txn()
296 dprintk(("set byte to %02x\n", byte)); uctrl_do_txn()

Completed in 5708 milliseconds

1234567891011>>