Searched refs:temp_buf (Results 1 – 7 of 7) sorted by relevance
/drivers/hid/ |
D | hid-roccat-arvo.c | 35 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 sysfs_emit(buf, "%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 sysfs_emit(buf, "%d\n", temp_buf.key_mask); in arvo_sysfs_show_key_mask() [all …]
|
/drivers/char/tpm/ |
D | tpm_ftpm_tee.c | 78 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 …]
|
/drivers/net/wireless/rsi/ |
D | rsi_91x_usb.c | 510 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()
|
D | rsi_91x_sdio.c | 572 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()
|
/drivers/rtc/ |
D | rtc-ds3232.c | 289 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()
|
D | rtc-ds1307.c | 1334 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()
|
/drivers/platform/chrome/ |
D | cros_ec_sensorhub_ring.c | 232 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()
|