Home | History | Annotate | Download | only in brcm_patchram_plus

Lines Matching refs:buffer

103 unsigned char buffer[1024];
367 read_event(int fd, unsigned char *buffer)
373 while ((count = read(fd, &buffer[i], len)) < len) {
379 len = buffer[2];
381 while ((count = read(fd, &buffer[i], len)) < len) {
390 dump(buffer, count);
422 read_event(uart_fd, buffer);
434 read_event(uart_fd, buffer);
436 read(uart_fd, &buffer[0], 2);
440 while (read(hcdfile_fd, &buffer[1], 3)) {
441 buffer[0] = 0x01;
443 len = buffer[3];
445 read(hcdfile_fd, &buffer[4], len);
447 hci_send_cmd(buffer, len + 4);
449 read_event(uart_fd, buffer);
460 read_event(uart_fd, buffer);
476 read_event(uart_fd, buffer);
484 read_event(uart_fd, buffer);