fme_br 238 drivers/fpga/dfl-fme-pr.c struct dfl_fme_bridge *fme_br; fme_br 241 drivers/fpga/dfl-fme-pr.c fme_br = devm_kzalloc(dev, sizeof(*fme_br), GFP_KERNEL); fme_br 242 drivers/fpga/dfl-fme-pr.c if (!fme_br) fme_br 248 drivers/fpga/dfl-fme-pr.c fme_br->br = platform_device_alloc(DFL_FPGA_FME_BRIDGE, fme_br 250 drivers/fpga/dfl-fme-pr.c if (!fme_br->br) fme_br 253 drivers/fpga/dfl-fme-pr.c fme_br->br->dev.parent = dev; fme_br 255 drivers/fpga/dfl-fme-pr.c ret = platform_device_add_data(fme_br->br, &br_pdata, sizeof(br_pdata)); fme_br 259 drivers/fpga/dfl-fme-pr.c ret = platform_device_add(fme_br->br); fme_br 263 drivers/fpga/dfl-fme-pr.c return fme_br; fme_br 266 drivers/fpga/dfl-fme-pr.c platform_device_put(fme_br->br); fme_br 274 drivers/fpga/dfl-fme-pr.c static void dfl_fme_destroy_bridge(struct dfl_fme_bridge *fme_br) fme_br 276 drivers/fpga/dfl-fme-pr.c platform_device_unregister(fme_br->br); fme_br 378 drivers/fpga/dfl-fme-pr.c struct dfl_fme_bridge *fme_br; fme_br 412 drivers/fpga/dfl-fme-pr.c fme_br = dfl_fme_create_bridge(pdata, i); fme_br 413 drivers/fpga/dfl-fme-pr.c if (IS_ERR(fme_br)) { fme_br 414 drivers/fpga/dfl-fme-pr.c ret = PTR_ERR(fme_br); fme_br 418 drivers/fpga/dfl-fme-pr.c list_add(&fme_br->node, &priv->bridge_list); fme_br 422 drivers/fpga/dfl-fme-pr.c fme_br->br, i);