Searched refs:cmd_desc (Results 1 – 1 of 1) sorted by relevance
1016 static inline bool i2c_cmd_link_is_static(i2c_cmd_desc_t *cmd_desc) in i2c_cmd_link_is_static() argument1018 return (cmd_desc->free_buffer != NULL); in i2c_cmd_link_is_static()1027 i2c_cmd_desc_t *cmd_desc = (i2c_cmd_desc_t *) buffer; in i2c_cmd_link_create_static() local1028 cmd_desc->head = NULL; in i2c_cmd_link_create_static()1029 cmd_desc->cur = NULL; in i2c_cmd_link_create_static()1030 cmd_desc->free = NULL; in i2c_cmd_link_create_static()1031 cmd_desc->free_buffer = cmd_desc + 1; in i2c_cmd_link_create_static()1032 cmd_desc->free_size = size - sizeof(i2c_cmd_desc_t); in i2c_cmd_link_create_static()1034 return (i2c_cmd_handle_t) cmd_desc; in i2c_cmd_link_create_static()1040 i2c_cmd_desc_t *cmd_desc = (i2c_cmd_desc_t *) calloc(1, sizeof(i2c_cmd_desc_t)); in i2c_cmd_link_create() local[all …]