Home
last modified time | relevance | path

Searched refs:temp_buf (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/hid/
Dhid-roccat-arvo.c35 struct arvo_mode_key temp_buf; in arvo_sysfs_show_mode_key() local
40 &temp_buf, sizeof(struct arvo_mode_key)); in arvo_sysfs_show_mode_key()
45 return snprintf(buf, PAGE_SIZE, "%d\n", temp_buf.state); in arvo_sysfs_show_mode_key()
55 struct arvo_mode_key temp_buf; in arvo_sysfs_set_mode_key() local
63 temp_buf.command = ARVO_COMMAND_MODE_KEY; in arvo_sysfs_set_mode_key()
64 temp_buf.state = state; in arvo_sysfs_set_mode_key()
68 &temp_buf, sizeof(struct arvo_mode_key)); in arvo_sysfs_set_mode_key()
85 struct arvo_key_mask temp_buf; in arvo_sysfs_show_key_mask() local
90 &temp_buf, sizeof(struct arvo_key_mask)); in arvo_sysfs_show_key_mask()
95 return snprintf(buf, PAGE_SIZE, "%d\n", temp_buf.key_mask); in arvo_sysfs_show_key_mask()
[all …]
/kernel/linux/linux-5.10/drivers/char/tpm/
Dtpm_ftpm_tee.c78 u8 *temp_buf; in ftpm_tee_tpm_op_send() local
112 temp_buf = tee_shm_get_va(shm, 0); in ftpm_tee_tpm_op_send()
113 if (IS_ERR(temp_buf)) { in ftpm_tee_tpm_op_send()
116 return PTR_ERR(temp_buf); in ftpm_tee_tpm_op_send()
118 memset(temp_buf, 0, (MAX_COMMAND_SIZE + MAX_RESPONSE_SIZE)); in ftpm_tee_tpm_op_send()
119 memcpy(temp_buf, buf, len); in ftpm_tee_tpm_op_send()
138 temp_buf = tee_shm_get_va(shm, command_params[1].u.memref.shm_offs); in ftpm_tee_tpm_op_send()
139 if (IS_ERR(temp_buf)) { in ftpm_tee_tpm_op_send()
142 return PTR_ERR(temp_buf); in ftpm_tee_tpm_op_send()
145 resp_header = (struct tpm_header *)temp_buf; in ftpm_tee_tpm_op_send()
[all …]
/kernel/linux/common_modules/tzdriver/core/
Dgp_ops.c321 uint32_t buffer_size, void *temp_buf, in update_input_data() argument
330 if (read_from_client(temp_buf, buffer_size, in update_input_data()
348 void *temp_buf = NULL; in alloc_for_tmp_mem() local
384 temp_buf = mailbox_alloc(buffer_size, MB_FLAG_ZERO); in alloc_for_tmp_mem()
385 if (!temp_buf) { in alloc_for_tmp_mem()
389 op_params->local_tmpbuf[index].temp_buffer = temp_buf; in alloc_for_tmp_mem()
392 if (update_input_data(client_param, buffer_size, temp_buf, in alloc_for_tmp_mem()
397 mailbox_virt_to_phys((uintptr_t)temp_buf); in alloc_for_tmp_mem()
399 (unsigned int)(mailbox_virt_to_phys((uintptr_t)temp_buf) >> ADDR_TRANS_NUM); in alloc_for_tmp_mem()
974 void *temp_buf = NULL; in free_operation() local
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/rsi/
Drsi_91x_usb.c508 u8 temp_buf[256]; in rsi_usb_load_data_master_write() local
515 memcpy(temp_buf, ta_firmware + cur_indx, block_size); in rsi_usb_load_data_master_write()
517 (u8 *)(temp_buf), in rsi_usb_load_data_master_write()
527 memset(temp_buf, 0, block_size); in rsi_usb_load_data_master_write()
528 memcpy(temp_buf, ta_firmware + cur_indx, in rsi_usb_load_data_master_write()
532 (u8 *)temp_buf, in rsi_usb_load_data_master_write()
Drsi_91x_sdio.c572 u8 *temp_buf; in rsi_sdio_load_data_master_write() local
581 temp_buf = kmalloc(block_size, GFP_KERNEL); in rsi_sdio_load_data_master_write()
582 if (!temp_buf) in rsi_sdio_load_data_master_write()
593 memcpy(temp_buf, ta_firmware + offset, block_size); in rsi_sdio_load_data_master_write()
598 temp_buf, block_size); in rsi_sdio_load_data_master_write()
622 memset(temp_buf, 0, block_size); in rsi_sdio_load_data_master_write()
623 memcpy(temp_buf, ta_firmware + offset, in rsi_sdio_load_data_master_write()
629 temp_buf, in rsi_sdio_load_data_master_write()
640 kfree(temp_buf); in rsi_sdio_load_data_master_write()
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-ds3232.c289 u8 temp_buf[2]; in ds3232_hwmon_read_temp() local
293 ret = regmap_bulk_read(ds3232->regmap, DS3232_REG_TEMPERATURE, temp_buf, in ds3232_hwmon_read_temp()
294 sizeof(temp_buf)); in ds3232_hwmon_read_temp()
302 temp = (temp_buf[0] << 8) | temp_buf[1]; in ds3232_hwmon_read_temp()
Drtc-ds1307.c1391 u8 temp_buf[2]; in ds3231_hwmon_read_temp() local
1396 temp_buf, sizeof(temp_buf)); in ds3231_hwmon_read_temp()
1403 temp = (temp_buf[0] << 8) | temp_buf[1]; in ds3231_hwmon_read_temp()
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dmca.c211 char temp_buf[MLOGBUF_MSGMAX]; in ia64_mca_printk() local
215 printed_len = vscnprintf(temp_buf, sizeof(temp_buf), fmt, args); in ia64_mca_printk()
221 printk("%s", temp_buf); in ia64_mca_printk()
224 for (p = temp_buf; *p; p++) { in ia64_mca_printk()
246 char temp_buf[MLOGBUF_MSGMAX]; in ia64_mlogbuf_dump() local
254 temp_buf[0] = '\0'; in ia64_mlogbuf_dump()
255 p = temp_buf; in ia64_mlogbuf_dump()
271 if (temp_buf[0]) in ia64_mlogbuf_dump()
272 printk("%s", temp_buf); in ia64_mlogbuf_dump()
/kernel/linux/linux-5.10/include/linux/platform_data/
Dcros_ec_sensorhub.h88 s64 temp_buf[CROS_EC_SENSORHUB_TS_HISTORY_SIZE]; member
/kernel/linux/linux-5.10/arch/s390/kernel/
Ddebug.c49 char temp_buf[2048]; /* buffer for output */ member
396 len += view->prolog_proc(id_snap, view, p_info->temp_buf); in debug_format_entry()
408 act_entry, p_info->temp_buf + len); in debug_format_entry()
410 len += view->format_proc(id_snap, view, p_info->temp_buf + len, in debug_format_entry()
481 if (copy_to_user(user_buf + count, p_info->temp_buf in debug_output()
/kernel/linux/linux-5.10/fs/
Dbinfmt_elf.c1038 void *temp_buf = NULL; in load_elf_binary() local
1045 temp_buf = vmalloc(elf_ppnt->p_memsz); in load_elf_binary()
1046 if (!temp_buf) { in load_elf_binary()
1051 get_random_bytes(temp_buf, (int)elf_ppnt->p_memsz); in load_elf_binary()
1052 …if (copy_to_user((void *)(elf_ppnt->p_vaddr + load_bias), temp_buf, (unsigned long)elf_ppnt->p_mem… in load_elf_binary()
1054 vfree(temp_buf); in load_elf_binary()
1057 vfree(temp_buf); in load_elf_binary()
/kernel/linux/linux-5.10/drivers/platform/chrome/
Dcros_ec_sensorhub_ring.c232 s64 *m_history_copy = state->temp_buf; in cros_ec_sensor_ring_ts_filter_update()
233 s64 *error = state->temp_buf; in cros_ec_sensor_ring_ts_filter_update()
/kernel/linux/linux-5.10/tools/perf/util/intel-pt-decoder/
Dintel-pt-decoder.c203 unsigned char temp_buf[INTEL_PT_PKT_MAX_SZ]; member
577 unsigned char *buf = decoder->temp_buf; in intel_pt_get_split_packet()
2702 memcpy(decoder->temp_buf, INTEL_PT_PSB_STR, INTEL_PT_PSB_LEN); in intel_pt_get_split_psb()
2703 decoder->buf = decoder->temp_buf; in intel_pt_get_split_psb()