Searched refs:onehot (Results 1 – 1 of 1) sorted by relevance
357 static bool onehot(unsigned short value) in onehot() function359 bool onehot; in onehot() local361 onehot = value && !(value & (value - 1)); in onehot()362 return onehot; in onehot()409 if (onehot(ecc_odd | ecc_even)) in zynq_nand_correct_data()