master/ioctl.h
changeset 1244 0b70040d3daa
parent 1242 632a6b91f8e4
child 1246 4042bda8c980
equal deleted inserted replaced
1243:13cb18b91627 1244:0b70040d3daa
    76 #define EC_IOCTL_SLAVE_PHY_WRITE       EC_IOW(0x11, ec_ioctl_slave_phy_t)
    76 #define EC_IOCTL_SLAVE_PHY_WRITE       EC_IOW(0x11, ec_ioctl_slave_phy_t)
    77 #define EC_IOCTL_CONFIG               EC_IOWR(0x12, ec_ioctl_config_t)
    77 #define EC_IOCTL_CONFIG               EC_IOWR(0x12, ec_ioctl_config_t)
    78 #define EC_IOCTL_CONFIG_PDO           EC_IOWR(0x13, ec_ioctl_config_pdo_t)
    78 #define EC_IOCTL_CONFIG_PDO           EC_IOWR(0x13, ec_ioctl_config_pdo_t)
    79 #define EC_IOCTL_CONFIG_PDO_ENTRY     EC_IOWR(0x14, ec_ioctl_config_pdo_entry_t)
    79 #define EC_IOCTL_CONFIG_PDO_ENTRY     EC_IOWR(0x14, ec_ioctl_config_pdo_entry_t)
    80 #define EC_IOCTL_CONFIG_SDO           EC_IOWR(0x15, ec_ioctl_config_sdo_t)
    80 #define EC_IOCTL_CONFIG_SDO           EC_IOWR(0x15, ec_ioctl_config_sdo_t)
    81 #define EC_IOCTL_REQUEST               EC_IOR(0x16, ec_ioctl_request_t)
    81 
       
    82 #define EC_IOCTL_REQUEST                EC_IO(0x16)
       
    83 #define EC_IOCTL_CREATE_DOMAIN          EC_IO(0x17)
    82 
    84 
    83 #define EC_IOCTL_STRING_SIZE 64
    85 #define EC_IOCTL_STRING_SIZE 64
    84 
    86 
    85 /*****************************************************************************/
    87 /*****************************************************************************/
    86 
    88 
   360     uint8_t data[4];
   362     uint8_t data[4];
   361 } ec_ioctl_config_sdo_t;
   363 } ec_ioctl_config_sdo_t;
   362 
   364 
   363 /*****************************************************************************/
   365 /*****************************************************************************/
   364 
   366 
   365 typedef struct {
       
   366     ec_master_t *handle;
       
   367 } ec_ioctl_request_t;
       
   368 
       
   369 /*****************************************************************************/
       
   370 
       
   371 /** \endcond */
   367 /** \endcond */
   372 
   368 
   373 #endif
   369 #endif