| /kernel/linux/linux-6.6/drivers/tty/ |
| H A D | nozomi.c | 96 /* Size of tmp send buffer to card */ 478 /* Setup pointers to different channels and also setup buffer sizes. */ 737 * Return 1 - send buffer to card and ack. 738 * Return 0 - don't ack, don't send buffer to card. 931 DBG1("Data in buffer [%d], enable transmit! ", in receive_flow_control() 935 DBG1("No data in buffer..."); in receive_flow_control() 1354 dev_err(&pdev->dev, "Could not allocate send buffer?\n"); in nozomi_card_init() 1363 "Could not allocate kfifo buffer\n"); in nozomi_card_init() 1602 static ssize_t ntty_write(struct tty_struct *tty, const u8 *buffer, in ntty_write() argument 1613 rval = kfifo_in(&port->fifo_ul, buffer, coun in ntty_write() [all...] |
| /kernel/linux/linux-6.6/drivers/char/ |
| H A D | virtio_console.c | 88 /* size of the buffer in *buf above */ 91 /* used length of the buffer */ 96 /* DMA address of buffer */ 149 * A control packet buffer for guest->host requests, protected 173 /* The current buffer from which data has to be fed to readers */ 414 * Allocate buffer and the sg list. The sg list array is allocated in alloc_buf() 480 * Create a scatter-gather list representing our input buffer and put 634 * buffer and relax the spinning requirement. The downside is in __send_to_port() 635 * we need to kmalloc a GFP_ATOMIC buffer each time the in __send_to_port() 653 * Give out the data that's requested from the buffer tha 1272 show_port_name(struct device *dev, struct device_attribute *attr, char *buffer) show_port_name() argument [all...] |
| /kernel/linux/linux-6.6/drivers/block/zram/ |
| H A D | zram_drv.c | 1406 * Use a temporary buffer to decompress the page, as the decompressor 1502 * zstrm buffer back. It is necessary that the dereferencing in zram_write_page() 1519 src = zstrm->buffer; in zram_write_page() 1713 memcpy(dst, zstrm->buffer, comp_len_new); in zram_recompress()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_display.c | 177 /* unpin of the old buffer */ in amdgpu_display_unpin_work_func() 183 DRM_ERROR("failed to reserve buffer after flip\n"); in amdgpu_display_unpin_work_func() 218 /* schedule unpin of the old buffer */ in amdgpu_display_crtc_page_flip_target() 228 /* pin the new buffer */ in amdgpu_display_crtc_page_flip_target() 231 DRM_ERROR("failed to reserve new abo buffer before flip\n"); in amdgpu_display_crtc_page_flip_target() 239 DRM_ERROR("failed to pin new abo buffer before flip\n"); in amdgpu_display_crtc_page_flip_target() 254 DRM_ERROR("failed to get fences for buffer\n"); in amdgpu_display_crtc_page_flip_target() 673 * to the buffer. 691 DRM_ERROR("Unable to reserve buffer: %d\n", r); in extract_render_dcc_offset() 859 * info on the renderable DCC buffer in convert_tiling_flags_to_modifier() [all...] |
| /kernel/linux/linux-6.6/kernel/ |
| H A D | kprobes.c | 346 /* For optimized_kprobe buffer */ 943 int write, void *buffer, in proc_kprobes_optimization_handler() 950 ret = proc_dointvec_minmax(table, write, buffer, length, ppos); in proc_kprobes_optimization_handler() 2364 /* Set the kprobe gone and remove its instruction buffer. */ 942 proc_kprobes_optimization_handler(struct ctl_table *table, int write, void *buffer, size_t *length, loff_t *ppos) proc_kprobes_optimization_handler() argument
|
| /kernel/linux/linux-6.6/drivers/net/usb/ |
| H A D | smsc95xx.c | 1287 static u32 smsc_crc(const u8 *buffer, size_t len, int filter) in smsc_crc() argument 1289 u32 crc = bitrev16(crc16(0xFFFF, buffer, len)); in smsc_crc()
|
| H A D | smsc75xx.c | 1528 static u16 smsc_crc(const u8 *buffer, size_t len) in smsc_crc() argument 1530 return bitrev16(crc16(0xFFFF, buffer, len)); in smsc_crc()
|
| /kernel/linux/linux-6.6/drivers/net/ |
| H A D | vrf.c | 1912 void *buffer, size_t *lenp, loff_t *ppos) in vrf_shared_table_handler() 1930 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in vrf_shared_table_handler() 1911 vrf_shared_table_handler(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) vrf_shared_table_handler() argument
|
| /kernel/linux/linux-6.6/drivers/media/platform/mediatek/mdp3/ |
| H A D | mtk-mdp3-comp.c | 83 u32 colorformat = ctx->input->buffer.format.colorformat; in config_rdma_frame() 113 /* Setup source buffer base */ in config_rdma_frame() 138 /* Setup source buffer base */ in config_rdma_frame() 151 /* Setup source buffer end */ in config_rdma_frame() 186 u32 colorformat = ctx->input->buffer.format.colorformat; in config_rdma_subfrm()
|
| /kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/ |
| H A D | main.h | 626 /* spin lock for beacon buffer */ 1189 u8 **buffer); 1577 void mwifiex_11h_process_join(struct mwifiex_private *priv, u8 **buffer,
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/bridge/ |
| H A D | tc358767.c | 409 ret = tc_aux_write_data(tc, msg->buffer, size); in tc_aux_transfer() 451 return tc_aux_read_data(tc, msg->buffer, size); in tc_aux_transfer()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/tegra/ |
| H A D | dsi.c | 1315 const void *buffer, size_t size) in tegra_dsi_writesl() 1317 const u8 *buf = buffer; in tegra_dsi_writesl() 1314 tegra_dsi_writesl(struct tegra_dsi *dsi, unsigned long offset, const void *buffer, size_t size) tegra_dsi_writesl() argument
|
| /kernel/linux/linux-6.6/drivers/macintosh/ |
| H A D | via-pmu.c | 921 const char __user *buffer, size_t count, loff_t *pos) in pmu_options_proc_write() 931 if (copy_from_user(tmp, buffer, count)) in pmu_options_proc_write() 1649 /* Mark the oldest buffer for flushing */ in via_pmu_interrupt() 920 pmu_options_proc_write(struct file *file, const char __user *buffer, size_t count, loff_t *pos) pmu_options_proc_write() argument
|
| /kernel/linux/linux-6.6/drivers/iommu/intel/ |
| H A D | dmar.c | 424 * copy the content because the memory buffer will be freed on return. in dmar_parse_one_drhd() 2245 start = (struct acpi_dmar_header *)obj->buffer.pointer; in dmar_walk_dsm_resource() 2246 ret = dmar_walk_remapping_entries(start, obj->buffer.length, &callback); in dmar_walk_dsm_resource() 2322 pr_warn(FW_BUG "No DRHD structures in buffer returned by _DSM method\n"); in dmar_hotplug_insert()
|
| /kernel/linux/linux-6.6/sound/pci/ |
| H A D | azt3328.c | 116 * probably because they don't have a DMA FIFO buffer or so. 368 unsigned reg, const void *buffer, int count in snd_azf3328_codec_outl_multi() 373 const u32 *buf = buffer; in snd_azf3328_codec_outl_multi() 1376 /* AZF3328 uses a two buffer pointer DMA transfer approach */ in snd_azf3328_codec_setdmaa() 1407 /* build combined I/O buffer length word */ in snd_azf3328_codec_setdmaa() 367 snd_azf3328_codec_outl_multi(const struct snd_azf3328_codec_data *codec, unsigned reg, const void *buffer, int count ) snd_azf3328_codec_outl_multi() argument
|
| /kernel/linux/linux-6.6/kernel/sched/ |
| H A D | topology.c | 226 void *buffer, size_t *lenp, loff_t *ppos) in sched_energy_aware_handler() 233 ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in sched_energy_aware_handler() 225 sched_energy_aware_handler(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) sched_energy_aware_handler() argument
|
| H A D | walt.c | 1203 int write, void __user *buffer, size_t *length, loff_t *ppos) in sysctl_sched_walt_init_task_load_pct_sysctl_handler() 1207 rc = proc_dointvec(table, write, buffer, length, ppos); in sysctl_sched_walt_init_task_load_pct_sysctl_handler() 1202 sysctl_sched_walt_init_task_load_pct_sysctl_handler(struct ctl_table *table, int write, void __user *buffer, size_t *length, loff_t *ppos) sysctl_sched_walt_init_task_load_pct_sysctl_handler() argument
|
| /kernel/linux/linux-6.6/net/openvswitch/ |
| H A D | actions.c | 1443 u8 buffer[NSH_HDR_MAX_LEN]; in do_execute_actions() local 1444 struct nshhdr *nh = (struct nshhdr *)buffer; in do_execute_actions()
|
| /test/xts/acts/multimedia/avsource/entry/src/main/cpp/ |
| H A D | videoencoderndk.cpp | 206 static void OnNeedInputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userData)
in OnNeedInputBuffer() argument 211 static void OnNeedOutputBuffer(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userData)
in OnNeedOutputBuffer() argument
|
| /test/xts/hats/hdf/display/buffer/moduletest/ |
| H A D | display_buffer_mt.cpp | 52 // write msg to display buffer fully. in WriteBuffer() 74 // read all contents from buffer in WriteBuffer() 75 HDF_LOGD("%{public}s(%{public}d), buffer size:%{public}d, len:%{public}d", in WriteBuffer() 77 // verify buffer contents from strings written. in WriteBuffer() 80 HDF_LOGD("%{public}s(%{public}d), buffer[%{public}d]:%{public}s", in WriteBuffer() 93 // dump buffer handle infomation in DumpBufferHandle() 119 void* buffer = g_dispbuf->Mmap(*bHandle); in RunTest() local 120 if (buffer == nullptr) { in RunTest() 147 // free buffer in RunTest()
|
| /kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/ |
| H A D | main.c | 602 u32 buffer[5] = { in b43legacy_dummy_transmission() local 614 buffer[0] = 0x000B846E; in b43legacy_dummy_transmission() 622 b43legacy_ram_write(dev, i * 4, buffer[i]); in b43legacy_dummy_transmission()
|
| /kernel/linux/linux-5.10/drivers/scsi/ |
| H A D | megaraid.c | 1855 static char buffer[512]; in megaraid_info() local 1860 sprintf (buffer, in megaraid_info() 1865 return buffer; in megaraid_info() 2967 * @arg: user buffer 3147 * For all internal commands, the buffer must be allocated in in megadev_ioctl() 3960 * @dma_handle: DMA address of the buffer 3997 * @buf_dma_handle: DMA address of the buffer 4013 * For all internal commands, the buffer must be allocated in <4GB in mega_internal_dev_inquiry() 4279 * Allocate buffer to issue internal commands. in megaraid_probe_one()
|
| /kernel/linux/linux-5.10/drivers/usb/host/ |
| H A D | xhci-ring.c | 766 xhci_warn(xhci, "WARN Wrong bounce buffer read length: %zu != %d\n", in xhci_unmap_td_bounce_buffer() 784 /* if a bounce buffer was used to align this td then unmap it */ in xhci_td_cleanup() 788 * If the host controller said we transferred more data than the buffer in xhci_td_cleanup() 2010 * we must clear the TT buffer (USB 2.0 specification 11.17.5). in xhci_clear_hub_tt_buffer() 2089 * stall later. Hub TT buffer should only be cleared for FS/LS in finish_td() 2451 ep_trb_dma = le64_to_cpu(event->buffer); in handle_tx_event() 2579 "WARN: buffer overrun event for slot %u ep %u on endpoint", in handle_tx_event() 2836 lower_32_bits(le64_to_cpu(event->buffer)), in handle_tx_event() 2837 upper_32_bits(le64_to_cpu(event->buffer)), in handle_tx_event() 3407 /* create a max max_pkt sized bounce buffer pointe in xhci_align_td() [all...] |
| /kernel/linux/linux-5.10/drivers/usb/serial/ |
| H A D | ftdi_sio.c | 2473 unsigned char *buffer = dest; in ftdi_prepare_write_buffer() local 2480 c = kfifo_out(&port->write_fifo, &buffer[i + 1], len); in ftdi_prepare_write_buffer() 2484 buffer[i] = (c << 2) + 1; in ftdi_prepare_write_buffer() 2558 * with the last character in the buffer and only when it's a in ftdi_process_packet()
|
| /kernel/linux/linux-5.10/net/core/ |
| H A D | pktgen.c | 798 static ssize_t get_labels(const char __user *buffer, struct pktgen_dev *pkt_dev) in get_labels() argument 808 len = hex32_arg(&buffer[i], 8, &tmp); in get_labels() 815 if (get_user(c, &buffer[i])) in get_labels() 909 pr_debug("%s,%zu buffer -:%s:-\n", name, count, tp); in pktgen_if_write()
|