| /kernel/linux/linux-6.6/fs/ocfs2/ |
| H A D | filecheck.c | 244 char buffer[OCFS2_FILECHECK_ARGS_LEN]; in ocfs2_filecheck_args_get_long() local 246 memcpy(buffer, buf, count); in ocfs2_filecheck_args_get_long() 247 buffer[count] = '\0'; in ocfs2_filecheck_args_get_long() 249 if (kstrtoul(buffer, 0, val)) in ocfs2_filecheck_args_get_long()
|
| /kernel/linux/linux-6.6/include/linux/ |
| H A D | firewire.h | 480 * An iso buffer is just a set of pages mapped for DMA in the 493 int fw_iso_buffer_init(struct fw_iso_buffer *buffer, struct fw_card *card, 495 void fw_iso_buffer_destroy(struct fw_iso_buffer *buffer, struct fw_card *card); 496 size_t fw_iso_buffer_lookup(struct fw_iso_buffer *buffer, dma_addr_t completed); 527 struct fw_iso_buffer *buffer,
|
| /kernel/linux/linux-6.6/include/scsi/ |
| H A D | scsi_device.h | 453 int subpage, unsigned char *buffer, int len, int timeout, 457 unsigned char *buffer, int len, int timeout, 464 int scsi_report_opcode(struct scsi_device *sdev, unsigned char *buffer, 492 unsigned char *sense; /* sense buffer */ 493 unsigned int sense_len; /* sense buffer len */ 501 blk_opf_t opf, void *buffer, unsigned int bufflen,
|
| /kernel/linux/linux-6.6/drivers/remoteproc/ |
| H A D | remoteproc_coredump.c | 177 static ssize_t rproc_coredump_read(char *buffer, loff_t offset, size_t count, in rproc_coredump_read() argument 189 copy_sz = memory_read_from_buffer(buffer, count, &offset, in rproc_coredump_read() 212 rproc_copy_segment(rproc, buffer, seg, seg->size - seg_data, in rproc_coredump_read() 216 buffer += copy_sz; in rproc_coredump_read() 231 * a separate buffer, which can then be read by userspace. 260 * For default configuration buffer includes headers & segments. in rproc_coredump() 261 * For inline dump buffer just includes headers as segments are in rproc_coredump() 341 * a separate buffer, which can then be read by userspace.
|
| /kernel/linux/linux-6.6/drivers/platform/x86/dell/ |
| H A D | dcdbas.c | 89 * smi_data_buf_free: free SMI data buffer 100 * smi_data_buf_realloc: grow SMI data buffer if needed 113 /* new buffer is needed */ in smi_data_buf_realloc() 122 /* free any existing buffer */ in smi_data_buf_realloc() 125 /* set up new buffer for use */ in smi_data_buf_realloc() 154 /* make sure SMI data buffer is at least buf_size */ in smi_data_buf_size_store() 212 /* make sure buffer is available for host control command */ in host_control_action_store() 306 * 0: zero SMI data buffer 340 * Provide physical address of command buffer field within in smi_request_store() 389 /* write SMI data buffer physica in host_control_smi() 509 checksum(u8 *buffer, u8 length) checksum() argument [all...] |
| /kernel/linux/linux-6.6/drivers/platform/x86/hp/hp-bioscfg/ |
| H A D | bioscfg.h | 452 int hp_populate_security_buffer(u16 *buffer, const char *authentication); 457 void *buffer, u32 insize, u32 outsize); 470 int hp_get_integer_from_buffer(u8 **buffer, u32 *buffer_size, u32 *integer); 471 int hp_get_string_from_buffer(u8 **buffer, u32 *buffer_size, char *dst, u32 dst_size);
|
| /kernel/linux/linux-6.6/drivers/platform/chrome/wilco_ec/ |
| H A D | event.c | 16 * and then the BIOS reads the event buffer from EC RAM via an 21 * circular buffer of size 64, so if there are no userspace consumers 48 /* ACPI Method to execute to retrieve event data buffer from the EC. */ 203 * @length: Length of event data buffer. 230 /* Ensure event does not overflow the available buffer */ in enqueue_events() 232 dev_err(&adev->dev, "Event exceeds buffer: %zu > %d\n", in enqueue_events() 237 /* Point to the next event in the buffer */ in enqueue_events() 272 /* Execute ACPI method to get event data buffer. */ in event_device_notify() 293 if (obj->buffer.length < sizeof(struct ec_event)) { in event_device_notify() 294 dev_err(&adev->dev, "Invalid buffer lengt in event_device_notify() [all...] |
| /kernel/linux/linux-6.6/drivers/usb/core/ |
| H A D | devices.c | 35 * Converted file reading routine to dump to buffer once 384 * buffer - the user-space buffer to write data into 390 static ssize_t usb_device_dump(char __user **buffer, size_t *nbytes, in usb_device_dump() argument 481 if (copy_to_user(*buffer, pages_start + *skip_bytes, length)) { in usb_device_dump() 488 *buffer += length; in usb_device_dump() 498 ret = usb_device_dump(buffer, nbytes, skip_bytes, in usb_device_dump()
|
| /kernel/linux/linux-6.6/drivers/staging/vt6656/ |
| H A D | usbpipe.c | 35 u16 index, u16 length, const u8 *buffer) in vnt_control_out() 47 usb_buffer = kmemdup(buffer, length, GFP_KERNEL); in vnt_control_out() 95 u16 index, u16 length, u8 *buffer) in vnt_control_in() 119 memcpy(buffer, usb_buffer, length); in vnt_control_in() 34 vnt_control_out(struct vnt_private *priv, u8 request, u16 value, u16 index, u16 length, const u8 *buffer) vnt_control_out() argument 94 vnt_control_in(struct vnt_private *priv, u8 request, u16 value, u16 index, u16 length, u8 *buffer) vnt_control_in() argument
|
| /kernel/linux/linux-6.6/drivers/bus/ |
| H A D | hisi_lpc.c | 262 * hisi_lpc_comm_ins - input the data in the buffer in multiple operations 265 * @buffer: a buffer where read/input data bytes are stored 269 * When success, the data read back is stored in buffer pointed by buffer. 272 static u32 hisi_lpc_comm_ins(void *hostdata, unsigned long pio, void *buffer, in hisi_lpc_comm_ins() argument 276 unsigned char *buf = buffer; in hisi_lpc_comm_ins() 303 * hisi_lpc_comm_outs - output the data in the buffer in multiple operations 306 * @buffer: a buffer wher 310 hisi_lpc_comm_outs(void *hostdata, unsigned long pio, const void *buffer, size_t dwidth, unsigned int count) hisi_lpc_comm_outs() argument [all...] |
| /kernel/linux/linux-6.6/drivers/char/tpm/ |
| H A D | tpm_tis_i2c_cr50.c | 175 * @buffer: Read destination, provided by caller. 180 * bytes are read from TPM response into the provided 'buffer'. 186 static int tpm_cr50_i2c_read(struct tpm_chip *chip, u8 addr, u8 *buffer, size_t len) in tpm_cr50_i2c_read() argument 198 .buf = buffer in tpm_cr50_i2c_read() 234 * @buffer: Data to write. 237 * The provided address is prepended to the data in 'buffer', the 245 static int tpm_cr50_i2c_write(struct tpm_chip *chip, u8 addr, u8 *buffer, in tpm_cr50_i2c_write() argument 260 /* Prepend the 'register address' to the buffer */ in tpm_cr50_i2c_write() 262 memcpy(priv->buf + 1, buffer, len); in tpm_cr50_i2c_write() 269 /* Send write request buffer wit in tpm_cr50_i2c_write() [all...] |
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce/ |
| H A D | dce_i2c_hw.c | 64 /* all transactions were executed and HW buffer became empty in execute_transaction() 108 uint8_t *buffer = reply->data; in process_channel_reply() local 119 * should read data bytes from I2C circular data buffer in process_channel_reply() 125 *buffer++ = i2c_data; in process_channel_reply() 166 uint8_t *buffer = request->data; in process_transaction() local 220 * into the hardware circular buffer, one byte per entry. in process_transaction() 244 DC_I2C_DATA, *buffer++); in process_transaction() 527 * the number of free bytes in HW buffer (minus one for address) in dce_i2c_hw_engine_submit_payload()
|
| /kernel/linux/linux-6.6/drivers/net/wireguard/ |
| H A D | socket.c | 189 int wg_socket_send_buffer_to_peer(struct wg_peer *peer, void *buffer, in wg_socket_send_buffer_to_peer() argument 199 skb_put_data(skb, buffer, len); in wg_socket_send_buffer_to_peer() 204 struct sk_buff *in_skb, void *buffer, in wg_socket_send_buffer_as_reply_to_skb() 222 skb_put_data(skb, buffer, len); in wg_socket_send_buffer_as_reply_to_skb() 203 wg_socket_send_buffer_as_reply_to_skb(struct wg_device *wg, struct sk_buff *in_skb, void *buffer, size_t len) wg_socket_send_buffer_as_reply_to_skb() argument
|
| /kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/ |
| H A D | dbring.c | 11 int ath11k_dbring_validate_buffer(struct ath11k *ar, void *buffer, u32 size) in ath11k_dbring_validate_buffer() argument 18 for (idx = 0, temp = buffer; idx < size; idx++, temp++) { in ath11k_dbring_validate_buffer() 27 void *buffer, u32 size) in ath11k_dbring_fill_magic_value() 29 /* memset32 function fills buffer payload with the ATH11K_DB_MAGIC_VALUE in ath11k_dbring_fill_magic_value() 35 memset32(buffer, ATH11K_DB_MAGIC_VALUE, size); in ath11k_dbring_fill_magic_value() 313 ath11k_warn(ab, "Recv dma buffer release ev on unsupp module %d\n", in ath11k_dbring_buffer_release_event() 26 ath11k_dbring_fill_magic_value(struct ath11k *ar, void *buffer, u32 size) ath11k_dbring_fill_magic_value() argument
|
| /kernel/linux/linux-6.6/block/partitions/ |
| H A D | efi.c | 109 * @buf: buffer to calculate crc32 of 229 * @buffer: destination buffer 232 * Description: Reads @count bytes from @state->disk into @buffer. 236 u64 lba, u8 *buffer, size_t count) in read_lba() 242 if (!buffer || lba > last_lba(state->disk)) in read_lba() 253 memcpy(buffer, data, copied); in read_lba() 255 buffer += copied; in read_lba() 235 read_lba(struct parsed_partitions *state, u64 lba, u8 *buffer, size_t count) read_lba() argument
|
| /kernel/linux/linux-6.6/crypto/asymmetric_keys/ |
| H A D | pkcs7_parser.c | 212 char buffer[50]; in pkcs7_note_OID() local 213 sprint_oid(value, vlen, buffer, sizeof(buffer)); in pkcs7_note_OID() 215 (unsigned long)value - ctx->data, buffer); in pkcs7_note_OID()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/loongson/ |
| H A D | lsdc_output_7a2000.c | 292 u8 buffer[HDMI_INFOFRAME_SIZE(AVI)]; in ls7a2000_hdmi_set_avi_infoframe() local 293 unsigned char *ptr = &buffer[HDMI_INFOFRAME_HEADER_SIZE]; in ls7a2000_hdmi_set_avi_infoframe() 310 err = hdmi_avi_infoframe_pack(&infoframe, buffer, sizeof(buffer)); in ls7a2000_hdmi_set_avi_infoframe()
|
| /kernel/linux/linux-6.6/drivers/iio/adc/ |
| H A D | ti-ads8688.c | 17 #include <linux/iio/buffer.h> 385 u16 buffer[ADS8688_MAX_CHANNELS + sizeof(s64)/sizeof(u16)] __aligned(8); in ads8688_trigger_handler() 391 buffer[j] = ads8688_read(indio_dev, i); in ads8688_trigger_handler() 395 iio_push_to_buffers_with_timestamp(indio_dev, buffer, in ads8688_trigger_handler() 462 dev_err(&spi->dev, "iio triggered buffer setup failed\n"); in ads8688_probe()
|
| /kernel/linux/linux-6.6/drivers/iio/magnetometer/ |
| H A D | mag3110.c | 17 #include <linux/iio/buffer.h> 279 __be16 buffer[3]; in mag3110_read_raw() local 290 ret = mag3110_read(data, buffer); in mag3110_read_raw() 294 be16_to_cpu(buffer[chan->scan_index]), in mag3110_read_raw()
|
| /kernel/linux/linux-6.6/drivers/iio/light/ |
| H A D | cm32181.c | 108 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in cm32181_acpi_get_cpm() local 118 status = acpi_evaluate_object(handle, obj_name, NULL, &buffer); in cm32181_acpi_get_cpm() 124 cpm = buffer.pointer; in cm32181_acpi_get_cpm() 135 kfree(buffer.pointer); in cm32181_acpi_get_cpm() 386 * @buf: pointer of return string buffer.
|
| H A D | vcnl4035.c | 17 #include <linux/iio/buffer.h> 101 /* Triggered buffer */ 108 u8 buffer[ALIGN(sizeof(u16), sizeof(s64)) + sizeof(s64)] __aligned(8); in vcnl4035_trigger_consumer_handler() 111 ret = regmap_read(data->regmap, VCNL4035_ALS_DATA, (int *)buffer); in vcnl4035_trigger_consumer_handler() 117 iio_push_to_buffers_with_timestamp(indio_dev, buffer, in vcnl4035_trigger_consumer_handler() 530 dev_err(&data->client->dev, "iio triggered buffer setup failed\n"); in vcnl4035_probe_trigger()
|
| /kernel/linux/linux-6.6/drivers/iio/health/ |
| H A D | afe4404.c | 21 #include <linux/iio/buffer.h> 86 * @buffer: Used to construct a scan to push to the iio buffer. 95 s32 buffer[10] __aligned(8); 339 &afe->buffer[i++]); in afe4404_trigger_handler() 344 iio_push_to_buffers_with_timestamp(indio_dev, afe->buffer, in afe4404_trigger_handler() 559 dev_err(afe->dev, "Unable to setup buffer\n"); in afe4404_probe()
|
| H A D | afe4403.c | 21 #include <linux/iio/buffer.h> 68 * @buffer: Used to construct data layout to push into IIO buffer. 79 s32 buffer[8] __aligned(8); 332 afe->buffer[i++] = get_unaligned_be24(&rx[0]); in afe4403_trigger_handler() 341 iio_push_to_buffers_with_timestamp(indio_dev, afe->buffer, in afe4403_trigger_handler() 552 dev_err(afe->dev, "Unable to setup buffer\n"); in afe4403_probe()
|
| H A D | max30100.c | 22 #include <linux/iio/buffer.h> 76 __be16 buffer[2]; /* 2 16-bit channels */ member 220 (u8 *) &data->buffer); in max30100_read_measurement() 238 iio_push_to_buffers(data->indio_dev, data->buffer); in max30100_interrupt_handler()
|
| /kernel/linux/linux-6.6/drivers/input/serio/ |
| H A D | serio_raw.c | 157 static ssize_t serio_raw_read(struct file *file, char __user *buffer, in serio_raw_read() argument 178 if (put_user(c, buffer++)) in serio_raw_read() 198 static ssize_t serio_raw_write(struct file *file, const char __user *buffer, in serio_raw_write() argument 219 if (get_user(c, buffer++)) { in serio_raw_write()
|