Home
last modified time | relevance | path

Searched refs:MODULO (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce/
Ddce_clock_source.h66 SRII(MODULO, DP_DTO, 0),\
67 SRII(MODULO, DP_DTO, 1),\
68 SRII(MODULO, DP_DTO, 2),\
69 SRII(MODULO, DP_DTO, 3),\
70 SRII(MODULO, DP_DTO, 4),\
71 SRII(MODULO, DP_DTO, 5),\
83 SRII(MODULO, DP_DTO, 0),\
84 SRII(MODULO, DP_DTO, 1),\
94 SRII(MODULO, DP_DTO, 0),\
95 SRII(MODULO, DP_DTO, 1),\
[all …]
Ddce_clock_source.c989 REG_WRITE(MODULO[inst], dp_dto_ref_khz * e->div_factor); in dcn31_program_pix_clk()
993 REG_WRITE(MODULO[inst], dp_dto_ref_khz * 1000); in dcn31_program_pix_clk()
1206 modulo_hz = REG_READ(MODULO[inst]); in get_pixel_clk_frequency_100hz()
1294 REG_WRITE(MODULO[inst], in dcn20_program_pix_clk()
1310 REG_WRITE(MODULO[inst], ref_clk); in dcn20_override_dp_pix_clk()
1340 REG_WRITE(MODULO[inst], dp_dto_ref_khz * e->div_factor); in dcn3_program_pix_clk()
1344 REG_WRITE(MODULO[inst], dp_dto_ref_khz * 1000); in dcn3_program_pix_clk()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dccg/dcn31/
Ddcn31_dccg.h51 DCCG_SRII(MODULO, DTBCLK_DTO, 0),\
52 DCCG_SRII(MODULO, DTBCLK_DTO, 1),\
53 DCCG_SRII(MODULO, DTBCLK_DTO, 2),\
54 DCCG_SRII(MODULO, DTBCLK_DTO, 3),\
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dccg/dcn314/
Ddcn314_dccg.h56 DCCG_SRII(MODULO, DTBCLK_DTO, 0),\
57 DCCG_SRII(MODULO, DTBCLK_DTO, 1),\
58 DCCG_SRII(MODULO, DTBCLK_DTO, 2),\
59 DCCG_SRII(MODULO, DTBCLK_DTO, 3),\
/linux-6.12.1/drivers/scsi/be2iscsi/
Dbe.h40 static inline u32 MODULO(u16 val, u16 limit) in MODULO() function
48 *index = MODULO((*index + 1), limit); in index_inc()
/linux-6.12.1/drivers/net/ethernet/emulex/benet/
Dbe.h134 static inline u32 MODULO(u32 val, u32 limit) in MODULO() function
142 *index = MODULO((*index + val), limit); in index_adv()
147 *index = MODULO((*index + 1), limit); in index_inc()
172 *index = MODULO((*index - 1), limit); in index_dec()
Dbe_main.c5492 MODULO(adapter->work_counter, adapter->be_get_temp_freq) == 0) in be_worker()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn32/
Ddcn32_resource.h200 SRII_ARR_2(MODULO, DP_DTO, 0, index), \
201 SRII_ARR_2(MODULO, DP_DTO, 1, index), \
202 SRII_ARR_2(MODULO, DP_DTO, 2, index), \
203 SRII_ARR_2(MODULO, DP_DTO, 3, index), \
1240 DCCG_SRII(MODULO, DTBCLK_DTO, 0), DCCG_SRII(MODULO, DTBCLK_DTO, 1), \
1241 DCCG_SRII(MODULO, DTBCLK_DTO, 2), DCCG_SRII(MODULO, DTBCLK_DTO, 3), \
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn401/
Ddcn401_resource.h629 DCCG_SRII(MODULO, DP_DTO, 0), DCCG_SRII(MODULO, DP_DTO, 1), \
630 DCCG_SRII(MODULO, DP_DTO, 2), DCCG_SRII(MODULO, DP_DTO, 3), \