.attr &&    spi_support_sync(starget))   return TARGET_ATTRIBUTE_HELPER(period);  else if (attr == &dev_attr_offset.attr &&    spi_support_sync(starget))   return TARGET_ATTRIBUTE_HELPER(offset);  else if (attr == &dev_attr_