VSF Documented
Data Structures | Macros | Typedefs
types.h File Reference
#include "hal/arch/vsf_arch.h"
#include <sys/types.h>
#include <linux/err.h>
#include <linux/minmax.h>
#include <linux/spinlock.h>
#include <linux/gfp.h>
#include <linux/atomic.h>
#include <linux/printk.h>
#include <linux/bits.h>
#include <linux/limits.h>

Go to the source code of this file.

Data Structures

struct  hlist_head
 
struct  hlist_node
 

Macros

#define __packed   VSF_CAL_PACKED
 
#define __aligned(n)   VSF_CAL_ALIGN(n)
 
#define __user
 
#define __bitwise
 
#define EXPORT_SYMBOL_GPL(__SYMBOL)
 
#define MSEC_PER_SEC   1000L
 
#define USEC_PER_MSEC   1000L
 
#define NSEC_PER_USEC   1000L
 
#define NSEC_PER_MSEC   1000000L
 
#define USEC_PER_SEC   1000000L
 
#define NSEC_PER_SEC   1000000000L
 
#define __struct_group(TAG, NAME, ATTRS, MEMBERS...)
 
#define struct_group(NAME, MEMBERS...)    __struct_group(/* no tag */, NAME, /* no attrs */, MEMBERS)
 
#define ARRAY_SIZE(__ARR)   dimof(__ARR)
 
#define roundup(__x, __y)
 
#define rounddown(__x, __y)
 
#define round_up(__x, __y)   ((((__x) - 1) | ((__y) - 1)) + 1)
 

Typedefs

typedef int8_t __s8
 
typedef uint8_t __u8
 
typedef int16_t __s16
 
typedef uint16_t __u16
 
typedef int32_t __s32
 
typedef uint32_t __u32
 
typedef int64_t __s64
 
typedef uint64_t __u64
 
typedef __u16 __le16
 
typedef __u16 __be16
 
typedef __u32 __le32
 
typedef __u32 __be32
 
typedef __u64 __le64
 
typedef __u64 __be64
 
typedef __u16 __sum16
 
typedef __u32 __wsum
 
typedef __u8 u8
 
typedef __s8 s8
 
typedef __u16 u16
 
typedef __s16 s16
 
typedef __u32 u32
 
typedef __s32 s32
 
typedef __u64 u64
 
typedef __s64 s64
 
typedef off_t __kernel_off_t
 
typedef pid_t __kernel_pid_t
 
typedef unsigned int slab_flags_t
 
typedef unsigned int fmode_t
 
typedef uintalu_t phys_addr_t
 
typedef uintalu_t dma_addr_t
 

Macro Definition Documentation

◆ __packed

#define __packed   VSF_CAL_PACKED

◆ __aligned

#define __aligned (   n)    VSF_CAL_ALIGN(n)

◆ __user

#define __user

◆ __bitwise

#define __bitwise

◆ EXPORT_SYMBOL_GPL

#define EXPORT_SYMBOL_GPL (   __SYMBOL)

◆ MSEC_PER_SEC

#define MSEC_PER_SEC   1000L

◆ USEC_PER_MSEC

#define USEC_PER_MSEC   1000L

◆ NSEC_PER_USEC

#define NSEC_PER_USEC   1000L

◆ NSEC_PER_MSEC

#define NSEC_PER_MSEC   1000000L

◆ USEC_PER_SEC

#define USEC_PER_SEC   1000000L

◆ NSEC_PER_SEC

#define NSEC_PER_SEC   1000000000L

◆ __struct_group

#define __struct_group (   TAG,
  NAME,
  ATTRS,
  MEMBERS... 
)
Value:
union { \
struct { MEMBERS } ATTRS; \
struct TAG { MEMBERS } ATTRS NAME; \
}

◆ struct_group

#define struct_group (   NAME,
  MEMBERS... 
)     __struct_group(/* no tag */, NAME, /* no attrs */, MEMBERS)

◆ ARRAY_SIZE

#define ARRAY_SIZE (   __ARR)    dimof(__ARR)

◆ roundup

#define roundup (   __x,
  __y 
)
Value:
({ \
(((__x) + ((__y) - 1)) / (__y)) * (__y); \
})

◆ rounddown

#define rounddown (   __x,
  __y 
)
Value:
({ \
(__x) - ((__x) % (__y)); \
})

◆ round_up

#define round_up (   __x,
  __y 
)    ((((__x) - 1) | ((__y) - 1)) + 1)

Typedef Documentation

◆ __s8

typedef int8_t __s8

◆ __u8

typedef uint8_t __u8

◆ __s16

typedef int16_t __s16

◆ __u16

typedef uint16_t __u16

◆ __s32

typedef int32_t __s32

◆ __u32

typedef uint32_t __u32

◆ __s64

typedef int64_t __s64

◆ __u64

typedef uint64_t __u64

◆ __le16

typedef __u16 __le16

◆ __be16

typedef __u16 __be16

◆ __le32

typedef __u32 __le32

◆ __be32

typedef __u32 __be32

◆ __le64

typedef __u64 __le64

◆ __be64

typedef __u64 __be64

◆ __sum16

typedef __u16 __sum16

◆ __wsum

typedef __u32 __wsum

◆ u8

typedef __u8 u8

◆ s8

typedef __s8 s8

◆ u16

typedef __u16 u16

◆ s16

typedef __s16 s16

◆ u32

typedef __u32 u32

◆ s32

typedef __s32 s32

◆ u64

typedef __u64 u64

◆ s64

typedef __s64 s64

◆ __kernel_off_t

◆ __kernel_pid_t

◆ slab_flags_t

typedef unsigned int slab_flags_t

◆ fmode_t

typedef unsigned int fmode_t

◆ phys_addr_t

◆ dma_addr_t