• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1name: i2c_read
2ID: 625
3format:
4	field:unsigned short common_type;	offset:0;	size:2;	signed:0;
5	field:unsigned char common_flags;	offset:2;	size:1;	signed:0;
6	field:unsigned char common_preempt_count;	offset:3;	size:1;	signed:0;
7	field:int common_pid;	offset:4;	size:4;	signed:1;
8
9	field:int adapter_nr;	offset:8;	size:4;	signed:1;
10	field:__u16 msg_nr;	offset:12;	size:2;	signed:0;
11	field:__u16 addr;	offset:14;	size:2;	signed:0;
12	field:__u16 flags;	offset:16;	size:2;	signed:0;
13	field:__u16 len;	offset:18;	size:2;	signed:0;
14
15print fmt: "i2c-%d #%u a=%03x f=%04x l=%u", REC->adapter_nr, REC->msg_nr, REC->addr, REC->flags, REC->len
16