OPAE Intel FPGA Linux Device Driver Architecture Guide

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

1.1.10.2. Port Platform Device Initialization Flow

Figure 5. Port Initialization Flow
  • afu_probe() afu_dev_init()
    • Initialize a struct fpga_afu and store it in the feature_platform_data.private field.
  • afu_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.
  • afu_probe() fpga_register_dev_ops()
    • Create the Port character device node, registering a struct file_operations.