Home
last modified time | relevance | path

Searched refs:buffer_offset (Results 1 – 25 of 31) sorted by relevance

12

/drivers/acpi/acpica/
Dexfldio.c655 u32 buffer_offset = 0; in acpi_ex_extract_from_field() local
766 memcpy(((char *)buffer) + buffer_offset, &merged_datum, in acpi_ex_extract_from_field()
768 buffer_length - buffer_offset)); in acpi_ex_extract_from_field()
770 buffer_offset += obj_desc->common_field.access_byte_width; in acpi_ex_extract_from_field()
784 memcpy(((char *)buffer) + buffer_offset, &merged_datum, in acpi_ex_extract_from_field()
786 buffer_length - buffer_offset)); in acpi_ex_extract_from_field()
816 u32 buffer_offset = 0; in acpi_ex_insert_into_field() local
886 buffer_length - buffer_offset)); in acpi_ex_insert_into_field()
935 buffer_offset += obj_desc->common_field.access_byte_width; in acpi_ex_insert_into_field()
936 memcpy(&raw_datum, ((char *)buffer) + buffer_offset, in acpi_ex_insert_into_field()
[all …]
Dacinterp.h142 u32 byte_granularity, u32 buffer_offset);
148 u32 byte_granularity, u32 buffer_offset);
/drivers/gpu/drm/radeon/
Datombios_i2c.c105 int i, remaining, current_count, buffer_offset, max_bytes, ret; in radeon_atom_hw_i2c_xfer() local
123 buffer_offset = 0; in radeon_atom_hw_i2c_xfer()
139 &p->buf[buffer_offset], current_count); in radeon_atom_hw_i2c_xfer()
143 buffer_offset += current_count; in radeon_atom_hw_i2c_xfer()
Dradeon_i2c.c581 int i, j, remaining, current_count, buffer_offset, ret = num; in r500_hw_i2c_xfer() local
701 buffer_offset = 0; in r500_hw_i2c_xfer()
738 p->buf[buffer_offset + j] = RREG32(AVIVO_DC_I2C_DATA) & 0xff; in r500_hw_i2c_xfer()
740 buffer_offset += current_count; in r500_hw_i2c_xfer()
757 WREG32(AVIVO_DC_I2C_DATA, p->buf[buffer_offset + j]); in r500_hw_i2c_xfer()
781 buffer_offset += current_count; in r500_hw_i2c_xfer()
/drivers/android/
Dbinder_alloc.c737 binder_size_t buffer_offset, in binder_alloc_get_page() argument
740 binder_size_t buffer_space_offset = buffer_offset + in binder_alloc_get_page()
762 binder_size_t buffer_offset = 0; in binder_alloc_clear_buf() local
771 buffer_offset, &pgoff); in binder_alloc_clear_buf()
777 buffer_offset += size; in binder_alloc_clear_buf()
1233 binder_size_t buffer_offset, in binder_alloc_copy_user_to_buffer() argument
1237 if (!check_buffer(alloc, buffer, buffer_offset, bytes)) in binder_alloc_copy_user_to_buffer()
1248 buffer_offset, &pgoff); in binder_alloc_copy_user_to_buffer()
1257 buffer_offset += size; in binder_alloc_copy_user_to_buffer()
1265 binder_size_t buffer_offset, in binder_alloc_do_buffer_copy() argument
[all …]
Dbinder_alloc.h151 binder_size_t buffer_offset,
157 binder_size_t buffer_offset,
164 binder_size_t buffer_offset,
Dbinder.c2002 unsigned long buffer_offset; in binder_validate_ptr() local
2007 buffer_offset = start_offset + sizeof(binder_size_t) * index; in binder_validate_ptr()
2009 b, buffer_offset, in binder_validate_ptr()
2074 unsigned long buffer_offset; in binder_validate_fixup() local
2091 buffer_offset = objects_start_offset + in binder_validate_fixup()
2095 b, buffer_offset, in binder_validate_fixup()
2169 binder_size_t off_start_offset, buffer_offset; in binder_transaction_buffer_release() local
2182 for (buffer_offset = off_start_offset; buffer_offset < off_end_offset; in binder_transaction_buffer_release()
2183 buffer_offset += sizeof(binder_size_t)) { in binder_transaction_buffer_release()
2190 buffer, buffer_offset, in binder_transaction_buffer_release()
[all …]
/drivers/gpu/drm/amd/amdgpu/
Datombios_i2c.c112 int i, remaining, current_count, buffer_offset, max_bytes, ret; in amdgpu_atombios_i2c_xfer() local
130 buffer_offset = 0; in amdgpu_atombios_i2c_xfer()
146 &p->buf[buffer_offset], current_count); in amdgpu_atombios_i2c_xfer()
150 buffer_offset += current_count; in amdgpu_atombios_i2c_xfer()
/drivers/gpu/drm/vboxvideo/
Dvbva_base.c118 p->base.offset = vbva_ctx->buffer_offset; in vbva_inform_host()
210 u32 buffer_offset, u32 buffer_length) in vbva_setup_buffer_context() argument
212 vbva_ctx->buffer_offset = buffer_offset; in vbva_setup_buffer_context()
Dvboxvideo_guest.h16 u32 buffer_offset; member
50 u32 buffer_offset, u32 buffer_length);
/drivers/media/pci/ivtv/
Divtv-udma.c63 void ivtv_udma_fill_sg_array (struct ivtv_user_dma *dma, u32 buffer_offset, u32 buffer_offset_2, u3… in ivtv_udma_fill_sg_array() argument
70 dma->SGarray[i].dst = cpu_to_le32(buffer_offset); in ivtv_udma_fill_sg_array()
71 buffer_offset += sg_dma_len(sg); in ivtv_udma_fill_sg_array()
75 buffer_offset = buffer_offset_2; in ivtv_udma_fill_sg_array()
Divtv-udma.h15 void ivtv_udma_fill_sg_array(struct ivtv_user_dma *dma, u32 buffer_offset, u32 buffer_offset_2, u32…
/drivers/media/usb/b2c2/
Dflexcop-usb.c432 int buffer_offset = 0; in flexcop_usb_transfer_init() local
461 i, buffer_offset); in flexcop_usb_transfer_init()
471 urb->transfer_buffer = fc_usb->iso_buffer + buffer_offset; in flexcop_usb_transfer_init()
473 buffer_offset += frame_size * B2C2_USB_FRAMES_PER_ISO; in flexcop_usb_transfer_init()
/drivers/net/wan/
Dhd64572.c97 static inline u32 buffer_offset(port_t *port, u16 desc, int transmit) in buffer_offset() function
137 u32 buff_off = buffer_offset(port, i, transmit); in sca_init_port()
207 buff = buffer_offset(port, rxin, 0); in sca_rx()
581 buff = buffer_offset(port, port->txin, 1); in sca_xmit()
Dhd64570.c123 static inline u32 buffer_offset(port_t *port, u16 desc, int transmit) in buffer_offset() function
167 u32 buff_off = buffer_offset(port, i, transmit); in sca_init_port()
254 buff = buffer_offset(port, rxin, 0); in sca_rx()
646 buff = buffer_offset(port, port->txin, 1); in sca_xmit()
/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c89 u32 buffer_offset = 0; in bnx2i_setup_write_cmd_bd_info() local
99 buffer_offset += task->imm_count; in bnx2i_setup_write_cmd_bd_info()
104 bnx2i_get_write_cmd_bd_idx(cmd, buffer_offset, in bnx2i_setup_write_cmd_bd_info()
108 buffer_offset += task->unsol_r2t.data_length; in bnx2i_setup_write_cmd_bd_info()
111 if (buffer_offset != cmd_len) { in bnx2i_setup_write_cmd_bd_info()
112 bnx2i_get_write_cmd_bd_idx(cmd, buffer_offset, in bnx2i_setup_write_cmd_bd_info()
121 buffer_offset, cmd->io_tbl.bd_valid, in bnx2i_setup_write_cmd_bd_info()
/drivers/net/ethernet/freescale/enetc/
Denetc.c646 rx_swbd->page_offset = rx_ring->buffer_offset; in enetc_new_page()
780 size_t buffer_size = ENETC_RXB_TRUESIZE - rx_ring->buffer_offset; in enetc_put_rx_buff()
815 skb = build_skb(ba - rx_ring->buffer_offset, ENETC_RXB_TRUESIZE); in enetc_map_rx_buff_to_skb()
821 skb_reserve(skb, rx_ring->buffer_offset); in enetc_map_rx_buff_to_skb()
1135 xdp_prepare_buff(xdp_buff, hard_start - rx_ring->buffer_offset, in enetc_map_rx_buff_to_xdp()
1136 rx_ring->buffer_offset, size, false); in enetc_map_rx_buff_to_xdp()
2222 rx_ring->buffer_offset = XDP_PACKET_HEADROOM; in enetc_setup_xdp_prog()
2224 rx_ring->buffer_offset = ENETC_RXB_PAD; in enetc_setup_xdp_prog()
2446 bdr->buffer_offset = ENETC_RXB_PAD; in enetc_alloc_msix()
Denetc.h108 int buffer_offset; member
/drivers/net/wireless/microchip/wilc1000/
Dwlan.c861 u32 header, buffer_offset; in wilc_wlan_handle_txq() local
889 buffer_offset = ETH_CONFIG_PKT_HDR_OFFSET; in wilc_wlan_handle_txq()
894 buffer_offset = ETH_ETHERNET_HDR_OFFSET; in wilc_wlan_handle_txq()
898 buffer_offset = HOST_HDR_OFFSET; in wilc_wlan_handle_txq()
901 memcpy(&txb[offset + buffer_offset], in wilc_wlan_handle_txq()
/drivers/media/usb/ttusb-budget/
Ddvb-ttusb-budget.c794 int i, j, err, buffer_offset = 0; in ttusb_start_iso_xfer() local
818 urb->transfer_buffer = ttusb->iso_buffer + buffer_offset; in ttusb_start_iso_xfer()
819 buffer_offset += ISO_FRAME_SIZE * FRAMES_PER_ISO_BUF; in ttusb_start_iso_xfer()
/drivers/media/usb/ttusb-dec/
Dttusb_dec.c841 int i, j, buffer_offset = 0; in ttusb_dec_setup_urbs() local
858 urb->transfer_buffer = dec->iso_buffer + buffer_offset; in ttusb_dec_setup_urbs()
859 buffer_offset += ISO_FRAME_SIZE * FRAMES_PER_ISO_BUF; in ttusb_dec_setup_urbs()
/drivers/net/usb/
Dhso.c844 unsigned short buffer_offset = 0; in packetizeRx() local
862 odev->rx_buf_size, ip_pkt + buffer_offset, in packetizeRx()
866 buffer_offset += temp_bytes; in packetizeRx()
917 ip_pkt + buffer_offset, in packetizeRx()
922 buffer_offset += temp_bytes; in packetizeRx()
/drivers/scsi/cxgbi/
Dlibcxgbi.h575 u32 buffer_offset; member
/drivers/scsi/be2iscsi/
Dbe_main.h445 u8 buffer_offset[32]; member
/drivers/usb/misc/
Dusbtest.c379 static inline unsigned long buffer_offset(void *buf) in buffer_offset() function
387 u8 *guard = buf - buffer_offset(buf); in check_guard_bytes()
441 unsigned long offset = buffer_offset(urb->transfer_buffer); in simple_free_urb()

12