Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/staging/greybus/
Dfw-management.c23 struct fw_mgmt { struct
69 struct fw_mgmt *fw_mgmt = container_of(kref, struct fw_mgmt, kref); in fw_mgmt_kref_release() local
71 ida_destroy(&fw_mgmt->id_map); in fw_mgmt_kref_release()
72 kfree(fw_mgmt); in fw_mgmt_kref_release()
80 static void put_fw_mgmt(struct fw_mgmt *fw_mgmt) in put_fw_mgmt() argument
82 kref_put(&fw_mgmt->kref, fw_mgmt_kref_release); in put_fw_mgmt()
86 static struct fw_mgmt *get_fw_mgmt(struct cdev *cdev) in get_fw_mgmt()
88 struct fw_mgmt *fw_mgmt; in get_fw_mgmt() local
92 list_for_each_entry(fw_mgmt, &fw_mgmt_list, node) { in get_fw_mgmt()
93 if (&fw_mgmt->cdev == cdev) { in get_fw_mgmt()
[all …]