Lines Matching refs:func
760 bool (*func)(struct nvkm_device *, u32, u32); in nv03_gr_mthd_gdi() local
762 case 0x0184: func = nv01_gr_mthd_bind_patt; break; in nv03_gr_mthd_gdi()
763 case 0x0188: func = nv04_gr_mthd_bind_rop; break; in nv03_gr_mthd_gdi()
764 case 0x018c: func = nv04_gr_mthd_bind_beta1; break; in nv03_gr_mthd_gdi()
765 case 0x0190: func = nv04_gr_mthd_bind_surf_dst; break; in nv03_gr_mthd_gdi()
766 case 0x02fc: func = nv04_gr_mthd_set_operation; break; in nv03_gr_mthd_gdi()
770 return func(device, inst, data); in nv03_gr_mthd_gdi()
776 bool (*func)(struct nvkm_device *, u32, u32); in nv04_gr_mthd_gdi() local
778 case 0x0188: func = nv04_gr_mthd_bind_patt; break; in nv04_gr_mthd_gdi()
779 case 0x018c: func = nv04_gr_mthd_bind_rop; break; in nv04_gr_mthd_gdi()
780 case 0x0190: func = nv04_gr_mthd_bind_beta1; break; in nv04_gr_mthd_gdi()
781 case 0x0194: func = nv04_gr_mthd_bind_beta4; break; in nv04_gr_mthd_gdi()
782 case 0x0198: func = nv04_gr_mthd_bind_surf2d; break; in nv04_gr_mthd_gdi()
783 case 0x02fc: func = nv04_gr_mthd_set_operation; break; in nv04_gr_mthd_gdi()
787 return func(device, inst, data); in nv04_gr_mthd_gdi()
793 bool (*func)(struct nvkm_device *, u32, u32); in nv01_gr_mthd_blit() local
795 case 0x0184: func = nv01_gr_mthd_bind_chroma; break; in nv01_gr_mthd_blit()
796 case 0x0188: func = nv01_gr_mthd_bind_clip; break; in nv01_gr_mthd_blit()
797 case 0x018c: func = nv01_gr_mthd_bind_patt; break; in nv01_gr_mthd_blit()
798 case 0x0190: func = nv04_gr_mthd_bind_rop; break; in nv01_gr_mthd_blit()
799 case 0x0194: func = nv04_gr_mthd_bind_beta1; break; in nv01_gr_mthd_blit()
800 case 0x0198: func = nv04_gr_mthd_bind_surf_dst; break; in nv01_gr_mthd_blit()
801 case 0x019c: func = nv04_gr_mthd_bind_surf_src; break; in nv01_gr_mthd_blit()
802 case 0x02fc: func = nv04_gr_mthd_set_operation; break; in nv01_gr_mthd_blit()
806 return func(device, inst, data); in nv01_gr_mthd_blit()
812 bool (*func)(struct nvkm_device *, u32, u32); in nv04_gr_mthd_blit() local
814 case 0x0184: func = nv01_gr_mthd_bind_chroma; break; in nv04_gr_mthd_blit()
815 case 0x0188: func = nv01_gr_mthd_bind_clip; break; in nv04_gr_mthd_blit()
816 case 0x018c: func = nv04_gr_mthd_bind_patt; break; in nv04_gr_mthd_blit()
817 case 0x0190: func = nv04_gr_mthd_bind_rop; break; in nv04_gr_mthd_blit()
818 case 0x0194: func = nv04_gr_mthd_bind_beta1; break; in nv04_gr_mthd_blit()
819 case 0x0198: func = nv04_gr_mthd_bind_beta4; break; in nv04_gr_mthd_blit()
820 case 0x019c: func = nv04_gr_mthd_bind_surf2d; break; in nv04_gr_mthd_blit()
821 case 0x02fc: func = nv04_gr_mthd_set_operation; break; in nv04_gr_mthd_blit()
825 return func(device, inst, data); in nv04_gr_mthd_blit()
831 bool (*func)(struct nvkm_device *, u32, u32); in nv04_gr_mthd_iifc() local
833 case 0x0188: func = nv01_gr_mthd_bind_chroma; break; in nv04_gr_mthd_iifc()
834 case 0x018c: func = nv01_gr_mthd_bind_clip; break; in nv04_gr_mthd_iifc()
835 case 0x0190: func = nv04_gr_mthd_bind_patt; break; in nv04_gr_mthd_iifc()
836 case 0x0194: func = nv04_gr_mthd_bind_rop; break; in nv04_gr_mthd_iifc()
837 case 0x0198: func = nv04_gr_mthd_bind_beta1; break; in nv04_gr_mthd_iifc()
838 case 0x019c: func = nv04_gr_mthd_bind_beta4; break; in nv04_gr_mthd_iifc()
839 case 0x01a0: func = nv04_gr_mthd_bind_surf2d_swzsurf; break; in nv04_gr_mthd_iifc()
840 case 0x03e4: func = nv04_gr_mthd_set_operation; break; in nv04_gr_mthd_iifc()
844 return func(device, inst, data); in nv04_gr_mthd_iifc()
850 bool (*func)(struct nvkm_device *, u32, u32); in nv01_gr_mthd_ifc() local
852 case 0x0184: func = nv01_gr_mthd_bind_chroma; break; in nv01_gr_mthd_ifc()
853 case 0x0188: func = nv01_gr_mthd_bind_clip; break; in nv01_gr_mthd_ifc()
854 case 0x018c: func = nv01_gr_mthd_bind_patt; break; in nv01_gr_mthd_ifc()
855 case 0x0190: func = nv04_gr_mthd_bind_rop; break; in nv01_gr_mthd_ifc()
856 case 0x0194: func = nv04_gr_mthd_bind_beta1; break; in nv01_gr_mthd_ifc()
857 case 0x0198: func = nv04_gr_mthd_bind_surf_dst; break; in nv01_gr_mthd_ifc()
858 case 0x02fc: func = nv04_gr_mthd_set_operation; break; in nv01_gr_mthd_ifc()
862 return func(device, inst, data); in nv01_gr_mthd_ifc()
868 bool (*func)(struct nvkm_device *, u32, u32); in nv04_gr_mthd_ifc() local
870 case 0x0184: func = nv01_gr_mthd_bind_chroma; break; in nv04_gr_mthd_ifc()
871 case 0x0188: func = nv01_gr_mthd_bind_clip; break; in nv04_gr_mthd_ifc()
872 case 0x018c: func = nv04_gr_mthd_bind_patt; break; in nv04_gr_mthd_ifc()
873 case 0x0190: func = nv04_gr_mthd_bind_rop; break; in nv04_gr_mthd_ifc()
874 case 0x0194: func = nv04_gr_mthd_bind_beta1; break; in nv04_gr_mthd_ifc()
875 case 0x0198: func = nv04_gr_mthd_bind_beta4; break; in nv04_gr_mthd_ifc()
876 case 0x019c: func = nv04_gr_mthd_bind_surf2d; break; in nv04_gr_mthd_ifc()
877 case 0x02fc: func = nv04_gr_mthd_set_operation; break; in nv04_gr_mthd_ifc()
881 return func(device, inst, data); in nv04_gr_mthd_ifc()
887 bool (*func)(struct nvkm_device *, u32, u32); in nv03_gr_mthd_sifc() local
889 case 0x0184: func = nv01_gr_mthd_bind_chroma; break; in nv03_gr_mthd_sifc()
890 case 0x0188: func = nv01_gr_mthd_bind_patt; break; in nv03_gr_mthd_sifc()
891 case 0x018c: func = nv04_gr_mthd_bind_rop; break; in nv03_gr_mthd_sifc()
892 case 0x0190: func = nv04_gr_mthd_bind_beta1; break; in nv03_gr_mthd_sifc()
893 case 0x0194: func = nv04_gr_mthd_bind_surf_dst; break; in nv03_gr_mthd_sifc()
894 case 0x02fc: func = nv04_gr_mthd_set_operation; break; in nv03_gr_mthd_sifc()
898 return func(device, inst, data); in nv03_gr_mthd_sifc()
904 bool (*func)(struct nvkm_device *, u32, u32); in nv04_gr_mthd_sifc() local
906 case 0x0184: func = nv01_gr_mthd_bind_chroma; break; in nv04_gr_mthd_sifc()
907 case 0x0188: func = nv04_gr_mthd_bind_patt; break; in nv04_gr_mthd_sifc()
908 case 0x018c: func = nv04_gr_mthd_bind_rop; break; in nv04_gr_mthd_sifc()
909 case 0x0190: func = nv04_gr_mthd_bind_beta1; break; in nv04_gr_mthd_sifc()
910 case 0x0194: func = nv04_gr_mthd_bind_beta4; break; in nv04_gr_mthd_sifc()
911 case 0x0198: func = nv04_gr_mthd_bind_surf2d; break; in nv04_gr_mthd_sifc()
912 case 0x02fc: func = nv04_gr_mthd_set_operation; break; in nv04_gr_mthd_sifc()
916 return func(device, inst, data); in nv04_gr_mthd_sifc()
922 bool (*func)(struct nvkm_device *, u32, u32); in nv03_gr_mthd_sifm() local
924 case 0x0188: func = nv01_gr_mthd_bind_patt; break; in nv03_gr_mthd_sifm()
925 case 0x018c: func = nv04_gr_mthd_bind_rop; break; in nv03_gr_mthd_sifm()
926 case 0x0190: func = nv04_gr_mthd_bind_beta1; break; in nv03_gr_mthd_sifm()
927 case 0x0194: func = nv04_gr_mthd_bind_surf_dst; break; in nv03_gr_mthd_sifm()
928 case 0x0304: func = nv04_gr_mthd_set_operation; break; in nv03_gr_mthd_sifm()
932 return func(device, inst, data); in nv03_gr_mthd_sifm()
938 bool (*func)(struct nvkm_device *, u32, u32); in nv04_gr_mthd_sifm() local
940 case 0x0188: func = nv04_gr_mthd_bind_patt; break; in nv04_gr_mthd_sifm()
941 case 0x018c: func = nv04_gr_mthd_bind_rop; break; in nv04_gr_mthd_sifm()
942 case 0x0190: func = nv04_gr_mthd_bind_beta1; break; in nv04_gr_mthd_sifm()
943 case 0x0194: func = nv04_gr_mthd_bind_beta4; break; in nv04_gr_mthd_sifm()
944 case 0x0198: func = nv04_gr_mthd_bind_surf2d; break; in nv04_gr_mthd_sifm()
945 case 0x0304: func = nv04_gr_mthd_set_operation; break; in nv04_gr_mthd_sifm()
949 return func(device, inst, data); in nv04_gr_mthd_sifm()
955 bool (*func)(struct nvkm_device *, u32, u32); in nv04_gr_mthd_surf3d() local
957 case 0x02f8: func = nv04_gr_mthd_surf3d_clip_h; break; in nv04_gr_mthd_surf3d()
958 case 0x02fc: func = nv04_gr_mthd_surf3d_clip_v; break; in nv04_gr_mthd_surf3d()
962 return func(device, inst, data); in nv04_gr_mthd_surf3d()
968 bool (*func)(struct nvkm_device *, u32, u32); in nv03_gr_mthd_ttri() local
970 case 0x0188: func = nv01_gr_mthd_bind_clip; break; in nv03_gr_mthd_ttri()
971 case 0x018c: func = nv04_gr_mthd_bind_surf_color; break; in nv03_gr_mthd_ttri()
972 case 0x0190: func = nv04_gr_mthd_bind_surf_zeta; break; in nv03_gr_mthd_ttri()
976 return func(device, inst, data); in nv03_gr_mthd_ttri()
982 bool (*func)(struct nvkm_device *, u32, u32); in nv01_gr_mthd_prim() local
984 case 0x0184: func = nv01_gr_mthd_bind_clip; break; in nv01_gr_mthd_prim()
985 case 0x0188: func = nv01_gr_mthd_bind_patt; break; in nv01_gr_mthd_prim()
986 case 0x018c: func = nv04_gr_mthd_bind_rop; break; in nv01_gr_mthd_prim()
987 case 0x0190: func = nv04_gr_mthd_bind_beta1; break; in nv01_gr_mthd_prim()
988 case 0x0194: func = nv04_gr_mthd_bind_surf_dst; break; in nv01_gr_mthd_prim()
989 case 0x02fc: func = nv04_gr_mthd_set_operation; break; in nv01_gr_mthd_prim()
993 return func(device, inst, data); in nv01_gr_mthd_prim()
999 bool (*func)(struct nvkm_device *, u32, u32); in nv04_gr_mthd_prim() local
1001 case 0x0184: func = nv01_gr_mthd_bind_clip; break; in nv04_gr_mthd_prim()
1002 case 0x0188: func = nv04_gr_mthd_bind_patt; break; in nv04_gr_mthd_prim()
1003 case 0x018c: func = nv04_gr_mthd_bind_rop; break; in nv04_gr_mthd_prim()
1004 case 0x0190: func = nv04_gr_mthd_bind_beta1; break; in nv04_gr_mthd_prim()
1005 case 0x0194: func = nv04_gr_mthd_bind_beta4; break; in nv04_gr_mthd_prim()
1006 case 0x0198: func = nv04_gr_mthd_bind_surf2d; break; in nv04_gr_mthd_prim()
1007 case 0x02fc: func = nv04_gr_mthd_set_operation; break; in nv04_gr_mthd_prim()
1011 return func(device, inst, data); in nv04_gr_mthd_prim()
1017 bool (*func)(struct nvkm_device *, u32, u32, u32); in nv04_gr_mthd() local
1020 func = nv01_gr_mthd_prim; break; in nv04_gr_mthd()
1021 case 0x1f: func = nv01_gr_mthd_blit; break; in nv04_gr_mthd()
1022 case 0x21: func = nv01_gr_mthd_ifc; break; in nv04_gr_mthd()
1023 case 0x36: func = nv03_gr_mthd_sifc; break; in nv04_gr_mthd()
1024 case 0x37: func = nv03_gr_mthd_sifm; break; in nv04_gr_mthd()
1025 case 0x48: func = nv03_gr_mthd_ttri; break; in nv04_gr_mthd()
1026 case 0x4a: func = nv04_gr_mthd_gdi; break; in nv04_gr_mthd()
1027 case 0x4b: func = nv03_gr_mthd_gdi; break; in nv04_gr_mthd()
1028 case 0x53: func = nv04_gr_mthd_surf3d; break; in nv04_gr_mthd()
1030 func = nv04_gr_mthd_prim; break; in nv04_gr_mthd()
1031 case 0x5f: func = nv04_gr_mthd_blit; break; in nv04_gr_mthd()
1032 case 0x60: func = nv04_gr_mthd_iifc; break; in nv04_gr_mthd()
1033 case 0x61: func = nv04_gr_mthd_ifc; break; in nv04_gr_mthd()
1034 case 0x76: func = nv04_gr_mthd_sifc; break; in nv04_gr_mthd()
1035 case 0x77: func = nv04_gr_mthd_sifm; break; in nv04_gr_mthd()
1039 return func(device, inst, mthd, data); in nv04_gr_mthd()