MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_ofw_node_put

Function rt_ofw_node_put

components/drivers/ofw/base.c:272–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270}
271
272void rt_ofw_node_put(struct rt_ofw_node *np)
273{
274 if (np)
275 {
276 LOG_D("%s put ref = %d", np->full_name, rt_ref_read(&np->ref));
277 rt_ref_put(&np->ref, &ofw_node_release);
278 }
279}
280
281rt_bool_t rt_ofw_node_tag_equ(const struct rt_ofw_node *np, const char *tag)
282{

Callers 15

ofw_msi_pic_initFunction · 0.85
ofw_find_deviceFunction · 0.85
rt_pci_ofw_device_freeFunction · 0.85
spi_bus_scan_devicesFunction · 0.85
ofw_get_reset_controlFunction · 0.85
ofw_pin_ctrl_confs_applyFunction · 0.85
rt_platform_ofw_freeFunction · 0.85
ofw_find_power_domainFunction · 0.85
gpio_led_probeFunction · 0.85

Calls 2

rt_ref_readFunction · 0.85
rt_ref_putFunction · 0.85

Tested by

no test coverage detected