| /freebsd-14.2/sys/arm/ti/ |
| H A D | ti_scm.c | 112 phandle_t node, child; in ti_scm_attach() local 116 node = ofw_bus_get_node(dev); in ti_scm_attach() 118 simplebus_init(dev, node); in ti_scm_attach() 119 if (simplebus_fill_ranges(node, &sc->sc) < 0) { in ti_scm_attach() 124 for (child = OF_child(node); child > 0; child = OF_peer(child)) { in ti_scm_attach()
|
| /freebsd-14.2/sys/arm/freescale/vybrid/ |
| H A D | vf_dcu4.c | 238 phandle_t node; in get_panel_info() local 242 if ((node = ofw_bus_get_node(sc->dev)) == -1) in get_panel_info() 246 if ((len = OF_getproplen(node, "panel-size")) <= 0) in get_panel_info() 248 OF_getencprop(node, "panel-size", dts_value, len); in get_panel_info() 253 if ((len = OF_getproplen(node, "panel-hsync")) <= 0) in get_panel_info() 255 OF_getencprop(node, "panel-hsync", dts_value, len); in get_panel_info() 261 if ((len = OF_getproplen(node, "panel-vsync")) <= 0) in get_panel_info() 263 OF_getencprop(node, "panel-vsync", dts_value, len); in get_panel_info() 269 if ((len = OF_getproplen(node, "panel-clk-div")) <= 0) in get_panel_info() 271 OF_getencprop(node, "panel-clk-div", dts_value, len); in get_panel_info() [all …]
|
| /freebsd-14.2/sys/dev/extres/regulator/ |
| H A D | regulator_bus.c | 59 phandle_t node, child; in ofw_regulator_bus_attach() local 61 node = ofw_bus_get_node(dev); in ofw_regulator_bus_attach() 62 simplebus_init(dev, node); in ofw_regulator_bus_attach() 64 for (child = OF_child(node); child > 0; child = OF_peer(child)) { in ofw_regulator_bus_attach()
|
| /freebsd-14.2/sys/arm/mv/ |
| H A D | mv_common.c | 668 phandle_t node; in soc_id() local 2520 phandle_t node; in fdt_get_ranges() local 2525 if (node == -1) in fdt_get_ranges() 2561 phandle_t node; in win_cpu_from_dt() local 2633 while ((node = OF_peer(node)) != 0) { in win_cpu_from_dt() 2641 if (node == 0) in win_cpu_from_dt() 2731 if (node == -1) in fdt_win_setup() 2769 sb = node = fdt_find_compatible(node, "simple-bus", 0); in fdt_win_setup() 2770 if (node == 0) in fdt_win_setup() 2780 node = fdt_find_compatible(node, "simple-bus", 0); in fdt_win_setup() [all …]
|
| /freebsd-14.2/sys/netgraph/ |
| H A D | ng_l2tp.c | 371 priv->node = node; in ng_l2tp_constructor() 672 NG_NODE_UNREF(node); in ng_l2tp_shutdown() 698 if (NG_NODE_NUMHOOKS(node) == 0 && NG_NODE_IS_VALID(node)) in ng_l2tp_disconnect() 699 ng_rmnode_self(node); in ng_l2tp_disconnect() 965 node); in ng_l2tp_rcvdata_lower() 1065 node); in ng_l2tp_rcvdata_ctrl() 1368 priv->node); in ng_l2tp_seq_recv_nr() 1406 const node_p node = arg; in ng_l2tp_seq_xack_timeout() local 1416 CURVNET_SET(node->nd_vnet); in ng_l2tp_seq_xack_timeout() 1433 const node_p node = arg; in ng_l2tp_seq_rack_timeout() local [all …]
|
| H A D | ng_vlan_rotate.c | 168 ng_vlanrotate_constructor(node_p node) in ng_vlanrotate_constructor() argument 182 NG_NODE_SET_PRIVATE(node, vrp); in ng_vlanrotate_constructor() 190 ng_vlanrotate_newhook(node_p node, hook_p hook, const char *name) in ng_vlanrotate_newhook() argument 192 const vlanrotate_p vrp = NG_NODE_PRIVATE(node); in ng_vlanrotate_newhook() 218 ng_vlanrotate_rcvmsg(node_p node, item_p item, hook_p lasthook) in ng_vlanrotate_rcvmsg() argument 220 const vlanrotate_p vrp = NG_NODE_PRIVATE(node); in ng_vlanrotate_rcvmsg() 301 NG_RESPOND_MSG(error, node, item, resp); in ng_vlanrotate_rcvmsg() 466 ng_vlanrotate_shutdown(node_p node) in ng_vlanrotate_shutdown() argument 468 const vlanrotate_p vrp = NG_NODE_PRIVATE(node); in ng_vlanrotate_shutdown() 471 NG_NODE_SET_PRIVATE(node, NULL); in ng_vlanrotate_shutdown() [all …]
|
| H A D | ng_vlan.c | 219 ng_vlan_constructor(node_p node) in ng_vlan_constructor() argument 227 NG_NODE_SET_PRIVATE(node, priv); in ng_vlan_constructor() 234 const priv_p priv = NG_NODE_PRIVATE(node); in ng_vlan_newhook() 253 const priv_p priv = NG_NODE_PRIVATE(node); in ng_vlan_rcvmsg() 292 hook = ng_findhook(node, vf->hook_name); in ng_vlan_rcvmsg() 497 NG_SEND_MSG_HOOK(error, node, copy, in ng_vlan_rcvmsg() 506 NG_RESPOND_MSG(error, node, item, resp); in ng_vlan_rcvmsg() 676 ng_vlan_shutdown(node_p node) in ng_vlan_shutdown() argument 678 const priv_p priv = NG_NODE_PRIVATE(node); in ng_vlan_shutdown() 680 NG_NODE_SET_PRIVATE(node, NULL); in ng_vlan_shutdown() [all …]
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/display/exynos/ |
| H A D | exynos-mic.txt | 17 - samsung,disp-syscon: the reference node for syscon for DISP block. 18 - ports: contains a port which is connected to decon node and dsi node. 20 - port: contains an endpoint node which is connected to the endpoint in the 21 decon node or dsi node. The reg value must be 0 and 1 respectively.
|
| /freebsd-14.2/sys/dev/sdhci/ |
| H A D | sdhci_fdt.c | 197 phandle_t node; in sdhci_export_clocks() local 200 node = ofw_bus_get_node(sc->dev); in sdhci_export_clocks() 308 phandle_t node; in sdhci_get_syscon() local 311 node = ofw_bus_get_node(sc->dev); in sdhci_get_syscon() 312 if (OF_hasprop(node, "arasan,soc-ctl-syscon") && in sdhci_get_syscon() 313 syscon_get_by_ofw_property(sc->dev, node, in sdhci_get_syscon() 508 phandle_t node; in sdhci_fdt_probe() local 546 node = ofw_bus_get_node(dev); in sdhci_fdt_probe() 555 if (OF_hasprop(node, "no-1-8-v")) in sdhci_fdt_probe() 557 if (OF_hasprop(node, "wp-inverted")) in sdhci_fdt_probe() [all …]
|
| /freebsd-14.2/sys/kern/ |
| H A D | uipc_mqueue.c | 453 node->mn_ctime = node->mn_atime = node->mn_mtime = in mqfs_create_node() 454 node->mn_birth; in mqfs_create_node() 458 return (node); in mqfs_create_node() 472 mqnode_free(node); in mqfs_create_file() 475 return (node); in mqfs_create_file() 521 mqnode_free(node); in mqfs_create_dir() 529 return (node); in mqfs_create_dir() 546 return (node); in mqfs_create_link() 565 if (node->mn_type == mqfstype_dir || node->mn_type == mqfstype_root) in mqfs_destroy() 577 mqfs_fileno_free(node->mn_info, node); in mqfs_destroy() [all …]
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/media/ |
| H A D | imx7-csi.txt | 4 csi node 7 This is device node for the CMOS Sensor Interface (CSI) which enables the chip 19 The device node shall contain one 'port' child node with one child 'endpoint' 20 node, according to the bindings defined in:
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/arm/ |
| H A D | ste-u300.txt | 3 For various board the "board" node may contain specific properties 7 Required root node property: 11 Required node: syscon 20 Required node: s365 25 - syscon: a pointer to the syscon node so we can access the
|
| /freebsd-14.2/sys/dev/firmware/arm/ |
| H A D | scmi_shmem.c | 72 phandle_t node; in shmem_attach() local 79 node = ofw_bus_get_node(dev); in shmem_attach() 80 if (node == -1) in shmem_attach() 83 OF_getencprop(node, "reg", ®, sizeof(reg)); in shmem_attach() 89 OF_device_register_xref(OF_xref_from_node(node), dev); in shmem_attach()
|
| /freebsd-14.2/sys/dev/iicbus/gpio/ |
| H A D | tca64xx.c | 556 struct sysctl_oid *node; in tca6416_regdump_setup() local 559 node = device_get_sysctl_tree(dev); in tca6416_regdump_setup() 561 SYSCTL_ADD_PROC(ctx, SYSCTL_CHILDREN(node), OID_AUTO, "in_reg_1", in tca6416_regdump_setup() 564 SYSCTL_ADD_PROC(ctx, SYSCTL_CHILDREN(node), OID_AUTO, "in_reg_2", in tca6416_regdump_setup() 568 SYSCTL_ADD_PROC(ctx, SYSCTL_CHILDREN(node), OID_AUTO, "out_reg_1", in tca6416_regdump_setup() 572 SYSCTL_ADD_PROC(ctx, SYSCTL_CHILDREN(node), OID_AUTO, "out_reg_2", in tca6416_regdump_setup() 576 SYSCTL_ADD_PROC(ctx, SYSCTL_CHILDREN(node), OID_AUTO, "pol_inv_1", in tca6416_regdump_setup() 580 SYSCTL_ADD_PROC(ctx, SYSCTL_CHILDREN(node), OID_AUTO, "pol_inv_2", in tca6416_regdump_setup() 597 struct sysctl_oid *node; in tca6408_regdump_setup() local 600 node = device_get_sysctl_tree(dev); in tca6408_regdump_setup() [all …]
|
| /freebsd-14.2/sys/dev/iicbus/pmic/silergy/ |
| H A D | syr827.c | 180 syr827_reg_attach(device_t dev, phandle_t node) in syr827_reg_attach() argument 188 regulator_parse_ofw_stdparam(dev, node, &initdef); in syr827_reg_attach() 190 initdef.ofw_node = node; in syr827_reg_attach() 200 reg_sc->xref = OF_xref_from_node(node); in syr827_reg_attach() 203 if (OF_getencprop(node, "fcs,suspend-voltage-selector", &suspend_reg, in syr827_reg_attach() 279 phandle_t node; in syr827_attach() local 282 node = ofw_bus_get_node(dev); in syr827_attach() 292 sc->reg = syr827_reg_attach(dev, node); in syr827_attach()
|
| /freebsd-14.2/cddl/contrib/opensolaris/tools/ctf/cvt/ |
| H A D | hash.c | 115 hash_add_cb(void *node, void *private) in hash_add_cb() argument 117 hash_add((hash_t *)private, node); in hash_add_cb() 153 hash_find_list_cb(void *node, void *arg) in hash_find_list_cb() argument 159 if (hd->hd_hash->h_cmp(hd->hd_key, node) == 0) { in hash_find_list_cb() 160 if ((cbrc = hd->hd_fun(node, hd->hd_private)) < 0) in hash_find_list_cb() 186 hash_find_first_cb(void *node, void *arg) in hash_find_first_cb() argument 189 if (hd->hd_hash->h_cmp(hd->hd_key, node) == 0) { in hash_find_first_cb() 190 hd->hd_ret = node; in hash_find_first_cb()
|
| /freebsd-14.2/sys/powerpc/pseries/ |
| H A D | plpar_iommu.c | 75 phandle_t node; in phyp_iommu_set_dma_tag() local 90 node = ofw_bus_get_node(p); in phyp_iommu_set_dma_tag() 91 if (OF_getencprop(node, "ibm,#dma-size-cells", &dma_scells, in phyp_iommu_set_dma_tag() 93 OF_searchencprop(node, "#size-cells", &dma_scells, in phyp_iommu_set_dma_tag() 95 if (OF_getencprop(node, "ibm,#dma-address-cells", &dma_acells, in phyp_iommu_set_dma_tag() 97 OF_searchencprop(node, "#address-cells", &dma_acells, in phyp_iommu_set_dma_tag() 101 OF_getencprop(node, "ibm,my-dma-window", dmawindow, in phyp_iommu_set_dma_tag() 104 OF_getencprop(node, "ibm,dma-window", dmawindow, in phyp_iommu_set_dma_tag()
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/arm/keystone/ |
| H A D | ti,sci.txt | 19 The TI-SCI node describes the Texas Instrument's System Controller entity node. 20 This parent node may optionally have additional children nodes which describe 23 relationship between the TI-SCI parent node to the child node. 35 node and an args specifier that will be the phandle to the intended 36 sub-mailbox child node to be used for communication. 69 Client nodes are maintained as children of the relevant TI-SCI device node.
|
| /freebsd-14.2/contrib/bmake/ |
| H A D | job.c | 1118 SwitchOutputTo(job->node); in JobFinishDoneExitedError() 1151 job->node->name); in JobFinishDoneExited() 1254 job->node->made = MADE; in JobFinish() 1257 Make_Update(job->node); in JobFinish() 1692 job->node = gn; in JobStart() 1772 job->node->made = MADE; in JobStart() 1773 Make_Update(job->node); in JobStart() 2075 job->node->name); in JobReapChild() 2079 job->node->name); in JobReapChild() 2619 gn = job->node; in JobInterrupt() [all …]
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/pinctrl/ |
| H A D | renesas,rza1-pinctrl.txt | 11 Pin controller node 25 Pin controller node for RZ/A1H SoC (r7s72100) 40 A pin multiplexing sub-node describes how to configure a set of 42 A single sub-node may define several pin configurations. 56 node-1 { 61 node-2 { 62 sub-node-1 { 67 sub-node-2 { 74 sub-node-n { 90 pinctrl-0 = <&node-1>; [all …]
|
| /freebsd-14.2/sys/dev/extres/clk/ |
| H A D | clk_bus.c | 61 phandle_t node, child; in ofw_clkbus_attach() local 64 node = ofw_bus_get_node(dev); in ofw_clkbus_attach() 65 simplebus_init(dev, node); in ofw_clkbus_attach() 67 for (child = OF_child(node); child > 0; child = OF_peer(child)) { in ofw_clkbus_attach()
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/ufs/ |
| H A D | ufshcd-pltfrm.txt | 4 Each UFS controller instance should have its own node. 24 - phys : phandle to UFS PHY node 25 - phy-names : the string "ufsphy" when is found in a node, along 26 with "phys" attribute, provides phandle to UFS PHY node 27 - vdd-hba-supply : phandle to UFS host controller supply regulator node 28 - vcc-supply : phandle to VCC supply regulator node 29 - vccq-supply : phandle to VCCQ supply regulator node 30 - vccq2-supply : phandle to VCCQ2 supply regulator node 59 - resets : reset node register 60 - reset-names : describe reset node register, the "rst" corresponds to reset the whole UFS IP.
|
| /freebsd-14.2/sys/riscv/sifive/ |
| H A D | fu740_pci_dw.c | 333 phandle_t node; in fupci_attach() local 337 node = ofw_bus_get_node(dev); in fupci_attach() 341 error = ofw_bus_find_string_index(node, "reg-names", "dbi", &rid); in fupci_attach() 355 error = ofw_bus_find_string_index(node, "reg-names", "mgmt", &rid); in fupci_attach() 369 error = gpio_pin_get_by_ofw_property(dev, node, "reset-gpios", in fupci_attach() 373 error = gpio_pin_get_by_ofw_property(dev, node, "perstn-gpios", in fupci_attach() 387 error = gpio_pin_get_by_ofw_property(dev, node, "pwren-gpios", in fupci_attach() 401 error = clk_get_by_ofw_name(dev, node, "pcie_aux", &sc->pcie_aux_clk); in fupci_attach() 404 error = clk_get_by_ofw_name(dev, node, "pcieaux", in fupci_attach() 411 error = hwreset_get_by_ofw_idx(dev, node, 0, &sc->pcie_aux_rst); in fupci_attach()
|
| /freebsd-14.2/contrib/unbound/ipsecmod/ |
| H A D | ipsecmod-whitelist.c | 72 n->node.key = n; in whitelist_str_cfg() 123 struct name_tree_node* node = (struct name_tree_node*)n; in whitelist_get_mem() local 125 if(node) { in whitelist_get_mem() 126 *size += sizeof(node) + node->len; in whitelist_get_mem()
|
| /freebsd-14.2/sys/dev/gpio/ |
| H A D | gpiopower.c | 71 phandle_t node; in gpiopower_attach() local 76 if ((node = ofw_bus_get_node(dev)) == -1) in gpiopower_attach() 93 if ((OF_getprop(node, "active-delay-ms", &prop, sizeof(prop))) > 0) in gpiopower_attach() 95 if ((OF_getprop(node, "inactive-delay-ms", &prop, sizeof(prop))) > 0) in gpiopower_attach() 97 if ((OF_getprop(node, "timeout-ms", &prop, sizeof(prop))) > 0) in gpiopower_attach()
|