Home
last modified time | relevance | path

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

123

/Linux-v6.1/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
165 buffer_length = in acpi_ex_read_data_from_field()
168 if (buffer_length > acpi_gbl_integer_byte_width || in acpi_ex_read_data_from_field()
174 buffer_desc = acpi_ut_create_buffer_object(buffer_length); in acpi_ex_read_data_from_field()
187 buffer_length = acpi_gbl_integer_byte_width; in acpi_ex_read_data_from_field()
223 buffer_length)); in acpi_ex_read_data_from_field()
236 status = acpi_ex_extract_from_field(obj_desc, buffer, buffer_length); in acpi_ex_read_data_from_field()
269 u32 buffer_length; in acpi_ex_write_data_to_field() local
357 buffer_length = sizeof(source_desc->integer.value); in acpi_ex_write_data_to_field()
363 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-v6.1/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-v6.1/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-v6.1/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-v6.1/arch/s390/include/asm/
Dappldata.h28 u16 buffer_length; member
56 parm_list->buffer_length = length; in appldata_asm()
/Linux-v6.1/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-v6.1/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-v6.1/drivers/staging/most/i2c/
Di2c.c140 mbo->buffer_length); in enqueue()
145 mbo->processed_length = mbo->buffer_length; in enqueue()
220 mbo->processed_length = min(data_size, mbo->buffer_length); in do_rx_work()
/Linux-v6.1/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-v6.1/drivers/usb/core/
Ddevio.c1593 if (uurb->buffer_length > iter->vm_start + iter->size - in find_memory_area()
1635 if ((unsigned int)uurb->buffer_length >= USBFS_XFER_MAX) in proc_do_submiturb()
1637 if (uurb->buffer_length > 0 && !uurb->buffer) in proc_do_submiturb()
1659 if (uurb->buffer_length < 8) in proc_do_submiturb()
1668 if (uurb->buffer_length < (le16_to_cpu(dr->wLength) + 8)) { in proc_do_submiturb()
1676 uurb->buffer_length = le16_to_cpu(dr->wLength); in proc_do_submiturb()
1678 if ((dr->bRequestType & USB_DIR_IN) && uurb->buffer_length) { in proc_do_submiturb()
1711 num_sgs = DIV_ROUND_UP(uurb->buffer_length, USB_SG_SIZE); in proc_do_submiturb()
1756 uurb->buffer_length = totlen; in proc_do_submiturb()
1763 if (uurb->buffer_length > 0 && in proc_do_submiturb()
[all …]
/Linux-v6.1/drivers/net/ethernet/microchip/
Dlan743x_main.c1756 buffer_info->buffer_length, in lan743x_tx_release_desc()
1761 buffer_info->buffer_length, in lan743x_tx_release_desc()
1765 buffer_info->buffer_length = 0; in lan743x_tx_release_desc()
1896 buffer_info->buffer_length = first_buffer_length; in lan743x_tx_frame_start()
1947 buffer_info->buffer_length = 0; in lan743x_tx_frame_add_lso()
2010 buffer_info->buffer_length = fragment_length; in lan743x_tx_frame_add_fragment()
2436 unsigned int buffer_length, used_length; in lan743x_rx_init_ring_element() local
2441 buffer_length = netdev->mtu + ETH_HLEN + ETH_FCS_LEN + RX_HEAD_PADDING; in lan743x_rx_init_ring_element()
2445 skb = __netdev_alloc_skb(netdev, buffer_length, gfp); in lan743x_rx_init_ring_element()
2448 dma_ptr = dma_map_single(dev, skb->data, buffer_length, DMA_FROM_DEVICE); in lan743x_rx_init_ring_element()
[all …]
/Linux-v6.1/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
1580 __le16 buffer_length; member
1688 struct bmic_csmi_smp_passthru_buffer *buffer, size_t buffer_length,
Dsmartpqi_init.c524 size_t buffer_length, enum dma_data_direction data_direction) in pqi_map_single() argument
528 if (!buffer || buffer_length == 0 || data_direction == DMA_NONE) in pqi_map_single()
531 bus_address = dma_map_single(&pci_dev->dev, buffer, buffer_length, in pqi_map_single()
537 put_unaligned_le32(buffer_length, &sg_descriptor->length); in pqi_map_single()
561 u8 *scsi3addr, void *buffer, size_t buffer_length, in pqi_build_raid_path_request() argument
565 size_t cdb_length = buffer_length; in pqi_build_raid_path_request()
573 put_unaligned_le32(buffer_length, &request->buffer_length); in pqi_build_raid_path_request()
670 buffer, buffer_length, *dir); in pqi_build_raid_path_request()
709 u8 *scsi3addr, void *buffer, size_t buffer_length, u16 vpd_page, in pqi_send_scsi_raid_request() argument
717 buffer, buffer_length, vpd_page, &dir); in pqi_send_scsi_raid_request()
[all …]
/Linux-v6.1/include/linux/
Dusbdevice_fs.h65 compat_int_t buffer_length; member
Dusb.h1620 int buffer_length, in usb_fill_control_urb() argument
1628 urb->transfer_buffer_length = buffer_length; in usb_fill_control_urb()
1650 int buffer_length, in usb_fill_bulk_urb() argument
1657 urb->transfer_buffer_length = buffer_length; in usb_fill_bulk_urb()
1691 int buffer_length, in usb_fill_int_urb() argument
1699 urb->transfer_buffer_length = buffer_length; in usb_fill_int_urb()
/Linux-v6.1/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-v6.1/arch/powerpc/include/asm/
Dlppaca.h144 __be32 buffer_length; /* Total shadow buffer length */ member
/Linux-v6.1/tools/testing/selftests/powerpc/vphn/asm/
Dlppaca.h144 __be32 buffer_length; /* Total shadow buffer length */ member

123