Searched refs:phandle (Results 1 - 19 of 19) sorted by relevance

/freebsd-current/sys/powerpc/ofw/
H A Dofw_machdep.c175 phandle_t phandle; local
183 phandle = OF_finddevice("/");
184 if (OF_getencprop(phandle, "#address-cells", &address_cells,
187 if (OF_getencprop(phandle, "#size-cells", &size_cells,
241 phandle_t phandle; local
249 phandle = OF_finddevice("/");
250 if (OF_getencprop(phandle, "#address-cells", &address_cells,
253 if (OF_getencprop(phandle, "#size-cells", &size_cells,
466 phandle_t phandle; local
475 for (phandle
506 phandle_t phandle; local
[all...]
/freebsd-current/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_kern_lib.c226 VCHIQ_SERVICE_HANDLE_T *phandle)
236 *phandle = VCHIQ_SERVICE_HANDLE_INVALID;
250 *phandle = service->handle;
271 VCHIQ_SERVICE_HANDLE_T *phandle)
280 *phandle = VCHIQ_SERVICE_HANDLE_INVALID;
292 *phandle = service->handle;
297 *phandle = VCHIQ_SERVICE_HANDLE_INVALID;
223 vchiq_add_service( VCHIQ_INSTANCE_T instance, const VCHIQ_SERVICE_PARAMS_T *params, VCHIQ_SERVICE_HANDLE_T *phandle) argument
268 vchiq_open_service( VCHIQ_INSTANCE_T instance, const VCHIQ_SERVICE_PARAMS_T *params, VCHIQ_SERVICE_HANDLE_T *phandle) argument
/freebsd-current/sys/contrib/libfdt/
H A Dfdt_overlay.c60 * overlay_get_target_phandle - retrieves the target phandle of a fragment
64 * overlay_get_target_phandle() retrieves the target phandle of an
65 * overlay fragment when that fragment uses a phandle (target
69 * the phandle pointed by the target property
70 * 0, if the phandle was not found
71 * -1, if the phandle was malformed
97 * done (through a phandle or a path)
106 uint32_t phandle; local
110 /* Try first to do a phandle based lookup */
111 phandle
419 uint32_t phandle; local
[all...]
H A Dfdt_ro.c99 uint32_t phandle; local
107 phandle = fdt_get_phandle(fdt, offset);
108 if (phandle == (uint32_t)-1)
111 if (phandle > max_phandle)
112 max_phandle = phandle;
432 php = fdt_getprop(fdt, nodeoffset, "phandle", &len);
434 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len);
595 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle) argument
599 if ((phandle == 0) || (phandle
[all...]
H A Dlibfdt.h82 /* FDT_ERR_BADPHANDLE: Function was passed an invalid phandle.
83 * This can be caused either by an invalid phandle property
84 * length, or the phandle value was either 0 or -1, which are
138 * phandle available anymore without causing an overflow */
302 * fdt_get_max_phandle - retrieves the highest phandle in a tree
305 * fdt_get_max_phandle retrieves the highest phandle in the given
310 * the highest phandle on success
311 * 0, if no phandle was found in the device tree
702 * fdt_get_phandle - retrieve the phandle of a given node
706 * fdt_get_phandle() retrieves the phandle o
[all...]
/freebsd-current/sys/powerpc/pseries/
H A Dplatform_chrp.c211 phandle_t phandle; local
220 phandle = OF_finddevice("/ibm,dynamic-reconfiguration-memory");
221 if (phandle == -1)
225 res = OF_getencprop(phandle, "ibm,lmb-size", lmb_size,
243 len = OF_getproplen(phandle, "ibm,dynamic-memory");
250 res = OF_getencprop(phandle, "ibm,dynamic-memory", arr,
H A Dxics.c207 phandle_t phandle = ofw_bus_get_node(dev); local
223 if (OF_hasprop(phandle, "ibm,interrupt-server-ranges")) {
224 OF_getencprop(phandle, "ibm,interrupt-server-ranges",
274 powerpc_register_pic(dev, OF_xref_from_node(phandle), MAX_XICP_IRQS,
289 phandle_t phandle = ofw_bus_get_node(dev); local
292 powerpc_register_pic(root_pic, OF_xref_from_node(phandle),
/freebsd-current/usr.sbin/bhyve/aarch64/
H A Dfdt.c66 uint32_t phandle; local
68 phandle = next_phandle;
70 fdt_property_u32(fdt, "phandle", phandle);
72 return (phandle);
/freebsd-current/crypto/openssl/
H A De_os.h353 short phandle[10]={0}; local
361 PROCESSHANDLE_GETMINE_(phandle);
362 PROCESSHANDLE_DECOMPOSE_(phandle, &ppid.cpu_pin.cpu, &ppid.cpu_pin.pin);
/freebsd-current/lib/libusb/
H A Dlibusb10_hotplug.c185 libusb_hotplug_callback_handle *phandle)
231 if (phandle != NULL)
232 *phandle = handle;
181 libusb_hotplug_register_callback(libusb_context *ctx, libusb_hotplug_event events, libusb_hotplug_flag flags, int vendor_id, int product_id, int dev_class, libusb_hotplug_callback_fn cb_fn, void *user_data, libusb_hotplug_callback_handle *phandle) argument
/freebsd-current/sys/contrib/dev/mediatek/mt76/
H A Deeprom.c42 phandle phandle; local
51 phandle = be32_to_cpup(list++);
52 if (!phandle)
55 np = of_find_node_by_phandle(phandle);
/freebsd-current/sys/powerpc/powermac/
H A Dplatform_powermac.c228 phandle_t phandle; local
231 phandle = cpuref->cr_hwref;
233 OF_getprop(phandle, "timebase-frequency", &ticks, sizeof(ticks));
/freebsd-current/sys/dev/ofw/
H A Dofw_fdt.c212 * We use the offset from fdtp to the node as the 'phandle' in OF interface.
214 * phandle is a u32 value, therefore we cannot use the pointer to node as
215 * phandle in 64 bit. We also do not use the usual fdt offset as phandle,
216 * as it can be 0, and the OF interface has special meaning for phandle 0.
458 phandle_t phandle; local
460 phandle = OF_instance_to_package(instance);
461 if (phandle == -1)
464 return (OF_package_to_path(phandle, buf, len));
H A Dopenfirm.h136 * real phandle. If one can't be found (or running on OF implementations
182 bus_space_handle_t *phandle, bus_size_t *sz);
/freebsd-current/sys/powerpc/powernv/
H A Dxive.c315 phandle_t phandle = ofw_bus_get_node(dev); local
325 error = OF_getencprop(phandle, "ibm,xive-provision-page-size",
409 powerpc_register_pic(dev, OF_xref_from_node(phandle), MAX_XIVE_IRQS,
422 phandle_t phandle = ofw_bus_get_node(dev); local
425 powerpc_register_pic(root_pic, OF_xref_from_node(phandle),
/freebsd-current/usr.bin/dtc/
H A Dfdt.cc290 // If this is a phandle then we need to get the name of the
318 // If we already have some bytes, make the phandle a
1287 if ((p->get_key() == "phandle") ||
1288 (p->get_key() == "linux,phandle"))
1292 fprintf(stderr, "Invalid phandle value for node %s. Should be a 4-byte value.\n", n->name.c_str());
1297 uint32_t phandle = p->begin()->get_as_uint32(); local
1298 used_phandles.insert(std::make_pair(phandle, n));
1318 device_tree::assign_phandle(node_ptr n, uint32_t &phandle) argument
1320 // If there is an existing phandle, use it
1321 property_ptr p = n->get_property("phandle");
1377 resolve_cross_references(uint32_t &phandle) argument
2117 uint32_t phandle = 1; local
[all...]
H A Dfdt.hh135 * This is a phandle reference. When parsed from source, the
138 * will contain a 32-bit integer that should match the phandle
165 * Returns true if this value is a phandle reference, false otherwise.
719 * Name that we should use for phandle nodes.
723 /** linux,phandle */
725 /** phandle */
810 * be replaced by the value of the phandle property in their
815 * The locations of all of the values that are supposed to become phandle
830 * A map of used phandle values to nodes. All phandles must be unique,
872 * used in resolving cross references. Also collects phandle
[all...]
/freebsd-current/sys/net/altq/
H A Daltq_subr.c1312 acc_add_filter(classifier, filter, class, phandle)
1316 u_long *phandle;
1430 *phandle = afp->f_handle;
/freebsd-current/sys/contrib/dev/athk/ath11k/
H A Dahb.c796 phandle rproc_phandle;

Completed in 322 milliseconds