Home | History | Annotate | Download | only in asm-x86

Lines Matching refs:field

58 #define pda_offset(field) offsetof(struct x8664_pda, field)
60 #define pda_to_op(op,field,val) do { \
61 typedef typeof(_proxy_pda.field) T__; \
63 switch (sizeof(_proxy_pda.field)) { \
66 "+m" (_proxy_pda.field) : \
68 "i"(pda_offset(field))); \
72 "+m" (_proxy_pda.field) : \
74 "i" (pda_offset(field))); \
78 "+m" (_proxy_pda.field) : \
80 "i"(pda_offset(field))); \
87 #define pda_from_op(op,field) ({ \
88 typeof(_proxy_pda.field) ret__; \
89 switch (sizeof(_proxy_pda.field)) { \
93 "i" (pda_offset(field)), \
94 "m" (_proxy_pda.field)); \
99 "i" (pda_offset(field)), \
100 "m" (_proxy_pda.field)); \
105 "i" (pda_offset(field)), \
106 "m" (_proxy_pda.field)); \
113 #define read_pda(field) pda_from_op("mov",field)
114 #define write_pda(field,val) pda_to_op("mov",field,val)
115 #define add_pda(field,val) pda_to_op("add",field,val)
116 #define sub_pda(field,val) pda_to_op("sub",field,val)
117 #define or_pda(field,val) pda_to_op("or",field,val)
120 #define test_and_clear_bit_pda(bit,field) ({ \
123 : "=r" (old__), "+m" (_proxy_pda.field) \
124 : "dIr" (bit), "i" (pda_offset(field)) : "memory"); \