Home
last modified time | relevance | path

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

/Linux-v6.1/arch/powerpc/platforms/pseries/
Dlparcfg.c342 } *local_buffer; in read_rtas_lpar_name() local
348 local_buffer = kmalloc(sizeof(*local_buffer), GFP_KERNEL); in read_rtas_lpar_name()
349 if (!local_buffer) in read_rtas_lpar_name()
354 memset(rtas_data_buf, 0, sizeof(*local_buffer)); in read_rtas_lpar_name()
356 __pa(rtas_data_buf), sizeof(*local_buffer)); in read_rtas_lpar_name()
358 memcpy(local_buffer->raw_buffer, rtas_data_buf, in read_rtas_lpar_name()
359 sizeof(local_buffer->raw_buffer)); in read_rtas_lpar_name()
365 len = min((int) be16_to_cpu(local_buffer->len), in read_rtas_lpar_name()
366 (int) sizeof(local_buffer->name)-1); in read_rtas_lpar_name()
367 local_buffer->name[len] = '\0'; in read_rtas_lpar_name()
[all …]
Dlpar.c1484 unsigned char local_buffer[SPLPAR_TLB_BIC_MAXLENGTH]; in pseries_lpar_read_hblkrm_characteristics() local
1497 memcpy(local_buffer, rtas_data_buf, SPLPAR_TLB_BIC_MAXLENGTH); in pseries_lpar_read_hblkrm_characteristics()
1498 local_buffer[SPLPAR_TLB_BIC_MAXLENGTH - 1] = '\0'; in pseries_lpar_read_hblkrm_characteristics()
1511 len = be16_to_cpu(*((u16 *)local_buffer)) + 2; in pseries_lpar_read_hblkrm_characteristics()
1519 u8 block_shift = local_buffer[idx++]; in pseries_lpar_read_hblkrm_characteristics()
1528 for (npsize = local_buffer[idx++]; in pseries_lpar_read_hblkrm_characteristics()
1530 check_lp_set_hblkrm((unsigned int) local_buffer[idx++], in pseries_lpar_read_hblkrm_characteristics()
/Linux-v6.1/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.1/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()