Home
last modified time | relevance | path

Searched refs:fw_mgmt (Results 1 – 1 of 1) sorted by relevance

/drivers/staging/greybus/
Dfw-management.c23 struct fw_mgmt { struct
66 struct fw_mgmt *fw_mgmt = container_of(kref, struct fw_mgmt, kref); in fw_mgmt_kref_release() argument
68 ida_destroy(&fw_mgmt->id_map); in fw_mgmt_kref_release()
69 kfree(fw_mgmt); in fw_mgmt_kref_release()
77 static void put_fw_mgmt(struct fw_mgmt *fw_mgmt) in put_fw_mgmt() argument
79 kref_put(&fw_mgmt->kref, fw_mgmt_kref_release); in put_fw_mgmt()
83 static struct fw_mgmt *get_fw_mgmt(struct cdev *cdev) in get_fw_mgmt()
85 struct fw_mgmt *fw_mgmt; in get_fw_mgmt() local
89 list_for_each_entry(fw_mgmt, &fw_mgmt_list, node) { in get_fw_mgmt()
90 if (&fw_mgmt->cdev == cdev) { in get_fw_mgmt()
[all …]