Home
last modified time | relevance | path

Searched refs:data_offset (Results 1 – 25 of 237) sorted by relevance

12345678910

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atomfirmware.c36 uint16_t data_offset; in amdgpu_atomfirmware_gpu_supports_virtualization() local
39 NULL, NULL, &data_offset)) { in amdgpu_atomfirmware_gpu_supports_virtualization()
42 data_offset); in amdgpu_atomfirmware_gpu_supports_virtualization()
55 uint16_t data_offset; in amdgpu_atomfirmware_scratch_regs_init() local
58 NULL, NULL, &data_offset)) { in amdgpu_atomfirmware_scratch_regs_init()
61 data_offset); in amdgpu_atomfirmware_scratch_regs_init()
75 uint16_t data_offset; in amdgpu_atomfirmware_allocate_fb_scratch() local
78 if (amdgpu_atom_parse_data_header(ctx, index, NULL, NULL, NULL, &data_offset)) { in amdgpu_atomfirmware_allocate_fb_scratch()
79 firmware_usage = (struct vram_usagebyfirmware_v2_1 *)(ctx->bios + data_offset); in amdgpu_atomfirmware_allocate_fb_scratch()
184 u16 data_offset, size; in amdgpu_atomfirmware_get_vram_info() local
[all …]
Damdgpu_atombios.c97 uint16_t data_offset, size; in amdgpu_atombios_lookup_i2c_gpio() local
103 if (amdgpu_atom_parse_data_header(ctx, index, &size, NULL, NULL, &data_offset)) { in amdgpu_atombios_lookup_i2c_gpio()
104 i2c_info = (struct _ATOM_GPIO_I2C_INFO *)(ctx->bios + data_offset); in amdgpu_atombios_lookup_i2c_gpio()
133 uint16_t data_offset, size; in amdgpu_atombios_i2c_init() local
137 if (amdgpu_atom_parse_data_header(ctx, index, &size, NULL, NULL, &data_offset)) { in amdgpu_atombios_i2c_init()
138 i2c_info = (struct _ATOM_GPIO_I2C_INFO *)(ctx->bios + data_offset); in amdgpu_atombios_i2c_init()
168 u16 data_offset, size; in amdgpu_atombios_lookup_gpio() local
174 if (amdgpu_atom_parse_data_header(ctx, index, &size, NULL, NULL, &data_offset)) { in amdgpu_atombios_lookup_gpio()
175 gpio_info = (struct _ATOM_GPIO_PIN_LUT *)(ctx->bios + data_offset); in amdgpu_atombios_lookup_gpio()
269 u16 size, data_offset; in amdgpu_atombios_has_dce_engine_info() local
[all …]
/kernel/linux/linux-5.10/drivers/input/rmi4/
Drmi_f12.c329 u16 data_offset = 0; in rmi_f12_probe() local
440 data_offset += item->reg_size; in rmi_f12_probe()
445 f12->data1_offset = data_offset; in rmi_f12_probe()
446 data_offset += item->reg_size; in rmi_f12_probe()
454 data_offset += item->reg_size; in rmi_f12_probe()
458 data_offset += item->reg_size; in rmi_f12_probe()
462 data_offset += item->reg_size; in rmi_f12_probe()
467 f12->data5_offset = data_offset; in rmi_f12_probe()
468 data_offset += item->reg_size; in rmi_f12_probe()
475 f12->data6_offset = data_offset; in rmi_f12_probe()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_atombios.c142 uint16_t data_offset, size; in radeon_lookup_i2c_gpio() local
148 if (atom_parse_data_header(ctx, index, &size, NULL, NULL, &data_offset)) { in radeon_lookup_i2c_gpio()
149 i2c_info = (struct _ATOM_GPIO_I2C_INFO *)(ctx->bios + data_offset); in radeon_lookup_i2c_gpio()
178 uint16_t data_offset, size; in radeon_atombios_i2c_init() local
182 if (atom_parse_data_header(ctx, index, &size, NULL, NULL, &data_offset)) { in radeon_atombios_i2c_init()
183 i2c_info = (struct _ATOM_GPIO_I2C_INFO *)(ctx->bios + data_offset); in radeon_atombios_i2c_init()
212 u16 data_offset, size; in radeon_atombios_lookup_gpio() local
218 if (atom_parse_data_header(ctx, index, &size, NULL, NULL, &data_offset)) { in radeon_atombios_lookup_gpio()
219 gpio_info = (struct _ATOM_GPIO_PIN_LUT *)(ctx->bios + data_offset); in radeon_atombios_lookup_gpio()
528 u16 size, data_offset; in radeon_get_atom_connector_info_from_object_table() local
[all …]
Dr600_dpm.c850 u16 data_offset; in r600_get_platform_caps() local
854 &frev, &crev, &data_offset)) in r600_get_platform_caps()
856 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in r600_get_platform_caps()
880 u16 data_offset; in r600_parse_extended_power_table() local
885 &frev, &crev, &data_offset)) in r600_parse_extended_power_table()
887 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in r600_parse_extended_power_table()
893 fan_info = (union fan_info *)(mode_info->atom_context->bios + data_offset + in r600_parse_extended_power_table()
924 (mode_info->atom_context->bios + data_offset + in r600_parse_extended_power_table()
933 (mode_info->atom_context->bios + data_offset + in r600_parse_extended_power_table()
944 (mode_info->atom_context->bios + data_offset + in r600_parse_extended_power_table()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireguard/
Dreceive.c56 size_t data_offset, data_len, header_len; in prepare_skb_header() local
65 data_offset = (u8 *)udp - skb->data; in prepare_skb_header()
66 if (unlikely(data_offset > U16_MAX || in prepare_skb_header()
67 data_offset + sizeof(struct udphdr) > skb->len)) in prepare_skb_header()
74 data_len > skb->len - data_offset)) in prepare_skb_header()
80 data_offset = (u8 *)udp + sizeof(struct udphdr) - skb->data; in prepare_skb_header()
82 data_offset + sizeof(struct message_header)) || in prepare_skb_header()
83 pskb_trim(skb, data_len + data_offset) < 0)) in prepare_skb_header()
85 skb_pull(skb, data_offset); in prepare_skb_header()
92 __skb_push(skb, data_offset); in prepare_skb_header()
[all …]
/kernel/linux/linux-5.10/drivers/thunderbolt/
Dproperty.c351 unsigned int data_offset, dir_end; in __tb_property_format_dir() local
403 data_offset = start_offset + dir_len; in __tb_property_format_dir()
406 if (data_offset > dir_end) in __tb_property_format_dir()
447 format_dwdata(&block[data_offset], property->value.data, in __tb_property_format_dir()
450 entry->value = data_offset; in __tb_property_format_dir()
451 data_offset += entry->length; in __tb_property_format_dir()
455 format_dwdata(&block[data_offset], property->value.text, in __tb_property_format_dir()
458 entry->value = data_offset; in __tb_property_format_dir()
459 data_offset += entry->length; in __tb_property_format_dir()
/kernel/linux/linux-5.10/fs/cifs/
Dcifssmb.c1491 unsigned int data_offset, data_len; in cifs_readv_receive() local
1556 data_offset = server->ops->read_data_offset(buf) + in cifs_readv_receive()
1558 if (data_offset < server->total_read) { in cifs_readv_receive()
1565 __func__, data_offset); in cifs_readv_receive()
1566 data_offset = server->total_read; in cifs_readv_receive()
1567 } else if (data_offset > MAX_CIFS_SMALL_BUFFER_SIZE) { in cifs_readv_receive()
1570 __func__, data_offset); in cifs_readv_receive()
1576 __func__, server->total_read, data_offset); in cifs_readv_receive()
1578 len = data_offset - server->total_read; in cifs_readv_receive()
1593 if (!use_rdma_mr && (data_offset + data_len > buflen)) { in cifs_readv_receive()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/
Damdgpu_dpm.c261 u16 data_offset; in amdgpu_get_platform_caps() local
265 &frev, &crev, &data_offset)) in amdgpu_get_platform_caps()
267 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in amdgpu_get_platform_caps()
293 u16 data_offset; in amdgpu_parse_extended_power_table() local
298 &frev, &crev, &data_offset)) in amdgpu_parse_extended_power_table()
300 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in amdgpu_parse_extended_power_table()
306 fan_info = (union fan_info *)(mode_info->atom_context->bios + data_offset + in amdgpu_parse_extended_power_table()
337 (mode_info->atom_context->bios + data_offset + in amdgpu_parse_extended_power_table()
348 (mode_info->atom_context->bios + data_offset + in amdgpu_parse_extended_power_table()
359 (mode_info->atom_context->bios + data_offset + in amdgpu_parse_extended_power_table()
[all …]
/kernel/linux/linux-5.10/fs/ecryptfs/
Dread_write.c100 loff_t data_offset = 0; in ecryptfs_write() local
163 (data + data_offset), num_bytes); in ecryptfs_write()
164 data_offset += num_bytes; in ecryptfs_write()
176 data_offset); in ecryptfs_write()
/kernel/linux/linux-5.10/fs/proc/
Dkcore.c92 size_t *data_offset) in get_kcore_size() argument
115 *data_offset = PAGE_ALIGN(sizeof(struct elfhdr) + *phdrs_len + in get_kcore_size()
117 return *data_offset + size; in get_kcore_size()
263 size_t phdrs_len, notes_len, data_offset; in kcore_update_ram() local
286 &data_offset); in kcore_update_ram()
317 size_t phdrs_offset, notes_offset, data_offset; in read_kcore() local
328 get_kcore_size(&nphdr, &phdrs_len, &notes_len, &data_offset); in read_kcore()
384 phdr->p_offset = kc_vaddr_to_offset(m->addr) + data_offset; in read_kcore()
467 start = kc_offset_to_vaddr(*fpos - data_offset); in read_kcore()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/hdcp/
Dhdcp_ddc.c157 uint32_t data_offset = 0; in read() local
163 hdcp_dpcd_addrs[msg_id] + data_offset, in read()
164 buf + data_offset, in read()
171 data_offset += cur_size; in read()
193 uint32_t data_offset = 0; in read_repeatedly() local
197 status = read(hdcp, msg_id, buf + data_offset, cur_size); in read_repeatedly()
203 data_offset += cur_size; in read_repeatedly()
216 uint32_t data_offset = 0; in write() local
223 hdcp_dpcd_addrs[msg_id] + data_offset, in write()
224 buf + data_offset, in write()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/sti/delta/
Ddelta-mjpeg-hdr.c86 unsigned int *data_offset) in delta_mjpeg_read_header() argument
104 *data_offset = offset; in delta_mjpeg_read_header()
137 *data_offset, in delta_mjpeg_read_header()
Ddelta-mjpeg-dec.c378 unsigned int data_offset = 0; in delta_mjpeg_decode() local
383 header, &data_offset); in delta_mjpeg_decode()
409 ctx->header, &data_offset); in delta_mjpeg_decode()
415 au.paddr += data_offset; in delta_mjpeg_decode()
416 au.vaddr += data_offset; in delta_mjpeg_decode()
/kernel/linux/linux-5.10/drivers/scsi/
Dlibiscsi_tcp.c512 tcp_task->data_offset = be32_to_cpu(rhdr->offset); in iscsi_tcp_data_in()
513 if (tcp_task->data_offset + tcp_conn->in.datalen > total_in_length) { in iscsi_tcp_data_in()
515 "total_length_in(%d)\n", tcp_task->data_offset, in iscsi_tcp_data_in()
538 u32 data_offset; in iscsi_tcp_r2t_rsp() local
607 data_offset = be32_to_cpu(rhdr->data_offset); in iscsi_tcp_r2t_rsp()
608 if (data_offset + data_length > task->sc->sdb.length) { in iscsi_tcp_r2t_rsp()
612 data_offset, task->sc->sdb.length); in iscsi_tcp_r2t_rsp()
630 r2t->data_offset = data_offset; in iscsi_tcp_r2t_rsp()
746 tcp_task->data_offset, in iscsi_tcp_hdr_dissect()
752 tcp_task->data_offset, in iscsi_tcp_hdr_dissect()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Dpapr_scm.c360 unsigned long offset, data_offset; in papr_scm_meta_get() local
369 data_offset = hdr->in_length - len; in papr_scm_meta_get()
370 offset = hdr->in_offset + data_offset; in papr_scm_meta_get()
391 *(uint64_t *)(hdr->out_buf + data_offset) = be64_to_cpu(data[0]); in papr_scm_meta_get()
394 *(uint32_t *)(hdr->out_buf + data_offset) = be32_to_cpu(data[0] & 0xffffffff); in papr_scm_meta_get()
398 *(uint16_t *)(hdr->out_buf + data_offset) = be16_to_cpu(data[0] & 0xffff); in papr_scm_meta_get()
402 *(uint8_t *)(hdr->out_buf + data_offset) = (data[0] & 0xff); in papr_scm_meta_get()
412 unsigned long offset, data_offset; in papr_scm_meta_set() local
423 data_offset = hdr->in_length - len; in papr_scm_meta_set()
424 offset = hdr->in_offset + data_offset; in papr_scm_meta_set()
[all …]
/kernel/linux/linux-5.10/drivers/md/
Dmd-linear.c95 rdev->data_offset << 9); in linear_conf()
221 sector_t start_sector, end_sector, data_offset; in linear_make_request() local
231 data_offset = tmp_dev->rdev->data_offset; in linear_make_request()
253 start_sector + data_offset; in linear_make_request()
Ddm-raid.c239 int data_offset; member
843 rs->dev[i].rdev.data_offset = 0; in parse_dev_params()
1382 rs->data_offset = value; in parse_raid_params()
1983 __le64 data_offset; member
2146 sb->data_offset = cpu_to_le64(rdev->data_offset); in super_sync()
2492 rdev->data_offset = le64_to_cpu(sb->data_offset); in super_validate()
2599 sector_t data_offset = 0, new_data_offset = 0; in rs_adjust_data_offsets() local
2622 data_offset = 0; in rs_adjust_data_offsets()
2623 new_data_offset = rs->data_offset; in rs_adjust_data_offsets()
2634 data_offset = rs->data_offset; in rs_adjust_data_offsets()
[all …]
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ingenic/
Dingenic_nand_drv.c31 unsigned long data_offset; member
275 ioread8_rep(cs->base + nfc->soc_info->data_offset, in ingenic_nand_exec_instr()
279 ioread16_rep(cs->base + nfc->soc_info->data_offset, in ingenic_nand_exec_instr()
286 iowrite8_rep(cs->base + nfc->soc_info->data_offset, in ingenic_nand_exec_instr()
290 iowrite16_rep(cs->base + nfc->soc_info->data_offset, in ingenic_nand_exec_instr()
534 .data_offset = 0x00000000,
540 .data_offset = 0x00000000,
547 .data_offset = 0x00000000,
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/i2c/
Datomisp-libmsrlisthelper.c44 u16 data_offset; member
106 if ((uint8_t *)header + header->data_offset + in parse_and_apply()
121 buffer + header->data_offset, in parse_and_apply()
/kernel/linux/linux-5.10/drivers/nvdimm/
Dpmem.c79 sector = (offset - pmem->data_offset) / 512; in pmem_clear_poison()
145 phys_addr_t pmem_off = sector * 512 + pmem->data_offset; in pmem_do_read()
162 phys_addr_t pmem_off = sector * 512 + pmem->data_offset; in pmem_do_write()
260 resource_size_t offset = PFN_PHYS(pgoff) + pmem->data_offset; in __pmem_direct_access()
435 pmem->data_offset = le64_to_cpu(pfn_sb->dataoff); in pmem_attach_disk()
440 bb_range.start += pmem->data_offset; in pmem_attach_disk()
482 set_capacity(disk, (pmem->size - pmem->pfn_pad - pmem->data_offset) in pmem_attach_disk()
624 offset = pmem->data_offset + in nd_pmem_notify()
/kernel/linux/linux-5.10/fs/ntfs/
Dindex.c186 le16_to_cpu(ie->data.vi.data_offset) || in ntfs_index_lookup()
187 (u32)le16_to_cpu(ie->data.vi.data_offset) + in ntfs_index_lookup()
204 le16_to_cpu(ie->data.vi.data_offset); in ntfs_index_lookup()
353 le16_to_cpu(ie->data.vi.data_offset) || in ntfs_index_lookup()
354 (u32)le16_to_cpu(ie->data.vi.data_offset) + in ntfs_index_lookup()
/kernel/linux/linux-5.10/drivers/net/usb/
Drndis_host.c496 u32 msg_type, msg_len, data_offset, data_len; in rndis_rx_fixup() local
500 data_offset = le32_to_cpu(hdr->data_offset); in rndis_rx_fixup()
505 || (data_offset + data_len + 8) > msg_len)) { in rndis_rx_fixup()
509 msg_len, data_offset, data_len, skb->len); in rndis_rx_fixup()
512 skb_pull(skb, 8 + data_offset); in rndis_rx_fixup()
573 hdr->data_offset = cpu_to_le32(sizeof(*hdr) - 8); in rndis_tx_fixup()
/kernel/linux/linux-5.10/drivers/media/pci/netup_unidvb/
Dnetup_unidvb_core.c238 dma->data_offset = (u32)(dma->addr_last - dma->addr_phys); in netup_dma_interrupt()
551 if (dma->data_offset + dma->data_size > dma->ring_buffer_size) { in netup_unidvb_ring_copy()
552 ring_bytes = dma->ring_buffer_size - dma->data_offset; in netup_unidvb_ring_copy()
555 memcpy_fromio(p, (u8 __iomem *)(dma->addr_virt + dma->data_offset), copy_bytes); in netup_unidvb_ring_copy()
560 dma->data_offset += copy_bytes; in netup_unidvb_ring_copy()
561 if (dma->data_offset == dma->ring_buffer_size) in netup_unidvb_ring_copy()
562 dma->data_offset = 0; in netup_unidvb_ring_copy()
568 memcpy_fromio(p, (u8 __iomem *)(dma->addr_virt + dma->data_offset), copy_bytes); in netup_unidvb_ring_copy()
571 dma->data_offset += copy_bytes; in netup_unidvb_ring_copy()
572 if (dma->data_offset == dma->ring_buffer_size) in netup_unidvb_ring_copy()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dmsgbuf.c173 __le16 data_offset; member
279 u16 data_offset; member
320 struct sk_buff *skb, u16 data_offset, in brcmf_msgbuf_alloc_pktid() argument
328 *physaddr = dma_map_single(dev, skb->data + data_offset, in brcmf_msgbuf_alloc_pktid()
329 skb->len - data_offset, pktids->direction); in brcmf_msgbuf_alloc_pktid()
352 array[*idx].data_offset = data_offset; in brcmf_msgbuf_alloc_pktid()
377 pktid->skb->len - pktid->data_offset, in brcmf_msgbuf_get_pktid()
404 pktid->skb->len - pktid->data_offset, in brcmf_msgbuf_release_array()
1145 u16 data_offset; in brcmf_msgbuf_process_rx_complete() local
1154 data_offset = le16_to_cpu(rx_complete->data_offset); in brcmf_msgbuf_process_rx_complete()
[all …]

12345678910