Home
last modified time | relevance | path

Searched refs:NUM_ELEMENTS (Results 1 – 11 of 11) sorted by relevance

/openbsd/sys/dev/pci/drm/amd/display/dc/core/
H A Ddc_hw_sequencer.c33 #define NUM_ELEMENTS(a) (sizeof(a) / sizeof((a)[0])) macro
222 int arr_size = NUM_ELEMENTS(output_csc_matrix); in find_color_matrix()
/openbsd/sys/dev/pci/drm/amd/display/dc/dce/
H A Ddce_clock_source.c56 #define NUM_ELEMENTS(a) (sizeof(a) / sizeof((a)[0])) macro
1156 for (i = 0; i < NUM_ELEMENTS(video_optimized_pixel_rates); i++) { in look_up_in_video_optimized_rate_tlb()
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn20/
H A Ddcn20_mpc.c46 #define NUM_ELEMENTS(a) (sizeof(a) / sizeof((a)[0])) macro
/openbsd/sys/dev/ic/
H A Daic7xxxvar.h75 #define NUM_ELEMENTS(array) (sizeof(array) / sizeof(*array)) macro
H A Daic79xx.h100 #define NUM_ELEMENTS(array) (sizeof(array) / sizeof(*array)) macro
H A Daic79xx.c109 static const u_int num_errors = NUM_ELEMENTS(ahd_hard_errors);
129 static const u_int num_phases = NUM_ELEMENTS(ahd_phase_table) - 1;
7052 + NUM_ELEMENTS(ahd->qinfifo) - wrap_qinpos); in ahd_qinfifo_count()
H A Daic7xxx.c97 static const u_int num_errors = NUM_ELEMENTS(ahc_hard_errors);
118 static const u_int num_phases = NUM_ELEMENTS(ahc_phase_table) - 1;
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn10/
H A Ddcn10_dpp_cm.c52 #define NUM_ELEMENTS(a) (sizeof(a) / sizeof((a)[0])) macro
/openbsd/sys/dev/pci/
H A Dahd_pci.c242 const u_int ahd_num_pci_devs = NUM_ELEMENTS(ahd_pci_ident_table);
H A Dahc_pci.c671 for (i = 0; i < NUM_ELEMENTS(ahc_pci_ident_table); i++) { in ahc_find_pci_device()
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn30/
H A Ddcn30_mpc.c44 #define NUM_ELEMENTS(a) (sizeof(a) / sizeof((a)[0])) macro