Lines Matching full:cec

68 	/* Lock the Isoch CEC list */  in s1394_isoch_rsrc_realloc()
73 /* Lock the Isoch CEC member list */ in s1394_isoch_rsrc_realloc()
87 /* Try the next Isoch CEC */ in s1394_isoch_rsrc_realloc()
91 /* Unlock the Isoch CEC member list */ in s1394_isoch_rsrc_realloc()
94 * We can unlock the Isoch CEC list here in s1394_isoch_rsrc_realloc()
95 * because we know this Isoch CEC can not in s1394_isoch_rsrc_realloc()
106 /* Lock the Isoch CEC list */ in s1394_isoch_rsrc_realloc()
108 /* Lock the Isoch CEC member list */ in s1394_isoch_rsrc_realloc()
128 /* Unlock the Isoch CEC member list */ in s1394_isoch_rsrc_realloc()
131 * We can unlock the Isoch CEC list here in s1394_isoch_rsrc_realloc()
132 * because we know this Isoch CEC can not in s1394_isoch_rsrc_realloc()
149 /* Lock the Isoch CEC list */ in s1394_isoch_rsrc_realloc()
151 /* Lock the Isoch CEC member list */ in s1394_isoch_rsrc_realloc()
166 /* Try the next Isoch CEC */ in s1394_isoch_rsrc_realloc()
175 /* Unlock the Isoch CEC member list */ in s1394_isoch_rsrc_realloc()
180 /* Unlock the Isoch CEC list */ in s1394_isoch_rsrc_realloc()
200 /* Lock the Isoch CEC list */ in s1394_isoch_rsrc_realloc_notify()
206 /* Lock the Isoch CEC member list */ in s1394_isoch_rsrc_realloc_notify()
222 /* Unlock the Isoch CEC member list */ in s1394_isoch_rsrc_realloc_notify()
225 * We can unlock the Isoch CEC list here in s1394_isoch_rsrc_realloc_notify()
257 /* Lock the Isoch CEC list */ in s1394_isoch_rsrc_realloc_notify()
259 /* Lock the Isoch CEC member list */ in s1394_isoch_rsrc_realloc_notify()
273 /* Unlock the Isoch CEC member list */ in s1394_isoch_rsrc_realloc_notify()
278 /* Unlock the Isoch CEC list */ in s1394_isoch_rsrc_realloc_notify()
893 * is used to insert an Isoch CEC into a given HAL's list of Isoch CECs.
896 s1394_isoch_cec_list_insert(s1394_hal_t *hal, s1394_isoch_cec_t *cec) in s1394_isoch_cec_list_insert() argument
902 /* Is the Isoch CEC list empty? */ in s1394_isoch_cec_list_insert()
906 hal->isoch_cec_list_head = cec; in s1394_isoch_cec_list_insert()
907 hal->isoch_cec_list_tail = cec; in s1394_isoch_cec_list_insert()
909 cec->cec_next = NULL; in s1394_isoch_cec_list_insert()
910 cec->cec_prev = NULL; in s1394_isoch_cec_list_insert()
913 cec->cec_next = hal->isoch_cec_list_head; in s1394_isoch_cec_list_insert()
914 cec->cec_prev = NULL; in s1394_isoch_cec_list_insert()
916 cec_temp->cec_prev = cec; in s1394_isoch_cec_list_insert()
918 hal->isoch_cec_list_head = cec; in s1394_isoch_cec_list_insert()
924 * is used to remove an Isoch CEC from a given HAL's list of Isoch CECs.
927 s1394_isoch_cec_list_remove(s1394_hal_t *hal, s1394_isoch_cec_t *cec) in s1394_isoch_cec_list_remove() argument
934 prev_cec = cec->cec_prev; in s1394_isoch_cec_list_remove()
935 next_cec = cec->cec_next; in s1394_isoch_cec_list_remove()
936 cec->cec_prev = NULL; in s1394_isoch_cec_list_remove()
937 cec->cec_next = NULL; in s1394_isoch_cec_list_remove()
943 if (hal->isoch_cec_list_head == cec) in s1394_isoch_cec_list_remove()
951 if (hal->isoch_cec_list_tail == cec) in s1394_isoch_cec_list_remove()
959 * a given Isoch CEC.
963 s1394_isoch_cec_member_list_insert(s1394_hal_t *hal, s1394_isoch_cec_t *cec, in s1394_isoch_cec_member_list_insert() argument
968 ASSERT(MUTEX_HELD(&cec->isoch_cec_mutex)); in s1394_isoch_cec_member_list_insert()
970 /* Is the Isoch CEC member list empty? */ in s1394_isoch_cec_member_list_insert()
971 if ((cec->cec_member_list_head == NULL) && in s1394_isoch_cec_member_list_insert()
972 (cec->cec_member_list_tail == NULL)) { in s1394_isoch_cec_member_list_insert()
974 cec->cec_member_list_head = member; in s1394_isoch_cec_member_list_insert()
975 cec->cec_member_list_tail = member; in s1394_isoch_cec_member_list_insert()
981 member->cec_mem_next = cec->cec_member_list_head; in s1394_isoch_cec_member_list_insert()
983 member_temp = cec->cec_member_list_head; in s1394_isoch_cec_member_list_insert()
985 cec->cec_member_list_head = member; in s1394_isoch_cec_member_list_insert()
989 member->cec_mem_prev = cec->cec_member_list_tail; in s1394_isoch_cec_member_list_insert()
991 member_temp = cec->cec_member_list_tail; in s1394_isoch_cec_member_list_insert()
993 cec->cec_member_list_tail = member; in s1394_isoch_cec_member_list_insert()
1000 * a given Isoch CEC.
1004 s1394_isoch_cec_member_list_remove(s1394_hal_t *hal, s1394_isoch_cec_t *cec, in s1394_isoch_cec_member_list_remove() argument
1010 ASSERT(MUTEX_HELD(&cec->isoch_cec_mutex)); in s1394_isoch_cec_member_list_remove()
1022 if (cec->cec_member_list_head == member) in s1394_isoch_cec_member_list_remove()
1023 cec->cec_member_list_head = next_member; in s1394_isoch_cec_member_list_remove()
1030 if (cec->cec_member_list_tail == member) in s1394_isoch_cec_member_list_remove()
1031 cec->cec_member_list_tail = prev_member; in s1394_isoch_cec_member_list_remove()