hgo 86 drivers/media/platform/vsp1/vsp1.h struct vsp1_hgo *hgo; hgo 148 drivers/media/platform/vsp1/vsp1_drv.c if (vsp1->hgo) { hgo 149 drivers/media/platform/vsp1/vsp1_drv.c ret = media_create_pad_link(&vsp1->hgo->histo.entity.subdev.entity, hgo 151 drivers/media/platform/vsp1/vsp1_drv.c &vsp1->hgo->histo.video.entity, 0, hgo 315 drivers/media/platform/vsp1/vsp1_drv.c vsp1->hgo = vsp1_hgo_create(vsp1); hgo 316 drivers/media/platform/vsp1/vsp1_drv.c if (IS_ERR(vsp1->hgo)) { hgo 317 drivers/media/platform/vsp1/vsp1_drv.c ret = PTR_ERR(vsp1->hgo); hgo 321 drivers/media/platform/vsp1/vsp1_drv.c list_add_tail(&vsp1->hgo->histo.entity.list_dev, hgo 26 drivers/media/platform/vsp1/vsp1_hgo.c static inline u32 vsp1_hgo_read(struct vsp1_hgo *hgo, u32 reg) hgo 28 drivers/media/platform/vsp1/vsp1_hgo.c return vsp1_read(hgo->histo.entity.vsp1, reg); hgo 31 drivers/media/platform/vsp1/vsp1_hgo.c static inline void vsp1_hgo_write(struct vsp1_hgo *hgo, hgo 43 drivers/media/platform/vsp1/vsp1_hgo.c struct vsp1_hgo *hgo = to_hgo(&entity->subdev); hgo 49 drivers/media/platform/vsp1/vsp1_hgo.c buf = vsp1_histogram_buffer_get(&hgo->histo); hgo 55 drivers/media/platform/vsp1/vsp1_hgo.c if (hgo->num_bins == 256) { hgo 56 drivers/media/platform/vsp1/vsp1_hgo.c *data++ = vsp1_hgo_read(hgo, VI6_HGO_G_MAXMIN); hgo 57 drivers/media/platform/vsp1/vsp1_hgo.c *data++ = vsp1_hgo_read(hgo, VI6_HGO_G_SUM); hgo 60 drivers/media/platform/vsp1/vsp1_hgo.c vsp1_write(hgo->histo.entity.vsp1, hgo 62 drivers/media/platform/vsp1/vsp1_hgo.c *data++ = vsp1_hgo_read(hgo, VI6_HGO_EXT_HIST_DATA); hgo 66 drivers/media/platform/vsp1/vsp1_hgo.c } else if (hgo->max_rgb) { hgo 67 drivers/media/platform/vsp1/vsp1_hgo.c *data++ = vsp1_hgo_read(hgo, VI6_HGO_G_MAXMIN); hgo 68 drivers/media/platform/vsp1/vsp1_hgo.c *data++ = vsp1_hgo_read(hgo, VI6_HGO_G_SUM); hgo 71 drivers/media/platform/vsp1/vsp1_hgo.c *data++ = vsp1_hgo_read(hgo, VI6_HGO_G_HISTO(i)); hgo 75 drivers/media/platform/vsp1/vsp1_hgo.c *data++ = vsp1_hgo_read(hgo, VI6_HGO_R_MAXMIN); hgo 76 drivers/media/platform/vsp1/vsp1_hgo.c *data++ = vsp1_hgo_read(hgo, VI6_HGO_G_MAXMIN); hgo 77 drivers/media/platform/vsp1/vsp1_hgo.c *data++ = vsp1_hgo_read(hgo, VI6_HGO_B_MAXMIN); hgo 79 drivers/media/platform/vsp1/vsp1_hgo.c *data++ = vsp1_hgo_read(hgo, VI6_HGO_R_SUM); hgo 80 drivers/media/platform/vsp1/vsp1_hgo.c *data++ = vsp1_hgo_read(hgo, VI6_HGO_G_SUM); hgo 81 drivers/media/platform/vsp1/vsp1_hgo.c *data++ = vsp1_hgo_read(hgo, VI6_HGO_B_SUM); hgo 84 drivers/media/platform/vsp1/vsp1_hgo.c data[i] = vsp1_hgo_read(hgo, VI6_HGO_R_HISTO(i)); hgo 85 drivers/media/platform/vsp1/vsp1_hgo.c data[i+64] = vsp1_hgo_read(hgo, VI6_HGO_G_HISTO(i)); hgo 86 drivers/media/platform/vsp1/vsp1_hgo.c data[i+128] = vsp1_hgo_read(hgo, VI6_HGO_B_HISTO(i)); hgo 92 drivers/media/platform/vsp1/vsp1_hgo.c vsp1_histogram_buffer_complete(&hgo->histo, buf, size); hgo 137 drivers/media/platform/vsp1/vsp1_hgo.c struct vsp1_hgo *hgo = to_hgo(&entity->subdev); hgo 149 drivers/media/platform/vsp1/vsp1_hgo.c vsp1_hgo_write(hgo, dlb, VI6_HGO_REGRST, VI6_HGO_REGRST_RCLEA); hgo 151 drivers/media/platform/vsp1/vsp1_hgo.c vsp1_hgo_write(hgo, dlb, VI6_HGO_OFFSET, hgo 154 drivers/media/platform/vsp1/vsp1_hgo.c vsp1_hgo_write(hgo, dlb, VI6_HGO_SIZE, hgo 158 drivers/media/platform/vsp1/vsp1_hgo.c mutex_lock(hgo->ctrls.handler.lock); hgo 159 drivers/media/platform/vsp1/vsp1_hgo.c hgo->max_rgb = hgo->ctrls.max_rgb->cur.val; hgo 160 drivers/media/platform/vsp1/vsp1_hgo.c if (hgo->ctrls.num_bins) hgo 161 drivers/media/platform/vsp1/vsp1_hgo.c hgo->num_bins = hgo_num_bins[hgo->ctrls.num_bins->cur.val]; hgo 162 drivers/media/platform/vsp1/vsp1_hgo.c mutex_unlock(hgo->ctrls.handler.lock); hgo 166 drivers/media/platform/vsp1/vsp1_hgo.c vsp1_hgo_write(hgo, dlb, VI6_HGO_MODE, hgo 167 drivers/media/platform/vsp1/vsp1_hgo.c (hgo->num_bins == 256 ? VI6_HGO_MODE_STEP : 0) | hgo 168 drivers/media/platform/vsp1/vsp1_hgo.c (hgo->max_rgb ? VI6_HGO_MODE_MAXRGB : 0) | hgo 190 drivers/media/platform/vsp1/vsp1_hgo.c struct vsp1_hgo *hgo; hgo 193 drivers/media/platform/vsp1/vsp1_hgo.c hgo = devm_kzalloc(vsp1->dev, sizeof(*hgo), GFP_KERNEL); hgo 194 drivers/media/platform/vsp1/vsp1_hgo.c if (hgo == NULL) hgo 198 drivers/media/platform/vsp1/vsp1_hgo.c v4l2_ctrl_handler_init(&hgo->ctrls.handler, hgo 200 drivers/media/platform/vsp1/vsp1_hgo.c hgo->ctrls.max_rgb = v4l2_ctrl_new_custom(&hgo->ctrls.handler, hgo 203 drivers/media/platform/vsp1/vsp1_hgo.c hgo->ctrls.num_bins = hgo 204 drivers/media/platform/vsp1/vsp1_hgo.c v4l2_ctrl_new_custom(&hgo->ctrls.handler, hgo 207 drivers/media/platform/vsp1/vsp1_hgo.c hgo->max_rgb = false; hgo 208 drivers/media/platform/vsp1/vsp1_hgo.c hgo->num_bins = 64; hgo 210 drivers/media/platform/vsp1/vsp1_hgo.c hgo->histo.entity.subdev.ctrl_handler = &hgo->ctrls.handler; hgo 213 drivers/media/platform/vsp1/vsp1_hgo.c ret = vsp1_histogram_init(vsp1, &hgo->histo, VSP1_ENTITY_HGO, "hgo", hgo 218 drivers/media/platform/vsp1/vsp1_hgo.c vsp1_entity_destroy(&hgo->histo.entity); hgo 222 drivers/media/platform/vsp1/vsp1_hgo.c return hgo; hgo 39 drivers/media/platform/vsp1/vsp1_hgo.h void vsp1_hgo_frame_end(struct vsp1_entity *hgo); hgo 269 drivers/media/platform/vsp1/vsp1_pipe.c pipe->hgo = NULL; hgo 348 drivers/media/platform/vsp1/vsp1_pipe.c if (pipe->hgo) hgo 388 drivers/media/platform/vsp1/vsp1_pipe.c if (pipe->hgo) hgo 389 drivers/media/platform/vsp1/vsp1_pipe.c vsp1_hgo_frame_end(pipe->hgo); hgo 131 drivers/media/platform/vsp1/vsp1_pipe.h struct vsp1_entity *hgo; hgo 610 drivers/media/platform/vsp1/vsp1_video.c pipe->hgo = e;