Home
last modified time | relevance | path

Searched refs:buffer_length (Results 1 – 25 of 74) sorted by relevance

123

/linux-6.6.21/drivers/acpi/acpica/
Dexserial.c139 u32 buffer_length; in acpi_ex_read_serial_bus() local
161 buffer_length = ACPI_SMBUS_BUFFER_SIZE; in acpi_ex_read_serial_bus()
167 buffer_length = ACPI_IPMI_BUFFER_SIZE; in acpi_ex_read_serial_bus()
183 &buffer_length); in acpi_ex_read_serial_bus()
194 buffer_length += ACPI_SERIAL_HEADER_SIZE; in acpi_ex_read_serial_bus()
200 buffer_length = ACPI_PRM_INPUT_BUFFER_SIZE; in acpi_ex_read_serial_bus()
210 buffer_desc = acpi_ut_create_buffer_object(buffer_length); in acpi_ex_read_serial_bus()
252 u32 buffer_length; in acpi_ex_write_serial_bus() local
290 buffer_length = ACPI_SMBUS_BUFFER_SIZE; in acpi_ex_write_serial_bus()
296 buffer_length = ACPI_IPMI_BUFFER_SIZE; in acpi_ex_write_serial_bus()
[all …]
Dexfield.c112 u32 buffer_length; in acpi_ex_read_data_from_field() local
167 buffer_length = in acpi_ex_read_data_from_field()
170 if (buffer_length > acpi_gbl_integer_byte_width || in acpi_ex_read_data_from_field()
176 buffer_desc = acpi_ut_create_buffer_object(buffer_length); in acpi_ex_read_data_from_field()
189 buffer_length = acpi_gbl_integer_byte_width; in acpi_ex_read_data_from_field()
225 buffer_length)); in acpi_ex_read_data_from_field()
238 status = acpi_ex_extract_from_field(obj_desc, buffer, buffer_length); in acpi_ex_read_data_from_field()
271 u32 buffer_length; in acpi_ex_write_data_to_field() local
361 buffer_length = sizeof(source_desc->integer.value); in acpi_ex_write_data_to_field()
367 buffer_length = source_desc->buffer.length; in acpi_ex_write_data_to_field()
[all …]
Dexfldio.c649 void *buffer, u32 buffer_length) in acpi_ex_extract_from_field() argument
666 if (buffer_length < in acpi_ex_extract_from_field()
670 obj_desc->common_field.bit_length, buffer_length)); in acpi_ex_extract_from_field()
675 memset(buffer, 0, buffer_length); in acpi_ex_extract_from_field()
682 if (buffer_length >= sizeof(u64)) { in acpi_ex_extract_from_field()
692 memcpy(buffer, &raw_datum, buffer_length); in acpi_ex_extract_from_field()
768 buffer_length - buffer_offset)); in acpi_ex_extract_from_field()
786 buffer_length - buffer_offset)); in acpi_ex_extract_from_field()
807 void *buffer, u32 buffer_length) in acpi_ex_insert_into_field() argument
838 if (buffer_length < required_length) { in acpi_ex_insert_into_field()
[all …]
Dpsargs.c468 u32 buffer_length; in acpi_ps_get_next_field() local
624 buffer_length = in acpi_ps_get_next_field()
631 buffer_length = in acpi_ps_get_next_field()
638 buffer_length = in acpi_ps_get_next_field()
645 buffer_length = 0; in acpi_ps_get_next_field()
652 arg->named.value.size = buffer_length; in acpi_ps_get_next_field()
Dacinterp.h131 u32 buffer_length, u32 * datum_count);
141 u32 buffer_length,
147 u32 buffer_length,
165 void *buffer, u32 buffer_length);
169 void *buffer, u32 buffer_length);
Ddsobject.c153 u32 buffer_length, in acpi_ds_build_internal_buffer_obj() argument
206 obj_desc->buffer.length = buffer_length; in acpi_ds_build_internal_buffer_obj()
207 if (byte_list_length > buffer_length) { in acpi_ds_build_internal_buffer_obj()
/linux-6.6.21/sound/usb/
Dmidi.c390 uint8_t *buffer, int buffer_length) in snd_usbmidi_standard_input() argument
394 for (i = 0; i + 3 < buffer_length; i += 4) in snd_usbmidi_standard_input()
404 uint8_t *buffer, int buffer_length) in snd_usbmidi_midiman_input() argument
408 for (i = 0; i + 3 < buffer_length; i += 4) in snd_usbmidi_midiman_input()
422 uint8_t *buffer, int buffer_length) in snd_usbmidi_maudio_broken_running_status_input() argument
426 for (i = 0; i + 3 < buffer_length; i += 4) in snd_usbmidi_maudio_broken_running_status_input()
462 uint8_t *buffer, int buffer_length) in ch345_broken_sysex_input() argument
466 for (i = 0; i + 3 < buffer_length; i += 4) { in ch345_broken_sysex_input()
495 uint8_t *buffer, int buffer_length) in snd_usbmidi_cme_input() argument
497 if (buffer_length < 2 || (buffer[0] & 0x0f) != 0x0f) in snd_usbmidi_cme_input()
[all …]
/linux-6.6.21/drivers/scsi/elx/libefc/
Defc_node.c179 efc_dma_copy_in(struct efc_dma *dma, void *buffer, u32 buffer_length) in efc_dma_copy_in() argument
181 if (!dma || !buffer || !buffer_length) in efc_dma_copy_in()
184 if (buffer_length > dma->size) in efc_dma_copy_in()
185 buffer_length = dma->size; in efc_dma_copy_in()
187 memcpy(dma->virt, buffer, buffer_length); in efc_dma_copy_in()
188 dma->len = buffer_length; in efc_dma_copy_in()
222 efc_node_fcid_display(u32 fc_id, char *buffer, u32 buffer_length) in efc_node_fcid_display() argument
226 snprintf(buffer, buffer_length, "fabric"); in efc_node_fcid_display()
229 snprintf(buffer, buffer_length, "fabctl"); in efc_node_fcid_display()
232 snprintf(buffer, buffer_length, "nserve"); in efc_node_fcid_display()
[all …]
/linux-6.6.21/drivers/gpu/drm/vboxvideo/
Dvbva_base.c144 vbva->data_len = vbva_ctx->buffer_length - sizeof(struct vbva_buffer); in vbva_enable()
210 u32 buffer_offset, u32 buffer_length) in vbva_setup_buffer_context() argument
213 vbva_ctx->buffer_length = buffer_length; in vbva_setup_buffer_context()
Dvboxvideo_guest.h18 u32 buffer_length; member
50 u32 buffer_offset, u32 buffer_length);
/linux-6.6.21/arch/s390/include/asm/
Dappldata.h28 u16 buffer_length; member
56 parm_list->buffer_length = length; in appldata_asm()
/linux-6.6.21/drivers/net/wireless/ralink/rt2x00/
Drt2x00usb.h94 void *buffer, const u16 buffer_length,
117 const u16 buffer_length);
135 const u16 buffer_length, const int timeout);
Drt2x00usb.c48 void *buffer, const u16 buffer_length, in rt2x00usb_vendor_request() argument
63 value, offset, buffer, buffer_length, in rt2x00usb_vendor_request()
86 const u16 buffer_length, const int timeout) in rt2x00usb_vendor_req_buff_lock() argument
95 if (unlikely(!rt2x00dev->csr.cache || buffer_length > CSR_CACHE_SIZE)) { in rt2x00usb_vendor_req_buff_lock()
101 memcpy(rt2x00dev->csr.cache, buffer, buffer_length); in rt2x00usb_vendor_req_buff_lock()
105 buffer_length, timeout); in rt2x00usb_vendor_req_buff_lock()
108 memcpy(buffer, rt2x00dev->csr.cache, buffer_length); in rt2x00usb_vendor_req_buff_lock()
117 const u16 buffer_length) in rt2x00usb_vendor_request_buff() argument
127 len = buffer_length; in rt2x00usb_vendor_request_buff()
/linux-6.6.21/drivers/staging/most/net/
Dnet.c89 if (mbo->buffer_length < mdp_len) { in skb_to_mamac()
91 mbo->buffer_length, mdp_len); in skb_to_mamac()
127 mbo->buffer_length = mdp_len; in skb_to_mamac()
141 if (mbo->buffer_length < mep_len) { in skb_to_mep()
143 mbo->buffer_length, mep_len); in skb_to_mep()
158 mbo->buffer_length = mep_len; in skb_to_mep()
/linux-6.6.21/drivers/staging/most/i2c/
Di2c.c143 mbo->buffer_length); in enqueue()
148 mbo->processed_length = mbo->buffer_length; in enqueue()
223 mbo->processed_length = min(data_size, mbo->buffer_length); in do_rx_work()
/linux-6.6.21/drivers/media/usb/b2c2/
Dflexcop-usb.c329 u8 *buffer, int buffer_length) in flexcop_usb_process_frame() argument
335 fc_usb->tmp_buffer_length, buffer_length); in flexcop_usb_process_frame()
339 buffer_length); in flexcop_usb_process_frame()
340 fc_usb->tmp_buffer_length += buffer_length; in flexcop_usb_process_frame()
345 l = buffer_length; in flexcop_usb_process_frame()
/linux-6.6.21/drivers/usb/core/
Ddevio.c1602 if (uurb->buffer_length > iter->vm_start + iter->size - in find_memory_area()
1644 if ((unsigned int)uurb->buffer_length >= USBFS_XFER_MAX) in proc_do_submiturb()
1646 if (uurb->buffer_length > 0 && !uurb->buffer) in proc_do_submiturb()
1668 if (uurb->buffer_length < 8) in proc_do_submiturb()
1677 if (uurb->buffer_length < (le16_to_cpu(dr->wLength) + 8)) { in proc_do_submiturb()
1685 uurb->buffer_length = le16_to_cpu(dr->wLength); in proc_do_submiturb()
1687 if ((dr->bRequestType & USB_DIR_IN) && uurb->buffer_length) { in proc_do_submiturb()
1720 num_sgs = DIV_ROUND_UP(uurb->buffer_length, USB_SG_SIZE); in proc_do_submiturb()
1765 uurb->buffer_length = totlen; in proc_do_submiturb()
1772 if (uurb->buffer_length > 0 && in proc_do_submiturb()
[all …]
/linux-6.6.21/drivers/net/ethernet/microchip/
Dlan743x_main.c1775 buffer_info->buffer_length, in lan743x_tx_release_desc()
1780 buffer_info->buffer_length, in lan743x_tx_release_desc()
1784 buffer_info->buffer_length = 0; in lan743x_tx_release_desc()
1915 buffer_info->buffer_length = first_buffer_length; in lan743x_tx_frame_start()
1966 buffer_info->buffer_length = 0; in lan743x_tx_frame_add_lso()
2029 buffer_info->buffer_length = fragment_length; in lan743x_tx_frame_add_fragment()
2455 unsigned int buffer_length, used_length; in lan743x_rx_init_ring_element() local
2460 buffer_length = netdev->mtu + ETH_HLEN + ETH_FCS_LEN + RX_HEAD_PADDING; in lan743x_rx_init_ring_element()
2464 skb = __netdev_alloc_skb(netdev, buffer_length, gfp); in lan743x_rx_init_ring_element()
2467 dma_ptr = dma_map_single(dev, skb->data, buffer_length, DMA_FROM_DEVICE); in lan743x_rx_init_ring_element()
[all …]
/linux-6.6.21/drivers/scsi/smartpqi/
Dsmartpqi.h163 __le32 buffer_length; member
280 __le32 buffer_length; member
307 __le32 buffer_length; member
408 __le32 buffer_length; member
414 __le32 buffer_length; member
506 __le32 buffer_length; member
1590 __le16 buffer_length; member
1698 struct bmic_csmi_smp_passthru_buffer *buffer, size_t buffer_length,
Dsmartpqi_init.c572 size_t buffer_length, enum dma_data_direction data_direction) in pqi_map_single() argument
576 if (!buffer || buffer_length == 0 || data_direction == DMA_NONE) in pqi_map_single()
579 bus_address = dma_map_single(&pci_dev->dev, buffer, buffer_length, in pqi_map_single()
585 put_unaligned_le32(buffer_length, &sg_descriptor->length); in pqi_map_single()
609 u8 *scsi3addr, void *buffer, size_t buffer_length, in pqi_build_raid_path_request() argument
613 size_t cdb_length = buffer_length; in pqi_build_raid_path_request()
621 put_unaligned_le32(buffer_length, &request->buffer_length); in pqi_build_raid_path_request()
714 buffer, buffer_length, *dir); in pqi_build_raid_path_request()
767 u8 *scsi3addr, void *buffer, size_t buffer_length, u16 vpd_page, in pqi_send_scsi_raid_request() argument
775 buffer, buffer_length, vpd_page, &dir); in pqi_send_scsi_raid_request()
[all …]
/linux-6.6.21/include/linux/
Dusbdevice_fs.h65 compat_int_t buffer_length; member
Dusb.h1669 int buffer_length, in usb_fill_control_urb() argument
1677 urb->transfer_buffer_length = buffer_length; in usb_fill_control_urb()
1703 int buffer_length, in usb_fill_bulk_urb() argument
1710 urb->transfer_buffer_length = buffer_length; in usb_fill_bulk_urb()
1743 int buffer_length, in usb_fill_int_urb() argument
1751 urb->transfer_buffer_length = buffer_length; in usb_fill_int_urb()
/linux-6.6.21/tools/power/acpi/os_specific/service_layers/
Dosunixxf.c52 acpi_status acpi_ut_read_line(char *buffer, u32 buffer_length, u32 *bytes_read);
440 acpi_status acpi_os_get_line(char *buffer, u32 buffer_length, u32 *bytes_read) in acpi_os_get_line() argument
448 if (end_of_line >= buffer_length) { in acpi_os_get_line()
/linux-6.6.21/arch/powerpc/include/asm/
Dlppaca.h133 __be32 buffer_length; /* Total shadow buffer length */ member
/linux-6.6.21/include/xen/interface/io/
Dusbif.h340 uint16_t buffer_length; member

123