Searched refs:attr_global_mmio (Results 1 – 2 of 2) sorted by relevance
154 sysfs_attr_init(&info->attr_global_mmio.attr); in ocxl_sysfs_register_afu()155 info->attr_global_mmio.attr.name = "global_mmio_area"; in ocxl_sysfs_register_afu()156 info->attr_global_mmio.attr.mode = 0600; in ocxl_sysfs_register_afu()157 info->attr_global_mmio.size = info->afu->config.global_mmio_size; in ocxl_sysfs_register_afu()158 info->attr_global_mmio.read = global_mmio_read; in ocxl_sysfs_register_afu()159 info->attr_global_mmio.mmap = global_mmio_mmap; in ocxl_sysfs_register_afu()160 rc = device_create_bin_file(&info->dev, &info->attr_global_mmio); in ocxl_sysfs_register_afu()185 device_remove_bin_file(&info->dev, &info->attr_global_mmio); in ocxl_sysfs_unregister_afu()
34 struct bin_attribute attr_global_mmio; member