Home
last modified time | relevance | path

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

/linux/drivers/hid/
H A 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/arch/powerpc/platforms/pseries/
H A 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/drivers/rtc/
H A 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()
H A Drtc-ds1307.c1350 u8 temp_buf[2]; in ds3231_hwmon_read_temp() local
1355 temp_buf, sizeof(temp_buf)); in ds3231_hwmon_read_temp()
1362 temp = (temp_buf[0] << 8) | temp_buf[1]; in ds3231_hwmon_read_temp()
/linux/drivers/net/wireless/rsi/
H A 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/include/linux/platform_data/
H A Dcros_ec_sensorhub.h88 s64 temp_buf[CROS_EC_SENSORHUB_TS_HISTORY_SIZE]; member
/linux/tools/perf/util/intel-pt-decoder/
H A 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()
3864 memcpy(decoder->temp_buf, INTEL_PT_PSB_STR, INTEL_PT_PSB_LEN); in intel_pt_get_split_psb()
3865 decoder->buf = decoder->temp_buf; in intel_pt_get_split_psb()