Searched refs:num_read (Results 1 – 4 of 4) sorted by relevance
117 int num_read = 0; in early_serial8250_read() local119 while (num_read < count) { in early_serial8250_read()123 s[num_read++] = serial8250_early_in(port, UART_RX); in early_serial8250_read()126 return num_read; in early_serial8250_read()
1198 int num_read = 0; in qcom_geni_serial_earlycon_read() local1201 while (num_read < n) { in qcom_geni_serial_earlycon_read()1205 s[num_read++] = ch; in qcom_geni_serial_earlycon_read()1208 return num_read; in qcom_geni_serial_earlycon_read()
2570 int ch, num_read = 0; in pl011_early_read() local2572 while (num_read < n) { in pl011_early_read()2577 s[num_read++] = ch; in pl011_early_read()2580 return num_read; in pl011_early_read()
3014 int ch, ufstat, num_read = 0; in samsung_early_read() local3016 while (num_read < n) { in samsung_early_read()3024 s[num_read++] = ch; in samsung_early_read()3027 return num_read; in samsung_early_read()