/openbmc/linux/drivers/acpi/acpica/ |
H A D | exserial.c | 139 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 …]
|
H A D | exfield.c | 112 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 …]
|
H A D | exfldio.c | 649 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 …]
|
H A D | psargs.c | 470 u32 buffer_length; in acpi_ps_get_next_field() local 626 buffer_length = in acpi_ps_get_next_field() 633 buffer_length = in acpi_ps_get_next_field() 640 buffer_length = in acpi_ps_get_next_field() 647 buffer_length = 0; in acpi_ps_get_next_field() 654 arg->named.value.size = buffer_length; in acpi_ps_get_next_field()
|
H A D | acinterp.h | 131 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);
|
H A D | dsobject.c | 153 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()
|
/openbmc/linux/sound/usb/ |
H A D | midi.c | 390 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 …]
|
/openbmc/linux/drivers/scsi/elx/libefc/ |
H A D | efc_node.c | 179 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 …]
|
/openbmc/linux/drivers/gpu/drm/vboxvideo/ |
H A D | vbva_base.c | 144 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()
|
H A D | vboxvideo_guest.h | 18 u32 buffer_length; member 50 u32 buffer_offset, u32 buffer_length);
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | appldata.h | 28 u16 buffer_length; member 56 parm_list->buffer_length = length; in appldata_asm()
|
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00usb.h | 94 void *buffer, const u16 buffer_length, 117 const u16 buffer_length); 135 const u16 buffer_length, const int timeout);
|
H A D | rt2x00usb.c | 48 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()
|
/openbmc/linux/drivers/staging/most/net/ |
H A D | net.c | 89 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()
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | ep0.c | 152 urb->actual_length, urb->buffer_length, max_buf, max_length, in copy_config() 176 if (!urb || !urb->buffer || !urb->buffer_length in ep0_get_descriptor() 177 || (urb->buffer_length < 255)) { in ep0_get_descriptor() 354 urb->buffer, urb->buffer_length, urb->actual_length, in ep0_get_descriptor()
|
H A D | pxa27x_udc.c | 74 urb->buffer, urb->buffer_length, urb->actual_length); in udc_write_urb() 145 urb->buffer, urb->buffer_length, urb->actual_length); in udc_read_urb() 174 ep0_urb->buffer, ep0_urb->buffer_length, ep0_urb->actual_length); in udc_read_urb_ep0() 267 ep0_urb->buffer_length = in udc_handle_ep0()
|
/openbmc/qemu/audio/ |
H A D | alsaaudio.c | 404 apdo->buffer_length, apdo->period_length); in alsa_dump_info() 507 if (apdo->buffer_length) { in alsa_open() 509 unsigned int btime = apdo->buffer_length; in alsa_open() 516 apdo->buffer_length); in alsa_open() 520 if (apdo->has_buffer_length && btime != apdo->buffer_length) { in alsa_open() 522 " was rejected, using %u\n", apdo->buffer_length, btime); in alsa_open() 923 dev->u.alsa.out->buffer_length = 92880; in alsa_audio_init() 932 dev->u.alsa.in->buffer_length = 92880; in alsa_audio_init()
|
/openbmc/qemu/disas/ |
H A D | disas-target.c | 34 s.info.buffer_length = size; in target_disas() 85 s.info.buffer_length = size; in plugin_disas()
|
H A D | disas-host.c | 20 || memaddr + length > info->buffer_vma + info->buffer_length) { in host_read_memory() 111 s.info.buffer_length = size; in disas()
|
H A D | objdump.c | 13 int i, n = info->buffer_length; in print_insn_objdump()
|
/openbmc/linux/drivers/staging/most/i2c/ |
H A D | i2c.c | 143 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()
|
/openbmc/linux/drivers/media/usb/b2c2/ |
H A D | flexcop-usb.c | 329 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()
|
/openbmc/linux/drivers/usb/core/ |
H A D | devio.c | 1602 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 …]
|
/openbmc/linux/drivers/net/ethernet/microchip/ |
H A D | lan743x_main.c | 1777 buffer_info->buffer_length, in lan743x_tx_release_desc() 1782 buffer_info->buffer_length, in lan743x_tx_release_desc() 1786 buffer_info->buffer_length = 0; in lan743x_tx_release_desc() 1917 buffer_info->buffer_length = first_buffer_length; in lan743x_tx_frame_start() 1968 buffer_info->buffer_length = 0; in lan743x_tx_frame_add_lso() 2031 buffer_info->buffer_length = fragment_length; in lan743x_tx_frame_add_fragment() 2457 unsigned int buffer_length, used_length; in lan743x_rx_init_ring_element() local 2462 buffer_length = netdev->mtu + ETH_HLEN + ETH_FCS_LEN + RX_HEAD_PADDING; in lan743x_rx_init_ring_element() 2466 skb = __netdev_alloc_skb(netdev, buffer_length, gfp); in lan743x_rx_init_ring_element() 2469 dma_ptr = dma_map_single(dev, skb->data, buffer_length, DMA_FROM_DEVICE); in lan743x_rx_init_ring_element() [all …]
|
/openbmc/linux/drivers/scsi/smartpqi/ |
H A D | smartpqi.h | 163 __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,
|