Lines Matching defs:cec
1096 s1394_isoch_cec_list_insert(s1394_hal_t *hal, s1394_isoch_cec_t *cec)
1109 hal->isoch_cec_list_head = cec;
1110 hal->isoch_cec_list_tail = cec;
1112 cec->cec_next = NULL;
1113 cec->cec_prev = NULL;
1116 cec->cec_next = hal->isoch_cec_list_head;
1117 cec->cec_prev = NULL;
1119 cec_temp->cec_prev = cec;
1121 hal->isoch_cec_list_head = cec;
1133 s1394_isoch_cec_list_remove(s1394_hal_t *hal, s1394_isoch_cec_t *cec)
1143 prev_cec = cec->cec_prev;
1144 next_cec = cec->cec_next;
1145 cec->cec_prev = NULL;
1146 cec->cec_next = NULL;
1152 if (hal->isoch_cec_list_head == cec)
1160 if (hal->isoch_cec_list_tail == cec)
1175 s1394_isoch_cec_member_list_insert(s1394_hal_t *hal, s1394_isoch_cec_t *cec,
1183 ASSERT(MUTEX_HELD(&cec->isoch_cec_mutex));
1186 if ((cec->cec_member_list_head == NULL) &&
1187 (cec->cec_member_list_tail == NULL)) {
1189 cec->cec_member_list_head = member;
1190 cec->cec_member_list_tail = member;
1196 member->cec_mem_next = cec->cec_member_list_head;
1198 member_temp = cec->cec_member_list_head;
1200 cec->cec_member_list_head = member;
1204 member->cec_mem_prev = cec->cec_member_list_tail;
1206 member_temp = cec->cec_member_list_tail;
1208 cec->cec_member_list_tail = member;
1222 s1394_isoch_cec_member_list_remove(s1394_hal_t *hal, s1394_isoch_cec_t *cec,
1231 ASSERT(MUTEX_HELD(&cec->isoch_cec_mutex));
1243 if (cec->cec_member_list_head == member)
1244 cec->cec_member_list_head = next_member;
1251 if (cec->cec_member_list_tail == member)
1252 cec->cec_member_list_tail = prev_member;