[staging:greybus_move 249/251] include/linux/greybus/greybus_protocols.h:45:2: error: unknown type name '__le16'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://kernel.googlesource.com/pub/scm/linux/kernel/git/gregkh/staging.git greybus_move
head:   b85c1b86639e4f70f388c24ec4a3c5d56a50bf3c
commit: 739afccd8b20e98bc7ed311a1b31a01da10cb07f [249/251] staging: greybus: move core include files to include/linux/greybus/
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-10) 7.4.0
reproduce:
        git checkout 739afccd8b20e98bc7ed311a1b31a01da10cb07f
        # save the attached .config to linux build tree
        make ARCH=x86_64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All error/warnings (new ones prefixed by >>):

   In file included from <command-line>:0:0:
>> include/linux/greybus/greybus_protocols.h:45:2: error: unknown type name '__le16'
     __le16 size;  /* Size in bytes of header + payload */
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:46:2: error: unknown type name '__le16'
     __le16 operation_id; /* Operation unique id */
     ^~~~~~
>> include/linux/greybus/greybus_protocols.h:47:2: error: unknown type name '__u8'
     __u8 type;  /* E.g GB_I2C_TYPE_* or GB_GPIO_TYPE_* */
     ^~~~
   include/linux/greybus/greybus_protocols.h:48:2: error: unknown type name '__u8'
     __u8 result;  /* Result of request (in responses only) */
     ^~~~
   include/linux/greybus/greybus_protocols.h:49:2: error: unknown type name '__u8'
     __u8 pad[2];  /* must be zero (ignore when read) */
     ^~~~
   include/linux/greybus/greybus_protocols.h:58:2: error: unknown type name '__u8'
     __u8 phase;
     ^~~~
   include/linux/greybus/greybus_protocols.h:88:2: error: unknown type name '__u8'
     __u8 major;
     ^~~~
   include/linux/greybus/greybus_protocols.h:89:2: error: unknown type name '__u8'
     __u8 minor;
     ^~~~
   include/linux/greybus/greybus_protocols.h:93:2: error: unknown type name '__u8'
     __u8 major;
     ^~~~
   include/linux/greybus/greybus_protocols.h:94:2: error: unknown type name '__u8'
     __u8 minor;
     ^~~~
   include/linux/greybus/greybus_protocols.h:98:2: error: unknown type name '__u8'
     __u8 bundle_id;
     ^~~~
   include/linux/greybus/greybus_protocols.h:102:2: error: unknown type name '__u8'
     __u8 major;
     ^~~~
   include/linux/greybus/greybus_protocols.h:103:2: error: unknown type name '__u8'
     __u8 minor;
     ^~~~
   include/linux/greybus/greybus_protocols.h:108:2: error: unknown type name '__le16'
     __le16   size;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:113:2: error: unknown type name '__u8'
     __u8   data[0];
     ^~~~
   include/linux/greybus/greybus_protocols.h:118:2: error: unknown type name '__le16'
     __le16   cport_id;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:122:2: error: unknown type name '__le16'
     __le16   cport_id;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:127:2: error: unknown type name '__le16'
     __le16   cport_id;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:143:2: error: unknown type name '__u8'
     __u8 bundle_id;
     ^~~~
   include/linux/greybus/greybus_protocols.h:147:2: error: unknown type name '__u8'
     __u8 status;
     ^~~~
   include/linux/greybus/greybus_protocols.h:161:2: error: unknown type name '__u8'
     __u8 status;
     ^~~~
