Lines Matching defs:cdp
43 fc_nodeop(common_data_t *cdp, fc_phandle_t node, char *svc)
48 error = fc_run_priv(cdp, svc, 1, 1, fc_phandle2cell(node), &hcell);
70 common_data_t *cdp = env->private;
77 if (os_get_prop_common(cdp, pd->node, "name",
91 if (os_get_prop_common(cdp, ppd->node, "name",
96 for (thisnode = fc_nodeop(cdp, ppd->node, FC_CHILD_FCODE);
98 thisnode = fc_nodeop(cdp, thisnode, FC_PEER_FCODE)) {
103 status = os_get_prop_common(cdp, thisnode, "name",
112 pd->common = cdp;
135 build_nodes(fcode_env_t *env, common_data_t *cdp, fc_phandle_t h)
151 cdp->init_done = 0;
161 (void) os_get_prop_common(cdp, pd->node, "name", 0, &name,
169 h = fc_nodeop(cdp, h, FC_PARENT);
180 pd->common = cdp;
194 cdp->init_done = 2;
196 cdp->init_done = 1;
197 cdp->first_node = 1;
203 common_data_t *cdp = env->private;
209 build_nodes(env, cdp, cdp->attach);
221 common_data_t *cdp = env->private;
225 if (cdp) {
226 saved_first_node = cdp->first_node;
227 saved_init_done = cdp->init_done;
228 cdp->first_node = 0;
229 cdp->init_done = 2;
232 cdp->first_node = saved_first_node;
233 cdp->init_done = saved_init_done;