Rev 6084 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6084 | Rev 6937 | ||
---|---|---|---|
Line 115... | Line 115... | ||
115 | return container_of(h, struct intel_dsi_host, base); |
115 | return container_of(h, struct intel_dsi_host, base); |
116 | } |
116 | } |
Line 117... | Line 117... | ||
117 | 117 | ||
118 | #define for_each_dsi_port(__port, __ports_mask) \ |
118 | #define for_each_dsi_port(__port, __ports_mask) \ |
119 | for ((__port) = PORT_A; (__port) < I915_MAX_PORTS; (__port)++) \ |
119 | for ((__port) = PORT_A; (__port) < I915_MAX_PORTS; (__port)++) \ |
Line 120... | Line 120... | ||
120 | if ((__ports_mask) & (1 << (__port))) |
120 | for_each_if ((__ports_mask) & (1 << (__port))) |
121 | 121 | ||
122 | static inline struct intel_dsi *enc_to_intel_dsi(struct drm_encoder *encoder) |
122 | static inline struct intel_dsi *enc_to_intel_dsi(struct drm_encoder *encoder) |
123 | { |
123 | { |