Searched refs:ref_count (Results 1 – 3 of 3) sorted by relevance
41 …uint32_t ref_count; /**< reference count used to protect p_phy_ctrl_obj … member193 p_phy_ctrl_obj->ref_count = 0; in usb_phy_install()225 p_phy_ctrl_obj->ref_count++; in usb_new_phy()274 if (p_phy_ctrl_obj->ref_count == 0) { in usb_new_phy()285 if (p_phy_ctrl_obj->ref_count == 0) { in phy_uninstall()300 p_phy_ctrl_obj->ref_count--; in usb_del_phy()
57 uint32_t ref_count; member551 dev_obj->dynamic.ref_count++; in usbh_dev_open()569 dev_obj->dynamic.ref_count--; in usbh_dev_close()571 if (dev_obj->dynamic.ref_count == 0) { in usbh_dev_close()617 if (dev_obj_cur->dynamic.ref_count == 0 && !dev_obj_cur->dynamic.flags.is_gone) { in usbh_dev_mark_all_free()930 if (dev_obj->dynamic.ref_count == 0) { in usbh_hub_pass_event()945 …assert(dev_obj->dynamic.ref_count == 0); //At this stage, the device should have been closed by… in usbh_hub_pass_event()
47 atomic_int ref_count; member190 atomic_init(ð_driver->ref_count, 1); in esp_eth_driver_install()247 … ESP_GOTO_ON_FALSE(atomic_compare_exchange_strong(ð_driver->ref_count, &expected_ref_count, 0), in esp_eth_driver_uninstall()415 atomic_fetch_add(ð_driver->ref_count, 1); in esp_eth_increase_reference()425 atomic_fetch_sub(ð_driver->ref_count, 1); in esp_eth_decrease_reference()