/kernel/linux/linux-5.10/drivers/gpu/drm/etnaviv/ |
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 …]
|
/kernel/linux/linux-5.10/drivers/firmware/ |
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() 153 cmd->buf_offset = cpu_to_le32(sizeof(*cmd)); in scm_legacy_call() 187 le32_to_cpu(rsp->buf_offset), in scm_legacy_call()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/ |
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 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 …]
|
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()
|
D | wlcore.h | 97 u32 (*pre_pkt_send)(struct wl1271 *wl, u32 buf_offset, u32 last_len);
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
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() 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 …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
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()
|
/kernel/linux/linux-5.10/arch/mips/fw/cfe/ |
D | cfe_api.c | 190 xiocb.plist.xiocb_buffer.buf_offset = 0; in cfe_getdevinfo() 314 xiocb.plist.xiocb_buffer.buf_offset = offset; in cfe_ioctl() 335 xiocb.plist.xiocb_buffer.buf_offset = 0; in cfe_open() 360 xiocb.plist.xiocb_buffer.buf_offset = offset; in cfe_readblk() 405 xiocb.plist.xiocb_buffer.buf_offset = offset; in cfe_writeblk()
|
D | cfe_api_int.h | 46 u64 buf_offset; /* offset on device (bytes) */ member
|
/kernel/linux/linux-5.10/drivers/nvdimm/ |
D | dimm_devs.c | 92 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()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | zlib.c | 408 unsigned long buf_offset; in zlib_decompress() local 427 buf_offset = start_byte - buf_start; in zlib_decompress() 429 buf_offset = 0; in zlib_decompress() 432 PAGE_SIZE - (buf_offset % PAGE_SIZE)); in zlib_decompress() 436 memcpy(kaddr + pg_offset, workspace->buf + buf_offset, bytes); in zlib_decompress()
|
D | lzo.c | 291 unsigned long buf_offset = 0; in lzo_decompress_bio() local 361 buf_offset = 0; in lzo_decompress_bio() 365 memcpy(buf + buf_offset, data_in + in_offset, bytes); in lzo_decompress_bio() 366 buf_offset += bytes; in lzo_decompress_bio()
|
D | zstd.c | 658 unsigned long buf_offset; in zstd_decompress() local 684 buf_offset = start_byte - buf_start; in zstd_decompress() 686 buf_offset = 0; in zstd_decompress() 689 workspace->out_buf.size - buf_offset); in zstd_decompress() 692 memcpy(kaddr + pg_offset, workspace->out_buf.dst + buf_offset, in zstd_decompress()
|
D | compression.c | 1241 unsigned long buf_offset; in btrfs_decompress_buf2page() local 1265 buf_offset = start_byte - buf_start; in btrfs_decompress_buf2page() 1266 working_bytes -= buf_offset; in btrfs_decompress_buf2page() 1268 buf_offset = 0; in btrfs_decompress_buf2page() 1275 PAGE_SIZE - (buf_offset % PAGE_SIZE)); in btrfs_decompress_buf2page() 1279 memcpy(kaddr + bvec.bv_offset, buf + buf_offset, bytes); in btrfs_decompress_buf2page() 1283 buf_offset += bytes; in btrfs_decompress_buf2page() 1316 buf_offset = start_byte - buf_start; in btrfs_decompress_buf2page() 1318 current_buf_start = buf_start + buf_offset; in btrfs_decompress_buf2page()
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/iser/ |
D | iser_initiator.c | 445 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/synopsys/ |
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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_init_fw_funcs.c | 1599 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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/ |
D | dma.c | 439 int offset = q->buf_offset; in mt76_dma_rx_fill() 526 int offset = data - page_address(page) + q->buf_offset; in mt76_add_fragment() 563 if (data_len < len + q->buf_offset) { in mt76_dma_rx_process() 581 skb_reserve(skb, q->buf_offset); in mt76_dma_rx_process()
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
D | meson-gx-mmc.c | 760 unsigned int buf_offset = 0; in meson_mmc_copy_buffer() local 769 writel(*buf++, host->bounce_iomem_buf + offset + buf_offset); in meson_mmc_copy_buffer() 771 buf_offset += 4; in meson_mmc_copy_buffer() 776 *buf++ = readl(host->bounce_iomem_buf + offset + buf_offset); in meson_mmc_copy_buffer() 778 buf_offset += 4; in meson_mmc_copy_buffer()
|
/kernel/linux/linux-5.10/drivers/spi/ |
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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl18xx/ |
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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_struct.h | 256 u64 buf_offset : 12; member 270 u64 buf_offset : 12; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_minidump.c | 1290 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()
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_buf.c | 1478 int *buf_offset, in xfs_buf_ioapply_map() argument 1492 offset = *buf_offset; in xfs_buf_ioapply_map() 1504 *buf_offset += size; in xfs_buf_ioapply_map()
|
/kernel/linux/linux-5.10/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 681 unsigned long buf_offset; in vmxnet3_map_pkt() local 718 buf_offset = ctx->copy_size; in vmxnet3_map_pkt() 733 skb->data + buf_offset, buf_size, in vmxnet3_map_pkt() 755 buf_offset += buf_size; in vmxnet3_map_pkt() 762 buf_offset = 0; in vmxnet3_map_pkt() 775 buf_offset, buf_size, in vmxnet3_map_pkt() 797 buf_offset += buf_size; in vmxnet3_map_pkt()
|