Lines Matching defs:smiapp_sensor
166 struct smiapp_sensor { struct
173 struct mutex mutex;
174 struct smiapp_subdev ssds[SMIAPP_SUBDEVS];
175 u32 ssds_used;
176 struct smiapp_subdev *src;
177 struct smiapp_subdev *binner;
178 struct smiapp_subdev *scaler;
179 struct smiapp_subdev *pixel_array;
180 struct smiapp_hwconfig *hwcfg;
181 struct regulator *vana;
182 struct clk *ext_clk;
183 struct gpio_desc *xshutdown;
184 u32 limits[SMIAPP_LIMIT_LAST];
185 u8 nbinning_subtypes;
186 struct smiapp_binning_subtype binning_subtypes[SMIAPP_BINNING_SUBTYPES];
187 u32 mbus_frame_fmts;
188 const struct smiapp_csi_data_format *csi_format;
189 const struct smiapp_csi_data_format *internal_csi_format;
190 u32 default_mbus_frame_fmts;
191 int default_pixel_order;
193 u8 binning_horizontal;
194 u8 binning_vertical;
196 u8 scale_m;
197 u8 scaling_mode;
199 u8 hvflip_inv_mask; /* H/VFLIP inversion due to sensor orientation */
200 u8 frame_skip;
201 bool active; /* is the sensor powered on? */
202 u16 embedded_start; /* embedded data start line */
203 u16 embedded_end;
204 u16 image_start; /* image data start line */
205 u16 visible_pixel_start; /* start pixel of the visible image */
207 bool streaming;
208 bool dev_init_done;
209 u8 compressed_min_bpp;
211 u8 *nvm; /* nvm memory buffer */
212 unsigned int nvm_size; /* bytes */
214 struct smiapp_module_info minfo;
239 #define to_smiapp_sensor(_sd) \ argument