>> include/linux/greybus/greybus_protocols.h:201:2: error: unknown type name '__le32'
     __le32 flags;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:218:2: error: unknown type name '__u8'
     __u8   firmware_tag[GB_FIRMWARE_TAG_MAX_SIZE];
     ^~~~
   include/linux/greybus/greybus_protocols.h:222:2: error: unknown type name '__u8'
     __u8   firmware_id;
     ^~~~
   include/linux/greybus/greybus_protocols.h:223:2: error: unknown type name '__le32'
     __le32   size;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:228:2: error: unknown type name '__u8'
     __u8   firmware_id;
     ^~~~
   include/linux/greybus/greybus_protocols.h:229:2: error: unknown type name '__le32'
     __le32   offset;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:230:2: error: unknown type name '__le32'
     __le32   size;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:234:2: error: unknown type name '__u8'
     __u8   data[0];
     ^~~~
   include/linux/greybus/greybus_protocols.h:239:2: error: unknown type name '__u8'
     __u8   firmware_id;
     ^~~~
   include/linux/greybus/greybus_protocols.h:278:2: error: unknown type name '__u8'
     __u8   firmware_tag[GB_FIRMWARE_TAG_MAX_SIZE];
     ^~~~
   include/linux/greybus/greybus_protocols.h:279:2: error: unknown type name '__le16'
     __le16   major;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:280:2: error: unknown type name '__le16'
     __le16   minor;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:285:2: error: unknown type name '__u8'
     __u8   request_id;
     ^~~~
   include/linux/greybus/greybus_protocols.h:286:2: error: unknown type name '__u8'
     __u8   load_method;
     ^~~~
   include/linux/greybus/greybus_protocols.h:287:2: error: unknown type name '__u8'
     __u8   firmware_tag[GB_FIRMWARE_TAG_MAX_SIZE];
     ^~~~
   include/linux/greybus/greybus_protocols.h:293:2: error: unknown type name '__u8'
     __u8   request_id;
     ^~~~
   include/linux/greybus/greybus_protocols.h:294:2: error: unknown type name '__u8'
     __u8   status;
     ^~~~
   include/linux/greybus/greybus_protocols.h:295:2: error: unknown type name '__le16'
     __le16   major;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:296:2: error: unknown type name '__le16'
     __le16   minor;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:302:2: error: unknown type name '__u8'
     __u8   firmware_tag[GB_FIRMWARE_TAG_MAX_SIZE];
     ^~~~
   include/linux/greybus/greybus_protocols.h:306:2: error: unknown type name '__le16'
     __le16   major;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:307:2: error: unknown type name '__le16'
     __le16   minor;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:308:2: error: unknown type name '__u8'
     __u8   status;
     ^~~~
   include/linux/greybus/greybus_protocols.h:313:2: error: unknown type name '__u8'
     __u8   request_id;
     ^~~~
   include/linux/greybus/greybus_protocols.h:314:2: error: unknown type name '__u8'
     __u8   firmware_tag[GB_FIRMWARE_TAG_MAX_SIZE];
     ^~~~
   include/linux/greybus/greybus_protocols.h:320:2: error: unknown type name '__u8'
     __u8   request_id;
     ^~~~
   include/linux/greybus/greybus_protocols.h:321:2: error: unknown type name '__u8'
     __u8   status;
     ^~~~
   include/linux/greybus/greybus_protocols.h:335:2: error: unknown type name '__u8'
     __u8   uid[8];
     ^~~~
   include/linux/greybus/greybus_protocols.h:340:2: error: unknown type name '__le32'
     __le32   certificate_class;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:341:2: error: unknown type name '__le32'
     __le32   certificate_id;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:345:2: error: unknown type name '__u8'
     __u8   result_code;
     ^~~~
   include/linux/greybus/greybus_protocols.h:346:2: error: unknown type name '__u8'
     __u8   certificate[0];
     ^~~~
   include/linux/greybus/greybus_protocols.h:351:2: error: unknown type name '__le32'
     __le32   auth_type;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:352:2: error: unknown type name '__u8'
     __u8   uid[8];
