Lines Matching full:node
51 static int ti_musb_get_usb_index(int node) in ti_musb_get_usb_index() argument
59 fdt_get_path(fdt, node, path, sizeof(path)); in ti_musb_get_usb_index()
82 int node = dev_of_offset(dev); in ti_musb_ofdata_to_platdata() local
90 phys = fdtdec_lookup_phandle(fdt, node, "phys"); in ti_musb_ofdata_to_platdata()
93 usb_index = ti_musb_get_usb_index(node); in ti_musb_ofdata_to_platdata()
108 musb_config->multipoint = fdtdec_get_int(fdt, node, in ti_musb_ofdata_to_platdata()
117 musb_config->num_eps = fdtdec_get_int(fdt, node, "mentor,num-eps", in ti_musb_ofdata_to_platdata()
124 musb_config->ram_bits = fdtdec_get_int(fdt, node, "mentor,ram-bits", in ti_musb_ofdata_to_platdata()
133 platdata->plat.power = fdtdec_get_int(fdt, node, "mentor,power", -1); in ti_musb_ofdata_to_platdata()
181 int node = dev_of_offset(dev); in ti_musb_host_ofdata_to_platdata() local
219 int node = dev_of_offset(dev); in ti_musb_peripheral_ofdata_to_platdata() local
288 int node; in ti_musb_wrapper_bind() local
291 for (node = fdt_first_subnode(fdt, dev_of_offset(parent)); node > 0; in ti_musb_wrapper_bind()
292 node = fdt_next_subnode(fdt, node)) { in ti_musb_wrapper_bind()
294 const char *name = fdt_get_name(fdt, node, NULL); in ti_musb_wrapper_bind()
301 dr_mode = usb_get_dr_mode(node); in ti_musb_wrapper_bind()
308 offset_to_ofnode(node), in ti_musb_wrapper_bind()
311 pr_err("musb - not able to bind usb peripheral node\n"); in ti_musb_wrapper_bind()
318 offset_to_ofnode(node), in ti_musb_wrapper_bind()
321 pr_err("musb - not able to bind usb host node\n"); in ti_musb_wrapper_bind()