• Home
  • Raw
  • Download

Lines Matching refs:slot_data

464 static int mxc_get_free_slot(struct mxc_jpeg_slot_data slot_data[], int n)  in mxc_get_free_slot()  argument
468 while (slot_data[free_slot].used && free_slot < n) in mxc_get_free_slot()
481 if (jpeg->slot_data[slot].desc) in mxc_jpeg_alloc_slot_data()
487 &jpeg->slot_data[slot].desc_handle, in mxc_jpeg_alloc_slot_data()
491 jpeg->slot_data[slot].desc = desc; in mxc_jpeg_alloc_slot_data()
496 &jpeg->slot_data[slot].cfg_desc_handle, in mxc_jpeg_alloc_slot_data()
500 jpeg->slot_data[slot].cfg_desc = cfg_desc; in mxc_jpeg_alloc_slot_data()
505 &jpeg->slot_data[slot].cfg_stream_handle, in mxc_jpeg_alloc_slot_data()
510 jpeg->slot_data[slot].cfg_stream_vaddr = cfg_stm; in mxc_jpeg_alloc_slot_data()
513 jpeg->slot_data[slot].used = true; in mxc_jpeg_alloc_slot_data()
532 jpeg->slot_data[slot].desc, in mxc_jpeg_free_slot_data()
533 jpeg->slot_data[slot].desc_handle); in mxc_jpeg_free_slot_data()
537 jpeg->slot_data[slot].cfg_desc, in mxc_jpeg_free_slot_data()
538 jpeg->slot_data[slot].cfg_desc_handle); in mxc_jpeg_free_slot_data()
542 jpeg->slot_data[slot].cfg_stream_vaddr, in mxc_jpeg_free_slot_data()
543 jpeg->slot_data[slot].cfg_stream_handle); in mxc_jpeg_free_slot_data()
545 jpeg->slot_data[slot].used = false; in mxc_jpeg_free_slot_data()
656 jpeg->slot_data[slot].used = false; /* unused, but don't free */ in mxc_jpeg_dec_irq()
812 struct mxc_jpeg_desc *desc = jpeg->slot_data[slot].desc; in mxc_jpeg_config_dec_desc()
813 struct mxc_jpeg_desc *cfg_desc = jpeg->slot_data[slot].cfg_desc; in mxc_jpeg_config_dec_desc()
814 dma_addr_t desc_handle = jpeg->slot_data[slot].desc_handle; in mxc_jpeg_config_dec_desc()
815 dma_addr_t cfg_desc_handle = jpeg->slot_data[slot].cfg_desc_handle; in mxc_jpeg_config_dec_desc()
816 dma_addr_t cfg_stream_handle = jpeg->slot_data[slot].cfg_stream_handle; in mxc_jpeg_config_dec_desc()
817 unsigned int *cfg_size = &jpeg->slot_data[slot].cfg_stream_size; in mxc_jpeg_config_dec_desc()
818 void *cfg_stream_vaddr = jpeg->slot_data[slot].cfg_stream_vaddr; in mxc_jpeg_config_dec_desc()
872 struct mxc_jpeg_desc *desc = jpeg->slot_data[slot].desc; in mxc_jpeg_config_enc_desc()
873 struct mxc_jpeg_desc *cfg_desc = jpeg->slot_data[slot].cfg_desc; in mxc_jpeg_config_enc_desc()
874 dma_addr_t desc_handle = jpeg->slot_data[slot].desc_handle; in mxc_jpeg_config_enc_desc()
875 dma_addr_t cfg_desc_handle = jpeg->slot_data[slot].cfg_desc_handle; in mxc_jpeg_config_enc_desc()
876 void *cfg_stream_vaddr = jpeg->slot_data[slot].cfg_stream_vaddr; in mxc_jpeg_config_enc_desc()
883 jpeg->slot_data[slot].cfg_stream_size = in mxc_jpeg_config_enc_desc()
892 cfg_desc->buf_base0 = jpeg->slot_data[slot].cfg_stream_handle; in mxc_jpeg_config_enc_desc()
1050 ctx->slot = mxc_get_free_slot(jpeg->slot_data, MXC_MAX_SLOTS); in mxc_jpeg_device_run()