--
     ^~~~
   include/linux/greybus/greybus_protocols.h:1725:2: error: unknown type name '__u8'
     __u8 brightness;
     ^~~~
   include/linux/greybus/greybus_protocols.h:1730:2: error: unknown type name '__u8'
     __u8 light_id;
     ^~~~
   include/linux/greybus/greybus_protocols.h:1731:2: error: unknown type name '__u8'
     __u8 channel_id;
     ^~~~
   include/linux/greybus/greybus_protocols.h:1732:2: error: unknown type name '__le32'
     __le32 color;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:1737:2: error: unknown type name '__u8'
     __u8 light_id;
     ^~~~
   include/linux/greybus/greybus_protocols.h:1738:2: error: unknown type name '__u8'
     __u8 channel_id;
     ^~~~
   include/linux/greybus/greybus_protocols.h:1739:2: error: unknown type name '__u8'
     __u8 fade_in;
     ^~~~
   include/linux/greybus/greybus_protocols.h:1740:2: error: unknown type name '__u8'
     __u8 fade_out;
     ^~~~
   include/linux/greybus/greybus_protocols.h:1745:2: error: unknown type name '__u8'
     __u8 light_id;
     ^~~~
   include/linux/greybus/greybus_protocols.h:1746:2: error: unknown type name '__u8'
     __u8 event;
     ^~~~
   include/linux/greybus/greybus_protocols.h:1752:2: error: unknown type name '__u8'
     __u8 light_id;
     ^~~~
   include/linux/greybus/greybus_protocols.h:1753:2: error: unknown type name '__u8'
     __u8 channel_id;
     ^~~~
   include/linux/greybus/greybus_protocols.h:1754:2: error: unknown type name '__le32'
     __le32 intensity_uA;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:1759:2: error: unknown type name '__u8'
     __u8 light_id;
     ^~~~
   include/linux/greybus/greybus_protocols.h:1760:2: error: unknown type name '__u8'
     __u8 channel_id;
     ^~~~
   include/linux/greybus/greybus_protocols.h:1761:2: error: unknown type name '__u8'
     __u8 state;
     ^~~~
   include/linux/greybus/greybus_protocols.h:1766:2: error: unknown type name '__u8'
     __u8 light_id;
     ^~~~
   include/linux/greybus/greybus_protocols.h:1767:2: error: unknown type name '__u8'
     __u8 channel_id;
     ^~~~
   include/linux/greybus/greybus_protocols.h:1768:2: error: unknown type name '__le32'
     __le32 timeout_us;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:1773:2: error: unknown type name '__u8'
     __u8 light_id;
     ^~~~
   include/linux/greybus/greybus_protocols.h:1774:2: error: unknown type name '__u8'
     __u8 channel_id;
     ^~~~
   include/linux/greybus/greybus_protocols.h:1779:2: error: unknown type name '__le32'
     __le32 fault;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:1964:2: error: unknown type name '__u8'
     __u8 stream_name[GB_AUDIO_PCM_NAME_MAX];
     ^~~~
   include/linux/greybus/greybus_protocols.h:1965:2: error: unknown type name '__le32'
     __le32 formats; /* GB_AUDIO_PCM_FMT_* */
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:1966:2: error: unknown type name '__le32'
     __le32 rates;  /* GB_AUDIO_PCM_RATE_* */
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:1967:2: error: unknown type name '__u8'
     __u8 chan_min;
     ^~~~
   include/linux/greybus/greybus_protocols.h:1968:2: error: unknown type name '__u8'
     __u8 chan_max;
     ^~~~
   include/linux/greybus/greybus_protocols.h:1969:2: error: unknown type name '__u8'
     __u8 sig_bits; /* number of bits of content */
     ^~~~
   include/linux/greybus/greybus_protocols.h:1973:2: error: unknown type name '__u8'
     __u8   name[AUDIO_DAI_NAME_MAX];
     ^~~~
   include/linux/greybus/greybus_protocols.h:1974:2: error: unknown type name '__le16'
     __le16   data_cport;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:1980:2: error: unknown type name '__le32'
     __le32 min;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:1981:2: error: unknown type name '__le32'
     __le32 max;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:1982:2: error: unknown type name '__le32'
     __le32 step;
     ^~~~~~
