Lines Matching +full:0 +full:x0542
50 static int nfsmb_debug = 0;
54 #define NFSMB_VENDORID_NVIDIA 0x10de
55 #define NFSMB_DEVICEID_NF2_SMB 0x0064
56 #define NFSMB_DEVICEID_NF2_ULTRA_SMB 0x0084
57 #define NFSMB_DEVICEID_NF3_PRO150_SMB 0x00d4
58 #define NFSMB_DEVICEID_NF3_250GB_SMB 0x00e4
59 #define NFSMB_DEVICEID_NF4_SMB 0x0052
60 #define NFSMB_DEVICEID_NF4_04_SMB 0x0034
61 #define NFSMB_DEVICEID_NF4_51_SMB 0x0264
62 #define NFSMB_DEVICEID_NF4_55_SMB 0x0368
63 #define NFSMB_DEVICEID_NF4_61_SMB 0x03eb
64 #define NFSMB_DEVICEID_NF4_65_SMB 0x0446
65 #define NFSMB_DEVICEID_NF4_67_SMB 0x0542
66 #define NFSMB_DEVICEID_NF4_73_SMB 0x07d8
67 #define NFSMB_DEVICEID_NF4_78S_SMB 0x0752
68 #define NFSMB_DEVICEID_NF4_79_SMB 0x0aa2
77 #define SMB_PRTCL 0x00 /* protocol */
78 #define SMB_STS 0x01 /* status */
79 #define SMB_ADDR 0x02 /* address */
80 #define SMB_CMD 0x03 /* command */
81 #define SMB_DATA 0x04 /* 32 data registers */
82 #define SMB_BCNT 0x24 /* number of data bytes */
83 #define SMB_ALRM_A 0x25 /* alarm address */
84 #define SMB_ALRM_D 0x26 /* 2 bytes alarm data */
86 #define SMB_STS_DONE 0x80
87 #define SMB_STS_ALRM 0x40
88 #define SMB_STS_RES 0x20
89 #define SMB_STS_STATUS 0x1f
90 #define SMB_STS_OK 0x00 /* OK */
91 #define SMB_STS_UF 0x07 /* Unknown Failure */
92 #define SMB_STS_DANA 0x10 /* Device Address Not Acknowledged */
93 #define SMB_STS_DED 0x11 /* Device Error Detected */
94 #define SMB_STS_DCAD 0x12 /* Device Command Access Denied */
95 #define SMB_STS_UE 0x13 /* Unknown Error */
96 #define SMB_STS_DAD 0x17 /* Device Access Denied */
97 #define SMB_STS_T 0x18 /* Timeout */
98 #define SMB_STS_HUP 0x19 /* Host Unsupported Protocol */
99 #define SMB_STS_B 0x1A /* Busy */
100 #define SMB_STS_PEC 0x1F /* PEC (CRC-8) Error */
102 #define SMB_PRTCL_WRITE 0x00
103 #define SMB_PRTCL_READ 0x01
104 #define SMB_PRTCL_QUICK 0x02
105 #define SMB_PRTCL_BYTE 0x04
106 #define SMB_PRTCL_BYTE_DATA 0x06
107 #define SMB_PRTCL_WORD_DATA 0x08
108 #define SMB_PRTCL_BLOCK_DATA 0x0a
109 #define SMB_PRTCL_PROC_CALL 0x0c
110 #define SMB_PRTCL_BLOCK_PROC_CALL 0x0d
111 #define SMB_PRTCL_PEC 0x80
188 nfsmbsub_sc->rid = 0x54;
207 return (0);
223 nfsmb_sc->rid = 0x50;
270 return (0);
283 if (error != 0)
291 return (0);
301 if (error != 0)
311 return (0);
317 int error = 0;
337 if (NFSMB_SMBINB(sc, SMB_PRTCL) != 0)
342 } while (NFSMB_SMBINB(sc, SMB_PRTCL) != 0 && count--);
343 if (count == 0)
348 NFSMB_DEBUG(printf("nfsmb: STS=0x%x\n", sts));
388 NFSMB_DEBUG(printf("nfsmb: QWRITE to 0x%x", slave));
392 NFSMB_DEBUG(printf("nfsmb: QREAD to 0x%x", slave));
404 NFSMB_DEBUG(printf(", error=0x%x\n", error));
423 NFSMB_DEBUG(printf("nfsmb: SENDB to 0x%x, byte=0x%x, error=0x%x\n", slave, byte, error));
442 NFSMB_DEBUG(printf("nfsmb: RECVB from 0x%x, byte=0x%x, error=0x%x\n", slave, *byte, error));
462 NFSMB_DEBUG(printf("nfsmb: WRITEB to 0x%x, cmd=0x%x, byte=0x%x, error=0x%x\n", slave, cmd, byte, error));
482 NFSMB_DEBUG(printf("nfsmb: READB from 0x%x, cmd=0x%x, byte=0x%x, error=0x%x\n", slave, cmd, (unsigned char)*byte, error));
503 NFSMB_DEBUG(printf("nfsmb: WRITEW to 0x%x, cmd=0x%x, word=0x%x, error=0x%x\n", slave, cmd, word, error));
524 NFSMB_DEBUG(printf("nfsmb: READW from 0x%x, cmd=0x%x, word=0x%x, error=0x%x\n", slave, cmd, (unsigned short)*word, error));
543 for (i = 0; i < count; i++)
550 NFSMB_DEBUG(printf("nfsmb: WRITEBLK to 0x%x, count=0x%x, cmd=0x%x, error=0x%x", slave, count, cmd, error));
573 for (i = 0; i < len; i++) {
581 NFSMB_DEBUG(printf("nfsmb: READBLK to 0x%x, count=0x%x, cmd=0x%x, error=0x%x", slave, *count, cmd, error));
604 { 0, 0 }
624 { 0, 0 }
639 DRIVER_MODULE(nfsmb, pci, nfsmb_driver, 0, 0);
640 DRIVER_MODULE(nfsmb, nfsmb, nfsmbsub_driver, 0, 0);
641 DRIVER_MODULE(smbus, nfsmb, smbus_driver, 0, 0);