Searched refs:histo (Results 1 – 9 of 9) sorted by relevance
| /linux-6.15/drivers/media/platform/renesas/vsp1/ |
| H A D | vsp1_histo.c | 48 histo->readout = true; in vsp1_histogram_buffer_get() 72 histo->readout = false; in vsp1_histogram_buffer_complete() 149 wait_event_lock_irq(histo->wait_queue, !histo->readout, histo->irqlock); in histo_stop_streaming() 178 histo->formats, in histo_enum_mbus_code() 370 histo->formats, histo->num_formats, in histo_set_format() 516 ret = media_entity_pads_init(&histo->video.entity, 1, &histo->pad); in vsp1_histogram_init() 523 snprintf(histo->video.name, sizeof(histo->video.name), in vsp1_histogram_init() 530 video_set_drvdata(&histo->video, histo); in vsp1_histogram_init() 535 histo->queue.lock = &histo->lock; in vsp1_histogram_init() 536 histo->queue.drv_priv = histo; in vsp1_histogram_init() [all …]
|
| H A D | vsp1_hgo.c | 28 return vsp1_read(hgo->histo.entity.vsp1, reg); in vsp1_hgo_read() 49 buf = vsp1_histogram_buffer_get(&hgo->histo); in vsp1_hgo_frame_end() 60 vsp1_write(hgo->histo.entity.vsp1, in vsp1_hgo_frame_end() 92 vsp1_histogram_buffer_complete(&hgo->histo, buf, size); in vsp1_hgo_frame_end() 196 ret = vsp1_histogram_init(vsp1, &hgo->histo, VSP1_ENTITY_HGO, "hgo", in vsp1_hgo_create() 201 vsp1_entity_destroy(&hgo->histo.entity); in vsp1_hgo_create() 218 hgo->histo.entity.subdev.ctrl_handler = &hgo->ctrls.handler; in vsp1_hgo_create()
|
| H A D | vsp1_hgt.c | 28 return vsp1_read(hgt->histo.entity.vsp1, reg); in vsp1_hgt_read() 49 buf = vsp1_histogram_buffer_get(&hgt->histo); in vsp1_hgt_frame_end() 62 vsp1_histogram_buffer_complete(&hgt->histo, buf, HGT_DATA_SIZE); in vsp1_hgt_frame_end() 195 ret = vsp1_histogram_init(vsp1, &hgt->histo, VSP1_ENTITY_HGT, "hgt", in vsp1_hgt_create() 200 vsp1_entity_destroy(&hgt->histo.entity); in vsp1_hgt_create() 208 hgt->histo.entity.subdev.ctrl_handler = &hgt->ctrls; in vsp1_hgt_create()
|
| H A D | vsp1_histo.h | 64 int vsp1_histogram_init(struct vsp1_device *vsp1, struct vsp1_histogram *histo, 72 vsp1_histogram_buffer_get(struct vsp1_histogram *histo); 73 void vsp1_histogram_buffer_complete(struct vsp1_histogram *histo,
|
| H A D | vsp1_hgt.h | 23 struct vsp1_histogram histo; member 32 return container_of(subdev, struct vsp1_hgt, histo.entity.subdev); in to_hgt()
|
| H A D | vsp1_hgo.h | 21 struct vsp1_histogram histo; member 35 return container_of(subdev, struct vsp1_hgo, histo.entity.subdev); in to_hgo()
|
| H A D | vsp1_drv.c | 158 ret = media_create_pad_link(&vsp1->hgo->histo.entity.subdev.entity, in vsp1_uapi_create_links() 160 &vsp1->hgo->histo.video.entity, 0, in vsp1_uapi_create_links() 168 ret = media_create_pad_link(&vsp1->hgt->histo.entity.subdev.entity, in vsp1_uapi_create_links() 170 &vsp1->hgt->histo.video.entity, 0, in vsp1_uapi_create_links() 328 list_add_tail(&vsp1->hgo->histo.entity.list_dev, in vsp1_create_entities() 339 list_add_tail(&vsp1->hgt->histo.entity.list_dev, in vsp1_create_entities()
|
| /linux-6.15/fs/jffs2/ |
| H A D | compr_rubin.c | 304 unsigned char histo[256]; in jffs2_dynrubin_compress() local 315 memset(histo, 0, 256); in jffs2_dynrubin_compress() 317 histo[data_in[i]]++; in jffs2_dynrubin_compress() 321 bits[7] += histo[i]; in jffs2_dynrubin_compress() 323 bits[6] += histo[i]; in jffs2_dynrubin_compress() 325 bits[5] += histo[i]; in jffs2_dynrubin_compress() 327 bits[4] += histo[i]; in jffs2_dynrubin_compress() 329 bits[3] += histo[i]; in jffs2_dynrubin_compress() 331 bits[2] += histo[i]; in jffs2_dynrubin_compress() 333 bits[1] += histo[i]; in jffs2_dynrubin_compress() [all …]
|
| /linux-6.15/drivers/staging/media/atomisp/pci/runtime/binary/src/ |
| H A D | binary.c | 380 binary_init_pc_histogram(struct sh_css_pc_histogram *histo) in binary_init_pc_histogram() argument 382 assert(histo); in binary_init_pc_histogram() 384 histo->length = 0; in binary_init_pc_histogram() 385 histo->run = NULL; in binary_init_pc_histogram() 386 histo->stall = NULL; in binary_init_pc_histogram()
|