Lines Matching refs:feature
258 struct dfl_feature *feature; in dfl_fpga_dev_feature_uinit() local
260 dfl_fpga_dev_for_each_feature(pdata, feature) in dfl_fpga_dev_feature_uinit()
261 if (feature->ops) { in dfl_fpga_dev_feature_uinit()
262 if (feature->ops->uinit) in dfl_fpga_dev_feature_uinit()
263 feature->ops->uinit(pdev, feature); in dfl_fpga_dev_feature_uinit()
264 feature->ops = NULL; in dfl_fpga_dev_feature_uinit()
271 struct dfl_feature *feature, in dfl_feature_instance_init() argument
277 ret = drv->ops->init(pdev, feature); in dfl_feature_instance_init()
282 feature->ops = drv->ops; in dfl_feature_instance_init()
287 static bool dfl_feature_drv_match(struct dfl_feature *feature, in dfl_feature_drv_match() argument
294 if (ids->id == feature->id) in dfl_feature_drv_match()
317 struct dfl_feature *feature; in dfl_fpga_dev_feature_init() local
321 dfl_fpga_dev_for_each_feature(pdata, feature) { in dfl_fpga_dev_feature_init()
322 if (dfl_feature_drv_match(feature, drv)) { in dfl_fpga_dev_feature_init()
324 feature, drv); in dfl_fpga_dev_feature_init()
522 struct dfl_feature *feature = &pdata->features[index]; in build_info_commit_dev() local
525 feature->id = finfo->fid; in build_info_commit_dev()
526 feature->resource_index = index; in build_info_commit_dev()
527 feature->ioaddr = finfo->ioaddr; in build_info_commit_dev()