Searched refs:bcd_val (Results 1 – 1 of 1) sorted by relevance
195 static ssize_t is_valid_bcd(u16 bcd_val) in is_valid_bcd() argument197 if ((bcd_val & 0xf) > 9) in is_valid_bcd()199 if (((bcd_val >> 4) & 0xf) > 9) in is_valid_bcd()201 if (((bcd_val >> 8) & 0xf) > 9) in is_valid_bcd()203 if (((bcd_val >> 12) & 0xf) > 9) in is_valid_bcd()