>> include/linux/greybus/greybus_protocols.h:1986:2: error: unknown type name '__le64'
     __le64 min;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:1987:2: error: unknown type name '__le64'
     __le64 max;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:1988:2: error: unknown type name '__le64'
     __le64 step;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:1992:2: error: unknown type name '__le32'
     __le32 items;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:1993:2: error: unknown type name '__le16'
     __le16 names_length;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:1994:2: error: unknown type name '__u8'
     __u8 names[0];
     ^~~~
   include/linux/greybus/greybus_protocols.h:1998:2: error: unknown type name '__u8'
     __u8  type;  /* GB_AUDIO_CTL_ELEM_TYPE_* */
     ^~~~
   include/linux/greybus/greybus_protocols.h:1999:2: error: unknown type name '__le16'
     __le16  dimen[4];
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:2008:2: error: unknown type name '__le64'
     __le64    timestamp; /* XXX needed? */
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:2010:3: error: unknown type name '__le32'
      __le32 integer_value[2]; /* consider CTL_DOUBLE_xxx */
      ^~~~~~
   include/linux/greybus/greybus_protocols.h:2011:3: error: unknown type name '__le64'
      __le64 integer64_value[2];
      ^~~~~~
   include/linux/greybus/greybus_protocols.h:2012:3: error: unknown type name '__le32'
      __le32 enumerated_item[2];
      ^~~~~~
   include/linux/greybus/greybus_protocols.h:2017:2: error: unknown type name '__u8'
     __u8 name[AUDIO_CONTROL_NAME_MAX];
     ^~~~
   include/linux/greybus/greybus_protocols.h:2018:2: error: unknown type name '__u8'
     __u8 id;  /* 0-63 */
     ^~~~
   include/linux/greybus/greybus_protocols.h:2019:2: error: unknown type name '__u8'
     __u8 iface;  /* GB_AUDIO_IFACE_* */
     ^~~~
   include/linux/greybus/greybus_protocols.h:2020:2: error: unknown type name '__le16'
     __le16 data_cport;
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:2021:2: error: unknown type name '__le32'
     __le32 access;  /* GB_AUDIO_ACCESS_* */
     ^~~~~~
   include/linux/greybus/greybus_protocols.h:2022:2: error: unknown type name '__u8'
     __u8    count;  /* count of same elements */
     ^~~~
   include/linux/greybus/greybus_protocols.h:2023:2: error: unknown type name '__u8'
     __u8 count_values; /* count of values, max=2 for CTL_DOUBLE_xxx */
     ^~~~
   include/linux/greybus/greybus_protocols.h:2028:2: error: unknown type name '__u8'
     __u8 name[AUDIO_WIDGET_NAME_MAX];
     ^~~~
   include/linux/greybus/greybus_protocols.h:2029:2: error: unknown type name '__u8'
     __u8 sname[AUDIO_WIDGET_NAME_MAX];
     ^~~~
   include/linux/greybus/greybus_protocols.h:2030:2: error: unknown type name '__u8'
     __u8 id;
     ^~~~
   include/linux/greybus/greybus_protocols.h:2031:2: error: unknown type name '__u8'
     __u8 type;  /* GB_AUDIO_WIDGET_TYPE_* */
     ^~~~
   include/linux/greybus/greybus_protocols.h:2032:2: error: unknown type name '__u8'
     __u8 state;  /* GB_AUDIO_WIDGET_STATE_* */
     ^~~~
   include/linux/greybus/greybus_protocols.h:2033:2: error: unknown type name '__u8'
     __u8 ncontrols;
     ^~~~
   include/linux/greybus/greybus_protocols.h:2038:2: error: unknown type name '__u8'
     __u8 source_id; /* widget id */
     ^~~~
   include/linux/greybus/greybus_protocols.h:2039:2: error: unknown type name '__u8'
     __u8 destination_id; /* widget id */
     ^~~~
   include/linux/greybus/greybus_protocols.h:2040:2: error: unknown type name '__u8'
     __u8 control_id; /* 0-63 */
     ^~~~
   include/linux/greybus/greybus_protocols.h:2041:2: error: unknown type name '__u8'
     __u8 index;  /* Selection within the control */
     ^~~~
   include/linux/greybus/greybus_protocols.h:2045:2: error: unknown type name '__u8'
     __u8 num_dais;
     ^~~~
   include/linux/greybus/greybus_protocols.h:2046:2: error: unknown type name '__u8'
     __u8 num_controls;
     ^~~~
   include/linux/greybus/greybus_protocols.h:2047:2: error: unknown type name '__u8'
     __u8 num_widgets;
     ^~~~
   include/linux/greybus/greybus_protocols.h:2048:2: error: unknown type name '__u8'
     __u8 num_routes;
     ^~~~
   include/linux/greybus/greybus_protocols.h:2049:2: error: unknown type name '__le32'
     __le32 size_dais;
..

vim +/__le16 +45 include/linux/greybus/greybus_protocols.h

