| /kernel/linux/linux-6.6/sound/pci/mixart/ |
| H A D | mixart.c | 291 flowinfo[j].bufferinfo_count = 1; /* 1 will set the miXart to ring-buffer mode ! */ in snd_mixart_add_ref_pipe() 294 bufferinfo[j].buffer_address = 0; /* buffer is not yet allocated */ in snd_mixart_add_ref_pipe() 295 bufferinfo[j].available_length = 0; /* buffer is not yet allocated */ in snd_mixart_add_ref_pipe() 297 /* construct the identifier of the stream buffer received in the interrupts ! */ in snd_mixart_add_ref_pipe() 1168 struct snd_info_buffer *buffer) in snd_mixart_proc_read() 1173 snd_iprintf(buffer, "Digigram miXart (alsa card %d)\n\n", chip->chip_idx); in snd_mixart_proc_read() 1177 snd_iprintf(buffer, "- hardware -\n"); in snd_mixart_proc_read() 1179 case MIXART_DAUGHTER_TYPE_NONE : snd_iprintf(buffer, "\tmiXart8 (no daughter board)\n\n"); break; in snd_mixart_proc_read() 1180 case MIXART_DAUGHTER_TYPE_AES : snd_iprintf(buffer, "\tmiXart8 AES/EBU\n\n"); break; in snd_mixart_proc_read() 1181 case MIXART_DAUGHTER_TYPE_COBRANET : snd_iprintf(buffer, "\tmiXart in snd_mixart_proc_read() 1167 snd_mixart_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) snd_mixart_proc_read() argument [all...] |
| /kernel/linux/linux-6.6/drivers/scsi/pcmcia/ |
| H A D | nsp_cs.c | 9 Ver.1.1.2 Fix for scatter list buffer exceeds 235 SCp.ptr : buffer pointer in nsp_queuecommand_lck() 236 SCp.this_residual : buffer length in nsp_queuecommand_lck() 237 SCp.buffer : next buffer in nsp_queuecommand_lck() 241 scsi_pointer->buffer = scsi_sglist(SCpnt); in nsp_queuecommand_lck() 243 scsi_pointer->this_residual = scsi_pointer->buffer->length; in nsp_queuecommand_lck() 248 scsi_pointer->buffer = NULL; in nsp_queuecommand_lck() 729 scsi_pointer->this_residual, scsi_pointer->buffer, in nsp_pio_read() 793 scsi_pointer->buffer in nsp_pio_read() [all...] |
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/ |
| H A D | e1000_i210.c | 284 * If error code is returned, data and Shadow RAM may be inconsistent - buffer 452 u32 buffer[E1000_INVM_SIZE]; in igb_read_invm_version() local 459 buffer[i] = invm_dword; in igb_read_invm_version() 464 record = &buffer[invm_blocks - i]; in igb_read_invm_version() 465 next_record = &buffer[invm_blocks - i + 1]; in igb_read_invm_version() 509 record = &buffer[invm_blocks - i]; in igb_read_invm_version() 510 next_record = &buffer[invm_blocks - i + 1]; in igb_read_invm_version()
|
| /kernel/linux/linux-5.10/drivers/iio/common/cros_ec_sensors/ |
| H A D | cros_ec_sensors_core.c | 10 #include <linux/iio/buffer.h> 196 * Ignore samples if the buffer is not set: it is needed if the ODR is in cros_ec_sensors_push_data() 197 * set but the buffer is not enabled yet. in cros_ec_sensors_push_data() 239 * @trigger_capture: function pointer to call buffer is triggered, 333 * Create a software buffer, feed by the EC FIFO. in cros_ec_sensors_core_init() 337 struct iio_buffer *buffer; in cros_ec_sensors_core_init() local 339 buffer = devm_iio_kfifo_allocate(dev); in cros_ec_sensors_core_init() 340 if (!buffer) in cros_ec_sensors_core_init() 343 iio_device_attach_buffer(indio_dev, buffer); in cros_ec_sensors_core_init() 363 * The only way to get samples in buffer i in cros_ec_sensors_core_init() [all...] |
| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| H A D | mxs-lradc-adc.c | 24 #include <linux/iio/buffer.h> 119 u32 buffer[10] __aligned(8); 423 adc->buffer[j] = readl(adc->base + LRADC_CH(j)); in mxs_lradc_adc_trigger_handler() 425 adc->buffer[j] &= LRADC_CH_VALUE_MASK; in mxs_lradc_adc_trigger_handler() 426 adc->buffer[j] /= LRADC_DELAY_TIMER_LOOP; in mxs_lradc_adc_trigger_handler() 430 iio_push_to_buffers_with_timestamp(iio, adc->buffer, pf->timestamp); in mxs_lradc_adc_trigger_handler()
|
| /kernel/linux/linux-5.10/drivers/usb/cdns3/ |
| H A D | trace.h | 398 __field(u32, buffer) 407 __entry->buffer = le32_to_cpu(trb->buffer); 414 __get_str(name), __entry->trb, __entry->buffer, 446 __dynamic_array(char, buffer, 459 __get_str(buffer)))
|
| /kernel/linux/linux-5.10/drivers/usb/misc/ |
| H A D | legousbtower.c | 24 * - make read buffer reusable and work around bytes_to_write issue between 43 * - allow increased buffer size, eliminates need for timeout on write 100 MODULE_PARM_DESC(read_buffer_size, "Read buffer size"); 110 MODULE_PARM_DESC(write_buffer_size, "Write buffer size"); 221 static ssize_t tower_read(struct file *file, char __user *buffer, size_t count, loff_t *ppos); 222 static ssize_t tower_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos); 437 * with packetizing we pretend not to see any data in the read buffer 439 * dev->packet_timeout_jiffies, or until the buffer is full. 492 static ssize_t tower_read(struct file *file, char __user *buffer, size_t count, loff_t *ppos) in tower_read() argument 550 if (copy_to_user(buffer, de in tower_read() 576 tower_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) tower_write() argument [all...] |
| /kernel/linux/linux-5.10/net/sunrpc/xprtrdma/ |
| H A D | svc_rdma_sendto.c | 137 void *buffer; in svc_rdma_send_ctxt_alloc() local 146 buffer = kmalloc(rdma->sc_max_req_size, GFP_KERNEL); in svc_rdma_send_ctxt_alloc() 147 if (!buffer) in svc_rdma_send_ctxt_alloc() 149 addr = ib_dma_map_single(rdma->sc_pd->device, buffer, in svc_rdma_send_ctxt_alloc() 161 ctxt->sc_xprt_buf = buffer; in svc_rdma_send_ctxt_alloc() 171 kfree(buffer); in svc_rdma_send_ctxt_alloc() 311 /* Sync the transport header buffer */ in svc_rdma_send() 349 * On success, returns length in bytes of the Reply XDR buffer 351 * %-EMSGSIZE on XDR buffer overflow 366 * On success, returns length in bytes of the Reply XDR buffer [all...] |
| H A D | svc_rdma_recvfrom.c | 132 void *buffer; in svc_rdma_recv_ctxt_alloc() local 137 buffer = kmalloc(rdma->sc_max_req_size, GFP_KERNEL); in svc_rdma_recv_ctxt_alloc() 138 if (!buffer) in svc_rdma_recv_ctxt_alloc() 140 addr = ib_dma_map_single(rdma->sc_pd->device, buffer, in svc_rdma_recv_ctxt_alloc() 155 ctxt->rc_recv_buf = buffer; in svc_rdma_recv_ctxt_alloc() 160 kfree(buffer); in svc_rdma_recv_ctxt_alloc() 403 * - Read list does not overflow Receive buffer. 408 * buffer. That's about 40 Read segments for a 1KB inline 453 * buffer. That's about 60 Write segments for a 1KB inline 490 * - Write list does not overflow Receive buffer [all...] |
| /kernel/linux/linux-5.10/include/linux/ssb/ |
| H A D | ssb.h | 215 void (*block_read)(struct ssb_device *dev, void *buffer, 217 void (*block_write)(struct ssb_device *dev, const void *buffer, 600 static inline void ssb_block_read(struct ssb_device *dev, void *buffer, in ssb_block_read() argument 603 dev->ops->block_read(dev, buffer, count, offset, reg_width); in ssb_block_read() 606 static inline void ssb_block_write(struct ssb_device *dev, const void *buffer, in ssb_block_write() argument 609 dev->ops->block_write(dev, buffer, count, offset, reg_width); in ssb_block_write()
|
| /kernel/linux/linux-5.10/drivers/xen/xenbus/ |
| H A D | xenbus_dev_frontend.c | 79 * A buffer of data on the queue. 93 * request length and buffer. 111 char buffer[XENSTORE_PAYLOAD_MAX]; member 164 /* Clear out buffer if it has been consumed */ in xenbus_file_read() 183 * Add a buffer to the queue. Caller must hold the appropriate lock 454 } *msg = (void *)u->u.buffer; in xenbus_write_transaction() 502 path = u->u.buffer + sizeof(u->u.msg); in xenbus_write_watch() 562 * buffer it up. Once it is complete, we act on it. in xenbus_file_write() 568 * buffer. We don't make any attemppt to stop multiple in xenbus_file_write() 580 /* Can't write a xenbus message larger we can buffer */ in xenbus_file_write() [all...] |
| /kernel/linux/linux-5.10/drivers/gpu/drm/tegra/ |
| H A D | dpaux.c | 92 static void tegra_dpaux_write_fifo(struct tegra_dpaux *dpaux, const u8 *buffer, in tegra_dpaux_write_fifo() argument 102 value |= buffer[i * 4 + j] << (j * 8); in tegra_dpaux_write_fifo() 108 static void tegra_dpaux_read_fifo(struct tegra_dpaux *dpaux, u8 *buffer, in tegra_dpaux_read_fifo() argument 120 buffer[i * 4 + j] = value >> (j * 8); in tegra_dpaux_read_fifo() 199 tegra_dpaux_write_fifo(dpaux, msg->buffer, msg->size); in tegra_dpaux_transfer() 260 tegra_dpaux_read_fifo(dpaux, msg->buffer, count); in tegra_dpaux_transfer()
|
| /kernel/linux/linux-5.10/drivers/staging/media/omap4iss/ |
| H A D | iss_ipipeif.c | 220 struct iss_buffer *buffer; in ipipeif_isr_buffer() local 223 * deal with it anyway). Disabling the ISIF when no buffer is available in ipipeif_isr_buffer() 231 buffer = omap4iss_video_buffer_next(&ipipeif->video_out); in ipipeif_isr_buffer() 232 if (!buffer) in ipipeif_isr_buffer() 235 ipipeif_set_outaddr(ipipeif, buffer->iss_addr); in ipipeif_isr_buffer() 261 struct iss_buffer *buffer) in ipipeif_video_queue() 269 ipipeif_set_outaddr(ipipeif, buffer->iss_addr); in ipipeif_video_queue() 272 * If streaming was enabled before there was a buffer queued in ipipeif_video_queue() 323 * When outputting to memory with no buffer available, let the in ipipeif_set_stream() 324 * buffer queu in ipipeif_set_stream() 260 ipipeif_video_queue(struct iss_video *video, struct iss_buffer *buffer) ipipeif_video_queue() argument [all...] |
| H A D | iss_resizer.c | 154 /* Program UV buffer address... Hardcoded to be contiguous! */ in resizer_set_outaddr() 265 struct iss_buffer *buffer; in resizer_isr_buffer() local 272 buffer = omap4iss_video_buffer_next(&resizer->video_out); in resizer_isr_buffer() 273 if (!buffer) in resizer_isr_buffer() 276 resizer_set_outaddr(resizer, buffer->iss_addr); in resizer_isr_buffer() 313 struct iss_buffer *buffer) in resizer_video_queue() 321 resizer_set_outaddr(resizer, buffer->iss_addr); in resizer_video_queue() 324 * If streaming was enabled before there was a buffer queued in resizer_video_queue() 380 * When outputting to memory with no buffer available, let the in resizer_set_stream() 381 * buffer queu in resizer_set_stream() 312 resizer_video_queue(struct iss_video *video, struct iss_buffer *buffer) resizer_video_queue() argument [all...] |
| /kernel/linux/linux-5.10/drivers/s390/cio/ |
| H A D | device_pgid.c | 687 u8 *buffer; in ccw_device_stlck() local 695 buffer = kzalloc(64, GFP_DMA | GFP_KERNEL); in ccw_device_stlck() 696 if (!buffer) in ccw_device_stlck() 706 ccw_device_stlck_start(cdev, &data, &buffer[0], &buffer[32]); in ccw_device_stlck() 723 kfree(buffer); in ccw_device_stlck()
|
| /kernel/linux/linux-5.10/drivers/staging/media/allegro-dvt/ |
| H A D | allegro-mail.c | 278 struct mcu_msg_push_buffers_internal_buffer *buffer; in allegro_enc_push_buffers() local 285 buffer = &msg->buffer[j]; in allegro_enc_push_buffers() 286 dst[i++] = buffer->dma_addr; in allegro_enc_push_buffers() 287 dst[i++] = buffer->mcu_addr; in allegro_enc_push_buffers() 288 dst[i++] = buffer->size; in allegro_enc_push_buffers()
|
| /kernel/linux/linux-6.6/drivers/media/platform/allegro-dvt/ |
| H A D | allegro-mail.c | 284 struct mcu_msg_push_buffers_internal_buffer *buffer; in allegro_enc_push_buffers() local 291 buffer = &msg->buffer[j]; in allegro_enc_push_buffers() 292 dst[i++] = buffer->dma_addr; in allegro_enc_push_buffers() 293 dst[i++] = buffer->mcu_addr; in allegro_enc_push_buffers() 294 dst[i++] = buffer->size; in allegro_enc_push_buffers()
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_acl_bloom_filter.c | 222 static u16 mlxsw_sp2_acl_bf_crc(const u8 *buffer, size_t len) in mlxsw_sp2_acl_bf_crc() argument 227 crc = mlxsw_sp2_acl_bf_crc16_byte(crc, *buffer++); in mlxsw_sp2_acl_bf_crc() 298 static u16 mlxsw_sp4_acl_bf_crc(const u8 *buffer, size_t len) in mlxsw_sp4_acl_bf_crc() argument 303 crc_row = mlxsw_sp4_acl_bf_crc10_byte(crc_row, *buffer); in mlxsw_sp4_acl_bf_crc() 304 crc_col = mlxsw_sp4_acl_bf_crc6_byte(crc_col, *buffer); in mlxsw_sp4_acl_bf_crc() 305 buffer++; in mlxsw_sp4_acl_bf_crc() 324 * but actually references a buffer that the array is shifted in right_shift_array()
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/igb/ |
| H A D | e1000_i210.c | 284 * If error code is returned, data and Shadow RAM may be inconsistent - buffer 452 u32 buffer[E1000_INVM_SIZE]; in igb_read_invm_version() local 459 buffer[i] = invm_dword; in igb_read_invm_version() 464 record = &buffer[invm_blocks - i]; in igb_read_invm_version() 465 next_record = &buffer[invm_blocks - i + 1]; in igb_read_invm_version() 509 record = &buffer[invm_blocks - i]; in igb_read_invm_version() 510 next_record = &buffer[invm_blocks - i + 1]; in igb_read_invm_version()
|
| /kernel/linux/linux-6.6/drivers/xen/xenbus/ |
| H A D | xenbus_dev_frontend.c | 79 * A buffer of data on the queue. 93 * request length and buffer. 111 char buffer[XENSTORE_PAYLOAD_MAX]; member 164 /* Clear out buffer if it has been consumed */ in xenbus_file_read() 183 * Add a buffer to the queue. Caller must hold the appropriate lock 454 } *msg = (void *)u->u.buffer; in xenbus_write_transaction() 502 path = u->u.buffer + sizeof(u->u.msg); in xenbus_write_watch() 562 * buffer it up. Once it is complete, we act on it. in xenbus_file_write() 568 * buffer. We don't make any attemppt to stop multiple in xenbus_file_write() 580 /* Can't write a xenbus message larger we can buffer */ in xenbus_file_write() [all...] |
| /kernel/linux/linux-6.6/include/linux/ssb/ |
| H A D | ssb.h | 215 void (*block_read)(struct ssb_device *dev, void *buffer, 217 void (*block_write)(struct ssb_device *dev, const void *buffer, 600 static inline void ssb_block_read(struct ssb_device *dev, void *buffer, in ssb_block_read() argument 603 dev->ops->block_read(dev, buffer, count, offset, reg_width); in ssb_block_read() 606 static inline void ssb_block_write(struct ssb_device *dev, const void *buffer, in ssb_block_write() argument 609 dev->ops->block_write(dev, buffer, count, offset, reg_width); in ssb_block_write()
|
| /kernel/linux/linux-6.6/drivers/staging/media/omap4iss/ |
| H A D | iss_ipipeif.c | 220 struct iss_buffer *buffer; in ipipeif_isr_buffer() local 223 * deal with it anyway). Disabling the ISIF when no buffer is available in ipipeif_isr_buffer() 231 buffer = omap4iss_video_buffer_next(&ipipeif->video_out); in ipipeif_isr_buffer() 232 if (!buffer) in ipipeif_isr_buffer() 235 ipipeif_set_outaddr(ipipeif, buffer->iss_addr); in ipipeif_isr_buffer() 261 struct iss_buffer *buffer) in ipipeif_video_queue() 269 ipipeif_set_outaddr(ipipeif, buffer->iss_addr); in ipipeif_video_queue() 272 * If streaming was enabled before there was a buffer queued in ipipeif_video_queue() 323 * When outputting to memory with no buffer available, let the in ipipeif_set_stream() 324 * buffer queu in ipipeif_set_stream() 260 ipipeif_video_queue(struct iss_video *video, struct iss_buffer *buffer) ipipeif_video_queue() argument [all...] |
| H A D | iss_resizer.c | 154 /* Program UV buffer address... Hardcoded to be contiguous! */ in resizer_set_outaddr() 265 struct iss_buffer *buffer; in resizer_isr_buffer() local 272 buffer = omap4iss_video_buffer_next(&resizer->video_out); in resizer_isr_buffer() 273 if (!buffer) in resizer_isr_buffer() 276 resizer_set_outaddr(resizer, buffer->iss_addr); in resizer_isr_buffer() 313 struct iss_buffer *buffer) in resizer_video_queue() 321 resizer_set_outaddr(resizer, buffer->iss_addr); in resizer_video_queue() 324 * If streaming was enabled before there was a buffer queued in resizer_video_queue() 380 * When outputting to memory with no buffer available, let the in resizer_set_stream() 381 * buffer queu in resizer_set_stream() 312 resizer_video_queue(struct iss_video *video, struct iss_buffer *buffer) resizer_video_queue() argument [all...] |
| /kernel/linux/linux-6.6/drivers/platform/x86/intel/ |
| H A D | sdsi.c | 95 void *buffer; member 180 void *buf = info->buffer + (SDSI_SIZE_MAILBOX * loop); in sdsi_mbox_cmd_read() 357 /* Copy message to payload buffer */ in sdsi_provision() 360 /* Command is last qword of payload buffer */ in sdsi_provision() 418 info.buffer = kmalloc(SDSI_SIZE_READ_MSG, GFP_KERNEL); in certificate_read() 419 if (!info.buffer) in certificate_read() 436 memcpy(buf, info.buffer, size); in certificate_read() 439 kfree(info.buffer); in certificate_read()
|
| H A D | tpmi.c | 381 u8 *buffer; in tpmi_mem_dump_show() local 387 buffer = kmalloc(size, GFP_KERNEL); in tpmi_mem_dump_show() 388 if (!buffer) in tpmi_mem_dump_show() 404 memcpy_fromio(buffer, mem, size); in tpmi_mem_dump_show() 406 seq_hex_dump(s, " ", DUMP_PREFIX_OFFSET, row_size, sizeof(u32), buffer, size, in tpmi_mem_dump_show() 416 kfree(buffer); in tpmi_mem_dump_show()
|