Lines Matching refs:cec_new
1381 s1394_isoch_cec_t *cec_new; in t1394_alloc_isoch_single() local
1413 cec_new = kmem_zalloc(sizeof (s1394_isoch_cec_t), KM_SLEEP); in t1394_alloc_isoch_single()
1416 cec_new->cec_type = S1394_SINGLE; in t1394_alloc_isoch_single()
1419 mutex_init(&cec_new->isoch_cec_mutex, NULL, MUTEX_DRIVER, in t1394_alloc_isoch_single()
1421 cv_init(&cec_new->in_callbacks_cv, NULL, CV_DRIVER, in t1394_alloc_isoch_single()
1425 cec_new->cec_member_list_head = NULL; in t1394_alloc_isoch_single()
1426 cec_new->cec_member_list_tail = NULL; in t1394_alloc_isoch_single()
1429 cec_new->filter_min_speed = sii->si_speed; in t1394_alloc_isoch_single()
1430 cec_new->filter_max_speed = sii->si_speed; in t1394_alloc_isoch_single()
1431 cec_new->filter_current_speed = cec_new->filter_max_speed; in t1394_alloc_isoch_single()
1432 cec_new->filter_channel_mask = sii->si_channel_mask; in t1394_alloc_isoch_single()
1433 cec_new->bandwidth = sii->si_bandwidth; in t1394_alloc_isoch_single()
1434 cec_new->state_transitions = ISOCH_CEC_FREE | ISOCH_CEC_JOIN | in t1394_alloc_isoch_single()
1440 s1394_isoch_cec_list_insert(hal, cec_new); in t1394_alloc_isoch_single()
1461 (t1394_isoch_cec_handle_t)cec_new, 0, &jii); in t1394_alloc_isoch_single()
1465 (t1394_isoch_cec_handle_t *)&cec_new); in t1394_alloc_isoch_single()
1481 (t1394_isoch_cec_handle_t)cec_new, 0, &err); in t1394_alloc_isoch_single()
1488 (t1394_isoch_cec_handle_t)cec_new, 0); in t1394_alloc_isoch_single()
1496 (t1394_isoch_cec_handle_t *)&cec_new); in t1394_alloc_isoch_single()
1509 mutex_enter(&cec_new->isoch_cec_mutex); in t1394_alloc_isoch_single()
1510 output_args->channel_num = cec_new->realloc_chnl_num; in t1394_alloc_isoch_single()
1511 mutex_exit(&cec_new->isoch_cec_mutex); in t1394_alloc_isoch_single()
1514 *t1394_single_hdl = (t1394_isoch_single_handle_t)cec_new; in t1394_alloc_isoch_single()
1603 s1394_isoch_cec_t *cec_new; in t1394_alloc_isoch_cec() local
1638 cec_new = kmem_zalloc(sizeof (s1394_isoch_cec_t), KM_SLEEP); in t1394_alloc_isoch_cec()
1641 cec_new->cec_type = S1394_PEER_TO_PEER; in t1394_alloc_isoch_cec()
1644 mutex_init(&cec_new->isoch_cec_mutex, NULL, MUTEX_DRIVER, in t1394_alloc_isoch_cec()
1646 cv_init(&cec_new->in_callbacks_cv, NULL, CV_DRIVER, in t1394_alloc_isoch_cec()
1650 cec_new->cec_member_list_head = NULL; in t1394_alloc_isoch_cec()
1651 cec_new->cec_member_list_tail = NULL; in t1394_alloc_isoch_cec()
1654 cec_new->filter_min_speed = props->cec_min_speed; in t1394_alloc_isoch_cec()
1655 cec_new->filter_max_speed = props->cec_max_speed; in t1394_alloc_isoch_cec()
1656 cec_new->filter_current_speed = cec_new->filter_max_speed; in t1394_alloc_isoch_cec()
1657 cec_new->filter_channel_mask = props->cec_channel_mask; in t1394_alloc_isoch_cec()
1658 cec_new->bandwidth = props->cec_bandwidth; in t1394_alloc_isoch_cec()
1659 cec_new->cec_options = props->cec_options; in t1394_alloc_isoch_cec()
1660 cec_new->state_transitions = ISOCH_CEC_FREE | ISOCH_CEC_JOIN | in t1394_alloc_isoch_cec()
1666 s1394_isoch_cec_list_insert(hal, cec_new); in t1394_alloc_isoch_cec()
1671 *t1394_isoch_cec_hdl = (t1394_isoch_cec_handle_t)cec_new; in t1394_alloc_isoch_cec()