Home
last modified time | relevance | path

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

/openbmc/linux/drivers/fpga/
H A Dsocfpga-a10.c169 static unsigned int socfpga_a10_fpga_get_cd_ratio(unsigned int cfg_width, in socfpga_a10_fpga_get_cd_ratio() argument
197 if (cfg_width == CFGWDTH_32) in socfpga_a10_fpga_get_cd_ratio()
204 unsigned int cfg_width, in socfpga_a10_fpga_set_cdratio() argument
219 cd_ratio = socfpga_a10_fpga_get_cd_ratio(cfg_width, encrypt, compress); in socfpga_a10_fpga_set_cdratio()
277 unsigned int cfg_width; in socfpga_a10_fpga_write_init() local
282 cfg_width = CFGWDTH_16; in socfpga_a10_fpga_write_init()
303 socfpga_a10_fpga_set_cfg_width(priv, cfg_width); in socfpga_a10_fpga_write_init()
306 ret = socfpga_a10_fpga_set_cdratio(mgr, cfg_width, buf, count); in socfpga_a10_fpga_write_init()
/openbmc/u-boot/drivers/fpga/
H A Dsocfpga_arria10.c155 static int fpgamgr_set_cdratio_cdwidth(unsigned int cfg_width, u32 *rbf_data, in fpgamgr_set_cdratio_cdwidth() argument
209 if (cfg_width == CFGWDTH_32) in fpgamgr_set_cdratio_cdwidth()
213 fpgamgr_set_cfgwdth(cfg_width); in fpgamgr_set_cdratio_cdwidth()