Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/hid/
Dhid-roccat-arvo.c33 struct arvo_mode_key temp_buf; in arvo_sysfs_show_mode_key() local
38 &temp_buf, sizeof(struct arvo_mode_key)); in arvo_sysfs_show_mode_key()
43 return sysfs_emit(buf, "%d\n", temp_buf.state); in arvo_sysfs_show_mode_key()
53 struct arvo_mode_key temp_buf; in arvo_sysfs_set_mode_key() local
61 temp_buf.command = ARVO_COMMAND_MODE_KEY; in arvo_sysfs_set_mode_key()
62 temp_buf.state = state; in arvo_sysfs_set_mode_key()
66 &temp_buf, sizeof(struct arvo_mode_key)); in arvo_sysfs_set_mode_key()
83 struct arvo_key_mask temp_buf; in arvo_sysfs_show_key_mask() local
88 &temp_buf, sizeof(struct arvo_key_mask)); in arvo_sysfs_show_key_mask()
93 return sysfs_emit(buf, "%d\n", temp_buf.key_mask); in arvo_sysfs_show_key_mask()
[all …]
/linux-6.6.21/drivers/char/tpm/
Dtpm_ftpm_tee.c77 u8 *temp_buf; in ftpm_tee_tpm_op_send() local
111 temp_buf = tee_shm_get_va(shm, 0); in ftpm_tee_tpm_op_send()
112 if (IS_ERR(temp_buf)) { in ftpm_tee_tpm_op_send()
115 return PTR_ERR(temp_buf); in ftpm_tee_tpm_op_send()
117 memset(temp_buf, 0, (MAX_COMMAND_SIZE + MAX_RESPONSE_SIZE)); in ftpm_tee_tpm_op_send()
118 memcpy(temp_buf, buf, len); in ftpm_tee_tpm_op_send()
137 temp_buf = tee_shm_get_va(shm, command_params[1].u.memref.shm_offs); in ftpm_tee_tpm_op_send()
138 if (IS_ERR(temp_buf)) { in ftpm_tee_tpm_op_send()
141 return PTR_ERR(temp_buf); in ftpm_tee_tpm_op_send()
144 resp_header = (struct tpm_header *)temp_buf; in ftpm_tee_tpm_op_send()
[all …]
/linux-6.6.21/arch/powerpc/platforms/pseries/
Dpapr_platform_attributes.c98 char *temp_buf; in papr_get_attr() local
103 temp_buf = krealloc(buf, esi_buf_size, GFP_KERNEL); in papr_get_attr()
104 if (temp_buf) in papr_get_attr()
105 buf = temp_buf; in papr_get_attr()
/linux-6.6.21/drivers/net/wireless/rsi/
Drsi_91x_usb.c510 u8 temp_buf[256]; in rsi_usb_load_data_master_write() local
517 memcpy(temp_buf, ta_firmware + cur_indx, block_size); in rsi_usb_load_data_master_write()
519 (u8 *)(temp_buf), in rsi_usb_load_data_master_write()
529 memset(temp_buf, 0, block_size); in rsi_usb_load_data_master_write()
530 memcpy(temp_buf, ta_firmware + cur_indx, in rsi_usb_load_data_master_write()
534 (u8 *)temp_buf, in rsi_usb_load_data_master_write()
Drsi_91x_sdio.c564 u8 *temp_buf; in rsi_sdio_load_data_master_write() local
573 temp_buf = kmalloc(block_size, GFP_KERNEL); in rsi_sdio_load_data_master_write()
574 if (!temp_buf) in rsi_sdio_load_data_master_write()
585 memcpy(temp_buf, ta_firmware + offset, block_size); in rsi_sdio_load_data_master_write()
590 temp_buf, block_size); in rsi_sdio_load_data_master_write()
614 memset(temp_buf, 0, block_size); in rsi_sdio_load_data_master_write()
615 memcpy(temp_buf, ta_firmware + offset, in rsi_sdio_load_data_master_write()
621 temp_buf, in rsi_sdio_load_data_master_write()
632 kfree(temp_buf); in rsi_sdio_load_data_master_write()
/linux-6.6.21/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.c1334 u8 temp_buf[2]; in ds3231_hwmon_read_temp() local
1339 temp_buf, sizeof(temp_buf)); in ds3231_hwmon_read_temp()
1346 temp = (temp_buf[0] << 8) | temp_buf[1]; in ds3231_hwmon_read_temp()
/linux-6.6.21/arch/ia64/kernel/
Dmca.c213 char temp_buf[MLOGBUF_MSGMAX]; in ia64_mca_printk() local
217 printed_len = vscnprintf(temp_buf, sizeof(temp_buf), fmt, args); in ia64_mca_printk()
223 printk("%s", temp_buf); in ia64_mca_printk()
226 for (p = temp_buf; *p; p++) { in ia64_mca_printk()
248 char temp_buf[MLOGBUF_MSGMAX]; in ia64_mlogbuf_dump() local
256 temp_buf[0] = '\0'; in ia64_mlogbuf_dump()
257 p = temp_buf; in ia64_mlogbuf_dump()
273 if (temp_buf[0]) in ia64_mlogbuf_dump()
274 printk("%s", temp_buf); in ia64_mlogbuf_dump()
/linux-6.6.21/include/linux/platform_data/
Dcros_ec_sensorhub.h88 s64 temp_buf[CROS_EC_SENSORHUB_TS_HISTORY_SIZE]; member
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/drivers/vfio/pci/mlx5/
Dcmd.c439 struct mlx5_vhca_data_buffer *buf, *temp_buf; in mlx5vf_get_data_buffer() local
449 list_for_each_entry_safe(buf, temp_buf, &migf->avail_list, buf_elm) { in mlx5vf_get_data_buffer()
469 while ((temp_buf = list_first_entry_or_null(&free_list, in mlx5vf_get_data_buffer()
471 list_del(&temp_buf->buf_elm); in mlx5vf_get_data_buffer()
472 mlx5vf_free_data_buffer(temp_buf); in mlx5vf_get_data_buffer()
/linux-6.6.21/tools/perf/util/intel-pt-decoder/
Dintel-pt-decoder.c240 unsigned char temp_buf[INTEL_PT_PKT_MAX_SZ]; member
680 unsigned char *buf = decoder->temp_buf; in intel_pt_get_split_packet()
3862 memcpy(decoder->temp_buf, INTEL_PT_PSB_STR, INTEL_PT_PSB_LEN); in intel_pt_get_split_psb()
3863 decoder->buf = decoder->temp_buf; in intel_pt_get_split_psb()