OPAE Intel FPGA Linux Device Driver Architecture Guide

ID 683857
Date 10/02/2017
Public
Document Table of Contents

1.1.9.2. FME Platform Device Initialization Flow

Figure 4. FME Initialization Flow
  • fme_probe() fme_dev_init()
    • Initialize a struct fpga_fme and store it in the feature_platform_data.private field.
  • fme_probe() fpga_dev_feature_init() feature_instance_init()
    • Save a struct feature_ops into the feature_platform_data.features for each populated feature.
    • Call the test function, if any, from the struct.
    • Call the init function from the struct.
  • fme_probe() fpga_register_dev_ops()
    • Create the FME character device node, registering a struct file_operations.