Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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()
204 buffer_desc = acpi_ut_create_buffer_object(buffer_length); in acpi_ex_read_serial_bus()
246 u32 buffer_length; in acpi_ex_write_serial_bus() local
284 buffer_length = ACPI_SMBUS_BUFFER_SIZE; in acpi_ex_write_serial_bus()
290 buffer_length = ACPI_IPMI_BUFFER_SIZE; in acpi_ex_write_serial_bus()
299 &buffer_length); in acpi_ex_write_serial_bus()
[all …]
Dexfield.c112 u32 buffer_length; in acpi_ex_read_data_from_field() local
163 buffer_length = in acpi_ex_read_data_from_field()
166 if (buffer_length > acpi_gbl_integer_byte_width || in acpi_ex_read_data_from_field()
172 buffer_desc = acpi_ut_create_buffer_object(buffer_length); in acpi_ex_read_data_from_field()
185 buffer_length = acpi_gbl_integer_byte_width; in acpi_ex_read_data_from_field()
221 buffer_length)); in acpi_ex_read_data_from_field()
234 status = acpi_ex_extract_from_field(obj_desc, buffer, buffer_length); in acpi_ex_read_data_from_field()
267 u32 buffer_length; in acpi_ex_write_data_to_field() local
353 buffer_length = sizeof(source_desc->integer.value); in acpi_ex_write_data_to_field()
359 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()
/kernel/linux/linux-5.10/sound/usb/
Dmidi.c406 uint8_t *buffer, int buffer_length) in snd_usbmidi_standard_input() argument
410 for (i = 0; i + 3 < buffer_length; i += 4) in snd_usbmidi_standard_input()
420 uint8_t *buffer, int buffer_length) in snd_usbmidi_midiman_input() argument
424 for (i = 0; i + 3 < buffer_length; i += 4) in snd_usbmidi_midiman_input()
438 uint8_t *buffer, int buffer_length) in snd_usbmidi_maudio_broken_running_status_input() argument
442 for (i = 0; i + 3 < buffer_length; i += 4) in snd_usbmidi_maudio_broken_running_status_input()
478 uint8_t *buffer, int buffer_length) in ch345_broken_sysex_input() argument
482 for (i = 0; i + 3 < buffer_length; i += 4) { in ch345_broken_sysex_input()
511 uint8_t *buffer, int buffer_length) in snd_usbmidi_cme_input() argument
513 if (buffer_length < 2 || (buffer[0] & 0x0f) != 0x0f) in snd_usbmidi_cme_input()
[all …]
/kernel/linux/linux-5.10/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);
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dappldata.h28 u16 buffer_length; member
56 parm_list->buffer_length = length; in appldata_asm()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/usb/core/
Ddevio.c1499 if (uurb->buffer_length > iter->vm_start + iter->size - in find_memory_area()
1541 if ((unsigned int)uurb->buffer_length >= USBFS_XFER_MAX) in proc_do_submiturb()
1543 if (uurb->buffer_length > 0 && !uurb->buffer) in proc_do_submiturb()
1565 if (uurb->buffer_length < 8) in proc_do_submiturb()
1574 if (uurb->buffer_length < (le16_to_cpu(dr->wLength) + 8)) { in proc_do_submiturb()
1582 uurb->buffer_length = le16_to_cpu(dr->wLength); in proc_do_submiturb()
1584 if ((dr->bRequestType & USB_DIR_IN) && uurb->buffer_length) { in proc_do_submiturb()
1617 num_sgs = DIV_ROUND_UP(uurb->buffer_length, USB_SG_SIZE); in proc_do_submiturb()
1662 uurb->buffer_length = totlen; in proc_do_submiturb()
1669 if (uurb->buffer_length > 0 && in proc_do_submiturb()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/b2c2/
Dflexcop-usb.c330 u8 *buffer, int buffer_length) in flexcop_usb_process_frame() argument
336 fc_usb->tmp_buffer_length, buffer_length); in flexcop_usb_process_frame()
340 buffer_length); in flexcop_usb_process_frame()
341 fc_usb->tmp_buffer_length += buffer_length; in flexcop_usb_process_frame()
346 l=buffer_length; in flexcop_usb_process_frame()
/kernel/linux/linux-5.10/include/linux/
Dusbdevice_fs.h65 compat_int_t buffer_length; member
Dusb.h1628 int buffer_length, in usb_fill_control_urb() argument
1636 urb->transfer_buffer_length = buffer_length; in usb_fill_control_urb()
1658 int buffer_length, in usb_fill_bulk_urb() argument
1665 urb->transfer_buffer_length = buffer_length; in usb_fill_bulk_urb()
1699 int buffer_length, in usb_fill_int_urb() argument
1707 urb->transfer_buffer_length = buffer_length; in usb_fill_int_urb()
/kernel/linux/linux-5.10/drivers/scsi/smartpqi/
Dsmartpqi.h148 __le32 buffer_length; member
264 __le32 buffer_length; member
291 __le32 buffer_length; member
327 __le32 buffer_length; member
333 __le32 buffer_length; member
424 __le32 buffer_length; member
1440 struct bmic_csmi_smp_passthru_buffer *buffer, size_t buffer_length,
Dsmartpqi_init.c429 size_t buffer_length, enum dma_data_direction data_direction) in pqi_map_single() argument
433 if (!buffer || buffer_length == 0 || data_direction == DMA_NONE) in pqi_map_single()
436 bus_address = dma_map_single(&pci_dev->dev, buffer, buffer_length, in pqi_map_single()
442 put_unaligned_le32(buffer_length, &sg_descriptor->length); in pqi_map_single()
466 u8 *scsi3addr, void *buffer, size_t buffer_length, in pqi_build_raid_path_request() argument
470 size_t cdb_length = buffer_length; in pqi_build_raid_path_request()
478 put_unaligned_le32(buffer_length, &request->buffer_length); in pqi_build_raid_path_request()
565 buffer, buffer_length, *dir); in pqi_build_raid_path_request()
604 u8 *scsi3addr, void *buffer, size_t buffer_length, u16 vpd_page, in pqi_send_scsi_raid_request() argument
613 buffer_length, vpd_page, &dir); in pqi_send_scsi_raid_request()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dlppaca.h140 __be32 buffer_length; /* Total shadow buffer length */ member
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/vphn/asm/
Dlppaca.h140 __be32 buffer_length; /* Total shadow buffer length */ member
/kernel/linux/linux-5.10/drivers/misc/mei/
Dhw-me.c633 unsigned long buffer_length) in mei_me_read_slots() argument
637 for (; buffer_length >= MEI_SLOT_SIZE; buffer_length -= MEI_SLOT_SIZE) in mei_me_read_slots()
640 if (buffer_length > 0) { in mei_me_read_slots()
643 memcpy(reg_buf, &reg, buffer_length); in mei_me_read_slots()
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/ishtp/
Dishtp-dev.h118 unsigned long buffer_length);

123