Home
last modified time | relevance | path

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

/drivers/staging/pi433/
Drf69.c785 u8 local_buffer[FIFO_SIZE + 1] = {}; in rf69_read_fifo() local
795 local_buffer[0] = REG_FIFO; in rf69_read_fifo()
797 transfer.tx_buf = local_buffer; in rf69_read_fifo()
798 transfer.rx_buf = local_buffer; in rf69_read_fifo()
805 dev_dbg(&spi->dev, "%d - 0x%x\n", i, local_buffer[i + 1]); in rf69_read_fifo()
807 memcpy(buffer, &local_buffer[1], size); in rf69_read_fifo()
815 u8 local_buffer[FIFO_SIZE + 1]; in rf69_write_fifo() local
823 local_buffer[0] = REG_FIFO | WRITE_BIT; in rf69_write_fifo()
824 memcpy(&local_buffer[1], buffer, size); in rf69_write_fifo()
830 return spi_write(spi, local_buffer, size + 1); in rf69_write_fifo()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_x550.c934 u16 *local_buffer; in ixgbe_checksum_ptr_x550() local
945 local_buffer = buf; in ixgbe_checksum_ptr_x550()
949 local_buffer = &buffer[ptr]; in ixgbe_checksum_ptr_x550()
957 length = local_buffer[0]; in ixgbe_checksum_ptr_x550()
983 *csum += local_buffer[i]; in ixgbe_checksum_ptr_x550()
999 u16 *local_buffer; in ixgbe_calc_checksum_X550() local
1015 local_buffer = eeprom_ptrs; in ixgbe_calc_checksum_X550()
1019 local_buffer = buffer; in ixgbe_calc_checksum_X550()
1027 checksum += local_buffer[i]; in ixgbe_calc_checksum_X550()
1036 pointer = local_buffer[i]; in ixgbe_calc_checksum_X550()