master/ioctl.h
changeset 1507 68e89abadd19
parent 1485 5ddc3a455059
child 1509 a864688e7de5
equal deleted inserted replaced
1506:41ca84fb6bb2 1507:68e89abadd19
   237 
   237 
   238 /*****************************************************************************/
   238 /*****************************************************************************/
   239 
   239 
   240 typedef struct {
   240 typedef struct {
   241     // inputs
   241     // inputs
   242 	uint32_t index;
   242     uint32_t index;
   243 
   243 
   244     // outputs
   244     // outputs
   245 	uint32_t data_size;
   245     uint32_t data_size;
   246 	uint32_t logical_base_address;
   246     uint32_t logical_base_address;
   247 	uint16_t working_counter;
   247     uint16_t working_counter;
   248 	uint16_t expected_working_counter;
   248     uint16_t expected_working_counter;
   249     uint32_t fmmu_count;
   249     uint32_t fmmu_count;
   250 } ec_ioctl_domain_t;
   250 } ec_ioctl_domain_t;
   251 
   251 
   252 /*****************************************************************************/
   252 /*****************************************************************************/
   253 
   253 
   254 typedef struct {
   254 typedef struct {
   255     // inputs
   255     // inputs
   256 	uint32_t domain_index;
   256     uint32_t domain_index;
   257 	uint32_t fmmu_index;
   257     uint32_t fmmu_index;
   258 
   258 
   259     // outputs
   259     // outputs
   260     uint16_t slave_config_alias;
   260     uint16_t slave_config_alias;
   261     uint16_t slave_config_position;
   261     uint16_t slave_config_position;
   262     uint8_t sync_index;
   262     uint8_t sync_index;
   263     ec_direction_t dir;
   263     ec_direction_t dir;
   264 	uint32_t logical_address;
   264     uint32_t logical_address;
   265     uint32_t data_size;
   265     uint32_t data_size;
   266 } ec_ioctl_domain_fmmu_t;
   266 } ec_ioctl_domain_fmmu_t;
   267 
   267 
   268 /*****************************************************************************/
   268 /*****************************************************************************/
   269 
   269 
   270 typedef struct {
   270 typedef struct {
   271     // inputs
   271     // inputs
   272 	uint32_t domain_index;
   272     uint32_t domain_index;
   273     uint32_t data_size;
   273     uint32_t data_size;
   274     uint8_t *target;
   274     uint8_t *target;
   275 } ec_ioctl_domain_data_t;
   275 } ec_ioctl_domain_data_t;
   276 
   276 
   277 /*****************************************************************************/
   277 /*****************************************************************************/
   278 
   278 
   279 typedef struct {
   279 typedef struct {
   280     // inputs
   280     // inputs
   281 	uint16_t slave_position;
   281     uint16_t slave_position;
   282     uint8_t al_state;
   282     uint8_t al_state;
   283 } ec_ioctl_slave_state_t;
   283 } ec_ioctl_slave_state_t;
   284 
   284 
   285 /*****************************************************************************/
   285 /*****************************************************************************/
   286 
   286 
   446 typedef struct {
   446 typedef struct {
   447     // input
   447     // input
   448     uint16_t eoe_index;
   448     uint16_t eoe_index;
   449 
   449 
   450     // outputs
   450     // outputs
   451 	char name[EC_DATAGRAM_NAME_SIZE];
   451     char name[EC_DATAGRAM_NAME_SIZE];
   452 	uint16_t slave_position;
   452     uint16_t slave_position;
   453 	uint8_t open;
   453     uint8_t open;
   454 	uint32_t rx_bytes;
   454     uint32_t rx_bytes;
   455 	uint32_t rx_rate;
   455     uint32_t rx_rate;
   456 	uint32_t tx_bytes;
   456     uint32_t tx_bytes;
   457 	uint32_t tx_rate;
   457     uint32_t tx_rate;
   458 	uint32_t tx_queued_frames;
   458     uint32_t tx_queued_frames;
   459 	uint32_t tx_queue_size;
   459     uint32_t tx_queue_size;
   460 } ec_ioctl_eoe_handler_t;
   460 } ec_ioctl_eoe_handler_t;
   461 
   461 
   462 /*****************************************************************************/
   462 /*****************************************************************************/
   463 
   463 
   464 typedef struct {
   464 typedef struct {