Home
last modified time | relevance | path

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

/openbmc/linux/drivers/fpga/
H A Ddfl.c1141 int dfh_psize = 0; in create_feature_instance() local
1155 dfh_psize = dfh_get_param_size(binfo->ioaddr + ofst, size); in create_feature_instance()
1156 if (dfh_psize < 0) { in create_feature_instance()
1159 dfh_psize); in create_feature_instance()
1160 return dfh_psize; in create_feature_instance()
1162 dev_dbg(binfo->dev, "dfhv1_psize %d\n", dfh_psize); in create_feature_instance()
1169 finfo = kzalloc(struct_size(finfo, params, dfh_psize / sizeof(u64)), GFP_KERNEL); in create_feature_instance()
1173 memcpy_fromio(finfo->params, binfo->ioaddr + ofst + DFHv1_PARAM_HDR, dfh_psize); in create_feature_instance()
1174 finfo->param_size = dfh_psize; in create_feature_instance()