cdee4f7505dbb0 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-06-22   21  
f8765177034a52 drivers/staging/greybus/greybus_protocols.h Greg Kroah-Hartman 2018-11-20   22  
e34fae58f6e004 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-29   23  /*
e34fae58f6e004 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-29   24   * All operation messages (both requests and responses) begin with
e34fae58f6e004 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-29   25   * a header that encodes the size of the message (header included).
e34fae58f6e004 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-29   26   * This header also contains a unique identifier, that associates a
e34fae58f6e004 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-29   27   * response message with its operation.  The header contains an
e34fae58f6e004 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-29   28   * operation type field, whose interpretation is dependent on what
e34fae58f6e004 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-29   29   * type of protocol is used over the connection.  The high bit
e34fae58f6e004 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-29   30   * (0x80) of the operation type field is used to indicate whether
e34fae58f6e004 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-29   31   * the message is a request (clear) or a response (set).
e34fae58f6e004 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-29   32   *
e34fae58f6e004 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-29   33   * Response messages include an additional result byte, which
e34fae58f6e004 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-29   34   * communicates the result of the corresponding request.  A zero
e34fae58f6e004 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-29   35   * result value means the operation completed successfully.  Any
e34fae58f6e004 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-29   36   * other value indicates an error; in this case, the payload of the
e34fae58f6e004 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-29   37   * response message (if any) is ignored.  The result byte must be
e34fae58f6e004 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-29   38   * zero in the header for a request message.
e34fae58f6e004 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-29   39   *
e34fae58f6e004 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-29   40   * The wire format for all numeric fields in the header is little
e34fae58f6e004 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-29   41   * endian.  Any operation-specific data begins immediately after the
e34fae58f6e004 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-29   42   * header.
e34fae58f6e004 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-29   43   */
e34fae58f6e004 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-29   44  struct gb_operation_msg_hdr {
e34fae58f6e004 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-29  @45  	__le16	size;		/* Size in bytes of header + payload */
e34fae58f6e004 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-29   46  	__le16	operation_id;	/* Operation unique id */
e34fae58f6e004 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-29  @47  	__u8	type;		/* E.g GB_I2C_TYPE_* or GB_GPIO_TYPE_* */
e34fae58f6e004 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-29   48  	__u8	result;		/* Result of request (in responses only) */
e34fae58f6e004 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-29   49  	__u8	pad[2];		/* must be zero (ignore when read) */
b701686a3e6739 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-08-31   50  } __packed;
e34fae58f6e004 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-29   51  
f8765177034a52 drivers/staging/greybus/greybus_protocols.h Greg Kroah-Hartman 2018-11-20   52  
7adb32b429ce38 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-04-29   53  /* Generic request types */
aac0839ea20306 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-08-26   54  #define GB_REQUEST_TYPE_CPORT_SHUTDOWN		0x00
7adb32b429ce38 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-04-29   55  #define GB_REQUEST_TYPE_INVALID			0x7f
2b11a45d29f52c drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-08-11   56  
aac0839ea20306 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-08-26   57  struct gb_cport_shutdown_request {
aac0839ea20306 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-08-26   58  	__u8 phase;
aac0839ea20306 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-08-26   59  } __packed;
aac0839ea20306 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-08-26   60  
f8765177034a52 drivers/staging/greybus/greybus_protocols.h Greg Kroah-Hartman 2018-11-20   61  
6366d73fd49b68 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-21   62  /* Control Protocol */
6366d73fd49b68 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-07-21   63  
cdee4f7505dbb0 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-06-22   64  /* Greybus control request types */
e217ae762bccb0 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-01-19   65  #define GB_CONTROL_TYPE_VERSION			0x01
cdee4f7505dbb0 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-06-22   66  #define GB_CONTROL_TYPE_PROBE_AP		0x02
cdee4f7505dbb0 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-06-22   67  #define GB_CONTROL_TYPE_GET_MANIFEST_SIZE	0x03
cdee4f7505dbb0 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-06-22   68  #define GB_CONTROL_TYPE_GET_MANIFEST		0x04
cdee4f7505dbb0 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-06-22   69  #define GB_CONTROL_TYPE_CONNECTED		0x05
cdee4f7505dbb0 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-06-22   70  #define GB_CONTROL_TYPE_DISCONNECTED		0x06
0bd39ca4898fb5 drivers/staging/greybus/greybus_protocols.h Bryan O'Donoghue   2016-03-02   71  #define GB_CONTROL_TYPE_TIMESYNC_ENABLE		0x07
0bd39ca4898fb5 drivers/staging/greybus/greybus_protocols.h Bryan O'Donoghue   2016-03-02   72  #define GB_CONTROL_TYPE_TIMESYNC_DISABLE	0x08
0bd39ca4898fb5 drivers/staging/greybus/greybus_protocols.h Bryan O'Donoghue   2016-03-02   73  #define GB_CONTROL_TYPE_TIMESYNC_AUTHORITATIVE	0x09
0decdd55b38ac8 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2016-05-05   74  /*	Unused					0x0a */
b807aa7aa51129 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-01-19   75  #define GB_CONTROL_TYPE_BUNDLE_VERSION		0x0b
197616e227b5b5 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-05-27   76  #define GB_CONTROL_TYPE_DISCONNECTING		0x0c
fa433b619655bf drivers/staging/greybus/greybus_protocols.h Bryan O'Donoghue   2016-05-12   77  #define GB_CONTROL_TYPE_TIMESYNC_GET_LAST_EVENT	0x0d
1c3aead12ea4df drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-04-29   78  #define GB_CONTROL_TYPE_MODE_SWITCH		0x0e
2c8e8841e3b8ce drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07   79  #define GB_CONTROL_TYPE_BUNDLE_SUSPEND		0x0f
2c8e8841e3b8ce drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07   80  #define GB_CONTROL_TYPE_BUNDLE_RESUME		0x10
f61908f94a9fc5 drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07   81  #define GB_CONTROL_TYPE_BUNDLE_DEACTIVATE	0x11
f61908f94a9fc5 drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07   82  #define GB_CONTROL_TYPE_BUNDLE_ACTIVATE		0x12
f53be0eaf06033 drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07   83  #define GB_CONTROL_TYPE_INTF_SUSPEND_PREPARE		0x13
30ea26bdd40339 drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07   84  #define GB_CONTROL_TYPE_INTF_DEACTIVATE_PREPARE	0x14
385227fce67959 drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07   85  #define GB_CONTROL_TYPE_INTF_HIBERNATE_ABORT	0x15
cdee4f7505dbb0 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-06-22   86  
e217ae762bccb0 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-01-19   87  struct gb_control_version_request {
e217ae762bccb0 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-01-19   88  	__u8	major;
e217ae762bccb0 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-01-19   89  	__u8	minor;
e217ae762bccb0 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-01-19   90  } __packed;
e217ae762bccb0 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-01-19   91  
e217ae762bccb0 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-01-19   92  struct gb_control_version_response {
e217ae762bccb0 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-01-19   93  	__u8	major;
e217ae762bccb0 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-01-19   94  	__u8	minor;
e217ae762bccb0 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-01-19   95  } __packed;
e217ae762bccb0 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-01-19   96  
b807aa7aa51129 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-01-19   97  struct gb_control_bundle_version_request {
b807aa7aa51129 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-01-19   98  	__u8	bundle_id;
b807aa7aa51129 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-01-19   99  } __packed;
b807aa7aa51129 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-01-19  100  
b807aa7aa51129 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-01-19  101  struct gb_control_bundle_version_response {
b807aa7aa51129 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-01-19  102  	__u8	major;
b807aa7aa51129 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-01-19  103  	__u8	minor;
b807aa7aa51129 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-01-19  104  } __packed;
b807aa7aa51129 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-01-19  105  
cdee4f7505dbb0 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-06-22  106  /* Control protocol manifest get size request has no payload*/
cdee4f7505dbb0 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-06-22  107  struct gb_control_get_manifest_size_response {
cdee4f7505dbb0 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-06-22  108  	__le16			size;
b701686a3e6739 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-08-31  109  } __packed;
cdee4f7505dbb0 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-06-22  110  
cdee4f7505dbb0 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-06-22  111  /* Control protocol manifest get request has no payload */
cdee4f7505dbb0 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-06-22  112  struct gb_control_get_manifest_response {
cdee4f7505dbb0 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-06-22  113  	__u8			data[0];
b701686a3e6739 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-08-31  114  } __packed;
cdee4f7505dbb0 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-06-22  115  
cdee4f7505dbb0 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-06-22  116  /* Control protocol [dis]connected request */
cdee4f7505dbb0 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-06-22  117  struct gb_control_connected_request {
cdee4f7505dbb0 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-06-22  118  	__le16			cport_id;
b701686a3e6739 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-08-31  119  } __packed;
cdee4f7505dbb0 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-06-22  120  
197616e227b5b5 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-05-27  121  struct gb_control_disconnecting_request {
197616e227b5b5 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-05-27  122  	__le16			cport_id;
197616e227b5b5 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-05-27  123  } __packed;
197616e227b5b5 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-05-27  124  /* disconnecting response has no payload */
197616e227b5b5 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-05-27  125  
cdee4f7505dbb0 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-06-22  126  struct gb_control_disconnected_request {
cdee4f7505dbb0 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-06-22  127  	__le16			cport_id;
b701686a3e6739 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-08-31  128  } __packed;
cdee4f7505dbb0 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-06-22  129  /* Control protocol [dis]connected response has no payload */
cdee4f7505dbb0 drivers/staging/greybus/greybus_protocols.h Viresh Kumar       2015-06-22  130  
2c8e8841e3b8ce drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  131  /*
2c8e8841e3b8ce drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  132   * All Bundle power management operations use the same request and response
2c8e8841e3b8ce drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  133   * layout and status codes.
2c8e8841e3b8ce drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  134   */
2c8e8841e3b8ce drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  135  
2c8e8841e3b8ce drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  136  #define GB_CONTROL_BUNDLE_PM_OK		0x00
2c8e8841e3b8ce drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  137  #define GB_CONTROL_BUNDLE_PM_INVAL	0x01
2c8e8841e3b8ce drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  138  #define GB_CONTROL_BUNDLE_PM_BUSY	0x02
2c8e8841e3b8ce drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  139  #define GB_CONTROL_BUNDLE_PM_FAIL	0x03
2c8e8841e3b8ce drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  140  #define GB_CONTROL_BUNDLE_PM_NA		0x04
2c8e8841e3b8ce drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  141  
2c8e8841e3b8ce drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  142  struct gb_control_bundle_pm_request {
2c8e8841e3b8ce drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07 @143  	__u8	bundle_id;
2c8e8841e3b8ce drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  144  } __packed;
2c8e8841e3b8ce drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  145  
2c8e8841e3b8ce drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  146  struct gb_control_bundle_pm_response {
2c8e8841e3b8ce drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  147  	__u8	status;
2c8e8841e3b8ce drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  148  } __packed;
2c8e8841e3b8ce drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  149  
f53be0eaf06033 drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  150  /*
f53be0eaf06033 drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  151   * Interface Suspend Prepare and Deactivate Prepare operations use the same
f53be0eaf06033 drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  152   * response layout and error codes. Define a single response structure and reuse
f53be0eaf06033 drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  153   * it. Both operations have no payload.
f53be0eaf06033 drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  154   */
f53be0eaf06033 drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  155  
f53be0eaf06033 drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  156  #define GB_CONTROL_INTF_PM_OK		0x00
f53be0eaf06033 drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  157  #define GB_CONTROL_INTF_PM_BUSY		0x01
f53be0eaf06033 drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  158  #define GB_CONTROL_INTF_PM_NA		0x02
f53be0eaf06033 drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  159  
f53be0eaf06033 drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  160  struct gb_control_intf_pm_response {
f53be0eaf06033 drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  161  	__u8	status;
f53be0eaf06033 drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  162  } __packed;
f53be0eaf06033 drivers/staging/greybus/greybus_protocols.h David Lin          2016-07-07  163  
e5273381041fc7 drivers/staging/greybus/greybus_protocols.h Greg Kroah-Hartman 2015-12-31  164  /* APBridge protocol */
e5273381041fc7 drivers/staging/greybus/greybus_protocols.h Greg Kroah-Hartman 2015-12-31  165  
e5273381041fc7 drivers/staging/greybus/greybus_protocols.h Greg Kroah-Hartman 2015-12-31  166  /* request APB1 log */
e5273381041fc7 drivers/staging/greybus/greybus_protocols.h Greg Kroah-Hartman 2015-12-31  167  #define GB_APB_REQUEST_LOG			0x02
e5273381041fc7 drivers/staging/greybus/greybus_protocols.h Greg Kroah-Hartman 2015-12-31  168  
e5273381041fc7 drivers/staging/greybus/greybus_protocols.h Greg Kroah-Hartman 2015-12-31  169  /* request to map a cport to bulk in and bulk out endpoints */
e5273381041fc7 drivers/staging/greybus/greybus_protocols.h Greg Kroah-Hartman 2015-12-31  170  #define GB_APB_REQUEST_EP_MAPPING		0x03
e5273381041fc7 drivers/staging/greybus/greybus_protocols.h Greg Kroah-Hartman 2015-12-31  171  
e5273381041fc7 drivers/staging/greybus/greybus_protocols.h Greg Kroah-Hartman 2015-12-31  172  /* request to get the number of cports available */
e5273381041fc7 drivers/staging/greybus/greybus_protocols.h Greg Kroah-Hartman 2015-12-31  173  #define GB_APB_REQUEST_CPORT_COUNT		0x04
e5273381041fc7 drivers/staging/greybus/greybus_protocols.h Greg Kroah-Hartman 2015-12-31  174  
e5273381041fc7 drivers/staging/greybus/greybus_protocols.h Greg Kroah-Hartman 2015-12-31  175  /* request to reset a cport state */
e5273381041fc7 drivers/staging/greybus/greybus_protocols.h Greg Kroah-Hartman 2015-12-31  176  #define GB_APB_REQUEST_RESET_CPORT		0x05
e5273381041fc7 drivers/staging/greybus/greybus_protocols.h Greg Kroah-Hartman 2015-12-31  177  
e5273381041fc7 drivers/staging/greybus/greybus_protocols.h Greg Kroah-Hartman 2015-12-31  178  /* request to time the latency of messages on a given cport */
e5273381041fc7 drivers/staging/greybus/greybus_protocols.h Greg Kroah-Hartman 2015-12-31  179  #define GB_APB_REQUEST_LATENCY_TAG_EN		0x06
e5273381041fc7 drivers/staging/greybus/greybus_protocols.h Greg Kroah-Hartman 2015-12-31  180  #define GB_APB_REQUEST_LATENCY_TAG_DIS		0x07
e5273381041fc7 drivers/staging/greybus/greybus_protocols.h Greg Kroah-Hartman 2015-12-31  181  
e5273381041fc7 drivers/staging/greybus/greybus_protocols.h Greg Kroah-Hartman 2015-12-31  182  /* request to control the CSI transmitter */
e5273381041fc7 drivers/staging/greybus/greybus_protocols.h Greg Kroah-Hartman 2015-12-31  183  #define GB_APB_REQUEST_CSI_TX_CONTROL		0x08
e5273381041fc7 drivers/staging/greybus/greybus_protocols.h Greg Kroah-Hartman 2015-12-31  184  
a4fe35072f3c53 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-08-10  185  /* request to control audio streaming */
4dbf5056405ad3 drivers/staging/greybus/greybus_protocols.h Mark Greer         2016-01-13  186  #define GB_APB_REQUEST_AUDIO_CONTROL		0x09
4dbf5056405ad3 drivers/staging/greybus/greybus_protocols.h Mark Greer         2016-01-13  187  
83d474f7aa467a drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-08-10  188  /* TimeSync requests */
83d474f7aa467a drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-08-10  189  #define GB_APB_REQUEST_TIMESYNC_ENABLE		0x0d
83d474f7aa467a drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-08-10  190  #define GB_APB_REQUEST_TIMESYNC_DISABLE		0x0e
83d474f7aa467a drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-08-10  191  #define GB_APB_REQUEST_TIMESYNC_AUTHORITATIVE	0x0f
83d474f7aa467a drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-08-10  192  #define GB_APB_REQUEST_TIMESYNC_GET_LAST_EVENT	0x10
c8a657ba3f8464 drivers/staging/greybus/greybus_protocols.h Bryan O'Donoghue   2016-05-15  193  
74ec7598b51fb3 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-06-22  194  /* requests to set Greybus CPort flags */
74ec7598b51fb3 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-06-22  195  #define GB_APB_REQUEST_CPORT_FLAGS		0x11
74ec7598b51fb3 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-06-22  196  
83d474f7aa467a drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-08-10  197  /* ARPC request */
83d474f7aa467a drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-08-10  198  #define GB_APB_REQUEST_ARPC_RUN			0x12
c14118a8411c4d drivers/staging/greybus/greybus_protocols.h Alexandre Bailon   2016-07-07  199  
74ec7598b51fb3 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-06-22  200  struct gb_apb_request_cport_flags {
6a1d29595ed7af drivers/staging/greybus/greybus_protocols.h Bryan O'Donoghue   2016-07-18 @201  	__le32	flags;
74ec7598b51fb3 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-06-22  202  #define GB_APB_CPORT_FLAG_CONTROL		0x01
74ec7598b51fb3 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-06-22  203  #define GB_APB_CPORT_FLAG_HIGH_PRIO		0x02
74ec7598b51fb3 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-06-22  204  } __packed;
74ec7598b51fb3 drivers/staging/greybus/greybus_protocols.h Johan Hovold       2016-06-22  205  
f8765177034a52 drivers/staging/greybus/greybus_protocols.h Greg Kroah-Hartman 2018-11-20  206  

:::::: The code at line 45 was first introduced by commit
:::::: e34fae58f6e004baf26ddac937ac13bd53b7c5f2 greybus: operation: Move operation header to greybus_protocols.h

:::::: TO: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
:::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux