/linux-6.3-rc2/drivers/gpu/drm/etnaviv/ |
A D | etnaviv_cmd_parser.c | 90 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 …]
|
/linux-6.3-rc2/sound/soc/sof/amd/ |
A D | acp-pcm.c | 25 unsigned int buf_offset, index; in acp_pcm_hw_params() local 45 buf_offset = sdev->debug_box.offset + in acp_pcm_hw_params() 48 buf_offset = buf_offset + index * 4; in acp_pcm_hw_params() 50 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_SCRATCH_REG_0 + buf_offset, size); in acp_pcm_hw_params()
|
/linux-6.3-rc2/drivers/firmware/ |
A D | qcom_scm-legacy.c | 56 __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() 156 cmd->buf_offset = cpu_to_le32(sizeof(*cmd)); in scm_legacy_call() 190 le32_to_cpu(rsp->buf_offset), in scm_legacy_call()
|
/linux-6.3-rc2/drivers/net/wireless/ti/wlcore/ |
A D | tx.c | 191 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 753 u32 buf_offset = 0, last_len = 0; in wlcore_tx_work_locked() local 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() 791 buf_offset = 0; in wlcore_tx_work_locked() 814 buf_offset += last_len; in wlcore_tx_work_locked() 823 if (buf_offset) { in wlcore_tx_work_locked() 824 buf_offset = wlcore_hw_pre_pkt_send(wl, buf_offset, last_len); in wlcore_tx_work_locked() [all …]
|
A D | hw_ops.h | 191 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()
|
/linux-6.3-rc2/drivers/input/touchscreen/ |
A D | melfas_mip4.c | 885 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() 971 int buf_offset; in mip4_bl_verify_page() local 1036 for (buf_offset = 0; in mip4_bl_verify_page() 1037 buf_offset < length; in mip4_bl_verify_page() 1038 buf_offset += MIP4_BL_PACKET_SIZE) { in mip4_bl_verify_page() 1041 buf_offset, MIP4_BL_PACKET_SIZE); in mip4_bl_verify_page() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/gma500/ |
A D | oaktrail_hdmi_i2c.c | 74 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()
|
/linux-6.3-rc2/drivers/nvdimm/ |
A D | dimm_devs.c | 88 size_t max_cmd_size, buf_offset; in nvdimm_get_config_data() local 101 for (buf_offset = 0; len; in nvdimm_get_config_data() 102 len -= cmd->in_length, buf_offset += cmd->in_length) { in nvdimm_get_config_data() 105 cmd->in_offset = offset + buf_offset; in nvdimm_get_config_data() 120 memcpy(buf + buf_offset, cmd->out_buf, cmd->in_length); in nvdimm_get_config_data() 130 size_t max_cmd_size, buf_offset; in nvdimm_set_config_data() local 147 for (buf_offset = 0; len; len -= cmd->in_length, in nvdimm_set_config_data() 148 buf_offset += cmd->in_length) { in nvdimm_set_config_data() 151 cmd->in_offset = offset + buf_offset; in nvdimm_set_config_data() 153 memcpy(cmd->in_buf, buf + buf_offset, cmd->in_length); in nvdimm_set_config_data()
|
/linux-6.3-rc2/drivers/net/ethernet/fungible/funeth/ |
A D | funeth_rx.c | 258 if (q->buf_offset + len <= PAGE_SIZE || !q->buf_offset) in get_buf() 279 q->buf_offset = 0; in get_buf() 318 PAGE_SIZE - q->buf_offset); in fun_gather_pkt() 320 buf->dma_addr + q->buf_offset, in fun_gather_pkt() 327 skb_frag_off_set(frags, q->buf_offset); in fun_gather_pkt() 334 q->buf_offset = PAGE_SIZE; in fun_gather_pkt() 336 q->buf_offset = ALIGN(q->buf_offset + frag_len, FUN_EPRQ_PKT_ALIGN); in fun_gather_pkt() 720 q->buf_offset = 0; in fun_rxq_create_dev()
|
A D | funeth_txrx.h | 180 unsigned int buf_offset; /* offset of next pkt in head buffer */ member
|
/linux-6.3-rc2/fs/btrfs/ |
A D | zlib.c | 397 unsigned long buf_offset; in zlib_decompress() local 416 buf_offset = start_byte - buf_start; in zlib_decompress() 418 buf_offset = 0; in zlib_decompress() 421 PAGE_SIZE - (buf_offset % PAGE_SIZE)); in zlib_decompress() 425 workspace->buf + buf_offset, bytes); in zlib_decompress()
|
A D | zstd.c | 652 unsigned long buf_offset; in zstd_decompress() local 678 buf_offset = start_byte - buf_start; in zstd_decompress() 680 buf_offset = 0; in zstd_decompress() 683 workspace->out_buf.size - buf_offset); in zstd_decompress() 686 workspace->out_buf.dst + buf_offset, bytes); in zstd_decompress()
|
/linux-6.3-rc2/arch/mips/fw/cfe/ |
A D | cfe_api.c | 195 xiocb.plist.xiocb_buffer.buf_offset = 0; in cfe_getdevinfo() 319 xiocb.plist.xiocb_buffer.buf_offset = offset; in cfe_ioctl() 340 xiocb.plist.xiocb_buffer.buf_offset = 0; in cfe_open() 365 xiocb.plist.xiocb_buffer.buf_offset = offset; in cfe_readblk() 410 xiocb.plist.xiocb_buffer.buf_offset = offset; in cfe_writeblk()
|
A D | cfe_api_int.h | 46 u64 buf_offset; /* offset on device (bytes) */ member
|
/linux-6.3-rc2/drivers/infiniband/ulp/iser/ |
A D | iser_initiator.c | 416 unsigned long buf_offset; in iser_send_data_out() local 424 buf_offset = ntohl(hdr->offset); in iser_send_data_out() 427 __func__,(int)itt,(int)data_seg_len,(int)buf_offset); in iser_send_data_out() 445 tx_dsg->addr = mem_reg->sge.addr + buf_offset; in iser_send_data_out() 450 if (buf_offset + data_seg_len > iser_task->data[ISER_DIR_OUT].data_len) { in iser_send_data_out() 452 buf_offset, data_seg_len, in iser_send_data_out() 458 itt, buf_offset, data_seg_len); in iser_send_data_out()
|
/linux-6.3-rc2/drivers/gpu/drm/bridge/synopsys/ |
A D | dw-hdmi-ahb-audio.c | 126 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()
|
/linux-6.3-rc2/drivers/staging/media/tegra-video/ |
A D | tegra210.c | 300 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()
|
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qed/ |
A D | qed_init_fw_funcs.c | 1827 u32 buf_size = buf_size_in_bytes / sizeof(u32), buf_offset = 0; in qed_fw_overlay_mem_alloc() local 1839 while (buf_offset < buf_size) { in qed_fw_overlay_mem_alloc() 1846 (struct fw_overlay_buf_hdr *)&fw_overlay_in_buf[buf_offset]; in qed_fw_overlay_mem_alloc() 1864 buf_offset += OVERLAY_HDR_SIZE_DWORDS; in qed_fw_overlay_mem_alloc() 1868 &fw_overlay_in_buf[buf_offset], storm_mem_desc->size); in qed_fw_overlay_mem_alloc() 1871 buf_offset += storm_buf_size; in qed_fw_overlay_mem_alloc() 1875 if (buf_offset < buf_size) { in qed_fw_overlay_mem_alloc()
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/ |
A D | dma.c | 611 qbuf.addr = addr + q->buf_offset; in mt76_dma_rx_fill() 612 qbuf.len = len - q->buf_offset; in mt76_dma_rx_fill() 780 int offset = data - page_address(page) + q->buf_offset; in mt76_add_fragment() 837 if (data_len < len + q->buf_offset) { in mt76_dma_rx_process() 856 skb_reserve(skb, q->buf_offset); in mt76_dma_rx_process()
|
/linux-6.3-rc2/drivers/net/ethernet/fungible/funcore/ |
A D | fun_queue.c | 213 static void fun_rq_update_pos(struct fun_queue *funq, int buf_offset) in fun_rq_update_pos() argument 215 if (buf_offset <= funq->rq_buf_offset) { in fun_rq_update_pos() 225 funq->rq_buf_offset = buf_offset; in fun_rq_update_pos()
|
/linux-6.3-rc2/drivers/mmc/host/ |
A D | meson-gx-mmc.c | 776 unsigned int buf_offset = 0; in meson_mmc_copy_buffer() local 785 writel(*buf++, host->bounce_iomem_buf + offset + buf_offset); in meson_mmc_copy_buffer() 787 buf_offset += 4; in meson_mmc_copy_buffer() 792 *buf++ = readl(host->bounce_iomem_buf + offset + buf_offset); in meson_mmc_copy_buffer() 794 buf_offset += 4; in meson_mmc_copy_buffer()
|
/linux-6.3-rc2/drivers/spi/ |
A D | spi-pic32.c | 359 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()
|
/linux-6.3-rc2/drivers/net/ethernet/marvell/prestera/ |
A D | prestera_hw.c | 2115 u32 buf_offset; in prestera_hw_nhgrp_blk_get() local 2119 buf_offset = 0; in prestera_hw_nhgrp_blk_get() 2121 if (buf_offset >= buf_size) in prestera_hw_nhgrp_blk_get() 2125 req.offset = __cpu_to_le32(buf_offset * 8); /* 8 bits in u8 */ in prestera_hw_nhgrp_blk_get() 2133 memcpy(&hw_state[buf_offset], &resp.hw_state[0], in prestera_hw_nhgrp_blk_get() 2134 buf_offset + PRESTERA_MSG_CHUNK_SIZE > buf_size ? in prestera_hw_nhgrp_blk_get() 2135 buf_size - buf_offset : PRESTERA_MSG_CHUNK_SIZE); in prestera_hw_nhgrp_blk_get() 2136 buf_offset += PRESTERA_MSG_CHUNK_SIZE; in prestera_hw_nhgrp_blk_get()
|
/linux-6.3-rc2/drivers/net/wireless/ti/wl18xx/ |
A D | main.c | 1595 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()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw88/ |
A D | fw.c | 1853 u16 buf_offset = page_size * page_offset; in _rtw_hw_scan_update_probe_req() local 1870 buf_offset -= tx_desc_sz; in _rtw_hw_scan_update_probe_req() 1879 memcpy(buf + buf_offset, skb->data, skb->len); in _rtw_hw_scan_update_probe_req() 1884 buf_offset += page_cnt * page_size; in _rtw_hw_scan_update_probe_req() 1889 ret = rtw_fw_write_data_rsvd_page(rtwdev, pg_addr, buf, buf_offset); in _rtw_hw_scan_update_probe_req()
|