/drivers/media/platform/qcom/venus/ |
D | hfi_msgs.c | 36 u8 *data_ptr; in event_seq_changed() local 58 data_ptr = (u8 *)&pkt->ext_event_data[0]; in event_seq_changed() 60 ptype = *((u32 *)data_ptr); in event_seq_changed() 63 data_ptr += sizeof(u32); in event_seq_changed() 64 frame_sz = (struct hfi_framesize *)data_ptr; in event_seq_changed() 67 data_ptr += sizeof(*frame_sz); in event_seq_changed() 70 data_ptr += sizeof(u32); in event_seq_changed() 71 profile_level = (struct hfi_profile_level *)data_ptr; in event_seq_changed() 74 data_ptr += sizeof(*profile_level); in event_seq_changed() 77 data_ptr += sizeof(u32); in event_seq_changed() [all …]
|
/drivers/scsi/ |
D | nsp32_io.h | 179 volatile unsigned short *index_ptr, *data_ptr; in nsp32_mmio_index_read1() local 182 data_ptr = (unsigned short *)(base + NSP32_MMIO_OFFSET + DATA_REG_LOW); in nsp32_mmio_index_read1() 185 return readb(data_ptr); in nsp32_mmio_index_read1() 192 volatile unsigned short *index_ptr, *data_ptr; in nsp32_mmio_index_write1() local 195 data_ptr = (unsigned short *)(base + NSP32_MMIO_OFFSET + DATA_REG_LOW); in nsp32_mmio_index_write1() 198 writeb(val, data_ptr ); in nsp32_mmio_index_write1() 204 volatile unsigned short *index_ptr, *data_ptr; in nsp32_mmio_index_read2() local 207 data_ptr = (unsigned short *)(base + NSP32_MMIO_OFFSET + DATA_REG_LOW); in nsp32_mmio_index_read2() 210 return le16_to_cpu(readw(data_ptr)); in nsp32_mmio_index_read2() 217 volatile unsigned short *index_ptr, *data_ptr; in nsp32_mmio_index_write2() local [all …]
|
D | mesh.c | 157 int data_ptr; member 323 ms->phase, ms->msgphase, ms->conn_tgt, ms->data_ptr); in mesh_dump_regs() 421 ms->data_ptr = 0; in mesh_start_cmd() 597 cmd->result, ms->data_ptr, scsi_bufflen(cmd)); in mesh_done() 608 mcmd->this_residual -= ms->data_ptr; in mesh_done() 789 ms->data_ptr += nb; in start_phase() 957 ms->data_ptr = tp->saved_ptr; in reselected() 966 ms->data_ptr = 0; in reselected() 1183 ms->data_ptr += (ms->msgin[3] << 24) + ms->msgin[6] in handle_msgin() 1207 tp->saved_ptr = ms->data_ptr; in handle_msgin() [all …]
|
/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/ |
D | ia_css_sdis.host.c | 254 hmm_load(isp_stats->data_ptr, map->data_ptr, isp_stats->size); in ia_css_get_dvs_statistics() 334 me->data_ptr = hmm_alloc(me->size); in ia_css_isp_dvs_statistics_allocate() 335 if (me->data_ptr == mmgr_NULL) in ia_css_isp_dvs_statistics_allocate() 338 me->hor_proj = me->data_ptr; in ia_css_isp_dvs_statistics_allocate() 340 me->ver_proj = me->data_ptr + hor_size; in ia_css_isp_dvs_statistics_allocate() 356 void *data_ptr) in ia_css_isp_dvs_statistics_map_allocate() argument 369 me->data_ptr = data_ptr; in ia_css_isp_dvs_statistics_map_allocate() 370 me->data_allocated = !data_ptr; in ia_css_isp_dvs_statistics_map_allocate() 372 if (!me->data_ptr) { in ia_css_isp_dvs_statistics_map_allocate() 373 me->data_ptr = kvmalloc(isp_stats->size, GFP_KERNEL); in ia_css_isp_dvs_statistics_map_allocate() [all …]
|
/drivers/net/wwan/iosm/ |
D | iosm_ipc_coredump.c | 23 u8 *data_ptr; in ipc_coredump_collect() local 25 data_ptr = vmalloc(region_size); in ipc_coredump_collect() 26 if (!data_ptr) in ipc_coredump_collect() 38 ret = ipc_imem_sys_devlink_read(devlink, data_ptr + i, in ipc_coredump_collect() 48 *data = data_ptr; in ipc_coredump_collect() 53 vfree(data_ptr); in ipc_coredump_collect()
|
/drivers/scsi/qla4xxx/ |
D | ql4_nx.c | 1836 uint32_t *data_ptr) in ql4_84xx_ipmdio_rd_reg() argument 1854 *data_ptr = data; in ql4_84xx_ipmdio_rd_reg() 1913 uint32_t *data_ptr = *d_ptr; in qla4_8xxx_minidump_process_rdcrb() local 1923 *data_ptr++ = cpu_to_le32(r_addr); in qla4_8xxx_minidump_process_rdcrb() 1924 *data_ptr++ = cpu_to_le32(r_value); in qla4_8xxx_minidump_process_rdcrb() 1927 *d_ptr = data_ptr; in qla4_8xxx_minidump_process_rdcrb() 2022 uint8_t *data_ptr = (uint8_t *)*d_ptr; in qla4_8xxx_minidump_pex_dma_read() local 2115 memcpy(data_ptr, rdmem_buffer, size); in qla4_8xxx_minidump_pex_dma_read() 2116 data_ptr += size; in qla4_8xxx_minidump_pex_dma_read() 2122 *d_ptr = (uint32_t *)data_ptr; in qla4_8xxx_minidump_pex_dma_read() [all …]
|
/drivers/scsi/qla2xxx/ |
D | qla_nx2.c | 2321 uint32_t *data_ptr = *d_ptr; in qla8044_minidump_process_rdcrb() local 2331 *data_ptr++ = r_addr; in qla8044_minidump_process_rdcrb() 2332 *data_ptr++ = r_value; in qla8044_minidump_process_rdcrb() 2335 *d_ptr = data_ptr; in qla8044_minidump_process_rdcrb() 2346 uint32_t *data_ptr = *d_ptr; in qla8044_minidump_process_rdmem() local 2401 *data_ptr++ = r_data; in qla8044_minidump_process_rdmem() 2412 *d_ptr = data_ptr; in qla8044_minidump_process_rdmem() 2423 uint32_t *data_ptr = *d_ptr; in qla8044_minidump_process_rdrom() local 2433 (u8 *)(data_ptr), u32_count); in qla8044_minidump_process_rdrom() 2440 data_ptr += u32_count; in qla8044_minidump_process_rdrom() [all …]
|
D | qla_nx.c | 3795 __le32 *data_ptr = *d_ptr; in qla82xx_minidump_process_rdocm() local 3804 *data_ptr++ = cpu_to_le32(r_value); in qla82xx_minidump_process_rdocm() 3807 *d_ptr = data_ptr; in qla82xx_minidump_process_rdocm() 3817 __le32 *data_ptr = *d_ptr; in qla82xx_minidump_process_rdmux() local 3829 *data_ptr++ = cpu_to_le32(s_value); in qla82xx_minidump_process_rdmux() 3830 *data_ptr++ = cpu_to_le32(r_value); in qla82xx_minidump_process_rdmux() 3833 *d_ptr = data_ptr; in qla82xx_minidump_process_rdmux() 3843 __le32 *data_ptr = *d_ptr; in qla82xx_minidump_process_rdcrb() local 3852 *data_ptr++ = cpu_to_le32(r_addr); in qla82xx_minidump_process_rdcrb() 3853 *data_ptr++ = cpu_to_le32(r_value); in qla82xx_minidump_process_rdcrb() [all …]
|
/drivers/gpu/drm/i915/ |
D | i915_query.c | 25 if (copy_from_user(query_hdr, u64_to_user_ptr(query_item->data_ptr), in copy_query_item() 68 if (copy_to_user(u64_to_user_ptr(query_item->data_ptr), in fill_topology_info() 72 if (copy_to_user(u64_to_user_ptr(query_item->data_ptr + sizeof(topo)), in fill_topology_info() 76 if (intel_sseu_copy_ssmask_to_user(u64_to_user_ptr(query_item->data_ptr + in fill_topology_info() 81 if (intel_sseu_copy_eumask_to_user(u64_to_user_ptr(query_item->data_ptr + in fill_topology_info() 132 u64_to_user_ptr(query_item->data_ptr); in query_engine_info() 230 u64_to_user_ptr(query_item->data_ptr); in query_perf_config_data() 232 u64_to_user_ptr(query_item->data_ptr + in query_perf_config_data() 375 u64_to_user_ptr(query_item->data_ptr); in query_perf_config_list() 462 u64_to_user_ptr(query_item->data_ptr); in query_memregion_info() [all …]
|
D | i915_gem.c | 253 user_data = u64_to_user_ptr(args->data_ptr); in i915_gem_shmem_pread() 401 user_data = u64_to_user_ptr(args->data_ptr); in i915_gem_gtt_pread() 467 if (!access_ok(u64_to_user_ptr(args->data_ptr), in i915_gem_pread_ioctl() 574 user_data = u64_to_user_ptr(args->data_ptr); in i915_gem_gtt_pwrite_fast() 685 user_data = u64_to_user_ptr(args->data_ptr); in i915_gem_shmem_pwrite() 741 if (!access_ok(u64_to_user_ptr(args->data_ptr), args->size)) in i915_gem_pwrite_ioctl()
|
/drivers/base/test/ |
D | property-entry-test.c | 354 const u8 *data_ptr; in pe_test_move_inline_u8() local 360 data_ptr = (u8 *)©[0].value; in pe_test_move_inline_u8() 361 KUNIT_EXPECT_EQ(test, data_ptr[0], 1); in pe_test_move_inline_u8() 362 KUNIT_EXPECT_EQ(test, data_ptr[1], 2); in pe_test_move_inline_u8() 365 data_ptr = copy[1].pointer; in pe_test_move_inline_u8() 366 KUNIT_EXPECT_EQ(test, data_ptr[0], 5); in pe_test_move_inline_u8() 367 KUNIT_EXPECT_EQ(test, data_ptr[1], 6); in pe_test_move_inline_u8() 386 const char * const *data_ptr; in pe_test_move_inline_str() local 395 data_ptr = copy[1].pointer; in pe_test_move_inline_str() 396 KUNIT_EXPECT_STREQ(test, data_ptr[0], "b"); in pe_test_move_inline_str() [all …]
|
/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/ |
D | ia_css_sdis2.host.c | 191 hmm_load(isp_stats->data_ptr, map->data_ptr, isp_stats->size); in ia_css_get_dvs2_statistics() 297 me->data_ptr = hmm_alloc(me->size); in ia_css_isp_dvs2_statistics_allocate() 298 if (me->data_ptr == mmgr_NULL) in ia_css_isp_dvs2_statistics_allocate() 300 me->hor_proj = me->data_ptr; in ia_css_isp_dvs2_statistics_allocate() 302 me->ver_proj = me->data_ptr + size; in ia_css_isp_dvs2_statistics_allocate() 318 hmm_free(me->data_ptr); in ia_css_isp_dvs2_statistics_free()
|
/drivers/staging/media/atomisp/pci/ |
D | ia_css_3a.h | 55 ia_css_ptr data_ptr; /** pointer to base of all data */ member 90 void *data_ptr; /** Pointer to start of memory */ member 177 void *data_ptr);
|
D | ia_css_dvs.h | 44 ia_css_ptr data_ptr; /* base pointer containing all memory */ member 66 void *data_ptr; member 280 void *data_ptr);
|
D | sh_css_params.c | 771 short *data_ptr; in convert_allocate_fpntbl() local 778 data_ptr = params->fpn_config.data; in convert_allocate_fpntbl() 792 j += 4, data_ptr += 4, isp_format_data_ptr++) { in convert_allocate_fpntbl() 793 int data = data_ptr[0] << 0 | in convert_allocate_fpntbl() 794 data_ptr[1] << 7 | in convert_allocate_fpntbl() 795 data_ptr[2] << 16 | in convert_allocate_fpntbl() 796 data_ptr[3] << 23; in convert_allocate_fpntbl() 1501 kvfree(me->data_ptr); in ia_css_isp_3a_statistics_map_free() 1502 me->data_ptr = NULL; in ia_css_isp_3a_statistics_map_free() 1512 void *data_ptr) in ia_css_isp_3a_statistics_map_allocate() argument [all …]
|
/drivers/scsi/pcmcia/ |
D | nsp_io.h | 201 unsigned char *data_ptr = (unsigned char *)(base + NSP_MMIO_OFFSET + DATAREG); in nsp_mmio_index_read() local 204 return readb(data_ptr); in nsp_mmio_index_read() 212 unsigned char *data_ptr = (unsigned char *)(base + NSP_MMIO_OFFSET + DATAREG); in nsp_mmio_index_write() local 215 writeb(val, data_ptr); in nsp_mmio_index_write()
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_xdp.h | 21 struct xdp_buff xdp, struct page *page, u8 **data_ptr, 30 u16 cons, u8 *data_ptr, unsigned int len,
|
D | bnxt_xdp.c | 180 u16 cons, u8 *data_ptr, unsigned int len, in bnxt_xdp_buff_init() argument 197 xdp_prepare_buff(xdp, data_ptr - offset, offset, len, false); in bnxt_xdp_buff_init() 222 struct xdp_buff xdp, struct page *page, u8 **data_ptr, in bnxt_rx_xdp() argument 258 *data_ptr = xdp.data_hard_start + offset; in bnxt_rx_xdp()
|
/drivers/firmware/google/ |
D | gsmi.c | 108 u32 data_ptr; member 118 u32 data_ptr; member 317 .data_ptr = gsmi_dev.data_buf->address, in gsmi_get_variable() 440 .data_ptr = gsmi_dev.data_buf->address, in gsmi_set_variable() 495 .data_ptr = gsmi_dev.data_buf->address, in eventlog_write() 642 param.data_ptr = gsmi_dev.data_buf->address; in gsmi_shutdown_reason()
|
/drivers/ata/ |
D | pata_samsung_cf.c | 271 u16 *data_ptr = (u16 *)buf; in pata_s3c_data_xfer() local 275 for (i = 0; i < words; i++, data_ptr++) { in pata_s3c_data_xfer() 279 *data_ptr = readw(info->ide_addr in pata_s3c_data_xfer() 283 for (i = 0; i < words; i++, data_ptr++) { in pata_s3c_data_xfer() 285 writew(*data_ptr, data_addr); in pata_s3c_data_xfer()
|
/drivers/media/dvb-frontends/ |
D | mxl5xx_defs.h | 187 #define BUILD_HYDRA_CMD(cmd_id, req_type, size, data_ptr, cmd_buff) \ argument 195 convert_endian(MXL_ENABLE_BIG_ENDIAN, size, (u8 *)data_ptr); \ 196 memcpy((void *)&cmd_buff[6], data_ptr, size); \
|
/drivers/gpu/drm/i915/gem/ |
D | i915_gem_phys.c | 144 char __user *user_data = u64_to_user_ptr(args->data_ptr); in i915_gem_object_pwrite_phys() 175 char __user *user_data = u64_to_user_ptr(args->data_ptr); in i915_gem_object_pread_phys()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_spq.c | 185 p_ent->elem.data_ptr.hi, p_ent->elem.data_ptr.lo, in qed_spq_fill_entry() 505 DMA_REGPAIR_LE(p_virt->elem.data_ptr, p_phys); in qed_spq_setup() 709 p_ent->elem.data_ptr = p_en2->elem.data_ptr; in qed_spq_add_entry()
|
/drivers/i3c/master/mipi-i3c-hci/ |
D | pio.c | 119 void *data_ptr; member 763 p = ibi->data_ptr; in hci_pio_get_ibi_segment() 856 ibi->data_ptr = ibi->slot->data; in hci_pio_prep_new_ibi() 889 ibi->data_ptr += ibi->seg_len; in hci_pio_process_ibi()
|
/drivers/net/fddi/ |
D | defza.c | 439 struct fza_buffer_tx *data_ptr; member 479 fza_writes(ub.data_ptr, rmc_tx_ptr, frag_len); in fza_do_xmit() 487 ub.data_ptr++; in fza_do_xmit() 511 static int fza_do_recv_smt(struct fza_buffer_tx *data_ptr, int len, in fza_do_recv_smt() argument 527 fza_writes(data_ptr, smt_rx_ptr, (len + 3) & ~3); in fza_do_recv_smt() 1128 { .data_ptr = (struct fza_buffer_tx *)skb->data }, in fza_start_xmit()
|