Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/gpu/drm/radeon/
H A 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()
H A 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()
/openbmc/linux/drivers/acpi/acpica/
H A 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 …]
H A Dacinterp.h142 u32 byte_granularity, u32 buffer_offset);
148 u32 byte_granularity, u32 buffer_offset);
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A 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()
/openbmc/linux/drivers/android/
H A Dbinder_alloc.h168 binder_size_t buffer_offset,
174 binder_size_t buffer_offset,
181 binder_size_t buffer_offset,
H A Dbinder_alloc.c1151 binder_size_t buffer_offset, in binder_alloc_get_page() argument
1176 binder_size_t buffer_offset = 0; in binder_alloc_clear_buf() local
1184 buffer_offset, &pgoff); in binder_alloc_clear_buf()
1188 buffer_offset += size; in binder_alloc_clear_buf()
1207 binder_size_t buffer_offset, in binder_alloc_copy_user_to_buffer() argument
1222 buffer_offset, &pgoff); in binder_alloc_copy_user_to_buffer()
1231 buffer_offset += size; in binder_alloc_copy_user_to_buffer()
1253 buffer_offset, &pgoff); in binder_alloc_do_buffer_copy()
1262 buffer_offset += size; in binder_alloc_do_buffer_copy()
1269 binder_size_t buffer_offset, in binder_alloc_copy_to_buffer() argument
[all …]
H A Dbinder.c1785 unsigned long buffer_offset; in binder_validate_ptr() local
1792 b, buffer_offset, in binder_validate_ptr()
1857 unsigned long buffer_offset; in binder_validate_fixup() local
1878 b, buffer_offset, in binder_validate_fixup()
1967 for (buffer_offset = off_start_offset; buffer_offset < off_end_offset; in binder_transaction_buffer_release()
1975 buffer, buffer_offset, in binder_transaction_buffer_release()
2656 binder_size_t buffer_offset; in binder_fixup_parent() local
2917 binder_size_t buffer_offset = 0; in binder_transaction() local
3320 for (buffer_offset = off_start_offset; buffer_offset < off_end_offset; in binder_transaction()
3331 buffer_offset, in binder_transaction()
[all …]
/openbmc/linux/drivers/gpu/drm/vboxvideo/
H A 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()
H A Dvboxvideo_guest.h16 u32 buffer_offset; member
50 u32 buffer_offset, u32 buffer_length);
/openbmc/linux/drivers/media/pci/ivtv/
H A 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()
H A Divtv-udma.h15 void ivtv_udma_fill_sg_array(struct ivtv_user_dma *dma, u32 buffer_offset, u32 buffer_offset_2, u32…
/openbmc/linux/drivers/gpu/drm/logicvc/
H A Dlogicvc_layer.c270 u32 buffer_offset = layer->config.buffer_offset * layer_stride; in logicvc_layer_buffer_find_setup() local
301 if (gap && buffer_offset) { in logicvc_layer_buffer_find_setup()
302 buffer_sel = gap / buffer_offset; in logicvc_layer_buffer_find_setup()
306 gap -= buffer_sel * buffer_offset; in logicvc_layer_buffer_find_setup()
338 buffer_sel, buffer_offset); in logicvc_layer_buffer_find_setup()
425 &config->buffer_offset); in logicvc_layer_config_parse()
H A Dlogicvc_layer.h31 u32 buffer_offset; member
/openbmc/linux/sound/usb/6fire/
H A Dmidi.h28 int buffer_offset; member
/openbmc/linux/sound/soc/fsl/
H A Dimx-pcm-rpmsg.c91 info->msg[TX_POINTER].r_msg.param.buffer_offset = 0; in imx_rpmsg_pcm_send_message()
94 info->msg[RX_POINTER].r_msg.param.buffer_offset = 0; in imx_rpmsg_pcm_send_message()
248 info->msg[TX_POINTER].r_msg.param.buffer_offset = 0; in imx_rpmsg_pcm_open()
258 info->msg[RX_POINTER].r_msg.param.buffer_offset = 0; in imx_rpmsg_pcm_open()
444 info->msg[TX_POINTER].r_msg.param.buffer_offset = 0; in imx_rpmsg_terminate_all()
452 info->msg[RX_POINTER].r_msg.param.buffer_offset = 0; in imx_rpmsg_terminate_all()
H A Dimx-pcm-rpmsg.h415 unsigned int buffer_offset; member
/openbmc/linux/drivers/media/usb/b2c2/
H A Dflexcop-usb.c431 int buffer_offset = 0; in flexcop_usb_transfer_init() local
463 i, buffer_offset); in flexcop_usb_transfer_init()
473 urb->transfer_buffer = fc_usb->iso_buffer + buffer_offset; in flexcop_usb_transfer_init()
475 buffer_offset += frame_size * B2C2_USB_FRAMES_PER_ISO; in flexcop_usb_transfer_init()
/openbmc/linux/drivers/net/wan/
H A 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()
208 buff = buffer_offset(port, rxin, 0); in sca_rx()
582 buff = buffer_offset(port, port->txin, 1); in sca_xmit()
H A 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()
/openbmc/linux/include/linux/qed/
H A Discsi_common.h197 __le32 buffer_offset; member
373 __le32 buffer_offset; member
403 __le32 buffer_offset; member
419 __le32 buffer_offset; member
/openbmc/linux/drivers/scsi/bnx2i/
H A 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()
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/
H A Dwlan.c874 u32 header, buffer_offset; in wilc_wlan_handle_txq() local
903 buffer_offset = ETH_CONFIG_PKT_HDR_OFFSET; in wilc_wlan_handle_txq()
908 buffer_offset = ETH_ETHERNET_HDR_OFFSET; in wilc_wlan_handle_txq()
912 buffer_offset = HOST_HDR_OFFSET; in wilc_wlan_handle_txq()
915 memcpy(&txb[offset + buffer_offset], in wilc_wlan_handle_txq()
/openbmc/linux/drivers/misc/vmw_vmci/
H A Dvmci_guest.c132 size_t buffer_offset = dest - vmci_dev->data_buffer; in vmci_read_data() local
137 sg_array[0].addr = vmci_dev->data_buffer_base + buffer_offset; in vmci_read_data()
/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc.c935 rx_swbd->page_offset = rx_ring->buffer_offset; in enetc_new_page()
1069 size_t buffer_size = ENETC_RXB_TRUESIZE - rx_ring->buffer_offset; in enetc_put_rx_buff()
1104 skb = build_skb(ba - rx_ring->buffer_offset, ENETC_RXB_TRUESIZE); in enetc_map_rx_buff_to_skb()
1110 skb_reserve(skb, rx_ring->buffer_offset); in enetc_map_rx_buff_to_skb()
1428 xdp_prepare_buff(xdp_buff, hard_start - rx_ring->buffer_offset, in enetc_map_rx_buff_to_xdp()
1429 rx_ring->buffer_offset, size, false); in enetc_map_rx_buff_to_xdp()
2754 rx_ring->buffer_offset = XDP_PACKET_HEADROOM; in enetc_reconfigure_xdp_cb()
2756 rx_ring->buffer_offset = ENETC_RXB_PAD; in enetc_reconfigure_xdp_cb()
3012 bdr->buffer_offset = ENETC_RXB_PAD; in enetc_alloc_msix()

12