Searched refs:bcd_val (Results 1 – 1 of 1) sorted by relevance
213 static ssize_t is_valid_bcd(u16 bcd_val) in is_valid_bcd() argument215 if ((bcd_val & 0xf) > 9) in is_valid_bcd()217 if (((bcd_val >> 4) & 0xf) > 9) in is_valid_bcd()219 if (((bcd_val >> 8) & 0xf) > 9) in is_valid_bcd()221 if (((bcd_val >> 12) & 0xf) > 9) in is_valid_bcd()