Lines Matching +full:0 +full:v

16 #define MANAGEMENT_AGENT_STATE_IDLE	0
19 #define ORB_NOTIFY(v) (((v) >> 31) & 0x01) argument
20 #define ORB_REQUEST_FORMAT(v) (((v) >> 29) & 0x03) argument
22 #define MANAGEMENT_ORB_FUNCTION(v) (((v) >> 16) & 0x0f) argument
24 #define MANAGEMENT_ORB_FUNCTION_LOGIN 0x0
25 #define MANAGEMENT_ORB_FUNCTION_QUERY_LOGINS 0x1
26 #define MANAGEMENT_ORB_FUNCTION_RECONNECT 0x3
27 #define MANAGEMENT_ORB_FUNCTION_SET_PASSWORD 0x4
28 #define MANAGEMENT_ORB_FUNCTION_LOGOUT 0x7
29 #define MANAGEMENT_ORB_FUNCTION_ABORT_TASK 0xb
30 #define MANAGEMENT_ORB_FUNCTION_ABORT_TASK_SET 0xc
31 #define MANAGEMENT_ORB_FUNCTION_LOGICAL_UNIT_RESET 0xe
32 #define MANAGEMENT_ORB_FUNCTION_TARGET_RESET 0xf
34 #define LOGIN_ORB_EXCLUSIVE(v) (((v) >> 28) & 0x01) argument
35 #define LOGIN_ORB_RESERVED(v) (((v) >> 24) & 0x0f) argument
36 #define LOGIN_ORB_RECONNECT(v) (((v) >> 20) & 0x0f) argument
37 #define LOGIN_ORB_LUN(v) (((v) >> 0) & 0xffff) argument
38 #define LOGIN_ORB_PASSWORD_LENGTH(v) (((v) >> 16) & 0xffff) argument
39 #define LOGIN_ORB_RESPONSE_LENGTH(v) (((v) >> 0) & 0xffff) argument
41 #define RECONNECT_ORB_LOGIN_ID(v) (((v) >> 0) & 0xffff) argument
42 #define LOGOUT_ORB_LOGIN_ID(v) (((v) >> 0) & 0xffff) argument
44 #define CMDBLK_ORB_DIRECTION(v) (((v) >> 27) & 0x01) argument
45 #define CMDBLK_ORB_SPEED(v) (((v) >> 24) & 0x07) argument
46 #define CMDBLK_ORB_MAX_PAYLOAD(v) (((v) >> 20) & 0x0f) argument
47 #define CMDBLK_ORB_PG_TBL_PRESENT(v) (((v) >> 19) & 0x01) argument
48 #define CMDBLK_ORB_PG_SIZE(v) (((v) >> 16) & 0x07) argument
49 #define CMDBLK_ORB_DATA_SIZE(v) (((v) >> 0) & 0xffff) argument
51 #define STATUS_BLOCK_SRC(v) (((v) & 0x03) << 30) argument
52 #define STATUS_BLOCK_RESP(v) (((v) & 0x03) << 28) argument
53 #define STATUS_BLOCK_DEAD(v) (((v) ? 1 : 0) << 27) argument
54 #define STATUS_BLOCK_LEN(v) (((v) & 0x07) << 24) argument
55 #define STATUS_BLOCK_SBP_STATUS(v) (((v) & 0xff) << 16) argument
56 #define STATUS_BLOCK_ORB_OFFSET_HIGH(v) (((v) & 0xffff) << 0) argument
58 #define STATUS_SRC_ORB_CONTINUING 0
62 #define STATUS_RESP_REQUEST_COMPLETE 0
67 #define SBP_STATUS_OK 0
80 #define SBP_STATUS_UNSPECIFIED_ERROR 0xff
82 #define AGENT_STATE_RESET 0
190 return (u64)(be32_to_cpu(ptr->high) & 0x0000ffff) << 32 | in sbp2_pointer_to_addr()
191 (be32_to_cpu(ptr->low) & 0xfffffffc); in sbp2_pointer_to_addr()