Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
tcm.h File Reference

Go to the source code of this file.

Data Structures

struct  tcm_pt
 
struct  tcm_area
 
struct  tcm
 

Macros

#define tcm_sizeof(area)   __tcm_sizeof(&(area))
 
#define tcm_awidth(area)   __tcm_area_width(&(area))
 
#define tcm_aheight(area)   __tcm_area_height(&(area))
 
#define tcm_is_in(pt, area)   __tcm_is_in(&(pt), &(area))
 
#define tcm_for_each_slice(var, area, safe)
 

Functions

struct tcmsita_init (u16 width, u16 height, struct tcm_pt *attr)
 

Macro Definition Documentation

#define tcm_aheight (   area)    __tcm_area_height(&(area))

Definition at line 293 of file tcm.h.

#define tcm_awidth (   area)    __tcm_area_width(&(area))

Definition at line 292 of file tcm.h.

#define tcm_for_each_slice (   var,
  area,
  safe 
)
Value:
for (safe = area, \
tcm_slice(&safe, &var); \
var.tcm; tcm_slice(&safe, &var))

Iterate through 2D slices of a valid area. Behaves syntactically as a for(;;) statement.

Parameters
varName of a local variable of type 'struct tcm_area *' that will get modified to contain each slice.
areaPointer to the VALID parent area. This structure will not get modified throughout the loop.

Definition at line 321 of file tcm.h.

#define tcm_is_in (   pt,
  area 
)    __tcm_is_in(&(pt), &(area))

Definition at line 294 of file tcm.h.

#define tcm_sizeof (   area)    __tcm_sizeof(&(area))

Definition at line 291 of file tcm.h.

Function Documentation

struct tcm* sita_init ( u16  width,
u16  height,
struct tcm_pt attr 
)
read

Definition at line 80 of file tcm-sita.c.