Home
last modified time | relevance | path

Searched refs:recv_buf (Results 1 – 2 of 2) sorted by relevance

/arch/arm/mach-orion5x/
Dterastation_pro2-setup.c207 unsigned char recv_buf[40]; in tsp2_miconsend() local
223 if (tsp2_miconread(recv_buf, sizeof(recv_buf)) <= 3) { in tsp2_miconsend()
232 tsp2_miconread(recv_buf, sizeof(recv_buf)); in tsp2_miconsend()
240 if ((recv_buf[0] + recv_buf[1] + recv_buf[2] + in tsp2_miconsend()
241 recv_buf[3]) & 0xFF) { in tsp2_miconsend()
244 "\n", __func__, recv_buf[0], in tsp2_miconsend()
245 recv_buf[1], recv_buf[2], recv_buf[3]); in tsp2_miconsend()
248 if (correct_ack[0] == recv_buf[0] && in tsp2_miconsend()
249 correct_ack[1] == recv_buf[1] && in tsp2_miconsend()
250 correct_ack[2] == recv_buf[2]) { in tsp2_miconsend()
Dkurobox_pro-setup.c227 unsigned char recv_buf[40]; in kurobox_pro_miconsend() local
243 if (kurobox_pro_miconread(recv_buf, sizeof(recv_buf)) <= 3) { in kurobox_pro_miconsend()
252 kurobox_pro_miconread(recv_buf, sizeof(recv_buf)); in kurobox_pro_miconsend()
260 if ((recv_buf[0] + recv_buf[1] + recv_buf[2] + in kurobox_pro_miconsend()
261 recv_buf[3]) & 0xFF) { in kurobox_pro_miconsend()
264 "\n", __func__, recv_buf[0], in kurobox_pro_miconsend()
265 recv_buf[1], recv_buf[2], recv_buf[3]); in kurobox_pro_miconsend()
268 if (correct_ack[0] == recv_buf[0] && in kurobox_pro_miconsend()
269 correct_ack[1] == recv_buf[1] && in kurobox_pro_miconsend()
270 correct_ack[2] == recv_buf[2]) { in kurobox_pro_miconsend()