CAN Device Driver Internals
<<< Previous
Driver Internal Documentation
Next >>>
CAN Queues Structures and Functions
Table of Contents
struct canque_slot_t
— one CAN message slot in the CAN FIFO queue
struct canque_fifo_t
— CAN FIFO queue representation
canque_fifo_get_inslot
— allocate slot for the input of one CAN message
canque_fifo_put_inslot
— releases slot to further processing
canque_fifo_abort_inslot
— release and abort slot
canque_fifo_test_outslot
— test and get ready slot from the FIFO
canque_fifo_free_outslot
— free processed FIFO slot
canque_fifo_again_outslot
— interrupt and postpone processing of the slot
struct canque_edge_t
— CAN message delivery subsystem graph edge
struct canque_ends_t
— CAN message delivery subsystem graph vertex (FIFO ends)
canque_notify_inends
— request to send notification to the input ends
canque_notify_outends
— request to send notification to the output ends
canque_notify_bothends
— request to send notification to the both ends
canque_activate_edge
— mark output end of the edge as active
canque_filtid2internal
— converts message ID and filter flags into internal format
canque_fifo_flush_slots
— free all ready slots from the FIFO
canque_fifo_init_slots
— initialize one CAN FIFO
canque_fifo_done
— frees slots allocated for CAN FIFO
canque_get_inslot
— finds one outgoing edge and allocates slot from it
canque_get_inslot4id
— finds best outgoing edge and slot for given ID
canque_put_inslot
— schedules filled slot for processing
canque_abort_inslot
— aborts preparation of the message in the slot
canque_filter_msg2edges
— sends message into all edges which accept its ID
canque_test_outslot
— test and retrieve ready slot for given ends
canque_free_outslot
— frees processed output slot
canque_again_outslot
— reschedule output slot to process it again later
canque_set_filt
— sets filter for specified edge
canque_flush
— fluesh all ready slots in the edge
canqueue_ends_init_gen
— subsystem independent routine to initialize ends state
canqueue_notify_kern
— notification callback handler for Linux userspace clients
canqueue_ends_init_kern
— Linux userspace clients specific ends initialization
canque_get_inslot4id_wait_kern
— find or wait for best outgoing edge and slot for given ID
canque_get_outslot_wait_kern
— receive or wait for ready slot for given ends
canque_sync_wait_kern
— wait for all slots processing
canque_new_edge_kern
— allocate new edge structure in the Linux kernel context
canqueue_connect_edge
— connect edge between two communication entities
canqueue_disconnect_edge
— disconnect edge from communicating entities
canqueue_disconnect_edge_kern
— disconnect edge from communicating entities with wait
canqueue_ends_done_kern
— finalizing of the ends structure for Linux kernel clients
<<< Previous
Home
Next >>>
sja1000p_wakeup_tx
Up
struct canque_slot_t