Blame view

kernel/linux-imx6_3.14.28/include/linux/sonet.h 430 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  /* sonet.h - SONET/SHD physical layer control */
  #ifndef LINUX_SONET_H
  #define LINUX_SONET_H
  
  
  #include <linux/atomic.h>
  #include <uapi/linux/sonet.h>
  
  struct k_sonet_stats {
  #define __HANDLE_ITEM(i) atomic_t i
  	__SONET_ITEMS
  #undef __HANDLE_ITEM
  };
  
  extern void sonet_copy_stats(struct k_sonet_stats *from,struct sonet_stats *to);
  extern void sonet_subtract_stats(struct k_sonet_stats *from,
      struct sonet_stats *to);
  
  #endif