Lines Matching refs:code
52 specific to the cmd or status code. This may include a length
165 #define IOSP_EXT_CMD 0x09 // P1 = Command code (defined below)
354 // 0C-0D 4-byte status. P1 = extended status code and P2,P3 = params
402 #define IOSP_EXT_STATUS 0x09 // P1 is status/response code, param in P2.
433 #define IOSP_EXT4_STATUS 0x0C // Extended status code in P1,
446 #define IOSP_GET_STATUS_LEN(code) ((code) < 8 ? 2 : ((code) < 0x0A ? 3 : 4))
448 #define IOSP_STATUS_IS_2BYTE(code) ((code) < 0x08)
449 #define IOSP_STATUS_IS_3BYTE(code) (((code) >= 0x08) && ((code) <= 0x0B))
450 #define IOSP_STATUS_IS_4BYTE(code) (((code) >= 0x0C) && ((code) <= 0x0D))