/linux-4.19.296/drivers/hid/ |
D | hid-picolcd_debugfs.c | 399 char *buff; in picolcd_debug_out_report() local 406 buff = kmalloc(BUFF_SZ, GFP_ATOMIC); in picolcd_debug_out_report() 407 if (!buff) in picolcd_debug_out_report() 412 kfree(buff); in picolcd_debug_out_report() 416 snprintf(buff, BUFF_SZ, "\nout report %d (size %d) = ", in picolcd_debug_out_report() 418 hid_debug_event(hdev, buff); in picolcd_debug_out_report() 421 dump_buff_as_hex(buff, BUFF_SZ, raw_data, raw_size); in picolcd_debug_out_report() 422 hid_debug_event(hdev, buff); in picolcd_debug_out_report() 427 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report() 429 hid_debug_event(hdev, buff); in picolcd_debug_out_report() [all …]
|
/linux-4.19.296/lib/ |
D | checksum.c | 50 static unsigned int do_csum(const unsigned char *buff, int len) in do_csum() argument 57 odd = 1 & (unsigned long) buff; in do_csum() 60 result += (*buff << 8); in do_csum() 62 result = *buff; in do_csum() 65 buff++; in do_csum() 68 if (2 & (unsigned long) buff) { in do_csum() 69 result += *(unsigned short *) buff; in do_csum() 71 buff += 2; in do_csum() 74 const unsigned char *end = buff + ((unsigned)len & ~3); in do_csum() 77 unsigned int w = *(unsigned int *) buff; in do_csum() [all …]
|
D | test_rhashtable.c | 497 char buff[512] = ""; in print_ht() local 512 sprintf(buff, "%s\nbucket[%d] -> ", buff, i); in print_ht() 517 sprintf(buff, "%s[[", buff); in print_ht() 523 sprintf(buff, "%s val %d (tid=%d)%s", buff, p->value.id, p->value.tid, in print_ht() 532 sprintf(buff, "%s]]%s", buff, !rht_is_a_nulls(pos) ? " -> " : ""); in print_ht() 535 printk(KERN_ERR "\n---- ht: ----%s\n-------------\n", buff); in print_ht()
|
/linux-4.19.296/drivers/rtc/ |
D | rtc-tps80031.c | 69 u8 buff[TPS80031_RTC_TIME_NUM_REGS]; in tps80031_rtc_read_time() local 73 TPS80031_SECONDS_REG, TPS80031_RTC_TIME_NUM_REGS, buff); in tps80031_rtc_read_time() 79 tm->tm_sec = bcd2bin(buff[0]); in tps80031_rtc_read_time() 80 tm->tm_min = bcd2bin(buff[1]); in tps80031_rtc_read_time() 81 tm->tm_hour = bcd2bin(buff[2]); in tps80031_rtc_read_time() 82 tm->tm_mday = bcd2bin(buff[3]); in tps80031_rtc_read_time() 83 tm->tm_mon = bcd2bin(buff[4]) - 1; in tps80031_rtc_read_time() 84 tm->tm_year = bcd2bin(buff[5]) + RTC_YEAR_OFFSET; in tps80031_rtc_read_time() 85 tm->tm_wday = bcd2bin(buff[6]); in tps80031_rtc_read_time() 91 u8 buff[7]; in tps80031_rtc_set_time() local [all …]
|
D | rtc-tps6586x.c | 73 u8 buff[6]; in tps6586x_rtc_read_time() local 77 ret = tps6586x_reads(tps_dev, RTC_COUNT4_DUMMYREAD, sizeof(buff), buff); in tps6586x_rtc_read_time() 83 for (i = 1; i < sizeof(buff); i++) { in tps6586x_rtc_read_time() 85 ticks |= buff[i]; in tps6586x_rtc_read_time() 99 u8 buff[5]; in tps6586x_rtc_set_time() local 105 buff[0] = (ticks >> 32) & 0xff; in tps6586x_rtc_set_time() 106 buff[1] = (ticks >> 24) & 0xff; in tps6586x_rtc_set_time() 107 buff[2] = (ticks >> 16) & 0xff; in tps6586x_rtc_set_time() 108 buff[3] = (ticks >> 8) & 0xff; in tps6586x_rtc_set_time() 109 buff[4] = ticks & 0xff; in tps6586x_rtc_set_time() [all …]
|
/linux-4.19.296/fs/squashfs/ |
D | lz4_wrapper.c | 35 void *buff, int len) in lz4_comp_opts() argument 37 struct lz4_comp_opts *comp_opts = buff; in lz4_comp_opts() 54 static void *lz4_init(struct squashfs_sb_info *msblk, void *buff) in lz4_init() argument 98 void *buff = stream->input, *data; in lz4_uncompress() local 103 memcpy(buff, bh[i]->b_data + offset, avail); in lz4_uncompress() 104 buff += avail; in lz4_uncompress() 118 buff = stream->output; in lz4_uncompress() 121 memcpy(data, buff, bytes); in lz4_uncompress() 124 memcpy(data, buff, PAGE_SIZE); in lz4_uncompress() 125 buff += PAGE_SIZE; in lz4_uncompress()
|
D | lzo_wrapper.c | 41 static void *lzo_init(struct squashfs_sb_info *msblk, void *buff) in lzo_init() argument 83 void *buff = stream->input, *data; in lzo_uncompress() local 89 memcpy(buff, bh[i]->b_data + offset, avail); in lzo_uncompress() 90 buff += avail; in lzo_uncompress() 103 buff = stream->output; in lzo_uncompress() 106 memcpy(data, buff, bytes); in lzo_uncompress() 109 memcpy(data, buff, PAGE_SIZE); in lzo_uncompress() 110 buff += PAGE_SIZE; in lzo_uncompress()
|
D | xz_wrapper.c | 52 void *buff, int len) in squashfs_xz_comp_opts() argument 54 struct disk_comp_opts *comp_opts = buff; in squashfs_xz_comp_opts() 94 static void *squashfs_xz_init(struct squashfs_sb_info *msblk, void *buff) in squashfs_xz_init() argument 96 struct comp_opts *comp_opts = buff; in squashfs_xz_init()
|
D | decompressor.h | 39 void *buff, int length) in squashfs_comp_opts() argument 42 msblk->decompressor->comp_opts(msblk, buff, length) : NULL; in squashfs_comp_opts()
|
D | cache.c | 317 void *buff = entry->data[offset / PAGE_SIZE] in squashfs_copy_data() local 323 memcpy(buffer, buff, remaining); in squashfs_copy_data() 328 memcpy(buffer, buff, bytes); in squashfs_copy_data()
|
/linux-4.19.296/drivers/char/tpm/eventlog/ |
D | acpi.c | 52 struct acpi_tcpa *buff; in tpm_read_log_acpi() local 71 (struct acpi_table_header **)&buff); in tpm_read_log_acpi() 76 switch(buff->platform_class) { in tpm_read_log_acpi() 78 len = buff->server.log_max_len; in tpm_read_log_acpi() 79 start = buff->server.log_start_addr; in tpm_read_log_acpi() 83 len = buff->client.log_max_len; in tpm_read_log_acpi() 84 start = buff->client.log_start_addr; in tpm_read_log_acpi()
|
/linux-4.19.296/drivers/misc/genwqe/ |
D | genwqe_driver.h | 63 u32 genwqe_crc32(u8 *buff, size_t len, u32 init); 66 const void *buff, unsigned int size) in genwqe_hexdump() argument 73 print_hex_dump_debug(prefix, DUMP_PREFIX_OFFSET, 16, 1, buff, in genwqe_hexdump()
|
/linux-4.19.296/lib/mpi/ |
D | mpicoder.c | 336 const u8 *buff; in mpi_read_raw_from_sgl() local 349 while (len && !*buff) { in mpi_read_raw_from_sgl() 352 buff++; in mpi_read_raw_from_sgl() 355 if (len && *buff) in mpi_read_raw_from_sgl() 359 buff = miter.addr; in mpi_read_raw_from_sgl() 377 nbits -= count_leading_zeros(*buff) - (BITS_PER_LONG - 8); in mpi_read_raw_from_sgl() 399 buff = miter.addr; in mpi_read_raw_from_sgl() 405 a |= *buff++; in mpi_read_raw_from_sgl()
|
/linux-4.19.296/drivers/isdn/i4l/ |
D | isdn_audio.c | 197 isdn_audio_tlookup(const u_char *table, u_char *buff, unsigned long n) in isdn_audio_tlookup() argument 208 : "0"((long) table), "1"(n), "2"((long) buff), "3"((long) buff) in isdn_audio_tlookup() 212 *buff = table[*(unsigned char *)buff], buff++; in isdn_audio_tlookup() 217 isdn_audio_ulaw2alaw(unsigned char *buff, unsigned long len) in isdn_audio_ulaw2alaw() argument 219 isdn_audio_tlookup(isdn_audio_ulaw_to_alaw, buff, len); in isdn_audio_ulaw2alaw() 223 isdn_audio_alaw2ulaw(unsigned char *buff, unsigned long len) in isdn_audio_alaw2ulaw() argument 225 isdn_audio_tlookup(isdn_audio_alaw_to_ulaw, buff, len); in isdn_audio_alaw2ulaw()
|
/linux-4.19.296/include/net/sctp/ |
D | checksum.h | 46 static inline __wsum sctp_csum_update(const void *buff, int len, __wsum sum) in sctp_csum_update() argument 51 return (__force __wsum)crc32c((__force __u32)sum, buff, len); in sctp_csum_update()
|
/linux-4.19.296/include/scsi/ |
D | osd_initiator.h | 137 void *buff; member 428 const struct osd_obj_id *obj, u64 offset, void *buff, u64 len); 445 const struct osd_obj_id *obj, u64 offset, void *buff, u64 len); 455 const struct osd_obj_id *obj, void **buff, 458 const struct osd_obj_id *obj, void **buff,
|
/linux-4.19.296/include/asm-generic/ |
D | checksum.h | 17 extern __wsum csum_partial(const void *buff, int len, __wsum sum); 86 extern __sum16 ip_compute_csum(const void *buff, int len);
|
/linux-4.19.296/drivers/s390/char/ |
D | vmcp.c | 130 vmcp_read(struct file *file, char __user *buff, size_t count, loff_t *ppos) in vmcp_read() argument 144 ret = simple_read_from_buffer(buff, count, ppos, in vmcp_read() 153 vmcp_write(struct file *file, const char __user *buff, size_t count, in vmcp_write() argument 161 cmd = memdup_user_nul(buff, count); in vmcp_write()
|
/linux-4.19.296/drivers/misc/ibmasm/ |
D | ibmasmfs.c | 523 char *buff; in remote_settings_file_write() local 533 buff = kzalloc (count + 1, GFP_KERNEL); in remote_settings_file_write() 534 if (!buff) in remote_settings_file_write() 538 if (copy_from_user(buff, ubuff, count)) { in remote_settings_file_write() 539 kfree(buff); in remote_settings_file_write() 543 value = simple_strtoul(buff, NULL, 10); in remote_settings_file_write() 545 kfree(buff); in remote_settings_file_write()
|
/linux-4.19.296/drivers/media/radio/wl128x/ |
D | fmdrv.h | 75 u8 buff[FM_RX_RDS_INFO_FIELD_MAX]; member 128 u8 *buff; member
|
/linux-4.19.296/fs/befs/ |
D | datastream.h | 15 void *buff, befs_off_t len);
|
/linux-4.19.296/include/linux/ |
D | via_i2c.h | 37 int viafb_i2c_readbytes(u8 adap, u8 slave_addr, u8 index, u8 *buff, int buff_len);
|
/linux-4.19.296/drivers/iio/imu/st_lsm6dsx/ |
D | st_lsm6dsx_buffer.c | 317 err = st_lsm6dsx_read_block(hw, hw->buff, pattern_len); in st_lsm6dsx_read_fifo() 347 memcpy(gyro_buff, &hw->buff[offset], in st_lsm6dsx_read_fifo() 352 memcpy(acc_buff, &hw->buff[offset], in st_lsm6dsx_read_fifo() 360 memcpy(data, &hw->buff[offset], sizeof(data)); in st_lsm6dsx_read_fifo()
|
/linux-4.19.296/include/net/ |
D | checksum.h | 116 static inline __wsum csum_partial_ext(const void *buff, int len, __wsum sum) in csum_partial_ext() argument 118 return csum_partial(buff, len, sum); in csum_partial_ext()
|
/linux-4.19.296/drivers/bluetooth/ |
D | btrtl.c | 408 static int rtl_load_file(struct hci_dev *hdev, const char *name, u8 **buff) in rtl_load_file() argument 418 *buff = kvmalloc(fw->size, GFP_KERNEL); in rtl_load_file() 419 if (*buff) in rtl_load_file() 420 memcpy(*buff, fw->data, ret); in rtl_load_file()
|