/linux-master/drivers/media/radio/ |
H A D | radio-raremono.c | 111 u8 *buffer; member in struct:raremono_device 139 radio->buffer[0] = 0x04 + band_offset; 140 radio->buffer[1] = freq >> 8; 141 radio->buffer[2] = freq & 0xff; 146 0x0300 + radio->buffer[0], 2, 147 radio->buffer, 3, USB_TIMEOUT); 221 memset(radio->buffer, 1, BUFFER_LENGTH); 223 1, 0xa1, 0x030d, 2, radio->buffer, BUFFER_LENGTH, USB_TIMEOUT); 229 v->signal = ((radio->buffer[1] & 0xf) << 8 | radio->buffer[ [all...] |
/linux-master/include/linux/platform_data/ |
H A D | cros_ec_chardev.h | 24 * @buffer: Where to store the result. The ioctl returns the number of bytes 30 uint8_t buffer[EC_MEMMAP_SIZE]; member in struct:cros_ec_readmem
|
/linux-master/include/keys/ |
H A D | big_key-type.h | 20 extern long big_key_read(const struct key *key, char *buffer, size_t buflen);
|
/linux-master/sound/firewire/ |
H A D | lib.h | 17 u64 offset, void *buffer, size_t length,
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | opal-elog.c | 26 char *buffer; member in struct:elog_obj 137 kfree(elog->buffer); 160 char *buffer, loff_t pos, size_t count) 167 if (!elog->buffer) { 168 elog->buffer = kzalloc(elog->size, GFP_KERNEL); 169 if (!elog->buffer) 172 opal_rc = opal_read_elog(__pa(elog->buffer), 177 kfree(elog->buffer); 178 elog->buffer = NULL; 183 memcpy(buffer, elo 158 raw_attr_read(struct file *filep, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t count) argument [all...] |
/linux-master/drivers/net/wireless/marvell/mwifiex/ |
H A D | 11ac.h | 27 u8 **buffer);
|
/linux-master/arch/s390/crypto/ |
H A D | sha1_s390.c | 52 memcpy(octx->buffer, sctx->buf, sizeof(octx->buffer)); 63 memcpy(sctx->buf, ictx->buffer, sizeof(ictx->buffer));
|
/linux-master/arch/s390/hypfs/ |
H A D | hypfs_diag_fs.c | 205 char buffer[TMP_SIZE]; local 208 snprintf(buffer, TMP_SIZE, "%d", cpu_info__cpu_addr(diag204_get_info_type(), 210 cpu_dir = hypfs_mkdir(cpus_dir, buffer); 227 diag224_idx2name(cpu_info__ctidx(diag204_get_info_type(), cpu_info), buffer); 228 rc = hypfs_create_str(cpu_dir, "type", buffer); 263 char buffer[TMP_SIZE]; local 266 snprintf(buffer, TMP_SIZE, "%i", phys_cpu__cpu_addr(diag204_get_info_type(), 268 cpu_dir = hypfs_mkdir(cpus_dir, buffer); 275 diag224_idx2name(phys_cpu__ctidx(diag204_get_info_type(), cpu_info), buffer); 276 rc = hypfs_create_str(cpu_dir, "type", buffer); 305 void *buffer, *ptr; local [all...] |
/linux-master/tools/testing/selftests/net/af_unix/ |
H A D | scm_pidfd.c | 57 static int char_left_gc(const char *buffer, size_t len) argument 62 if (buffer[i] == ' ' || buffer[i] == '\t') 71 static int char_right_gc(const char *buffer, size_t len) argument 76 if (buffer[i] == ' ' || buffer[i] == '\t' || 77 buffer[i] == '\n' || buffer[i] == '\0') 86 static char *trim_whitespace_in_place(char *buffer) argument 88 buffer [all...] |
/linux-master/include/drm/ |
H A D | drm_client.h | 129 * struct drm_client_buffer - DRM client buffer 143 * @gem: GEM object backing this buffer 148 * @map: Virtual address for the buffer 160 void drm_client_framebuffer_delete(struct drm_client_buffer *buffer); 161 int drm_client_framebuffer_flush(struct drm_client_buffer *buffer, struct drm_rect *rect); 162 int drm_client_buffer_vmap(struct drm_client_buffer *buffer, 164 void drm_client_buffer_vunmap(struct drm_client_buffer *buffer);
|
/linux-master/drivers/acpi/ |
H A D | processor_core.c | 220 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; local 225 if (ACPI_FAILURE(acpi_evaluate_object(handle, "_MAT", NULL, &buffer))) 228 if (!buffer.length || !buffer.pointer) 231 obj = buffer.pointer; 233 obj->buffer.length < sizeof(struct acpi_subtable_header)) { 237 header = (struct acpi_subtable_header *)obj->buffer.pointer; 250 kfree(buffer.pointer); 367 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; local 372 if (ACPI_FAILURE(acpi_evaluate_object(handle, "_MAT", NULL, &buffer))) [all...] |
/linux-master/fs/afs/ |
H A D | xattr.c | 39 void *buffer, size_t size) 63 memcpy(buffer, acl->data, acl->size); 74 const void *buffer, size_t size) 85 memcpy(acl->data, buffer, size); 103 const void *buffer, size_t size, int flags) 116 if (!afs_make_acl(op, buffer, size)) 141 void *buffer, size_t size) 207 memcpy(buffer, data, dsize); 234 const void *buffer, size_t size, int flags) 249 if (!afs_make_acl(op, buffer, siz 36 afs_xattr_get_acl(const struct xattr_handler *handler, struct dentry *dentry, struct inode *inode, const char *name, void *buffer, size_t size) argument 73 afs_make_acl(struct afs_operation *op, const void *buffer, size_t size) argument 99 afs_xattr_set_acl(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *dentry, struct inode *inode, const char *name, const void *buffer, size_t size, int flags) argument 138 afs_xattr_get_yfs(const struct xattr_handler *handler, struct dentry *dentry, struct inode *inode, const char *name, void *buffer, size_t size) argument 230 afs_xattr_set_yfs(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *dentry, struct inode *inode, const char *name, const void *buffer, size_t size, int flags) argument 268 afs_xattr_get_cell(const struct xattr_handler *handler, struct dentry *dentry, struct inode *inode, const char *name, void *buffer, size_t size) argument 295 afs_xattr_get_fid(const struct xattr_handler *handler, struct dentry *dentry, struct inode *inode, const char *name, void *buffer, size_t size) argument 333 afs_xattr_get_volume(const struct xattr_handler *handler, struct dentry *dentry, struct inode *inode, const char *name, void *buffer, size_t size) argument [all...] |
/linux-master/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | qos_pfc.sh | 6 # buffer 1, and scheduled at TC 1. 10 # - then it ingresses through $swp4. Here it is put to a lossless buffer and put 175 dcb buffer set dev $swp1 prio-buffer all:0 1:1 210 # the lossless prio into a buffer of its own. Don't bother with buffer 213 dcb buffer set dev $swp3 prio-buffer all:0 1:1 230 dcb buffer set dev $swp4 prio-buffer al [all...] |
/linux-master/drivers/staging/rts5208/ |
H A D | rtsx_transport.h | 20 unsigned int rtsx_stor_access_xfer_buf(unsigned char *buffer, 26 void rtsx_stor_set_xfer_buf(unsigned char *buffer, unsigned int buflen, 28 void rtsx_stor_get_xfer_buf(unsigned char *buffer, unsigned int buflen,
|
/linux-master/drivers/input/ |
H A D | input-compat.h | 69 int input_event_from_user(const char __user *buffer, 72 int input_event_to_user(char __user *buffer, 75 int input_ff_effect_from_user(const char __user *buffer, size_t size,
|
/linux-master/drivers/media/usb/gspca/ |
H A D | sq905c.c | 130 u8 *buffer; local 132 buffer = kmalloc(SQ905C_MAX_TRANSFER, GFP_KERNEL); 133 if (!buffer) { 134 pr_err("Couldn't allocate USB buffer\n"); 146 buffer, FRAME_HEADER_LEN, &act_len, 154 bytes_left = buffer[0x40]|(buffer[0x41]<<8)|(buffer[0x42]<<16) 155 |(buffer[0x43]<<24); 161 buffer, FRAME_HEADER_LE [all...] |
/linux-master/tools/hv/ |
H A D | hv_vss_daemon.c | 66 char *buffer; local 71 buffer = malloc(PATH_MAX); 72 if (!buffer) { 77 snprintf(buffer, PATH_MAX, "%s/loop", blkname); 78 if (!access(buffer, R_OK | X_OK)) { 83 buffer, errno, strerror(errno)); 86 snprintf(buffer, PATH_MAX, "%s/slaves", blkname); 87 dir = opendir(buffer); 91 buffer, errno, strerror(errno)); 100 snprintf(buffer, PATH_MA [all...] |
/linux-master/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | lut.c | 32 nv50_lut_load(struct nv50_lut *lut, int buffer, struct drm_property_blob *blob, argument 36 void __iomem *mem = lut->mem[buffer].object.map.ptr; 37 const u32 addr = lut->mem[buffer].addr;
|
/linux-master/kernel/gcov/ |
H A D | gcov.h | 51 size_t convert_to_gcda(char *buffer, struct gcov_info *info); 63 size_t store_gcov_u32(void *buffer, size_t off, u32 v); 64 size_t store_gcov_u64(void *buffer, size_t off, u64 v);
|
/linux-master/drivers/char/hw_random/ |
H A D | pseries-rng.c | 18 u64 buffer[PLPAR_HCALL_BUFSIZE]; local 21 rc = plpar_hcall(H_RANDOM, (unsigned long *)buffer); 26 memcpy(data, buffer, 8);
|
/linux-master/lib/ |
H A D | kunit_iov_iter.c | 53 void *buffer; local 65 buffer = vmap(pages, npages, VM_MAP | VM_MAP_PUT_PAGES, PAGE_KERNEL); 66 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, buffer); 68 kunit_add_action_or_reset(test, iov_kunit_unmap, buffer); 69 return buffer; 75 void *buffer, size_t bufsize, 86 kvec[i].iov_base = buffer + pr->from; 104 u8 *scratch, *buffer; local 115 buffer = iov_kunit_create_buffer(test, &bpages, npages); 116 memset(buffer, 72 iov_kunit_load_kvec(struct kunit *test, struct iov_iter *iter, int dir, struct kvec *kvec, unsigned int kvmax, void *buffer, size_t bufsize, const struct kvec_test_range *pr) argument 154 u8 *scratch, *buffer; local 263 u8 *scratch, *buffer; local 317 u8 *scratch, *buffer; local 410 u8 *scratch, *buffer; local 468 u8 *scratch, *buffer; local 531 u8 *buffer; local [all...] |
/linux-master/arch/hexagon/include/asm/ |
H A D | io.h | 242 static inline void insb(unsigned long port, void *buffer, int count) argument 245 u8 *buf = buffer; 253 static inline void insw(unsigned long port, void *buffer, int count) argument 256 u16 *buf = buffer; 264 static inline void insl(unsigned long port, void *buffer, int count) argument 267 u32 *buf = buffer; 275 static inline void outsb(unsigned long port, const void *buffer, int count) argument 278 const u8 *buf = buffer; 285 static inline void outsw(unsigned long port, const void *buffer, int count) argument 288 const u16 *buf = buffer; 295 outsl(unsigned long port, const void *buffer, int count) argument [all...] |
/linux-master/arch/arm/kernel/ |
H A D | atags_proc.c | 8 struct buffer { struct 16 struct buffer *b = pde_data(file_inode(file)); 41 struct buffer *b;
|
/linux-master/drivers/ufs/core/ |
H A D | ufs-fault-injection.c | 10 static int ufs_fault_get(char *buffer, const struct kernel_param *kp); 36 static int ufs_fault_get(char *buffer, const struct kernel_param *kp) argument 40 return sysfs_emit(buffer, "%s\n", fault_str);
|
/linux-master/drivers/platform/x86/dell/ |
H A D | dell_rbu.c | 259 /* point to the offset in the packet buffer */ 263 * * the incoming buffer 302 * check if we reached end of buffer before reaching the 338 * img_update_free: Frees the buffer allocated for storing BIOS image 346 * zero out this buffer before freeing it to get rid of any stale 380 * check if the buffer of sufficient size has been 392 * we have a valid pre-allocated buffer with 399 * free any previously allocated buffer 425 static ssize_t read_packet_data(char *buffer, loff_t pos, size_t count) argument 430 char *ptempBuf = buffer; 462 read_rbu_mono_data(char *buffer, loff_t pos, size_t count) argument 477 data_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t count) argument 532 image_type_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t count) argument 542 image_type_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t count) argument 602 packet_size_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t count) argument 615 packet_size_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t count) argument [all...] |