Home
last modified time | relevance | path

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

/linux/drivers/fpga/
H A Dsocfpga-a10.c172 unsigned int cd_ratio; in socfpga_a10_fpga_get_cd_ratio() local
192 cd_ratio = CDRATIO_x4; in socfpga_a10_fpga_get_cd_ratio()
194 cd_ratio = CDRATIO_x2; in socfpga_a10_fpga_get_cd_ratio()
198 cd_ratio += 1; in socfpga_a10_fpga_get_cd_ratio()
200 return cd_ratio; in socfpga_a10_fpga_get_cd_ratio()
208 unsigned int cd_ratio; in socfpga_a10_fpga_set_cdratio() local
219 cd_ratio = socfpga_a10_fpga_get_cd_ratio(cfg_width, encrypt, compress); in socfpga_a10_fpga_set_cdratio()
223 cd_ratio << A10_FPGAMGR_IMGCFG_CTL_02_CDRATIO_SHIFT); in socfpga_a10_fpga_set_cdratio()