Home
last modified time | relevance | path

Searched refs:buf_offset (Results 1 – 25 of 27) sorted by relevance

12

/drivers/gpu/drm/etnaviv/
Detnaviv_cmd_parser.c90 unsigned int buf_offset, unsigned int state_addr) in etnaviv_warn_if_non_sensitive() argument
92 if (state->num_relocs && state->relocs->submit_offset < buf_offset) { in etnaviv_warn_if_non_sensitive()
98 state->relocs->submit_offset < buf_offset) { in etnaviv_warn_if_non_sensitive()
109 unsigned int st_offset = state_offset, buf_offset; in etnaviv_validate_load_state() local
112 buf_offset = (ptr - state->start + in etnaviv_validate_load_state()
115 etnaviv_warn_if_non_sensitive(state, buf_offset, st_offset * 4); in etnaviv_validate_load_state()
117 state->relocs->submit_offset == buf_offset) { in etnaviv_validate_load_state()
125 __func__, st_offset * 4, buf_offset); in etnaviv_validate_load_state()
130 buf_offset = (ptr - state->start + num) * 4; in etnaviv_validate_load_state()
131 etnaviv_warn_if_non_sensitive(state, buf_offset, st_offset * 4 + in etnaviv_validate_load_state()
[all …]
/drivers/firmware/
Dqcom_scm-legacy.c56 __le32 buf_offset; member
70 __le32 buf_offset; member
107 return (void *)rsp + le32_to_cpu(rsp->buf_offset); in scm_legacy_get_response_buffer()
153 cmd->buf_offset = cpu_to_le32(sizeof(*cmd)); in scm_legacy_call()
187 le32_to_cpu(rsp->buf_offset), in scm_legacy_call()
/drivers/net/wireless/ti/wlcore/
Dtx.c191 struct sk_buff *skb, u32 extra, u32 buf_offset, in wl1271_tx_allocate() argument
200 if (buf_offset + total_len > wl->aggr_buf_size) in wl1271_tx_allocate()
361 struct sk_buff *skb, u32 buf_offset, u8 hlid) in wl1271_prepare_tx_frame() argument
407 ret = wl1271_tx_allocate(wl, wlvif, skb, extra, buf_offset, hlid, in wl1271_prepare_tx_frame()
429 memcpy(wl->aggr_buf + buf_offset, skb->data, skb->len); in wl1271_prepare_tx_frame()
430 memset(wl->aggr_buf + buf_offset + skb->len, 0, total_len - skb->len); in wl1271_prepare_tx_frame()
753 u32 buf_offset = 0, last_len = 0; in wlcore_tx_work_locked() local
774 ret = wl1271_prepare_tx_frame(wl, wlvif, skb, buf_offset, in wlcore_tx_work_locked()
783 buf_offset = wlcore_hw_pre_pkt_send(wl, buf_offset, in wlcore_tx_work_locked()
786 wl->aggr_buf, buf_offset, true); in wlcore_tx_work_locked()
[all …]
Dhw_ops.h191 wlcore_hw_pre_pkt_send(struct wl1271 *wl, u32 buf_offset, u32 last_len) in wlcore_hw_pre_pkt_send() argument
194 return wl->ops->pre_pkt_send(wl, buf_offset, last_len); in wlcore_hw_pre_pkt_send()
196 return buf_offset; in wlcore_hw_pre_pkt_send()
Dwlcore.h97 u32 (*pre_pkt_send)(struct wl1271 *wl, u32 buf_offset, u32 last_len);
/drivers/input/touchscreen/
Dmelfas_mip4.c885 u16 buf_offset; in mip4_bl_program_page() local
927 for (buf_offset = 0; in mip4_bl_program_page()
928 buf_offset < length; in mip4_bl_program_page()
929 buf_offset += MIP4_BL_PACKET_SIZE) { in mip4_bl_program_page()
932 buf_offset, MIP4_BL_PACKET_SIZE); in mip4_bl_program_page()
933 put_unaligned_be16(buf_addr + buf_offset, data_buf); in mip4_bl_program_page()
934 memcpy(&data_buf[2], &data[buf_offset], MIP4_BL_PACKET_SIZE); in mip4_bl_program_page()
941 buf_offset, MIP4_BL_PACKET_SIZE, error); in mip4_bl_program_page()
971 int buf_offset; in mip4_bl_verify_page() local
1036 for (buf_offset = 0; in mip4_bl_verify_page()
[all …]
/drivers/staging/r8188eu/core/
Drtw_iol.c45 u16 buf_offset; in rtw_IOL_append_cmds() local
48 buf_offset = TXDESC_OFFSET; in rtw_IOL_append_cmds()
49 ori_len = buf_offset + pattrib->pktlen; in rtw_IOL_append_cmds()
58 memcpy(xmit_frame->buf_addr + buf_offset + pattrib->pktlen, IOL_cmds, cmd_len); in rtw_IOL_append_cmds()
/drivers/gpu/drm/gma500/
Doaktrail_hdmi_i2c.c74 int buf_offset; member
101 i2c_dev->buf_offset = 0; in xfer_read()
183 offset = i2c_dev->buf_offset; in hdmi_i2c_read()
188 i2c_dev->buf_offset += (0x10 * 4); in hdmi_i2c_read()
/drivers/nvdimm/
Ddimm_devs.c92 size_t max_cmd_size, buf_offset; in nvdimm_get_config_data() local
105 for (buf_offset = 0; len; in nvdimm_get_config_data()
106 len -= cmd->in_length, buf_offset += cmd->in_length) { in nvdimm_get_config_data()
109 cmd->in_offset = offset + buf_offset; in nvdimm_get_config_data()
124 memcpy(buf + buf_offset, cmd->out_buf, cmd->in_length); in nvdimm_get_config_data()
134 size_t max_cmd_size, buf_offset; in nvdimm_set_config_data() local
151 for (buf_offset = 0; len; len -= cmd->in_length, in nvdimm_set_config_data()
152 buf_offset += cmd->in_length) { in nvdimm_set_config_data()
155 cmd->in_offset = offset + buf_offset; in nvdimm_set_config_data()
157 memcpy(cmd->in_buf, buf + buf_offset, cmd->in_length); in nvdimm_set_config_data()
/drivers/infiniband/ulp/iser/
Diser_initiator.c445 unsigned long buf_offset; in iser_send_data_out() local
453 buf_offset = ntohl(hdr->offset); in iser_send_data_out()
456 __func__,(int)itt,(int)data_seg_len,(int)buf_offset); in iser_send_data_out()
474 tx_dsg->addr = mem_reg->sge.addr + buf_offset; in iser_send_data_out()
479 if (buf_offset + data_seg_len > iser_task->data[ISER_DIR_OUT].data_len) { in iser_send_data_out()
481 buf_offset, data_seg_len, in iser_send_data_out()
487 itt, buf_offset, data_seg_len); in iser_send_data_out()
/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi-ahb-audio.c126 unsigned buf_offset; member
236 unsigned offset = dw->buf_offset; in dw_hdmi_start_dma()
259 dw->buf_offset = offset; in dw_hdmi_start_dma()
473 dw->buf_offset = 0; in dw_hdmi_trigger()
506 return bytes_to_frames(runtime, dw->buf_offset); in dw_hdmi_pointer()
/drivers/staging/media/tegra-video/
Dtegra210.c300 u8 portno, u32 buf_offset, in tegra_channel_vi_buffer_setup() argument
308 ((u64)buf->addr + buf_offset) >> 32); in tegra_channel_vi_buffer_setup()
310 buf->addr + buf_offset); in tegra_channel_vi_buffer_setup()
319 (((u64)buf->addr + sizeimage / 2) + buf_offset) >> 32); in tegra_channel_vi_buffer_setup()
321 buf->addr + sizeimage / 2 + buf_offset); in tegra_channel_vi_buffer_setup()
332 u32 buf_offset; in tegra_channel_capture_frame() local
342 buf_offset = i * roundup(gang_bpl, SURFACE_ALIGN_BYTES); in tegra_channel_capture_frame()
343 tegra_channel_vi_buffer_setup(chan, portnos[i], buf_offset, in tegra_channel_capture_frame()
/drivers/net/ethernet/qlogic/qed/
Dqed_init_fw_funcs.c1599 u32 buf_size = buf_size_in_bytes / sizeof(u32), buf_offset = 0; in qed_fw_overlay_mem_alloc() local
1613 while (buf_offset < buf_size) { in qed_fw_overlay_mem_alloc()
1620 (struct fw_overlay_buf_hdr *)&fw_overlay_in_buf[buf_offset]; in qed_fw_overlay_mem_alloc()
1636 buf_offset += OVERLAY_HDR_SIZE_DWORDS; in qed_fw_overlay_mem_alloc()
1640 &fw_overlay_in_buf[buf_offset], storm_mem_desc->size); in qed_fw_overlay_mem_alloc()
1643 buf_offset += storm_buf_size; in qed_fw_overlay_mem_alloc()
1647 if (buf_offset < buf_size) { in qed_fw_overlay_mem_alloc()
/drivers/net/wireless/mediatek/mt76/
Ddma.c453 int offset = q->buf_offset; in mt76_dma_rx_fill()
541 int offset = data - page_address(page) + q->buf_offset; in mt76_add_fragment()
578 if (data_len < len + q->buf_offset) { in mt76_dma_rx_process()
596 skb_reserve(skb, q->buf_offset); in mt76_dma_rx_process()
Dmt76x02_mmio.c224 q->buf_offset = MT_RX_HEADROOM - sizeof(struct mt76x02_rxwi); in mt76x02_dma_init()
Dmt76.h161 u8 buf_offset; member
/drivers/mmc/host/
Dmeson-gx-mmc.c771 unsigned int buf_offset = 0; in meson_mmc_copy_buffer() local
780 writel(*buf++, host->bounce_iomem_buf + offset + buf_offset); in meson_mmc_copy_buffer()
782 buf_offset += 4; in meson_mmc_copy_buffer()
787 *buf++ = readl(host->bounce_iomem_buf + offset + buf_offset); in meson_mmc_copy_buffer()
789 buf_offset += 4; in meson_mmc_copy_buffer()
/drivers/spi/
Dspi-pic32.c359 int buf_offset = offsetof(struct pic32_spi_regs, buf); in pic32_spi_dma_config() local
366 cfg.src_addr = pic32s->dma_base + buf_offset; in pic32_spi_dma_config()
367 cfg.dst_addr = pic32s->dma_base + buf_offset; in pic32_spi_dma_config()
/drivers/net/wireless/ti/wl18xx/
Dmain.c1595 u32 buf_offset, u32 last_len) in wl18xx_pre_pkt_send() argument
1602 buf_offset - last_len); in wl18xx_pre_pkt_send()
1606 return ALIGN(buf_offset, WL12XX_BUS_BLOCK_SIZE); in wl18xx_pre_pkt_send()
1610 return buf_offset; in wl18xx_pre_pkt_send()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_minidump.c1290 u32 entry_offset, dump, no_entries, buf_offset = 0; in qlcnic_dump_fw() local
1383 buf_offset += entry->hdr.cap_size; in qlcnic_dump_fw()
1385 buffer = fw_dump->data + buf_offset; in qlcnic_dump_fw()
/drivers/net/vmxnet3/
Dvmxnet3_drv.c687 unsigned long buf_offset; in vmxnet3_map_pkt() local
724 buf_offset = ctx->copy_size; in vmxnet3_map_pkt()
739 skb->data + buf_offset, buf_size, in vmxnet3_map_pkt()
761 buf_offset += buf_size; in vmxnet3_map_pkt()
768 buf_offset = 0; in vmxnet3_map_pkt()
781 buf_offset, buf_size, in vmxnet3_map_pkt()
803 buf_offset += buf_size; in vmxnet3_map_pkt()
/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_struct.h220 u64 buf_offset : 12; member
/drivers/infiniband/hw/irdma/
Dpuda.c1211 u16 buf_offset, u32 txbuf_offset, u32 len) in irdma_ieq_copy_to_txbuf() argument
1213 void *mem1 = (u8 *)buf->mem.va + buf_offset; in irdma_ieq_copy_to_txbuf()
/drivers/gpu/drm/msm/dsi/
Ddsi_host.c1340 int buf_offset = buf - msm_host->rx_buf; in dsi_cmd_dma_rx() local
1366 repeated_bytes = buf_offset - bytes_shifted; in dsi_cmd_dma_rx()
/drivers/rpmsg/
Dqcom_glink_native.c175 int buf_offset; member

12