Symbol: iicprobe
sys/dev/i2c/i2c_scan.c
1001
(iicprobe(0xac) & 0x10) == 0x00) {
sys/dev/i2c/i2c_scan.c
1002
if ((iicprobe(0xac) & 0x7e) == 0x0a &&
sys/dev/i2c/i2c_scan.c
1003
iicprobe(0xab) == 0x00 && iicprobe(0xa8) == 0x00)
sys/dev/i2c/i2c_scan.c
1005
else if ((iicprobe(0xac) & 0x7e) == 0x0c)
sys/dev/i2c/i2c_scan.c
1007
else if ((iicprobe(0xac) & 0x2e) == 0x2e)
sys/dev/i2c/i2c_scan.c
1011
if (name == NULL && (addr & 0xf8) == 0x28 && iicprobe(0x48) == addr &&
sys/dev/i2c/i2c_scan.c
1012
(iicprobe(0x00) & 0x90) == 0x10 && iicprobe(0x58) == 0x90) {
sys/dev/i2c/i2c_scan.c
1013
if (iicprobe(0x5b) == 0x12)
sys/dev/i2c/i2c_scan.c
1015
else if (iicprobe(0x5b) == 0x00)
sys/dev/i2c/i2c_scan.c
1019
if (name == NULL && iicprobe(0x48) == addr &&
sys/dev/i2c/i2c_scan.c
1020
(iicprobe(0x40) & 0x80) == 0x00 && iicprobe(0x58) == 0xac)
sys/dev/i2c/i2c_scan.c
1038
type = iicprobe(0x02);
sys/dev/i2c/i2c_scan.c
361
val = iicprobe(0x00);
sys/dev/i2c/i2c_scan.c
363
if (iicprobe(reg) == 0xff)
sys/dev/i2c/i2c_scan.c
365
if (iicprobe(reg) == 0x00)
sys/dev/i2c/i2c_scan.c
367
if (val == iicprobe(reg))
sys/dev/i2c/i2c_scan.c
372
val = iicprobe(0x09);
sys/dev/i2c/i2c_scan.c
374
if (iicprobe(reg) != val)
sys/dev/i2c/i2c_scan.c
378
if (iicprobe(0xfe) == 0x4d)
sys/dev/i2c/i2c_scan.c
418
val = iicprobe(0);
sys/dev/i2c/i2c_scan.c
421
val2 = iicprobe(i);
sys/dev/i2c/i2c_scan.c
438
if (iicprobe(i) != val)
sys/dev/i2c/i2c_scan.c
439
printf(" %02x=%02x", i, iicprobe(i));
sys/dev/i2c/i2c_scan.c
461
switch (iicprobe(0x3e)) {
sys/dev/i2c/i2c_scan.c
472
(iicprobe(0x3f) == 0x73 || iicprobe(0x3f) == 0x72) &&
sys/dev/i2c/i2c_scan.c
473
iicprobe(0x00) == 0x00)
sys/dev/i2c/i2c_scan.c
476
iicprobe(0x3f) == 0x68)
sys/dev/i2c/i2c_scan.c
479
(iicprobe(0x3f) == 0x60 || iicprobe(0x3f) == 0x62))
sys/dev/i2c/i2c_scan.c
482
iicprobe(0x48) == addr &&
sys/dev/i2c/i2c_scan.c
483
(iicprobe(0x3f) == 0x03 || iicprobe(0x3f) == 0x04) &&
sys/dev/i2c/i2c_scan.c
484
(iicprobe(0x40) & 0x80) == 0x00)
sys/dev/i2c/i2c_scan.c
488
if ((iicprobe(0x3f) & 0xfc) == 0x04)
sys/dev/i2c/i2c_scan.c
492
if (iicprobe(0x48) == addr &&
sys/dev/i2c/i2c_scan.c
493
(iicprobe(0x40) & 0x80) == 0x00 &&
sys/dev/i2c/i2c_scan.c
504
iicprobe(0x3d) == 0x70)
sys/dev/i2c/i2c_scan.c
507
iicprobe(0x3d) == 0x76)
sys/dev/i2c/i2c_scan.c
509
else if (addr == 0x2e && iicprobe(0x3d) == 0x75)
sys/dev/i2c/i2c_scan.c
511
else if (iicprobe(0x3d) == 0x27 &&
sys/dev/i2c/i2c_scan.c
512
(iicprobe(0x3f) == 0x60 || iicprobe(0x3f) == 0x6a))
sys/dev/i2c/i2c_scan.c
514
else if (iicprobe(0x3d) == 0x27 &&
sys/dev/i2c/i2c_scan.c
515
(iicprobe(0x3f) == 0x62 || iicprobe(0x3f) == 0x6a))
sys/dev/i2c/i2c_scan.c
518
iicprobe(0x3d) == 0x62 && iicprobe(0x3f) == 0x04)
sys/dev/i2c/i2c_scan.c
521
iicprobe(0x3d) == 0x66 && iicprobe(0x3f) == 0x02)
sys/dev/i2c/i2c_scan.c
524
iicprobe(0x3d) == 0x68 && (iicprobe(0x3f) & 0xf0) == 0x70)
sys/dev/i2c/i2c_scan.c
526
else if (iicprobe(0x3d) == 0x33 && iicprobe(0x3f) == 0x02)
sys/dev/i2c/i2c_scan.c
528
else if (iicprobe(0x3d) == 0x34 && iicprobe(0x3f) == 0x02)
sys/dev/i2c/i2c_scan.c
531
iicprobe(0x3d) == 0x30 &&
sys/dev/i2c/i2c_scan.c
532
(iicprobe(0x01) & 0x80) == 0x00 &&
sys/dev/i2c/i2c_scan.c
533
(iicprobe(0x0d) & 0x70) == 0x00 &&
sys/dev/i2c/i2c_scan.c
534
(iicprobe(0x0e) & 0x70) == 0x00)
sys/dev/i2c/i2c_scan.c
543
iicprobe(0x3d) == 0x31 &&
sys/dev/i2c/i2c_scan.c
544
(iicprobe(0x01) & 0x80) == 0x00 &&
sys/dev/i2c/i2c_scan.c
545
(iicprobe(0x0d) & 0x70) == 0x00 &&
sys/dev/i2c/i2c_scan.c
546
(iicprobe(0x0e) & 0x70) == 0x00 &&
sys/dev/i2c/i2c_scan.c
547
(iicprobe(0x0f) & 0x70) == 0x00)
sys/dev/i2c/i2c_scan.c
550
(iicprobe(0x3f) & 0xf0) == 0x20 &&
sys/dev/i2c/i2c_scan.c
551
(iicprobe(0x40) & 0x80) == 0x00 &&
sys/dev/i2c/i2c_scan.c
552
(iicprobe(0x41) & 0xc0) == 0x00 &&
sys/dev/i2c/i2c_scan.c
553
(iicprobe(0x42) & 0xbc) == 0x00)
sys/dev/i2c/i2c_scan.c
556
(iicprobe(0x3f) & 0xf0) == 0x10 &&
sys/dev/i2c/i2c_scan.c
557
(iicprobe(0x40) & 0x80) == 0x00)
sys/dev/i2c/i2c_scan.c
559
else if ((iicprobe(0xff) & 0xf0) == 0x30)
sys/dev/i2c/i2c_scan.c
562
(iicprobe(0x3f) & 0xf0) == 0xd0 &&
sys/dev/i2c/i2c_scan.c
563
(iicprobe(0x40) & 0x80) == 0x00)
sys/dev/i2c/i2c_scan.c
566
(iicprobe(0x3f) & 0xf0) == 0xc0 &&
sys/dev/i2c/i2c_scan.c
567
(iicprobe(0x40) & 0x80) == 0x00)
sys/dev/i2c/i2c_scan.c
572
(iicprobe(0x3f) & 0xf0) == 0xc0 &&
sys/dev/i2c/i2c_scan.c
573
(iicprobe(0x40) & 0x80) == 0x00)
sys/dev/i2c/i2c_scan.c
578
iicprobe(0x3f) == 0x20 &&
sys/dev/i2c/i2c_scan.c
579
(iicprobe(0x47) & 0x70) == 0x00 &&
sys/dev/i2c/i2c_scan.c
580
(iicprobe(0x49) & 0xfe) == 0x80)
sys/dev/i2c/i2c_scan.c
585
(iicprobe(0x3f) == 0x69))
sys/dev/i2c/i2c_scan.c
588
(iicprobe(0x3f) & 0xf0) == 0x60)
sys/dev/i2c/i2c_scan.c
591
(iicprobe(0x3f) & 0xf0) == 0x80)
sys/dev/i2c/i2c_scan.c
594
(iicprobe(0x3f) & 0xf0) == 0xb0)
sys/dev/i2c/i2c_scan.c
599
iicprobe(0x3f) == 0x69 &&
sys/dev/i2c/i2c_scan.c
600
iicprobe(0x22) >= 0xaf && /* Vdd */
sys/dev/i2c/i2c_scan.c
601
(iicprobe(0x09) & 0xbf) == 0x00 && iicprobe(0x0f) == 0x00 &&
sys/dev/i2c/i2c_scan.c
602
(iicprobe(0x40) & 0xf0) == 0x00)
sys/dev/i2c/i2c_scan.c
605
iicprobe(0x3f) == 0x6c &&
sys/dev/i2c/i2c_scan.c
606
iicprobe(0x22) >= 0xae) /* Vdd */
sys/dev/i2c/i2c_scan.c
610
if ((iicprobe(0x3f) & 0xf0) == 0x20 &&
sys/dev/i2c/i2c_scan.c
611
(iicprobe(0x40) & 0x80) == 0x00 &&
sys/dev/i2c/i2c_scan.c
612
(iicprobe(0x41) & 0xc0) == 0x00 &&
sys/dev/i2c/i2c_scan.c
613
(iicprobe(0x42) & 0xbc) == 0x00)
sys/dev/i2c/i2c_scan.c
617
if (iicprobe(0x3f) == 0x01 && iicprobe(0x48) == addr &&
sys/dev/i2c/i2c_scan.c
618
(iicprobe(0x40) & 0x80) == 0x00)
sys/dev/i2c/i2c_scan.c
623
switch (iicprobe(0x4e)) {
sys/dev/i2c/i2c_scan.c
626
(iicprobe(0x4d) == 0x03 || iicprobe(0x4d) == 0x08 ||
sys/dev/i2c/i2c_scan.c
627
iicprobe(0x4d) == 0x07))
sys/dev/i2c/i2c_scan.c
632
switch (iicprobe(0xfe)) {
sys/dev/i2c/i2c_scan.c
635
iicprobe(0xff) == 0x41 && (iicprobe(0x03) & 0x18) == 0 &&
sys/dev/i2c/i2c_scan.c
636
iicprobe(0x04) <= 0x0f && (iicprobe(0xbf) & 0xf8) == 0)
sys/dev/i2c/i2c_scan.c
639
iicprobe(0xff) == 0x11 && (iicprobe(0x03) & 0x2a) == 0 &&
sys/dev/i2c/i2c_scan.c
640
iicprobe(0x04) <= 0x09 && (iicprobe(0xbf) & 0xf8) == 0)
sys/dev/i2c/i2c_scan.c
643
iicprobe(0xff) == 0x31 && (iicprobe(0x03) & 0x2a) == 0 &&
sys/dev/i2c/i2c_scan.c
644
iicprobe(0x04) <= 0x09 && (iicprobe(0xbf) & 0xf8) == 0)
sys/dev/i2c/i2c_scan.c
647
iicprobe(0xff) == 0x34 && (iicprobe(0x03) & 0x2a) == 0 &&
sys/dev/i2c/i2c_scan.c
648
iicprobe(0x04) <= 0x09 && (iicprobe(0xbf) & 0xf8) == 0)
sys/dev/i2c/i2c_scan.c
651
iicprobe(0xff) == 0x21 && (iicprobe(0x03) & 0x2a) == 0 &&
sys/dev/i2c/i2c_scan.c
652
iicprobe(0x04) <= 0x09 && (iicprobe(0xbf) & 0xf8) == 0)
sys/dev/i2c/i2c_scan.c
657
(iicprobe(0x03) & 0x3f) == 0x00 && iicprobe(0x04) <= 0x08)
sys/dev/i2c/i2c_scan.c
668
iicprobe(0xff) == 0x51 &&
sys/dev/i2c/i2c_scan.c
669
(iicprobe(0x03) & 0x1f) == 0x04 &&
sys/dev/i2c/i2c_scan.c
670
iicprobe(0x04) <= 0x0a) {
sys/dev/i2c/i2c_scan.c
676
(iicprobe(0xff) & 0xf0) == 0x00 &&
sys/dev/i2c/i2c_scan.c
677
(iicprobe(0x03) & 0x3f) == 0x00 &&
sys/dev/i2c/i2c_scan.c
678
iicprobe(0x04) <= 0x07) {
sys/dev/i2c/i2c_scan.c
684
(iicprobe(0xff) & 0xf0) == 0x30 &&
sys/dev/i2c/i2c_scan.c
685
(iicprobe(0x03) & 0x3f) == 0x00 &&
sys/dev/i2c/i2c_scan.c
686
iicprobe(0x04) <= 0x07) {
sys/dev/i2c/i2c_scan.c
690
(iicprobe(0x03) & 0x3f) == 0x00 &&
sys/dev/i2c/i2c_scan.c
691
iicprobe(0x04) <= 0x0a) {
sys/dev/i2c/i2c_scan.c
697
if (addr == 0x4c && iicprobe(0xff) == 0x01 &&
sys/dev/i2c/i2c_scan.c
698
(iicprobe(0x03) & 0x3f) == 0x00 && iicprobe(0x04) <= 0x08)
sys/dev/i2c/i2c_scan.c
700
if (addr == 0x4d && iicprobe(0xff) == 0x03 &&
sys/dev/i2c/i2c_scan.c
701
(iicprobe(0x03) & 0x3f) == 0x00 && iicprobe(0x04) <= 0x08)
sys/dev/i2c/i2c_scan.c
708
iicprobe(0xff) == 0x08 && (iicprobe(0x02) & 0x03) == 0 &&
sys/dev/i2c/i2c_scan.c
709
(iicprobe(0x03) & 0x07) == 0 && iicprobe(0x04) <= 0x08)
sys/dev/i2c/i2c_scan.c
712
iicprobe(0xff) == 0x59 && (iicprobe(0x03) & 0x1f) == 0 &&
sys/dev/i2c/i2c_scan.c
713
iicprobe(0x04) <= 0x07)
sys/dev/i2c/i2c_scan.c
716
(iicprobe(0x02) & 0x2b) == 0 &&
sys/dev/i2c/i2c_scan.c
717
(iicprobe(0x03) & 0x0f) == 0 && iicprobe(0x04) <= 0x09) {
sys/dev/i2c/i2c_scan.c
721
(iicprobe(0x02) & 0x2b) == 0 &&
sys/dev/i2c/i2c_scan.c
722
(iicprobe(0x03) & 0x0f) == 0)
sys/dev/i2c/i2c_scan.c
726
if (addr == 0x4c && iicprobe(0xff) == 0x11 &&
sys/dev/i2c/i2c_scan.c
727
(iicprobe(0x03) & 0x1b) == 0x00 &&
sys/dev/i2c/i2c_scan.c
728
(iicprobe(0x04) & 0xf0) == 0x00 &&
sys/dev/i2c/i2c_scan.c
729
(iicprobe(0x10) & 0x0f) == 0x00 &&
sys/dev/i2c/i2c_scan.c
730
(iicprobe(0x13) & 0x0f) == 0x00 &&
sys/dev/i2c/i2c_scan.c
731
(iicprobe(0x14) & 0x0f) == 0x00 &&
sys/dev/i2c/i2c_scan.c
732
(iicprobe(0x15) & 0x0f) == 0x00 &&
sys/dev/i2c/i2c_scan.c
733
(iicprobe(0x16) & 0x0f) == 0x00 &&
sys/dev/i2c/i2c_scan.c
734
(iicprobe(0x17) & 0x0f) == 0x00)
sys/dev/i2c/i2c_scan.c
739
iicprobe(0xff) == 0x00 &&
sys/dev/i2c/i2c_scan.c
740
(iicprobe(0x03) & 0xf8) == 0x00 &&
sys/dev/i2c/i2c_scan.c
741
iicprobe(0x04) <= 0x09) {
sys/dev/i2c/i2c_scan.c
748
if (addr == iicprobe(0x48) &&
sys/dev/i2c/i2c_scan.c
749
((iicprobe(0x4f) == 0x5c && (iicprobe(0x4e) & 0x80)) ||
sys/dev/i2c/i2c_scan.c
750
(iicprobe(0x4f) == 0xa3 && !(iicprobe(0x4e) & 0x80)))) {
sys/dev/i2c/i2c_scan.c
756
if ((iicprobe(0x4e) & 0x07) == 0) {
sys/dev/i2c/i2c_scan.c
757
switch (iicprobe(0x58)) {
sys/dev/i2c/i2c_scan.c
795
} else if (addr == (iicprobe(0xfc) & 0x7f) &&
sys/dev/i2c/i2c_scan.c
796
iicprobe(0xfe) == 0x79 && iicprobe(0xfb) == 0x51 &&
sys/dev/i2c/i2c_scan.c
797
((iicprobe(0xfd) == 0x5c && (iicprobe(0x00) & 0x80)) ||
sys/dev/i2c/i2c_scan.c
798
(iicprobe(0xfd) == 0xa3 && !(iicprobe(0x00) & 0x80)))) {
sys/dev/i2c/i2c_scan.c
805
} else if (addr == iicprobe(0x4a) && iicprobe(0x4e) == 0x50 &&
sys/dev/i2c/i2c_scan.c
806
iicprobe(0x4c) == 0xa3 && iicprobe(0x4d) == 0x5c) {
sys/dev/i2c/i2c_scan.c
808
} else if (addr == 0x2d && iicprobe(0x4e) == 0x60 &&
sys/dev/i2c/i2c_scan.c
809
iicprobe(0x4c) == 0xa3 && iicprobe(0x4d) == 0x5c) {
sys/dev/i2c/i2c_scan.c
811
} else if (addr == 0x2e && iicprobe(0x4e) == 0x70 &&
sys/dev/i2c/i2c_scan.c
812
iicprobe(0x4c) == 0xa3 && iicprobe(0x4d) == 0x5c) {
sys/dev/i2c/i2c_scan.c
815
((iicprobe(0x00) & 0x07) != 0x0 ||
sys/dev/i2c/i2c_scan.c
816
((iicprobe(0x00) & 0x07) == 0x0 && addr * 2 == iicprobe(0x0b) &&
sys/dev/i2c/i2c_scan.c
817
(iicprobe(0x0c) & 0x40) && !(iicprobe(0x0c) & 0x04))) &&
sys/dev/i2c/i2c_scan.c
818
iicprobe(0x0e) == 0x7b &&
sys/dev/i2c/i2c_scan.c
819
(iicprobe(0x0f) & 0xf0) == 0x10 &&
sys/dev/i2c/i2c_scan.c
820
((iicprobe(0x0d) == 0x5c && (iicprobe(0x00) & 0x80)) ||
sys/dev/i2c/i2c_scan.c
821
(iicprobe(0x0d) == 0xa3 && !(iicprobe(0x00) & 0x80)))) {
sys/dev/i2c/i2c_scan.c
824
iicprobe(0x4f) == 0x12 && (iicprobe(0x4e) & 0x80)) {
sys/dev/i2c/i2c_scan.c
830
if (iicprobe(0x58) == 0x31)
sys/dev/i2c/i2c_scan.c
833
addr * 2 == iicprobe(0x04) &&
sys/dev/i2c/i2c_scan.c
834
iicprobe(0x5d) == 0x19 && iicprobe(0x5e) == 0x34 &&
sys/dev/i2c/i2c_scan.c
835
iicprobe(0x5a) == 0x03 && iicprobe(0x5b) == 0x06) {
sys/dev/i2c/i2c_scan.c
838
((iicprobe(0x4f) == 0x06 && (iicprobe(0x4e) & 0x80)) ||
sys/dev/i2c/i2c_scan.c
839
(iicprobe(0x4f) == 0x94 && !(iicprobe(0x4e) & 0x80)))) {
sys/dev/i2c/i2c_scan.c
851
if ((iicprobe(0x58) & 0x7f) == 0x31 &&
sys/dev/i2c/i2c_scan.c
852
(iicprobe(0x4e) & 0xf) == 0x00)
sys/dev/i2c/i2c_scan.c
855
iicprobe(0x00) == 0x80 &&
sys/dev/i2c/i2c_scan.c
856
(iicprobe(0x01) == 0x00 || iicprobe(0x01) == 0x80) &&
sys/dev/i2c/i2c_scan.c
857
iicprobe(0x02) == 0x00 && (iicprobe(0x03) & 0x83) == 0x00 &&
sys/dev/i2c/i2c_scan.c
858
(iicprobe(0x0f) & 0x07) == 0x00 &&
sys/dev/i2c/i2c_scan.c
859
(iicprobe(0x11) & 0x80) == 0x00 &&
sys/dev/i2c/i2c_scan.c
860
(iicprobe(0x12) & 0x80) == 0x00) {
sys/dev/i2c/i2c_scan.c
875
iicprobe(0x16) == 0x41 && ((iicprobe(0x17) & 0xf0) == 0x40)) {
sys/dev/i2c/i2c_scan.c
980
} else if ((addr & 0x7e) == 0x1c && iicprobe(0x0f) == 0x3b &&
sys/dev/i2c/i2c_scan.c
981
(iicprobe(0x21) & 0x60) == 0x00 &&
sys/dev/i2c/i2c_scan.c
982
iicprobe(0x0f) == iicprobe(0x8f) && /* registers address is 7 bits */
sys/dev/i2c/i2c_scan.c
983
iicprobe(0x20) == iicprobe(0xa0) &&
sys/dev/i2c/i2c_scan.c
984
iicprobe(0x21) == iicprobe(0xa1) &&
sys/dev/i2c/i2c_scan.c
985
iicprobe(0x22) == iicprobe(0xa2) &&
sys/dev/i2c/i2c_scan.c
986
iicprobe(0x07) == 0x00) { /* 0x00 to 0x0e are reserved */
sys/dev/i2c/i2c_scan.c
99
u_int8_t iicprobe(u_int8_t);