Home
last modified time | relevance | path

Searched refs:node (Results 576 – 600 of 1648) sorted by relevance

1...<<21222324252627282930>>...66

/freebsd-12.1/sys/dev/flash/
H A Dcqspi.c524 phandle_t node; in cqspi_init() local
531 if ((node = ofw_bus_get_node(sc->dev)) == -1) { in cqspi_init()
535 if ((len = OF_getproplen(node, "cdns,fifo-depth")) <= 0) { in cqspi_init()
538 OF_getencprop(node, "cdns,fifo-depth", dts_value, len); in cqspi_init()
541 if ((len = OF_getproplen(node, "cdns,fifo-width")) <= 0) { in cqspi_init()
544 OF_getencprop(node, "cdns,fifo-width", dts_value, len); in cqspi_init()
547 if ((len = OF_getproplen(node, "cdns,trigger-address")) <= 0) { in cqspi_init()
550 OF_getencprop(node, "cdns,trigger-address", dts_value, len); in cqspi_init()
596 phandle_t child, node; in cqspi_add_devices() local
600 node = ofw_bus_get_node(dev); in cqspi_add_devices()
[all …]
/freebsd-12.1/sys/netgraph/
H A Dng_patch.c181 ng_patch_constructor(node_p node) in ng_patch_constructor() argument
188 NG_NODE_SET_PRIVATE(node, privdata); in ng_patch_constructor()
194 ng_patch_newhook(node_p node, hook_p hook, const char *name) in ng_patch_newhook() argument
196 const priv_p privp = NG_NODE_PRIVATE(node); in ng_patch_newhook()
210 ng_patch_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_patch_rcvmsg() argument
212 const priv_p privp = NG_NODE_PRIVATE(node); in ng_patch_rcvmsg()
348 NG_RESPOND_MSG(error, node, item, resp); in ng_patch_rcvmsg()
662 ng_patch_shutdown(node_p node) in ng_patch_shutdown() argument
664 const priv_p privdata = NG_NODE_PRIVATE(node); in ng_patch_shutdown()
666 NG_NODE_SET_PRIVATE(node, NULL); in ng_patch_shutdown()
[all …]
H A Dng_ether_echo.c81 ngee_cons(node_p node) in ngee_cons() argument
90 ngee_rcvmsg(node_p node, item_p item, hook_p lasthook) in ngee_rcvmsg() argument
97 NG_RESPOND_MSG(error, node, item, msg); in ngee_rcvmsg()
/freebsd-12.1/sys/dev/iicbus/
H A Dadt746x.c404 phandle_t child, node; in adt746x_fill_sensor_prop() local
414 for (node = OF_child(child); node != 0; node = OF_peer(node)) { in adt746x_fill_sensor_prop()
415 if (OF_getprop(node, "sensor-id", &sensid, sizeof(sensid)) == -1) in adt746x_fill_sensor_prop()
417 OF_getprop(node, "location", sc->sc_sensors[i].therm.name, 32); in adt746x_fill_sensor_prop()
418 OF_getprop(node, "device_type", sens_type, sizeof(sens_type)); in adt746x_fill_sensor_prop()
425 OF_getprop(node, "reg", &reg, sizeof(reg)); in adt746x_fill_sensor_prop()
426 OF_getprop(node, "sensor-id", &sensid, in adt746x_fill_sensor_prop()
431 OF_getprop(node, "zone", &sc->sc_sensors[i].therm.zone, in adt746x_fill_sensor_prop()
/freebsd-12.1/contrib/ofed/opensm/opensm/
H A Dosm_qos.c294 static int qos_extports_setup(osm_sm_t * sm, osm_node_t *node, in qos_extports_setup() argument
301 unsigned num_ports = osm_node_get_num_physp(node); in qos_extports_setup()
315 p = osm_node_get_physp_ptr(node, out); in qos_extports_setup()
327 p0 = osm_node_get_physp_ptr(node, 0); in qos_extports_setup()
331 if (ib_switch_info_get_opt_sl2vlmapping(&node->sw->switch_info) && in qos_extports_setup()
336 p0 = osm_node_get_physp_ptr(node, 1); in qos_extports_setup()
339 p = osm_node_get_physp_ptr(node, out); in qos_extports_setup()
357 force_update = node->sw->need_update || sm->p_subn->need_update; in qos_extports_setup()
366 p = osm_node_get_physp_ptr(node, out); in qos_extports_setup()
385 out = ib_switch_info_is_enhanced_port0(&node->sw->switch_info) ? 0 : 1; in qos_extports_setup()
[all …]
/freebsd-12.1/sys/dev/dpaa/
H A Dfman_fdt.c88 phandle_t node; in fman_get_clock() local
92 node = ofw_bus_get_node(dev); in fman_get_clock()
94 if ((OF_getprop(node, "clock-frequency", &fman_clock, in fman_get_clock()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DFLATInstructions.td361 (ops node:$ptr, node:$value),
362 (atomic_op node:$ptr, node:$value),
663 (vt (node (FLATOffset i64:$vaddr, i16:$offset, i1:$slc))),
716 (vt (node (FLATAtomic i64:$vaddr, i16:$offset, i1:$slc))),
721 (vt (node (FLATOffsetSigned i64:$vaddr, i16:$offset, i1:$slc))),
726 (node vt:$data, (FLATOffset i64:$vaddr, i16:$offset, i1:$slc)),
731 (node vt:$data, (FLATOffsetSigned i64:$vaddr, i16:$offset, i1:$slc)),
738 (node (FLATAtomic i64:$vaddr, i16:$offset, i1:$slc), vt:$data),
745 (node (FLATSignedAtomic i64:$vaddr, i16:$offset, i1:$slc), vt:$data),
749 class FlatAtomicPat <FLAT_Pseudo inst, SDPatternOperator node, ValueType vt,
[all …]
/freebsd-12.1/contrib/dtc/
H A Dflattree.c263 struct node *child; in flatten_tree()
756 struct node *node; in unflatten_tree() local
760 node = build_node(NULL, NULL); in unflatten_tree()
767 node->name = flatname; in unflatten_tree()
771 struct node *child; in unflatten_tree()
776 if (node->children) in unflatten_tree()
780 add_property(node, prop); in unflatten_tree()
785 add_child(node, child); in unflatten_tree()
809 if (node->name != flatname) { in unflatten_tree()
813 return node; in unflatten_tree()
[all …]
/freebsd-12.1/sys/arm/mv/
H A Dmv_ap806_gicp.c91 phandle_t node, xref, intr_parent; in mv_ap806_gicp_attach() local
95 node = ofw_bus_get_node(dev); in mv_ap806_gicp_attach()
98 if ((intr_parent = ofw_bus_find_iparent(node)) == 0) { in mv_ap806_gicp_attach()
107 sc->spi_ranges_cnt = OF_getencprop_alloc(node, "marvell,spi-ranges", in mv_ap806_gicp_attach()
110 xref = OF_xref_from_node(node); in mv_ap806_gicp_attach()
/freebsd-12.1/sys/arm/allwinner/
H A Dif_awg.c1196 phandle_t node; in awg_get_phy_node() local
1199 node = ofw_bus_get_node(dev); in awg_get_phy_node()
1210 phandle_t node, phy_node; in awg_has_internal_phy() local
1212 node = ofw_bus_get_node(dev); in awg_has_internal_phy()
1225 phandle_t node; in awg_parse_delay() local
1231 node = ofw_bus_get_node(dev); in awg_parse_delay()
1273 phandle_t node; in awg_setup_phy() local
1330 if (OF_hasprop(node, in awg_setup_phy()
1394 phandle_t node, phy_node; in awg_setup_extres() local
1438 if (OF_hasprop(node, "syscon") && syscon_get_by_ofw_property(dev, node, in awg_setup_extres()
[all …]
H A Daw_if_dwc.c69 phandle_t node; in a20_if_dwc_init() local
72 node = ofw_bus_get_node(dev); in a20_if_dwc_init()
75 if (OF_getprop_alloc(node, "phy-mode", (void **)&phy_type)) { in a20_if_dwc_init()
/freebsd-12.1/stand/common/
H A Dmetadata.c67 phandle_t node; in md_bootserial() local
70 if ((node = OF_finddevice("/options")) == -1) in md_bootserial()
72 if (OF_getprop(node, "input-device", buf, sizeof(buf)) == -1) in md_bootserial()
75 if (OF_getprop(node, "output-device", buf, sizeof(buf)) == -1) in md_bootserial()
80 if ((node = OF_finddevice("/chosen")) == -1) in md_bootserial()
82 if (OF_getprop(node, "stdin", &inst, sizeof(inst)) == -1) in md_bootserial()
86 if (OF_getprop(node, "stdout", &inst, sizeof(inst)) == -1) in md_bootserial()
/freebsd-12.1/sys/arm/amlogic/aml8726/
H A Daml8726_fb.c305 phandle_t node; in aml8726_fb_attach() local
311 node = ofw_bus_get_node(dev); in aml8726_fb_attach()
313 if (OF_getencprop(node, "width", &prop, sizeof(prop)) <= 0) { in aml8726_fb_attach()
324 if (OF_getencprop(node, "height", &prop, sizeof(prop)) <= 0) { in aml8726_fb_attach()
330 if (OF_getencprop(node, "depth", &prop, sizeof(prop)) <= 0) { in aml8726_fb_attach()
342 if (OF_getencprop(node, "linebytes", &prop, sizeof(prop)) <= 0) { in aml8726_fb_attach()
358 if (OF_getencprop(node, "address", &prop, sizeof(prop)) <= 0) { in aml8726_fb_attach()
/freebsd-12.1/sys/mips/nlm/dev/sec/
H A Dnlmrsa.c78 static int xlp_rsa_init(struct xlp_rsa_softc *sc, int node);
139 xlp_rsa_init(struct xlp_rsa_softc *sc, int node) in xlp_rsa_init() argument
192 base = nlm_get_rsa_regbase(node); in xlp_rsa_init()
273 int freq, node; in xlp_rsa_attach() local
277 node = nlm_get_device_node(pci_get_slot(dev)); in xlp_rsa_attach()
278 freq = nlm_set_device_frequency(node, DFS_DEVICE_RSA, 250); in xlp_rsa_attach()
292 base = nlm_get_rsa_pcibase(node); in xlp_rsa_attach()
298 if (xlp_rsa_init(sc, node) != 0) in xlp_rsa_attach()
/freebsd-12.1/contrib/jemalloc/src/
H A Dctl.c31 return ((node->named) ? (const ctl_named_node_t *)node : NULL); in ctl_named_node()
43 return (!node->named ? (const ctl_indexed_node_t *)node : NULL); in ctl_indexed_node()
1092 assert(node); in ctl_lookup()
1103 node = child; in ctl_lookup()
1112 if (node == pnode) { in ctl_lookup()
1129 if (node == NULL) { in ctl_lookup()
1193 if (node != NULL && node->ctl) { in ctl_byname()
1233 assert(node); in ctl_bymib()
1241 node = ctl_named_children(node, mib[i]); in ctl_bymib()
1248 if (node == NULL) { in ctl_bymib()
[all …]
/freebsd-12.1/sys/dev/sdhci/
H A Dsdhci_xenon.c83 phandle_t node; /* FDT node */ member
437 sc->node = ofw_bus_get_node(dev); in sdhci_xenon_probe()
441 if ((OF_getencprop(sc->node, "quirks", &cid, sizeof(cid))) > 0) in sdhci_xenon_probe()
443 if ((OF_getencprop(sc->node, "max-frequency", &cid, sizeof(cid))) > 0) in sdhci_xenon_probe()
445 if (OF_hasprop(sc->node, "no-1-8-v")) in sdhci_xenon_probe()
447 if (OF_hasprop(sc->node, "wp-inverted")) in sdhci_xenon_probe()
449 if (OF_hasprop(sc->node, "marvell,xenon-phy-slow-mode")) in sdhci_xenon_probe()
452 if ((OF_getencprop(sc->node, "marvell,xenon-phy-znr", &cid, in sdhci_xenon_probe()
456 if ((OF_getencprop(sc->node, "marvell,xenon-phy-zpr", &cid, in sdhci_xenon_probe()
501 if (OF_hasprop(sc->node, "non-removable")) { in sdhci_xenon_attach()
/freebsd-12.1/sys/dev/extres/phy/
H A Dphy.h86 int phy_get_by_ofw_name(device_t consumer, phandle_t node, char *name,
88 int phy_get_by_ofw_idx(device_t consumer, phandle_t node, int idx, phy_t *phy);
89 int phy_get_by_ofw_property(device_t consumer, phandle_t node, char *name,
/freebsd-12.1/sys/fs/procfs/
H A Dprocfs.c166 struct pfs_node *node; in procfs_init() local
185 node = pfs_create_file(dir, "mem", procfs_doprocmem, in procfs_init()
187 node->pn_ioctl = procfs_ioctl; in procfs_init()
188 node->pn_close = procfs_close; in procfs_init()
/freebsd-12.1/sys/arm/altera/socfpga/
H A Dsocfpga_rstmgr.c88 phandle_t node; in l3remap() local
102 node = OF_finddevice("l3regs"); in l3remap()
103 if (node == -1) { in l3remap()
108 if ((OF_getencprop(node, "reg", &paddr, sizeof(paddr))) > 0) { in l3remap()
/freebsd-12.1/contrib/unbound/edns-subnet/
H A Dsubnet-whitelist.c86 struct addr_tree_node* node = (struct addr_tree_node*)regional_alloc( in upstream_insert() local
87 whitelist->region, sizeof(*node)); in upstream_insert()
88 if(!node) in upstream_insert()
90 if(!addr_tree_insert(&whitelist->upstream, node, addr, addrlen, net)) { in upstream_insert()
/freebsd-12.1/contrib/ofed/libibnetdisc/
H A Dibnetdisc.h111 ibnd_node_t *node; /* node this port belongs to */ member
220 typedef void (*ibnd_iter_node_func_t) (ibnd_node_t * node, void *user_data);
246 IBND_EXPORT char *ibnd_get_chassis_type(ibnd_node_t * node);
247 IBND_EXPORT char *ibnd_get_chassis_slot_str(ibnd_node_t * node,
/freebsd-12.1/contrib/dtc/Documentation/
H A Ddtc-paper.tex76 Each node contains \emph{properties}, name--value pairs that give
225 The structure block contains the device tree proper. Each node is
228 follows all of the properties of the node, each introduced with a
229 \dtprop tag, then all of the node's subnodes, each introduced with
234 introducing the description of the root node (named \texttt{/}).
277 tree. In OF, each node in the tree has an associated phandle, a
303 bus node, which is under a HyperTransport\tm bus node. The form of
305 node's \texttt{reg} property. In addition, nodes have a property,
312 \texttt{name} property from the node's path name.
462 full path to some node in the tree. For example, in Figure
[all …]
/freebsd-12.1/contrib/gcc/
H A Dtree-inline.c207 if (node) in remap_type_1()
328 if (node) in remap_type()
737 node; in copy_bb()
738 node = node->next_clone) in copy_bb()
1335 return node; in inline_forbidden_p_1()
1346 return node; in inline_forbidden_p_1()
1361 return node; in inline_forbidden_p_1()
1372 return node; in inline_forbidden_p_1()
1379 return node; in inline_forbidden_p_1()
1409 return node; in inline_forbidden_p_1()
[all …]
/freebsd-12.1/contrib/bmake/
H A Dsuff.c1210 s2->node = NULL; in SuffAddSrc()
1228 s2->node = NULL; in SuffAddSrc()
1434 t = targ->node; in SuffFindCmds()
1496 ret->node = s; in SuffFindCmds()
2117 targ->node = gn; in SuffFindNormalDeps()
2163 targ->node = gn; in SuffFindNormalDeps()
2352 if (src->node->suffix) in SuffFindNormalDeps()
2357 if (targ->node == NULL) { in SuffFindNormalDeps()
2361 SuffApplyTransform(targ->node, src->node, in SuffFindNormalDeps()
2364 if (targ->node != gn) { in SuffFindNormalDeps()
[all …]
/freebsd-12.1/sys/fs/nandfs/
H A Dnandfs_segment.c393 if (node->nn_ino != NANDFS_DAT_INO) { in nandfs_add_blocks()
395 binfo->bi_v.bi_ino = node->nn_ino; in nandfs_add_blocks()
398 binfo->bi_dat.bi_ino = node->nn_ino; in nandfs_add_blocks()
429 struct nandfs_node *node; in nandfs_iterate_dirty_buf() local
432 node = VTON(vp); in nandfs_iterate_dirty_buf()
463 if (node->nn_ino != NANDFS_IFILE_INO) in nandfs_iterate_system_vnode()
466 vp = NTOV(node); in nandfs_iterate_system_vnode()
532 struct nandfs_node *node, *dat; in nandfs_update_phys_block() local
538 node = VTON(vp); in nandfs_update_phys_block()
546 if (node->nn_ino != NANDFS_DAT_INO) { in nandfs_update_phys_block()
[all …]

1...<<21222324252627282930>>...66