Home
last modified time | relevance | path

Searched refs:tmp_buf (Results 1 – 25 of 87) sorted by relevance

1234

/Linux-v4.19/arch/sparc/kernel/
Dprom_64.c73 static void __init sun4v_path_component(struct device_node *dp, char *tmp_buf) in sun4v_path_component() argument
85 sprintf(tmp_buf, "%s@%x,%x", in sun4v_path_component()
100 sprintf(tmp_buf, "%s@%s%x,%x", in sun4v_path_component()
104 sprintf(tmp_buf, "%s@%s%x", in sun4v_path_component()
109 sprintf(tmp_buf, "%s@%x", in sun4v_path_component()
114 static void __init sun4u_path_component(struct device_node *dp, char *tmp_buf) in sun4u_path_component() argument
125 sprintf(tmp_buf, "%s@%x,%x", in sun4u_path_component()
141 sprintf(tmp_buf, "%s@%x,%x", in sun4u_path_component()
149 static void __init sbus_path_component(struct device_node *dp, char *tmp_buf) in sbus_path_component() argument
159 sprintf(tmp_buf, "%s@%x,%x", in sbus_path_component()
[all …]
Dprom_32.c61 static void __init sparc32_path_component(struct device_node *dp, char *tmp_buf) in sparc32_path_component() argument
71 sprintf(tmp_buf, "%s@%x,%x", in sparc32_path_component()
77 static void __init sbus_path_component(struct device_node *dp, char *tmp_buf) in sbus_path_component() argument
87 sprintf(tmp_buf, "%s@%x,%x", in sbus_path_component()
94 static void __init pci_path_component(struct device_node *dp, char *tmp_buf) in pci_path_component() argument
107 sprintf(tmp_buf, "%s@%x,%x", in pci_path_component()
112 sprintf(tmp_buf, "%s@%x", in pci_path_component()
119 static void __init ebus_path_component(struct device_node *dp, char *tmp_buf) in ebus_path_component() argument
130 sprintf(tmp_buf, "%s@%x,%x", in ebus_path_component()
136 static void __init ambapp_path_component(struct device_node *dp, char *tmp_buf) in ambapp_path_component() argument
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Drtl_btc.c327 void rtl_btc_btinfo_notify(struct rtl_priv *rtlpriv, u8 *tmp_buf, u8 length) in rtl_btc_btinfo_notify() argument
334 exhalbtc_bt_info_notify(btcoexist, tmp_buf, length); in rtl_btc_btinfo_notify()
337 void rtl_btc_btmpinfo_notify(struct rtl_priv *rtlpriv, u8 *tmp_buf, u8 length) in rtl_btc_btmpinfo_notify() argument
348 if ((length < 4) || (!tmp_buf)) in rtl_btc_btmpinfo_notify()
351 extid = tmp_buf[0]; in rtl_btc_btmpinfo_notify()
356 len = tmp_buf[1] >> 4; in rtl_btc_btmpinfo_notify()
357 seq = tmp_buf[2] >> 4; in rtl_btc_btmpinfo_notify()
358 data = &tmp_buf[3]; in rtl_btc_btmpinfo_notify()
363 bt_real_fw_ver = tmp_buf[3] | (tmp_buf[4] << 8); in rtl_btc_btmpinfo_notify()
364 bt_fw_ver = tmp_buf[5]; in rtl_btc_btmpinfo_notify()
[all …]
/Linux-v4.19/drivers/staging/rtlwifi/btcoexist/
Drtl_btc.c317 void rtl_btc_btinfo_notify(struct rtl_priv *rtlpriv, u8 *tmp_buf, u8 length) in rtl_btc_btinfo_notify() argument
324 exhalbtc_bt_info_notify(btcoexist, tmp_buf, length); in rtl_btc_btinfo_notify()
327 void rtl_btc_btmpinfo_notify(struct rtl_priv *rtlpriv, u8 *tmp_buf, u8 length) in rtl_btc_btmpinfo_notify() argument
338 if ((length < 4) || (!tmp_buf)) in rtl_btc_btmpinfo_notify()
341 extid = tmp_buf[0]; in rtl_btc_btmpinfo_notify()
346 len = tmp_buf[1] >> 4; in rtl_btc_btmpinfo_notify()
347 seq = tmp_buf[2] >> 4; in rtl_btc_btmpinfo_notify()
348 data = &tmp_buf[3]; in rtl_btc_btmpinfo_notify()
353 bt_real_fw_ver = tmp_buf[3] | (tmp_buf[4] << 8); in rtl_btc_btmpinfo_notify()
354 bt_fw_ver = tmp_buf[5]; in rtl_btc_btmpinfo_notify()
[all …]
/Linux-v4.19/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DEventClass.py59 tmp_buf=raw_buf[0:80]
60 flags, ip, ax, bx, cx, dx, si, di, bp, sp = struct.unpack('QQQQQQQQQQ', tmp_buf)
74 del tmp_buf
88 tmp_buf=raw_buf[144:176]
89 status, dla, dse, lat = struct.unpack('QQQQ', tmp_buf)
97 del tmp_buf
/Linux-v4.19/fs/ceph/
Dacl.c180 void *tmp_buf = NULL; in ceph_pre_init_acls() local
206 tmp_buf = kmalloc(max(val_size1, val_size2), GFP_KERNEL); in ceph_pre_init_acls()
207 if (!tmp_buf) in ceph_pre_init_acls()
228 tmp_buf, val_size1); in ceph_pre_init_acls()
232 ceph_pagelist_append(pagelist, tmp_buf, val_size1); in ceph_pre_init_acls()
242 tmp_buf, val_size2); in ceph_pre_init_acls()
246 ceph_pagelist_append(pagelist, tmp_buf, val_size2); in ceph_pre_init_acls()
249 kfree(tmp_buf); in ceph_pre_init_acls()
259 kfree(tmp_buf); in ceph_pre_init_acls()
/Linux-v4.19/drivers/staging/rtlwifi/phydm/
Dphydm_interface.c240 u8 *tmp_buf) in phydm_c2H_content_parsing() argument
248 phydm_fw_trace_handler(dm, tmp_buf, c2h_cmd_len); in phydm_c2H_content_parsing()
252 phydm_c2h_ra_report_handler(dm, tmp_buf, c2h_cmd_len); in phydm_c2H_content_parsing()
256 odm_c2h_ra_para_report_handler(dm, tmp_buf, c2h_cmd_len); in phydm_c2H_content_parsing()
266 phydm_fw_trace_handler_code(dm, tmp_buf, c2h_cmd_len); in phydm_c2H_content_parsing()
270 extend_c2h_sub_id = tmp_buf[0]; in phydm_c2H_content_parsing()
272 phydm_fw_trace_handler_8051(dm, tmp_buf, c2h_cmd_len); in phydm_c2H_content_parsing()
/Linux-v4.19/net/atm/
Daddr.c140 struct sockaddr_atmsvc *tmp_buf, *tmp_bufp; in atm_get_addr() local
149 tmp_buf = tmp_bufp = kmalloc(total, GFP_ATOMIC); in atm_get_addr()
150 if (!tmp_buf) { in atm_get_addr()
158 if (copy_to_user(buf, tmp_buf, total < size ? total : size)) in atm_get_addr()
160 kfree(tmp_buf); in atm_get_addr()
Dresources.c202 int *tmp_buf, *tmp_p; in atm_dev_ioctl() local
236 tmp_buf = kmalloc(size, GFP_ATOMIC); in atm_dev_ioctl()
237 if (!tmp_buf) { in atm_dev_ioctl()
241 tmp_p = tmp_buf; in atm_dev_ioctl()
247 error = ((copy_to_user(buf, tmp_buf, size)) || in atm_dev_ioctl()
250 kfree(tmp_buf); in atm_dev_ioctl()
/Linux-v4.19/drivers/base/regmap/
Dregcache.c36 void *tmp_buf; in regcache_hw_init() local
65 tmp_buf = kmalloc(map->cache_size_raw, GFP_KERNEL); in regcache_hw_init()
66 if (!tmp_buf) { in regcache_hw_init()
70 ret = regmap_raw_read(map, 0, tmp_buf, in regcache_hw_init()
74 map->reg_defaults_raw = tmp_buf; in regcache_hw_init()
77 kfree(tmp_buf); in regcache_hw_init()
123 void *tmp_buf; in regcache_init() local
173 tmp_buf = kmemdup(config->reg_defaults, map->num_reg_defaults * in regcache_init()
175 if (!tmp_buf) in regcache_init()
177 map->reg_defaults = tmp_buf; in regcache_init()
/Linux-v4.19/drivers/staging/rtlwifi/rtl8822be/
Dfw.c886 u8 c2h_cmd_len, u8 *tmp_buf) in rtl8822be_c2h_content_parsing() argument
892 rtl8822be_c2h_content_parsing_ext(hw, tmp_buf[0], in rtl8822be_c2h_content_parsing()
894 tmp_buf + 2); in rtl8822be_c2h_content_parsing()
911 btc_ops->btc_btinfo_notify(rtlpriv, tmp_buf, in rtl8822be_c2h_content_parsing()
918 btc_ops->btc_btmpinfo_notify(rtlpriv, tmp_buf, in rtl8822be_c2h_content_parsing()
923 rtlpriv, c2h_cmd_id, c2h_cmd_len, tmp_buf)) in rtl8822be_c2h_content_parsing()
936 u8 *tmp_buf = NULL; in rtl8822be_c2h_packet_handler() local
941 tmp_buf = buffer + 2; in rtl8822be_c2h_packet_handler()
948 "[C2H packet], Content Hex:\n", tmp_buf, c2h_cmd_len); in rtl8822be_c2h_packet_handler()
953 rtl_c2hcmd_enqueue(hw, c2h_cmd_id, c2h_cmd_len, tmp_buf); in rtl8822be_c2h_packet_handler()
[all …]
/Linux-v4.19/drivers/hid/intel-ish-hid/ipc/
Dpci-ish.c59 char tmp_buf[100]; in ish_event_tracer() local
62 vsnprintf(tmp_buf, sizeof(tmp_buf), format, args); in ish_event_tracer()
65 trace_ishtp_dump(tmp_buf); in ish_event_tracer()
/Linux-v4.19/drivers/mtd/nand/raw/
Ddenali.c710 void *tmp_buf = denali->buf; in denali_read_page_raw() local
715 ret = denali_data_xfer(denali, tmp_buf, size, page, 1, 0); in denali_read_page_raw()
730 memcpy(buf, tmp_buf + pos, len); in denali_read_page_raw()
734 memcpy(buf, tmp_buf + writesize + oob_skip, in denali_read_page_raw()
745 memcpy(oob, tmp_buf + writesize, oob_skip); in denali_read_page_raw()
758 memcpy(oob, tmp_buf + pos, len); in denali_read_page_raw()
762 memcpy(oob, tmp_buf + writesize + oob_skip, in denali_read_page_raw()
770 memcpy(oob, tmp_buf + size - len, len); in denali_read_page_raw()
837 void *tmp_buf = denali->buf; in denali_write_page_raw() local
847 memset(tmp_buf, 0xff, size); in denali_write_page_raw()
[all …]
/Linux-v4.19/fs/jffs2/
Dcompr.c155 unsigned char *output_buf = NULL, *tmp_buf; in jffs2_compress() local
190 tmp_buf = kmalloc(orig_slen, GFP_KERNEL); in jffs2_compress()
192 if (!tmp_buf) { in jffs2_compress()
198 this->compr_buf = tmp_buf; in jffs2_compress()
/Linux-v4.19/drivers/mtd/nand/raw/gpmi-nand/
Dgpmi-nand.c1391 u8 *tmp_buf = this->raw_buffer; in gpmi_ecc_read_page_raw() local
1398 nand_read_page_op(chip, page, 0, tmp_buf, in gpmi_ecc_read_page_raw()
1409 swap(tmp_buf[0], tmp_buf[mtd->writesize]); in gpmi_ecc_read_page_raw()
1416 memcpy(oob, tmp_buf, nfc_geo->metadata_size); in gpmi_ecc_read_page_raw()
1425 tmp_buf, src_bit_off, in gpmi_ecc_read_page_raw()
1436 tmp_buf, src_bit_off, in gpmi_ecc_read_page_raw()
1448 tmp_buf + mtd->writesize + oob_byte_off, in gpmi_ecc_read_page_raw()
1476 u8 *tmp_buf = this->raw_buffer; in gpmi_ecc_write_page_raw() local
1489 memset(tmp_buf, 0xff, mtd->writesize + mtd->oobsize); in gpmi_ecc_write_page_raw()
1495 memcpy(tmp_buf, oob, nfc_geo->metadata_size); in gpmi_ecc_write_page_raw()
[all …]
/Linux-v4.19/drivers/i2c/busses/
Di2c-bcm-kona.c334 uint8_t *tmp_buf = msg->buf; in bcm_kona_i2c_read_fifo() local
342 rc = bcm_kona_i2c_read_fifo_single(dev, tmp_buf, bytes_to_read, in bcm_kona_i2c_read_fifo()
348 tmp_buf += bytes_to_read; in bcm_kona_i2c_read_fifo()
458 uint8_t *tmp_buf = msg->buf; in bcm_kona_i2c_write_fifo() local
464 rc = bcm_kona_i2c_write_fifo_single(dev, tmp_buf, in bcm_kona_i2c_write_fifo()
470 tmp_buf += bytes_to_write; in bcm_kona_i2c_write_fifo()
/Linux-v4.19/fs/cifs/
Dreaddir.c790 char *tmp_buf = NULL; in cifs_readdir() local
846 tmp_buf = kmalloc(UNICODE_NAME_MAX, GFP_KERNEL); in cifs_readdir()
847 if (tmp_buf == NULL) { in cifs_readdir()
863 *tmp_buf = 0; in cifs_readdir()
865 tmp_buf, max_len); in cifs_readdir()
876 ctx->pos, tmp_buf); in cifs_readdir()
884 kfree(tmp_buf); in cifs_readdir()
/Linux-v4.19/tools/bpf/bpftool/
Dmap_perf_ring.c181 void *tmp_buf = NULL; in do_event_pipe() local
280 perf_event_read(&rings[i], &tmp_buf, &tmp_buf_sz); in do_event_pipe()
282 free(tmp_buf); in do_event_pipe()
/Linux-v4.19/drivers/media/usb/tm6000/
Dtm6000-usb-isoc.h33 u32 tmp_buf; member
/Linux-v4.19/drivers/mtd/chips/
Dcfi_cmdset_0002.c1686 map_word tmp_buf; in cfi_amdstd_write_words() local
1703 tmp_buf = map_read(map, bus_ofs+chipstart); in cfi_amdstd_write_words()
1710 tmp_buf = map_word_load_partial(map, tmp_buf, buf, i, n); in cfi_amdstd_write_words()
1713 bus_ofs, tmp_buf, FL_WRITING); in cfi_amdstd_write_words()
1757 map_word tmp_buf; in cfi_amdstd_write_words() local
1773 tmp_buf = map_read(map, ofs + chipstart); in cfi_amdstd_write_words()
1777 tmp_buf = map_word_load_partial(map, tmp_buf, buf, 0, len); in cfi_amdstd_write_words()
1780 ofs, tmp_buf, FL_WRITING); in cfi_amdstd_write_words()
2150 map_word tmp_buf; in cfi_amdstd_panic_write() local
2157 tmp_buf = map_read(map, bus_ofs + chipstart); in cfi_amdstd_panic_write()
[all …]
/Linux-v4.19/drivers/staging/greybus/
Des2.c1124 char *tmp_buf; in apb_log_read() local
1129 tmp_buf = kmalloc(count, GFP_KERNEL); in apb_log_read()
1130 if (!tmp_buf) in apb_log_read()
1133 copied = kfifo_out(&es2->apb_log_fifo, tmp_buf, count); in apb_log_read()
1134 ret = simple_read_from_buffer(buf, count, ppos, tmp_buf, copied); in apb_log_read()
1136 kfree(tmp_buf); in apb_log_read()
1177 char tmp_buf[3]; in apb_log_enable_read() local
1179 sprintf(tmp_buf, "%d\n", enable); in apb_log_enable_read()
1180 return simple_read_from_buffer(buf, count, ppos, tmp_buf, 3); in apb_log_enable_read()
/Linux-v4.19/drivers/hwmon/
Dnpcm750-pwm-fan.c215 u32 tmp_buf, ctrl_en_bit, env_bit; in npcm7xx_pwm_config_set() local
224 tmp_buf = ioread32(NPCM7XX_PWM_REG_CR(data->pwm_base, module)); in npcm7xx_pwm_config_set()
250 tmp_buf &= ~ctrl_en_bit; in npcm7xx_pwm_config_set()
251 tmp_buf |= env_bit; in npcm7xx_pwm_config_set()
254 tmp_buf |= ctrl_en_bit; in npcm7xx_pwm_config_set()
255 tmp_buf &= ~env_bit; in npcm7xx_pwm_config_set()
258 iowrite32(tmp_buf, NPCM7XX_PWM_REG_CR(data->pwm_base, module)); in npcm7xx_pwm_config_set()
/Linux-v4.19/drivers/staging/axis-fifo/
Daxis-fifo.c353 u32 tmp_buf[READ_BUF_SIZE]; in axis_fifo_read() local
422 tmp_buf[i] = ioread32(fifo->base_addr + in axis_fifo_read()
426 if (copy_to_user(buf + copied * sizeof(u32), tmp_buf, in axis_fifo_read()
448 u32 tmp_buf[WRITE_BUF_SIZE]; in axis_fifo_write() local
517 if (copy_from_user(tmp_buf, buf + copied * sizeof(u32), in axis_fifo_write()
524 iowrite32(tmp_buf[i], fifo->base_addr + in axis_fifo_write()
/Linux-v4.19/drivers/net/wireless/ath/ath9k/
Dhtc_drv_txrx.c1052 struct ath9k_htc_rxbuf *rxbuf = NULL, *tmp_buf = NULL; in ath9k_rx_tasklet() local
1060 list_for_each_entry(tmp_buf, &priv->rx.rxbuf, list) { in ath9k_rx_tasklet()
1061 if (tmp_buf->in_process) { in ath9k_rx_tasklet()
1062 rxbuf = tmp_buf; in ath9k_rx_tasklet()
1109 struct ath9k_htc_rxbuf *rxbuf = NULL, *tmp_buf = NULL; in ath9k_htc_rxep() local
1113 list_for_each_entry(tmp_buf, &priv->rx.rxbuf, list) { in ath9k_htc_rxep()
1114 if (!tmp_buf->in_process) { in ath9k_htc_rxep()
1115 rxbuf = tmp_buf; in ath9k_htc_rxep()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dtrx.c247 u8 *tmp_buf; in translate_rx_signal_stuff() local
253 tmp_buf = skb->data + pstatus->rx_drvinfo_size + pstatus->rx_bufshift; in translate_rx_signal_stuff()
255 hdr = (struct ieee80211_hdr *)tmp_buf; in translate_rx_signal_stuff()
279 rtl_process_phyinfo(hw, tmp_buf, pstatus); in translate_rx_signal_stuff()

1234