These values are used with the CMD_CARD_IOCTL command.
Please see the include file gen_ioctls.h for numeric values of IOCTLS and data field bit assignments.
IOCTL name | Function | Data field length/purpose | |||||||||||||||||||||||||||||||||||||||||||||
GINIT | Initialize a channel. | None | |||||||||||||||||||||||||||||||||||||||||||||
GLOOPON | Turn transmit message loopback ON. | None | |||||||||||||||||||||||||||||||||||||||||||||
GLOOPOFF | Turn transmit message loopback OFF. | None. | |||||||||||||||||||||||||||||||||||||||||||||
GGETHWTYPE | Get channel type/subtype | 2 data bytes returned: channel type and channel subtype | |||||||||||||||||||||||||||||||||||||||||||||
GGETREG | Read a channel hardware register | 2 data bytes: register offset and register data | |||||||||||||||||||||||||||||||||||||||||||||
GSETREG | Write a channel hardware register | 2 data bytes: register offset and register data | |||||||||||||||||||||||||||||||||||||||||||||
GGETRXCOUNT | Get channel RX counter value | 4 data bytes: counter value (4-byte long value) | |||||||||||||||||||||||||||||||||||||||||||||
GSETRXCOUNT | Set channel RX counter value | 4 data bytes: counter value (4-byte long value) | |||||||||||||||||||||||||||||||||||||||||||||
GGETTXCOUNT | Get channel TX counter value | 4 data bytes: counter value (4-byte long value) | |||||||||||||||||||||||||||||||||||||||||||||
GSETTXCOUNT | Set channel TX counter value | 4 data bytes: counter value (4-byte long value) | |||||||||||||||||||||||||||||||||||||||||||||
GGETRXDROP | Get channel RX dropped counter value | 4 data bytes: counter value (4-byte long value) | |||||||||||||||||||||||||||||||||||||||||||||
GSETRXDROP | Set channel RX dropped counter value | 4 data bytes: counter value (4-byte long value) | |||||||||||||||||||||||||||||||||||||||||||||
GGETTXDROP | Get channel TX dropped counter value | 4 data bytes: counter value (4-byte long value) | |||||||||||||||||||||||||||||||||||||||||||||
GSETTXDROP | Set channel TX dropped counter value | 4 data bytes: counter value (4-byte long value) | |||||||||||||||||||||||||||||||||||||||||||||
GGETTXBAD | Get channel TX bad counter value | 4 data bytes: counter value (4-byte long value) | |||||||||||||||||||||||||||||||||||||||||||||
GGETRXBAD | Get channel RX bad counter value | 4 data bytes: counter value (4-byte long value) | |||||||||||||||||||||||||||||||||||||||||||||
GGETCOUNTS | Get all channel counters | 60 data bytes:
|
|||||||||||||||||||||||||||||||||||||||||||||
GGETBLMON | Get bus load monitor mode | 1 data byte: current mode | |||||||||||||||||||||||||||||||||||||||||||||
GSETBLMON | Set bus load monitor mode | 1 data byte: new mode (effective after next init). | |||||||||||||||||||||||||||||||||||||||||||||
GGETBITRATE | Get the channel's current bit rate | 4 data bytes: bit rate (4-byte long value). | |||||||||||||||||||||||||||||||||||||||||||||
GGETRAM | Read channel hardware RAM | 2 data bytes: RAM address, current RAM value | |||||||||||||||||||||||||||||||||||||||||||||
GSETRAM | Write channel hardware RAM | 2 data bytes: RAM address, new RAM value | |||||||||||||||||||||||||||||||||||||||||||||
GSINGLEMSGRDON | Set single-message read mode from the driver. Only a single message will be transferred with each read operation. | none | |||||||||||||||||||||||||||||||||||||||||||||
GSINGLEMSGRDOFF | Set multi-message read mode from the driver. Multiple messages may be read in a single read operation. | none | |||||||||||||||||||||||||||||||||||||||||||||
GSETPERIOD | Set bus load monitor period | 8 bytes | |||||||||||||||||||||||||||||||||||||||||||||
GSKIPCHAN | When reading messages from card, skip this channel | none | |||||||||||||||||||||||||||||||||||||||||||||
GPROCESSCHAN | When reading messages from card, process this channel | none |