Home
last modified time | relevance | path

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

/Linux-v6.6/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()
/Linux-v6.6/arch/powerpc/platforms/pseries/
Dlparcfg.c383 const char *local_buffer; in parse_system_parameter_string() local
392 local_buffer = buf->val; in parse_system_parameter_string()
396 while ((*local_buffer) && (idx < splpar_strlen)) { in parse_system_parameter_string()
397 workbuffer[w_idx++] = local_buffer[idx++]; in parse_system_parameter_string()
398 if ((local_buffer[idx] == ',') in parse_system_parameter_string()
399 || (local_buffer[idx] == '\0')) { in parse_system_parameter_string()
408 } else if (local_buffer[idx] == '=') { in parse_system_parameter_string()
424 local_buffer -= 2; /* back up over strlen value */ in parse_system_parameter_string()
/Linux-v6.6/drivers/net/ethernet/wangxun/txgbe/
Dtxgbe_hw.c191 u16 *local_buffer; in txgbe_calc_eeprom_checksum() local
208 local_buffer = eeprom_ptrs; in txgbe_calc_eeprom_checksum()
212 *checksum += local_buffer[i]; in txgbe_calc_eeprom_checksum()
/Linux-v6.6/drivers/net/ethernet/intel/ixgbe/
Dixgbe_x550.c931 u16 *local_buffer; in ixgbe_checksum_ptr_x550() local
942 local_buffer = buf; in ixgbe_checksum_ptr_x550()
946 local_buffer = &buffer[ptr]; in ixgbe_checksum_ptr_x550()
954 length = local_buffer[0]; in ixgbe_checksum_ptr_x550()
980 *csum += local_buffer[i]; in ixgbe_checksum_ptr_x550()
996 u16 *local_buffer; in ixgbe_calc_checksum_X550() local
1012 local_buffer = eeprom_ptrs; in ixgbe_calc_checksum_X550()
1016 local_buffer = buffer; in ixgbe_calc_checksum_X550()
1024 checksum += local_buffer[i]; in ixgbe_calc_checksum_X550()
1033 pointer = local_buffer[i]; in ixgbe_calc_checksum_X550()