Home
last modified time | relevance | path

Searched refs:mo (Results 1 – 6 of 6) sorted by relevance

/include/asm-generic/
Datomic-long.h37 #define ATOMIC_LONG_READ_OP(mo) \ argument
38 static inline long atomic_long_read##mo(const atomic_long_t *l) \
42 return (long)ATOMIC_LONG_PFX(_read##mo)(v); \
49 #define ATOMIC_LONG_SET_OP(mo) \ in ATOMIC_LONG_READ_OP() argument
50 static inline void atomic_long_set##mo(atomic_long_t *l, long i) \ in ATOMIC_LONG_READ_OP()
54 ATOMIC_LONG_PFX(_set##mo)(v, i); \ in ATOMIC_LONG_READ_OP()
61 #define ATOMIC_LONG_ADD_SUB_OP(op, mo) \ argument
63 atomic_long_##op##_return##mo(long i, atomic_long_t *l) \
67 return (long)ATOMIC_LONG_PFX(_##op##_return##mo)(i, v); \
115 #define ATOMIC_LONG_FETCH_OP(op, mo) \ argument
[all …]
/include/drm/
Ddrm_encoder.h218 struct drm_mode_object *mo; in drm_encoder_find() local
220 mo = drm_mode_object_find(dev, id, DRM_MODE_OBJECT_ENCODER); in drm_encoder_find()
222 return mo ? obj_to_encoder(mo) : NULL; in drm_encoder_find()
Ddrm_property.h290 struct drm_mode_object *mo; in drm_property_find() local
291 mo = drm_mode_object_find(dev, id, DRM_MODE_OBJECT_PROPERTY); in drm_property_find()
292 return mo ? obj_to_property(mo) : NULL; in drm_property_find()
Ddrm_plane.h491 struct drm_mode_object *mo; in drm_plane_find() local
492 mo = drm_mode_object_find(dev, id, DRM_MODE_OBJECT_PLANE); in drm_plane_find()
493 return mo ? obj_to_plane(mo) : NULL; in drm_plane_find()
Ddrm_connector.h729 struct drm_mode_object *mo; in drm_connector_lookup() local
730 mo = drm_mode_object_find(dev, id, DRM_MODE_OBJECT_CONNECTOR); in drm_connector_lookup()
731 return mo ? obj_to_connector(mo) : NULL; in drm_connector_lookup()
Ddrm_crtc.h1424 struct drm_mode_object *mo; in drm_crtc_find() local
1425 mo = drm_mode_object_find(dev, id, DRM_MODE_OBJECT_CRTC); in drm_crtc_find()
1426 return mo ? obj_to_crtc(mo) : NULL; in drm_crtc_find()