| /kernel/linux/linux-6.6/drivers/acpi/acpica/ |
| H A D | dsargs.c | 5 * objects (regions, fields, buffer fields, etc.) 255 node = obj_desc->buffer.node; in acpi_ds_get_buffer_arguments() 258 "No pointer back to namespace node in buffer object %p", in acpi_ds_get_buffer_arguments() 268 obj_desc->buffer.aml_length, in acpi_ds_get_buffer_arguments() 269 obj_desc->buffer.aml_start); in acpi_ds_get_buffer_arguments()
|
| /kernel/linux/linux-6.6/fs/configfs/ |
| H A D | symlink.c | 41 static void fill_item_path(struct config_item * item, char * buffer, int length) in fill_item_path() argument 51 memcpy(buffer + length, config_item_name(p), cur); in fill_item_path() 52 *(buffer + --length) = '/'; in fill_item_path()
|
| /kernel/linux/linux-6.6/fs/xfs/ |
| H A D | xfs_xattr.c | 210 if (!context->buffer) in __xfs_xattr_put_listent() 219 offset = context->buffer + context->count; in __xfs_xattr_put_listent() 303 context.buffer = size ? data : NULL; in xfs_vn_listxattr()
|
| /kernel/linux/linux-6.6/drivers/usb/core/ |
| H A D | usb-acpi.c | 149 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in usb_acpi_get_connect_type() local 161 status = acpi_evaluate_object(handle, "_UPC", NULL, &buffer); in usb_acpi_get_connect_type() 165 upc = buffer.pointer; in usb_acpi_get_connect_type()
|
| /kernel/linux/linux-6.6/drivers/firewire/ |
| H A D | core.h | 106 struct fw_iso_buffer *buffer, 158 int fw_iso_buffer_alloc(struct fw_iso_buffer *buffer, int page_count); 159 int fw_iso_buffer_map_dma(struct fw_iso_buffer *buffer, struct fw_card *card,
|
| /kernel/linux/linux-6.6/drivers/net/wireless/microchip/wilc1000/ |
| H A D | hif.h | 210 void wilc_scan_complete_received(struct wilc *wilc, u8 *buffer, u32 length); 211 void wilc_network_info_received(struct wilc *wilc, u8 *buffer, u32 length); 212 void wilc_gnrl_async_info_received(struct wilc *wilc, u8 *buffer, u32 length);
|
| /kernel/linux/linux-6.6/drivers/media/cec/platform/s5p/ |
| H A D | exynos_hdmi_cecctrl.c | 195 void s5p_cec_get_rx_buf(struct s5p_cec_dev *cec, u32 size, u8 *buffer) in s5p_cec_get_rx_buf() argument 201 buffer[i] = readb(cec->reg + S5P_CEC_RX_BUFF0 + (i * 4)); in s5p_cec_get_rx_buf() 202 sprintf(debug + i * 2, "%02x ", buffer[i]); in s5p_cec_get_rx_buf()
|
| /kernel/linux/linux-6.6/tools/testing/selftests/kvm/ |
| H A D | guest_print_test.c | 127 TEST_ASSERT(strcmp(uc.buffer, expected_printf) == 0, in run_test() 129 expected_printf, uc.buffer); in run_test() 132 ucall_abort(uc.buffer, expected_assert); in run_test()
|
| /kernel/linux/linux-6.6/sound/core/ |
| H A D | sound_oss.c | 218 struct snd_info_buffer *buffer) in snd_minor_info_oss_read() 229 snd_iprintf(buffer, "%3i: [%i-%2i]: %s\n", minor, in snd_minor_info_oss_read() 233 snd_iprintf(buffer, "%3i: : %s\n", minor, in snd_minor_info_oss_read() 217 snd_minor_info_oss_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) snd_minor_info_oss_read() argument
|
| /kernel/linux/linux-6.6/security/keys/ |
| H A D | request_key_auth.c | 83 char *buffer, size_t buflen) in request_key_auth_read() 96 if (buffer && buflen > 0) { in request_key_auth_read() 100 memcpy(buffer, rka->callout_info, buflen); in request_key_auth_read() 82 request_key_auth_read(const struct key *key, char *buffer, size_t buflen) request_key_auth_read() argument
|
| /kernel/liteos_a/fs/vfs/include/ |
| H A D | vnode.h | 142 ssize_t (*ReadPage)(struct Vnode *vnode, char *buffer, off_t pos); 143 ssize_t (*WritePage)(struct Vnode *vnode, char *buffer, off_t pos, size_t buflen); 162 ssize_t (*Readlink)(struct Vnode *vnode, char *buffer, size_t bufLen);
|
| /kernel/linux/linux-6.6/drivers/scsi/aic7xxx/ |
| H A D | aic79xx_proc.c | 208 ahd_proc_write_seeprom(struct Scsi_Host *shost, char *buffer, int length) in ahd_proc_write_seeprom() argument 227 printk("ahd_proc_write_seeprom: incorrect buffer size\n"); in ahd_proc_write_seeprom() 231 have_seeprom = ahd_verify_cksum((struct seeprom_config*)buffer); in ahd_proc_write_seeprom() 249 "eeprom buffer. Write failing\n"); in ahd_proc_write_seeprom() 255 ahd_write_seeprom(ahd, (u_int16_t *)buffer, start_addr, in ahd_proc_write_seeprom()
|
| /kernel/linux/linux-5.10/drivers/crypto/mediatek/ |
| H A D | mtk-sha.c | 95 u8 *buffer; member 191 * Check if count <= 0 because the buffer is full or in mtk_sha_append_sg() 204 scatterwalk_map_and_copy(ctx->buffer + ctx->bufcnt, ctx->sg, in mtk_sha_append_sg() 256 *(ctx->buffer + ctx->bufcnt) = 0x80; in mtk_sha_fill_padding() 257 memset(ctx->buffer + ctx->bufcnt + 1, 0, padlen - 1); in mtk_sha_fill_padding() 258 memcpy(ctx->buffer + ctx->bufcnt + padlen, bits, 16); in mtk_sha_fill_padding() 266 *(ctx->buffer + ctx->bufcnt) = 0x80; in mtk_sha_fill_padding() 267 memset(ctx->buffer + ctx->bufcnt + 1, 0, padlen - 1); in mtk_sha_fill_padding() 268 memcpy(ctx->buffer + ctx->bufcnt + padlen, &bits[1], 8); in mtk_sha_fill_padding() 408 ctx->buffer in mtk_sha_init() [all...] |
| /kernel/linux/linux-5.10/drivers/acpi/ |
| H A D | battery.c | 485 const struct acpi_buffer *buffer) in extract_battery_info() 490 result = extract_package(battery, buffer->pointer, in extract_battery_info() 494 result = extract_package(battery, buffer->pointer, in extract_battery_info() 498 result = extract_package(battery, buffer->pointer, in extract_battery_info() 535 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_battery_get_info() local 541 NULL, &buffer); in acpi_battery_get_info() 550 &buffer); in acpi_battery_get_info() 552 kfree(buffer.pointer); in acpi_battery_get_info() 567 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in acpi_battery_get_state() local 579 NULL, &buffer); in acpi_battery_get_state() 483 extract_battery_info(const int use_bix, struct acpi_battery *battery, const struct acpi_buffer *buffer) extract_battery_info() argument [all...] |
| /kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/x86_64/ |
| H A D | processor.c | 784 } buffer = {}; in vcpu_get_msr() local 788 buffer.header.nmsrs = 1; in vcpu_get_msr() 789 buffer.entry.index = msr_index; in vcpu_get_msr() 790 r = ioctl(vcpu->fd, KVM_GET_MSRS, &buffer.header); in vcpu_get_msr() 794 return buffer.entry.data; in vcpu_get_msr() 819 } buffer = {}; in _vcpu_set_msr() local 823 memset(&buffer, 0, sizeof(buffer)); in _vcpu_set_msr() 824 buffer.header.nmsrs = 1; in _vcpu_set_msr() 825 buffer in _vcpu_set_msr() [all...] |
| /kernel/linux/linux-5.10/drivers/input/touchscreen/ |
| H A D | sur40.c | 256 u8 command, u16 index, void *buffer, u16 size) in sur40_command() 261 0x00, index, buffer, size, 1000); in sur40_command() 343 u8 *buffer; in sur40_init() local 345 buffer = kmalloc(24, GFP_KERNEL); in sur40_init() 346 if (!buffer) { in sur40_init() 352 result = sur40_command(dev, SUR40_GET_VERSION, 0x00, buffer, 12); in sur40_init() 356 result = sur40_command(dev, SUR40_GET_VERSION, 0x01, buffer, 12); in sur40_init() 360 result = sur40_command(dev, SUR40_GET_VERSION, 0x02, buffer, 12); in sur40_init() 364 result = sur40_command(dev, SUR40_SENSOR_CAPS, 0x00, buffer, 24); in sur40_init() 368 result = sur40_command(dev, SUR40_ACCEL_CAPS, 0x00, buffer, in sur40_init() 255 sur40_command(struct sur40_state *dev, u8 command, u16 index, void *buffer, u16 size) sur40_command() argument [all...] |
| /kernel/linux/linux-5.10/drivers/input/ |
| H A D | evdev.c | 44 spinlock_t buffer_lock; /* protects access to buffer, head and tail */ 53 struct input_event buffer[]; member 74 /* requires the buffer lock to be held */ 117 ev = &client->buffer[i]; in __evdev_flush_queue() 128 client->buffer[head] = *ev; in __evdev_flush_queue() 155 client->buffer[client->head++] = ev; in __evdev_queue_syn_dropped() 217 client->buffer[client->head++] = *event; in __pass_event() 227 client->buffer[client->tail] = (struct input_event) { in __pass_event() 477 client = kvzalloc(struct_size(client, buffer, bufsize), GFP_KERNEL); in evdev_open() 502 static ssize_t evdev_write(struct file *file, const char __user *buffer, in evdev_write() argument 558 evdev_read(struct file *file, char __user *buffer, size_t count, loff_t *ppos) evdev_read() argument [all...] |
| /kernel/linux/linux-5.10/drivers/mmc/host/ |
| H A D | wbsd.c | 403 char *buffer; in wbsd_empty_fifo() local 412 buffer = wbsd_map_sg(host) + host->offset; in wbsd_empty_fifo() 432 buffer[idx++] = inb(host->base + WBSD_DFR); in wbsd_empty_fifo() 442 kunmap_atomic(buffer); in wbsd_empty_fifo() 449 buffer = wbsd_map_sg(host); in wbsd_empty_fifo() 454 kunmap_atomic(buffer); in wbsd_empty_fifo() 468 char *buffer; in wbsd_fill_fifo() local 473 * entire buffer has been transferred. in wbsd_fill_fifo() 478 buffer = wbsd_map_sg(host) + host->offset; in wbsd_fill_fifo() 498 outb(buffer[id in wbsd_fill_fifo() [all...] |
| /kernel/linux/linux-5.10/drivers/hwmon/ |
| H A D | asus_atk0110.c | 171 * Return buffer format: 182 /* Input buffer used for GITM and SITM methods */ 538 tmp.buffer.pointer = (u8 *)&buf; in atk_gitm() 539 tmp.buffer.length = sizeof(buf); in atk_gitm() 555 if (obj->buffer.length < 8) { in atk_gitm() 557 obj->buffer.length); in atk_gitm() 575 tmp.buffer.pointer = (u8 *)buf; in atk_sitm() 576 tmp.buffer.length = sizeof(*buf); in atk_sitm() 592 if (obj->buffer.length < 8) { in atk_sitm() 594 obj->buffer in atk_sitm() [all...] |
| /kernel/linux/linux-5.10/drivers/iio/imu/ |
| H A D | adis16475.c | 14 #include <linux/iio/buffer.h> 916 static bool adis16475_validate_crc(const u8 *buffer, u16 crc, in adis16475_validate_crc() argument 925 crc -= buffer[i]; in adis16475_validate_crc() 982 __be16 *buffer; in adis16475_trigger_handler() local 996 buffer = adis->buffer; in adis16475_trigger_handler() 998 crc = be16_to_cpu(buffer[offset + 2]); in adis16475_trigger_handler() 999 valid = adis16475_validate_crc(adis->buffer, crc, st->burst32); in adis16475_trigger_handler() 1013 st->data[i++] = buffer[offset]; in adis16475_trigger_handler() 1022 st->data[i++] = buffer[bi in adis16475_trigger_handler() [all...] |
| /kernel/linux/linux-5.10/drivers/gpu/drm/sti/ |
| H A D | sti_hdmi.c | 435 u8 buffer[HDMI_INFOFRAME_SIZE(AVI)]; in hdmi_avi_infoframe_config() local 452 ret = hdmi_avi_infoframe_pack(&infoframe, buffer, sizeof(buffer)); in hdmi_avi_infoframe_config() 458 hdmi_infoframe_write_infopack(hdmi, buffer, ret); in hdmi_avi_infoframe_config() 477 u8 buffer[HDMI_INFOFRAME_SIZE(AUDIO)]; in hdmi_audio_infoframe_config() local 484 ret = hdmi_audio_infoframe_pack(&audio->cea, buffer, in hdmi_audio_infoframe_config() 485 sizeof(buffer)); in hdmi_audio_infoframe_config() 490 hdmi_infoframe_write_infopack(hdmi, buffer, ret); in hdmi_audio_infoframe_config() 517 u8 buffer[HDMI_INFOFRAME_HEADER_SIZE + HDMI_VENDOR_INFOFRAME_MAX_SIZE]; in hdmi_vendor_infoframe_config() local 535 ret = hdmi_vendor_infoframe_pack(&infoframe, buffer, sizeo in hdmi_vendor_infoframe_config() [all...] |
| /kernel/linux/linux-6.6/drivers/mmc/host/ |
| H A D | wbsd.c | 403 char *buffer; in wbsd_empty_fifo() local 412 buffer = wbsd_map_sg(host) + host->offset; in wbsd_empty_fifo() 432 buffer[idx++] = inb(host->base + WBSD_DFR); in wbsd_empty_fifo() 442 kunmap_local(buffer); in wbsd_empty_fifo() 449 buffer = wbsd_map_sg(host); in wbsd_empty_fifo() 454 kunmap_local(buffer); in wbsd_empty_fifo() 468 char *buffer; in wbsd_fill_fifo() local 473 * entire buffer has been transferred. in wbsd_fill_fifo() 478 buffer = wbsd_map_sg(host) + host->offset; in wbsd_fill_fifo() 498 outb(buffer[id in wbsd_fill_fifo() [all...] |
| /kernel/linux/linux-6.6/drivers/hwmon/ |
| H A D | asus_atk0110.c | 171 * Return buffer format: 182 /* Input buffer used for GITM and SITM methods */ 538 tmp.buffer.pointer = (u8 *)&buf; in atk_gitm() 539 tmp.buffer.length = sizeof(buf); in atk_gitm() 555 if (obj->buffer.length < 8) { in atk_gitm() 557 obj->buffer.length); in atk_gitm() 575 tmp.buffer.pointer = (u8 *)buf; in atk_sitm() 576 tmp.buffer.length = sizeof(*buf); in atk_sitm() 592 if (obj->buffer.length < 8) { in atk_sitm() 594 obj->buffer in atk_sitm() [all...] |
| /kernel/linux/linux-6.6/drivers/gpu/drm/sti/ |
| H A D | sti_hdmi.c | 443 u8 buffer[HDMI_INFOFRAME_SIZE(AVI)]; in hdmi_avi_infoframe_config() local 460 ret = hdmi_avi_infoframe_pack(&infoframe, buffer, sizeof(buffer)); in hdmi_avi_infoframe_config() 466 hdmi_infoframe_write_infopack(hdmi, buffer, ret); in hdmi_avi_infoframe_config() 485 u8 buffer[HDMI_INFOFRAME_SIZE(AUDIO)]; in hdmi_audio_infoframe_config() local 492 ret = hdmi_audio_infoframe_pack(&audio->cea, buffer, in hdmi_audio_infoframe_config() 493 sizeof(buffer)); in hdmi_audio_infoframe_config() 498 hdmi_infoframe_write_infopack(hdmi, buffer, ret); in hdmi_audio_infoframe_config() 525 u8 buffer[HDMI_INFOFRAME_HEADER_SIZE + HDMI_VENDOR_INFOFRAME_MAX_SIZE]; in hdmi_vendor_infoframe_config() local 543 ret = hdmi_vendor_infoframe_pack(&infoframe, buffer, sizeo in hdmi_vendor_infoframe_config() [all...] |
| /kernel/linux/linux-6.6/drivers/iio/imu/ |
| H A D | adis16480.c | 24 #include <linux/iio/buffer.h> 1126 __be16 *buffer; in adis16480_trigger_handler() local 1162 buffer = adis->buffer; in adis16480_trigger_handler() 1164 u16 curr = be16_to_cpu(buffer[offset]); in adis16480_trigger_handler() 1165 u16 next = be16_to_cpu(buffer[offset + 1]); in adis16480_trigger_handler() 1178 crc = be16_to_cpu(buffer[offset + 16]) << 16 | be16_to_cpu(buffer[offset + 15]); in adis16480_trigger_handler() 1179 valid = adis16480_validate_crc((u16 *)&buffer[offset], 15, crc); in adis16480_trigger_handler() 1193 st->data[i++] = buffer[offse in adis16480_trigger_handler() [all...] |