Michal Nazarewicz
1df22b4ea9
usb: gadget: f_fs: add usb_functionfs_descs_head_v2 structure
...
The structure can be used with user space tools that use the new
functionfs description format, for example as follows:
static const struct {
struct usb_functionfs_descs_head_v2 header;
__le32 fs_count;
__le32 hs_count;
struct {
…
} fs_desc;
struct {
…
} hs_desc;
} descriptors = {
.header = {
.magic = cpu_to_le32(FUNCTIONFS_DESCRIPTORS_MAGIC_V2),
.length = cpu_to_le32(sizeof(descriptors)),
.flags = cpu_to_le32(FUNCTIONFS_HAS_FS_DESC |
FUNCTIONFS_HAS_HS_DESC)
},
.fs_count = cpu_to_le32(X),
.fs_desc = {
…
},
.hs_count = cpu_to_le32(Y),
.hs_desc = {
…
}
};
Signed-off-by: Michal Nazarewicz <mina86@mina86.com >
Signed-off-by: Felipe Balbi <balbi@ti.com >
2014-09-02 09:16:46 -05:00
..
2014-07-15 09:34:19 +02:00
2014-07-09 14:14:27 -07:00
2014-08-02 15:03:58 -07:00
2014-06-25 19:28:43 +02:00
2014-06-25 19:28:43 +02:00
2014-05-08 12:43:03 -04:00
2014-01-14 16:44:21 +11:00
2014-02-27 13:51:29 +09:00
2014-01-16 17:24:11 -08:00
2014-09-02 09:16:46 -05:00
2014-01-07 13:50:28 +01:00
2014-07-10 11:06:00 +01:00
2014-01-08 13:05:13 -08:00
2014-07-01 10:48:05 -06:00
2014-06-28 13:48:44 -07:00
2014-05-19 09:38:24 +02:00
2014-04-22 21:42:27 -04:00
2014-03-20 14:55:18 +01:00
2014-07-30 17:21:05 -07:00
2014-01-21 23:46:27 -05:00
2014-01-23 16:36:55 -08:00
2014-08-05 16:35:54 -07:00
2014-05-19 01:19:30 +01:00
2013-12-03 15:35:52 +01:00
2014-03-13 19:07:42 +11:00
2014-08-08 15:57:31 -07:00
2014-01-17 11:12:06 +01:00
2014-04-22 21:27:57 -04:00
2014-04-01 17:08:43 +02:00
2014-07-22 16:37:43 +02:00
2013-11-28 18:26:30 -05:00
2014-05-14 10:04:34 +01:00
2014-04-16 14:10:36 -07:00
2014-07-09 16:41:36 -07:00
2014-01-15 17:00:40 -08:00
2013-12-11 12:57:55 -08:00
2014-03-14 22:20:57 -04:00
2014-04-27 19:08:06 -04:00
2014-07-11 15:05:45 -07:00
2014-07-29 11:39:50 -07:00
2014-06-11 15:39:19 -07:00
2014-02-27 15:59:09 -05:00
2014-08-06 15:25:01 -07:00
2014-02-26 15:51:00 -05:00
2014-06-04 13:09:43 +02:00
2014-07-01 12:16:24 -07:00
2014-04-30 04:18:57 -07:00
2014-08-08 15:57:32 -07:00
2014-05-30 21:01:11 +02:00
2014-08-05 09:58:11 +02:00
2014-05-23 16:28:53 -04:00
2014-04-03 16:21:06 -07:00
2013-12-04 14:59:20 -02:00
2014-08-08 15:57:31 -07:00
2013-11-27 11:03:38 -08:00
2014-02-07 15:30:34 -08:00
2014-03-04 13:51:06 -05:00
2014-01-20 14:45:33 -08:00
2014-01-20 14:44:50 -08:00
2014-06-02 17:58:55 -07:00
2014-08-05 16:35:54 -07:00
2013-12-22 18:02:43 -05:00
2014-07-15 16:12:01 -07:00
2014-01-07 23:57:25 +01:00
2013-11-28 18:16:43 -05:00
2014-05-20 00:06:04 +02:00
2014-01-23 16:36:55 -08:00
2014-06-23 14:24:55 +02:00
2014-06-13 10:53:49 -04:00
2014-07-24 01:15:04 -07:00
2013-11-28 18:16:43 -05:00
2014-01-25 11:17:34 -08:00
2014-06-09 12:21:04 +02:00
2014-02-17 07:18:19 +01:00
2014-01-06 15:13:01 -05:00
2014-01-23 16:36:55 -08:00
2014-04-07 16:35:52 -07:00
2014-04-30 04:18:57 -07:00
2014-03-21 14:21:13 -04:00
2014-08-05 16:41:22 -04:00
2014-01-20 14:44:17 -08:00
2014-01-16 09:27:17 +01:00
2014-07-16 14:40:04 -07:00
2014-07-18 12:13:40 -07:00
2014-04-25 10:08:48 -07:00
2014-07-17 18:23:35 -07:00
2014-07-20 14:33:23 -07:00
2014-06-06 16:08:14 -07:00
2014-03-03 15:58:03 -05:00
2013-11-19 19:07:21 +00:00
2014-07-01 12:16:24 -07:00
2014-02-26 17:08:40 -05:00
2014-02-14 16:09:43 -05:00
2014-01-20 14:44:05 -08:00
2014-06-25 18:03:41 -07:00
2014-04-26 12:13:24 -04:00
2014-05-23 16:28:53 -04:00
2014-04-01 18:27:33 +02:00
2014-07-21 14:30:42 -07:00
2013-11-28 18:16:43 -05:00
2014-03-04 15:38:05 -08:00
2014-04-16 18:20:02 -03:00
2014-07-25 19:27:51 -03:00
2014-04-16 18:27:08 -03:00
2014-05-13 13:48:29 -03:00
2014-05-25 12:47:55 -03:00
2014-08-05 15:28:48 +10:00
2014-07-25 19:26:14 -03:00
2014-07-01 10:51:01 -06:00
2013-12-11 09:25:20 -02:00
2014-04-03 16:21:06 -07:00
2014-03-07 08:12:37 +01:00
2013-11-26 11:09:08 +01:00
2013-11-26 11:09:09 +01:00