/* Link to ISHTP bus device */ struct ishtp_cl_device *device;
/* ID of client connected */
uint8_t host_client_id;
uint8_t fw_client_id;
uint8_t ishtp_flow_ctrl_creds;
uint8_t out_flow_ctrl_creds;
/* dma */ int last_tx_path; /* 0: ack wasn't received,1:ack was received */ int last_dma_acked; unsignedchar *last_dma_addr; /* 0: ack wasn't received,1:ack was received */ int last_ipc_acked;
/* Rx ring buffer pool */ unsignedint rx_ring_size; struct ishtp_cl_rb free_rb_list;
spinlock_t free_list_spinlock; /* Rx in-process list */ struct ishtp_cl_rb in_process_list;
spinlock_t in_process_spinlock;
/* Client Tx buffers list */ unsignedint tx_ring_size; struct ishtp_cl_tx_ring tx_list, tx_free_list; int tx_ring_free_size;
spinlock_t tx_list_spinlock;
spinlock_t tx_free_list_spinlock;
size_t tx_offs; /* Offset in buffer at head of 'tx_list' */
/** * if we get a FC, and the list is not empty, we must know whether we * are at the middle of sending. * if so -need to increase FC counter, otherwise, need to start sending * the first msg in list * (!)This is for counting-FC implementation only. Within single-FC the * other party may NOT send FC until it receives complete message
*/ int sending;
/* Send FC spinlock */
spinlock_t fc_spinlock;
/* wait queue for connect and disconnect response from FW */
wait_queue_head_t wait_ctrl_res;
/** * ishtp_cl_cmp_id - tells if file private data have same id * returns true - if ids are the same and not NULL
*/ staticinlinebool ishtp_cl_cmp_id(conststruct ishtp_cl *cl1, conststruct ishtp_cl *cl2)
{ return cl1 && cl2 &&
(cl1->host_client_id == cl2->host_client_id) &&
(cl1->fw_client_id == cl2->fw_client_id);
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.