CAN Device Driver Internals | ||
---|---|---|
<<< Previous | Next >>> |
struct msgobj_t { unsigned long obj_base_addr; unsigned int minor; unsigned int object; unsigned long flags; int ret; struct canque_ends_t * qends; struct canque_edge_t * tx_qedge; struct canque_slot_t * tx_slot; int tx_retry_cnt; struct canmsg_t rx_msg; struct chip_t * hostchip; atomic_t obj_used; struct list_head obj_users; }; |
associated device minor number
object number in chip_t structure +1
message object flags
field holding status of the last Tx operation
pointer to message object corresponding ends structure
edge corresponding to transmitted message
slot holding transmitted message, slot is taken from canque_test_outslot call and is freed by canque_free_outslot or rescheduled canque_again_outslot
transmission attempt counter
temporary storage to hold received messages before calling to canque_filter_msg2edges
pointer to the &chip_t structure this object belongs to
counter of users (associated file structures for Linux userspace clients) of this object
list of user structures of type &canuser_t.
<<< Previous | Home | Next >>> |
struct chip_t | Up | struct canuser_t |