Lines Matching defs:fw_mgmt
23 struct fw_mgmt { struct
24 struct device *parent;
25 struct gb_connection *connection;
26 struct kref kref;
27 struct list_head node;
30 struct ida id_map;
31 struct mutex mutex;
32 struct completion completion;
33 struct cdev cdev;
34 struct device *class_device;
58 static struct class *fw_mgmt_class; argument
66 struct fw_mgmt *fw_mgmt = container_of(kref, struct fw_mgmt, kref); in fw_mgmt_kref_release() argument
77 static void put_fw_mgmt(struct fw_mgmt *fw_mgmt) in put_fw_mgmt()
85 struct fw_mgmt *fw_mgmt; in get_fw_mgmt() local
104 static int fw_mgmt_interface_fw_version_operation(struct fw_mgmt *fw_mgmt, in fw_mgmt_interface_fw_version_operation()
139 static int fw_mgmt_load_and_validate_operation(struct fw_mgmt *fw_mgmt, in fw_mgmt_load_and_validate_operation()
195 struct fw_mgmt *fw_mgmt = gb_connection_get_data(connection); in fw_mgmt_interface_fw_loaded_operation() local
242 static int fw_mgmt_backend_fw_version_operation(struct fw_mgmt *fw_mgmt, in fw_mgmt_backend_fw_version_operation()
298 static int fw_mgmt_backend_fw_update_operation(struct fw_mgmt *fw_mgmt, in fw_mgmt_backend_fw_update_operation()
345 struct fw_mgmt *fw_mgmt = gb_connection_get_data(connection); in fw_mgmt_backend_fw_updated_operation() local
388 struct fw_mgmt *fw_mgmt = get_fw_mgmt(inode->i_cdev); in fw_mgmt_open() local
401 struct fw_mgmt *fw_mgmt = file->private_data; in fw_mgmt_release() local
407 static int fw_mgmt_ioctl(struct fw_mgmt *fw_mgmt, unsigned int cmd, in fw_mgmt_ioctl()
535 struct fw_mgmt *fw_mgmt = file->private_data; in fw_mgmt_ioctl_unlocked() local
589 struct fw_mgmt *fw_mgmt; in gb_fw_mgmt_connection_init() local
660 struct fw_mgmt *fw_mgmt; in gb_fw_mgmt_connection_exit() local