Lines Matching refs:newport
753 ds_port_t *newport; in ds_add_port() local
767 newport = &ds_ports[port_id]; in ds_add_port()
770 if (newport->state != DS_PORT_FREE) { in ds_add_port()
775 if (newport->domain_hdl == DS_DHDL_INVALID) { in ds_add_port()
776 newport->domain_hdl = dhdl; in ds_add_port()
778 if (newport->domain_name == NULL && dom_name != NULL) { in ds_add_port()
779 newport->domain_name = ds_strdup(dom_name); in ds_add_port()
785 newport->id = port_id; in ds_add_port()
786 newport->ldc.id = ldc_id; in ds_add_port()
787 newport->domain_hdl = dhdl; in ds_add_port()
789 newport->domain_name = ds_strdup(dom_name); in ds_add_port()
791 newport->domain_name = NULL; in ds_add_port()
792 ds_port_common_init(newport); in ds_add_port()