/drivers/acpi/acpica/ |
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 …]
|
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 …]
|
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 …]
|
D | psargs.c | 468 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()
|
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);
|
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()
|
/drivers/scsi/elx/libefc/ |
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 …]
|
/drivers/gpu/drm/vboxvideo/ |
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()
|
D | vboxvideo_guest.h | 18 u32 buffer_length; member 50 u32 buffer_offset, u32 buffer_length);
|
/drivers/net/wireless/ralink/rt2x00/ |
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()
|
D | rt2x00usb.h | 94 void *buffer, const u16 buffer_length, 117 const u16 buffer_length); 135 const u16 buffer_length, const int timeout);
|
/drivers/staging/most/net/ |
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()
|
/drivers/media/usb/b2c2/ |
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()
|
/drivers/staging/most/i2c/ |
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()
|
/drivers/usb/core/ |
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 …]
|
/drivers/net/ethernet/microchip/ |
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 …]
|
/drivers/scsi/smartpqi/ |
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,
|
D | smartpqi_init.c | 572 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 …]
|
/drivers/scsi/elx/libefc_sli/ |
D | sli4.c | 1586 (le32_to_cpu(sge[0].buffer_length) & in sli_fcp_icmnd64_wqe() 1602 len = le32_to_cpu(sge[0].buffer_length) + in sli_fcp_icmnd64_wqe() 1603 le32_to_cpu(sge[1].buffer_length); in sli_fcp_icmnd64_wqe() 1655 (le32_to_cpu(sge[0].buffer_length) & in sli_fcp_iread64_wqe() 1677 len = le32_to_cpu(sge[0].buffer_length); in sli_fcp_iread64_wqe() 1686 len = le32_to_cpu(sge[0].buffer_length) + in sli_fcp_iread64_wqe() 1687 le32_to_cpu(sge[1].buffer_length); in sli_fcp_iread64_wqe() 1717 (le32_to_cpu(sge[first_data_sge].buffer_length) & in sli_fcp_iread64_wqe() 1755 (le32_to_cpu(sge[0].buffer_length) & SLI4_BDE_LEN_MASK)); in sli_fcp_iwrite64_wqe() 1772 len = le32_to_cpu(sge[0].buffer_length); in sli_fcp_iwrite64_wqe() [all …]
|
/drivers/usb/host/ |
D | octeon-hcd.c | 278 int buffer_length; member 1359 int bytes_to_transfer = transaction->buffer_length - in cvmx_usb_start_channel_control() 1586 int bytes_to_transfer = transaction->buffer_length - in cvmx_usb_start_channel() 2129 int buffer_length, in cvmx_usb_submit_transaction() argument 2147 transaction->buffer_length = buffer_length; in cvmx_usb_submit_transaction() 2239 int buffer_length = urb->transfer_buffer_length; in cvmx_usb_submit_control() local 2244 buffer_length = le16_to_cpu(header->wLength); in cvmx_usb_submit_control() 2248 urb->transfer_dma, buffer_length, in cvmx_usb_submit_control() 2754 buffer_space_left = transaction->buffer_length - in cvmx_usb_poll_channel()
|
/drivers/acpi/ |
D | osl.c | 949 ssize_t acpi_debugger_read_cmd(char *buffer, size_t buffer_length) in acpi_debugger_read_cmd() argument 970 ret = func(buffer, buffer_length); in acpi_debugger_read_cmd() 1310 acpi_status acpi_os_get_line(char *buffer, u32 buffer_length, u32 *bytes_read) in acpi_os_get_line() argument 1316 kdb_read(buffer, buffer_length); in acpi_os_get_line() 1325 ret = acpi_debugger_read_cmd(buffer, buffer_length); in acpi_os_get_line()
|
/drivers/misc/mei/ |
D | hw-me.c | 673 unsigned long buffer_length) in mei_me_read_slots() argument 677 for (; buffer_length >= MEI_SLOT_SIZE; buffer_length -= MEI_SLOT_SIZE) in mei_me_read_slots() 680 if (buffer_length > 0) { in mei_me_read_slots() 683 memcpy(reg_buf, ®, buffer_length); in mei_me_read_slots()
|
/drivers/scsi/bnx2i/ |
D | bnx2i_iscsi.c | 64 while (buf_off >= (cur_offset + bd_tbl->buffer_length)) { in bnx2i_get_write_cmd_bd_idx() 65 cur_offset += bd_tbl->buffer_length; in bnx2i_get_write_cmd_bd_idx() 127 buffer_length); in bnx2i_setup_write_cmd_bd_info() 164 bd[bd_count].buffer_length = sg_len; in bnx2i_map_scsi_sg() 195 bd[0].buffer_length = bd[0].flags = 0; in bnx2i_iscsi_map_sg_list() 553 mp_bdt->buffer_length = CNIC_PAGE_SIZE; in bnx2i_setup_mp_bdt() 1056 bd_tbl->buffer_length = bnx2i_conn->gen_pdu.req_wr_ptr - in bnx2i_iscsi_prep_generic_pdu_bd() 1065 bd_tbl->buffer_length = ISCSI_DEF_MAX_RECV_SEG_LEN; in bnx2i_iscsi_prep_generic_pdu_bd()
|
/drivers/staging/most/dim2/ |
D | dim2.c | 184 buf_size = mbo->buffer_length; in try_start_dim_transfer() 321 mbo->buffer_length); in service_done_flag() 323 mbo->processed_length = mbo->buffer_length; in service_done_flag() 617 mbo->buffer_length = 5; in request_netinfo()
|
/drivers/hid/intel-ish-hid/ishtp/ |
D | ishtp-dev.h | 119 unsigned long buffer_length);
|