fme_region 35 drivers/fpga/dfl-fme-pr.c struct dfl_fme_region *fme_region; fme_region 37 drivers/fpga/dfl-fme-pr.c list_for_each_entry(fme_region, &fme->region_list, node) fme_region 38 drivers/fpga/dfl-fme-pr.c if (fme_region->port_id == port_id) fme_region 39 drivers/fpga/dfl-fme-pr.c return fme_region; fme_region 51 drivers/fpga/dfl-fme-pr.c struct dfl_fme_region *fme_region; fme_region 54 drivers/fpga/dfl-fme-pr.c fme_region = dfl_fme_region_find_by_port_id(fme, port_id); fme_region 55 drivers/fpga/dfl-fme-pr.c if (!fme_region) fme_region 58 drivers/fpga/dfl-fme-pr.c region = fpga_region_class_find(NULL, &fme_region->region->dev, fme_region 311 drivers/fpga/dfl-fme-pr.c struct dfl_fme_region *fme_region; fme_region 314 drivers/fpga/dfl-fme-pr.c fme_region = devm_kzalloc(dev, sizeof(*fme_region), GFP_KERNEL); fme_region 315 drivers/fpga/dfl-fme-pr.c if (!fme_region) fme_region 325 drivers/fpga/dfl-fme-pr.c fme_region->region = platform_device_alloc(DFL_FPGA_FME_REGION, br->id); fme_region 326 drivers/fpga/dfl-fme-pr.c if (!fme_region->region) fme_region 329 drivers/fpga/dfl-fme-pr.c fme_region->region->dev.parent = dev; fme_region 331 drivers/fpga/dfl-fme-pr.c ret = platform_device_add_data(fme_region->region, ®ion_pdata, fme_region 336 drivers/fpga/dfl-fme-pr.c ret = platform_device_add(fme_region->region); fme_region 340 drivers/fpga/dfl-fme-pr.c fme_region->port_id = port_id; fme_region 342 drivers/fpga/dfl-fme-pr.c return fme_region; fme_region 345 drivers/fpga/dfl-fme-pr.c platform_device_put(fme_region->region); fme_region 353 drivers/fpga/dfl-fme-pr.c static void dfl_fme_destroy_region(struct dfl_fme_region *fme_region) fme_region 355 drivers/fpga/dfl-fme-pr.c platform_device_unregister(fme_region->region); fme_region 365 drivers/fpga/dfl-fme-pr.c struct dfl_fme_region *fme_region, *tmp; fme_region 367 drivers/fpga/dfl-fme-pr.c list_for_each_entry_safe(fme_region, tmp, &priv->region_list, node) { fme_region 368 drivers/fpga/dfl-fme-pr.c list_del(&fme_region->node); fme_region 369 drivers/fpga/dfl-fme-pr.c dfl_fme_destroy_region(fme_region); fme_region 377 drivers/fpga/dfl-fme-pr.c struct dfl_fme_region *fme_region; fme_region 421 drivers/fpga/dfl-fme-pr.c fme_region = dfl_fme_create_region(pdata, mgr, fme_region 423 drivers/fpga/dfl-fme-pr.c if (IS_ERR(fme_region)) { fme_region 424 drivers/fpga/dfl-fme-pr.c ret = PTR_ERR(fme_region); fme_region 428 drivers/fpga/dfl-fme-pr.c list_add(&fme_region->node, &priv->region_list);