Lines Matching defs:index

71  *    dga_cm_get(cginfo,index,count, red,green,blue)
73 * int index, count ;
80 * dga_cm_put(cginfo,index,count, red,green,blue)
82 * int index, count ;
91 * dga_cm_write(cginfo,index,count, red,green,blue, putfunc)
93 * int index, count ;
101 * dga_cm_read(cginfo,index,count, red,green,blue)
103 * int index, count ;
171 int index; /* CLUT id */
554 dga_cm_get(cginfoi,index,count, red,green,blue)
556 int index, count ;
574 if( index+count > infop->cm_reallen )
575 count = infop->cm_reallen - index ;
586 shadow += index ;
600 dga_cm_read(cginfo,index,count, red,green,blue)
602 int index, count ;
605 dga_cm_get(cginfo,index,count, red,green,blue);
612 dga_cm_put(cginfoi,index,count, red,green,blue)
614 int index, count ;
630 if( index+count > infop->cm_reallen )
631 count = infop->cm_reallen - index ;
633 if( index < infop->cm_start )
634 infop->cm_start = index ;
635 if( index + count > infop->cm_start + infop->cm_len )
636 infop->cm_len = index + count -infop->cm_start ;
642 shadow += index ;
652 3 * infop->cm_reallen * sizeof(short) + index ;
666 infop->cm_reallen + index;
672 hwshadow -= index + 2 * infop->cm_reallen;
761 cmap.index = infop->cm_ioctlbits | index;
776 cmap.index = infop->cm_cmapnum;
777 cmap.offset = index;
791 cmap.index = infop->cm_ioctlbits | index;
815 dga_cm_write(cginfoi,index,count, red,green,blue, putfunc)
817 int index, count ;
834 if( index+count > infop->cm_reallen )
835 count = infop->cm_reallen - index ;
838 if( index < infop->cm_start )
839 infop->cm_start = index ;
841 if( index + count > infop->cm_start + infop->cm_len )
842 infop->cm_len = index + count -infop->cm_start ;
848 shadow += index ;
858 3 * infop->cm_reallen * sizeof(short) + index ;
869 infop->cm_reallen + index;
875 hwshadow -= index + 2 * infop->cm_reallen;
878 hwshadow -= index + 2 * infop->cm_reallen;
883 (*putfunc)( cginfo, index, count, red, green, blue);