Go to the documentation of this file.
19 #define CFHSI_MAX_PKTS 15
25 #define CFHSI_MAX_EMB_FRM_SZ 96
31 #define CFHSI_DBG_PREFILL 0
44 #define CFHSI_DESC_SZ (sizeof(struct cfhsi_desc))
50 #define CFHSI_DESC_SHORT_SZ (CFHSI_DESC_SZ - CFHSI_MAX_EMB_FRM_SZ)
55 #define CFHSI_MAX_CAIF_FRAME_SZ 4096
57 #define CFHSI_MAX_PAYLOAD_SZ (CFHSI_MAX_PKTS * CFHSI_MAX_CAIF_FRAME_SZ)
60 #define CFHSI_BUF_SZ_TX (CFHSI_DESC_SZ + CFHSI_MAX_PAYLOAD_SZ)
63 #define CFHSI_BUF_SZ_RX ((2 * CFHSI_DESC_SZ) + CFHSI_MAX_PAYLOAD_SZ)
66 #define CFHSI_PIGGY_DESC (0x01 << 7)
68 #define CFHSI_TX_STATE_IDLE 0
69 #define CFHSI_TX_STATE_XFER 1
71 #define CFHSI_RX_STATE_DESC 0
72 #define CFHSI_RX_STATE_PAYLOAD 1
75 #define CFHSI_WAKE_UP 0
76 #define CFHSI_WAKE_UP_ACK 1
77 #define CFHSI_WAKE_DOWN_ACK 2
79 #define CFHSI_WAKELOCK_HELD 4
80 #define CFHSI_SHUTDOWN 5
81 #define CFHSI_FLUSH_FIFO 6
83 #ifndef CFHSI_INACTIVITY_TOUT
84 #define CFHSI_INACTIVITY_TOUT (1 * HZ)
87 #ifndef CFHSI_WAKE_TOUT
88 #define CFHSI_WAKE_TOUT (3 * HZ)
91 #ifndef CFHSI_MAX_RX_RETRIES
92 #define CFHSI_MAX_RX_RETRIES (10 * HZ)