0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef __FIRMWARE_H
0010 #define __FIRMWARE_H
0011
0012 #include <linux/greybus.h>
0013
0014 #define FW_NAME_PREFIX "gmp_"
0015
0016
0017
0018
0019
0020 #define FW_NAME_SIZE 56
0021
0022
0023 int fw_mgmt_init(void);
0024 void fw_mgmt_exit(void);
0025 struct gb_connection *to_fw_mgmt_connection(struct device *dev);
0026 int gb_fw_mgmt_request_handler(struct gb_operation *op);
0027 int gb_fw_mgmt_connection_init(struct gb_connection *connection);
0028 void gb_fw_mgmt_connection_exit(struct gb_connection *connection);
0029
0030
0031 int gb_fw_download_request_handler(struct gb_operation *op);
0032 int gb_fw_download_connection_init(struct gb_connection *connection);
0033 void gb_fw_download_connection_exit(struct gb_connection *connection);
0034
0035
0036 int cap_init(void);
0037 void cap_exit(void);
0038 int gb_cap_connection_init(struct gb_connection *connection);
0039 void gb_cap_connection_exit(struct gb_connection *connection);
0040
0041 #endif