These seem to be modified from sysfs files, so you'll run into read-modify-write atomicy issues with bitfields. That being said while plain ints are somewhat safe the right thing would be to use proper atomic bitops.
These seem to be modified from sysfs files, so you'll run into read-modify-write atomicy issues with bitfields. That being said while plain ints are somewhat safe the right thing would be to use proper atomic bitops.