/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A D | vdec_av1_req_lat_if.c | 89 * struct vdec_av1_slice_init_vsi - VSI used to initialize instance 605 * struct vdec_av1_slice_slot - slot info that needs to be saved in the global instance 684 * struct vdec_av1_slice_instance - represent one av1 instance 686 * @vpu: VPU instance 702 * @init_vsi: vsi used for initialized AV1 instance 768 static int vdec_av1_slice_init_cdf_table(struct vdec_av1_slice_instance *instance) in vdec_av1_slice_init_cdf_table() argument 775 ctx = instance->ctx; in vdec_av1_slice_init_cdf_table() 776 vsi = instance->vpu.vsi; in vdec_av1_slice_init_cdf_table() 786 if (instance->cdf_table.va) in vdec_av1_slice_init_cdf_table() 787 mtk_vcodec_mem_free(ctx, &instance in vdec_av1_slice_init_cdf_table() 799 vdec_av1_slice_init_iq_table(struct vdec_av1_slice_instance *instance) vdec_av1_slice_init_iq_table() argument 899 vdec_av1_slice_setup_slot(struct vdec_av1_slice_instance *instance, struct vdec_av1_slice_vsi *vsi, struct v4l2_ctrl_av1_frame *ctrl_fh) vdec_av1_slice_setup_slot() argument 936 vdec_av1_slice_alloc_working_buffer(struct vdec_av1_slice_instance *instance, struct vdec_av1_slice_vsi *vsi) vdec_av1_slice_alloc_working_buffer() argument 1020 vdec_av1_slice_free_working_buffer(struct vdec_av1_slice_instance *instance) vdec_av1_slice_free_working_buffer() argument 1055 vdec_av1_slice_setup_lat_from_src_buf(struct vdec_av1_slice_instance *instance, struct vdec_av1_slice_vsi *vsi, struct vdec_lat_buf *lat_buf) vdec_av1_slice_setup_lat_from_src_buf() argument 1303 vdec_av1_slice_setup_uh(struct vdec_av1_slice_instance *instance, struct vdec_av1_slice_frame *frame, struct v4l2_ctrl_av1_frame *ctrl_fh) vdec_av1_slice_setup_uh() argument 1379 vdec_av1_slice_setup_tile_group(struct vdec_av1_slice_instance *instance, struct vdec_av1_slice_vsi *vsi) vdec_av1_slice_setup_tile_group() argument 1541 vdec_av1_slice_setup_operating_mode(struct vdec_av1_slice_instance *instance, struct vdec_av1_slice_frame *frame) vdec_av1_slice_setup_operating_mode() argument 1547 vdec_av1_slice_setup_pfc(struct vdec_av1_slice_instance *instance, struct vdec_av1_slice_pfc *pfc) vdec_av1_slice_setup_pfc() argument 1584 vdec_av1_slice_setup_lat_buffer(struct vdec_av1_slice_instance *instance, struct vdec_av1_slice_vsi *vsi, struct mtk_vcodec_mem *bs, struct vdec_lat_buf *lat_buf) vdec_av1_slice_setup_lat_buffer() argument 1632 vdec_av1_slice_setup_seg_buffer(struct vdec_av1_slice_instance *instance, struct vdec_av1_slice_vsi *vsi) vdec_av1_slice_setup_seg_buffer() argument 1648 vdec_av1_slice_setup_tile_buffer(struct vdec_av1_slice_instance *instance, struct vdec_av1_slice_vsi *vsi, struct mtk_vcodec_mem *bs) vdec_av1_slice_setup_tile_buffer() argument 1710 vdec_av1_slice_setup_lat(struct vdec_av1_slice_instance *instance, struct mtk_vcodec_mem *bs, struct vdec_lat_buf *lat_buf, struct vdec_av1_slice_pfc *pfc) vdec_av1_slice_setup_lat() argument 1741 vdec_av1_slice_update_lat(struct vdec_av1_slice_instance *instance, struct vdec_lat_buf *lat_buf, struct vdec_av1_slice_pfc *pfc) vdec_av1_slice_update_lat() argument 1766 vdec_av1_slice_setup_core_to_dst_buf(struct vdec_av1_slice_instance *instance, struct vdec_lat_buf *lat_buf) vdec_av1_slice_setup_core_to_dst_buf() argument 1780 vdec_av1_slice_setup_core_buffer(struct vdec_av1_slice_instance *instance, struct vdec_av1_slice_pfc *pfc, struct vdec_av1_slice_vsi *vsi, struct vdec_fb *fb, struct vdec_lat_buf *lat_buf) vdec_av1_slice_setup_core_buffer() argument 1835 vdec_av1_slice_setup_core(struct vdec_av1_slice_instance *instance, struct vdec_fb *fb, struct vdec_lat_buf *lat_buf, struct vdec_av1_slice_pfc *pfc) vdec_av1_slice_setup_core() argument 1854 vdec_av1_slice_update_core(struct vdec_av1_slice_instance *instance, struct vdec_lat_buf *lat_buf, struct vdec_av1_slice_pfc *pfc) vdec_av1_slice_update_core() argument 1872 struct vdec_av1_slice_instance *instance; vdec_av1_slice_init() local 1939 struct vdec_av1_slice_instance *instance = h_vdec; vdec_av1_slice_deinit() local 1953 struct vdec_av1_slice_instance *instance = h_vdec; vdec_av1_slice_flush() local 1966 vdec_av1_slice_get_pic_info(struct vdec_av1_slice_instance *instance) vdec_av1_slice_get_pic_info() argument 1984 vdec_av1_slice_get_dpb_size(struct vdec_av1_slice_instance *instance, u32 *dpb_sz) vdec_av1_slice_get_dpb_size() argument 1991 vdec_av1_slice_get_crop_info(struct vdec_av1_slice_instance *instance, struct v4l2_rect *cr) vdec_av1_slice_get_crop_info() argument 2007 struct vdec_av1_slice_instance *instance = h_vdec; vdec_av1_slice_get_param() local 2030 struct vdec_av1_slice_instance *instance = h_vdec; vdec_av1_slice_lat_decode() local 2132 struct vdec_av1_slice_instance *instance; vdec_av1_slice_core_decode() local [all...] |
H A D | vdec_vp9_req_lat_if.c | 281 * struct vdec_vp9_slice_init_vsi - VSI used to initialize instance 418 * struct vdec_vp9_slice_instance - represent one vp9 instance 421 * @vpu: VPU instance 438 * @init_vsi: vsi used for initialized VP9 instance 504 static int vdec_vp9_slice_init_default_frame_ctx(struct vdec_vp9_slice_instance *instance) in vdec_vp9_slice_init_default_frame_ctx() argument 512 ctx = instance->ctx; in vdec_vp9_slice_init_default_frame_ctx() 513 vsi = instance->vpu.vsi; in vdec_vp9_slice_init_default_frame_ctx() 542 static int vdec_vp9_slice_alloc_working_buffer(struct vdec_vp9_slice_instance *instance, in vdec_vp9_slice_alloc_working_buffer() argument 545 struct mtk_vcodec_dec_ctx *ctx = instance->ctx; in vdec_vp9_slice_alloc_working_buffer() 576 if (level == instance in vdec_vp9_slice_alloc_working_buffer() 635 vdec_vp9_slice_free_working_buffer(struct vdec_vp9_slice_instance *instance) vdec_vp9_slice_free_working_buffer() argument 697 vdec_vp9_slice_setup_single_from_src_to_dst(struct vdec_vp9_slice_instance *instance) vdec_vp9_slice_setup_single_from_src_to_dst() argument 715 vdec_vp9_slice_setup_lat_from_src_buf(struct vdec_vp9_slice_instance *instance, struct vdec_lat_buf *lat_buf) vdec_vp9_slice_setup_lat_from_src_buf() argument 732 vdec_vp9_slice_setup_hdr(struct vdec_vp9_slice_instance *instance, struct vdec_vp9_slice_uncompressed_header *uh, struct v4l2_ctrl_vp9_frame *hdr) vdec_vp9_slice_setup_hdr() argument 793 vdec_vp9_slice_setup_frame_ctx(struct vdec_vp9_slice_instance *instance, struct vdec_vp9_slice_uncompressed_header *uh, struct v4l2_ctrl_vp9_frame *hdr) vdec_vp9_slice_setup_frame_ctx() argument 940 vdec_vp9_slice_setup_pfc(struct vdec_vp9_slice_instance *instance, struct vdec_vp9_slice_pfc *pfc) vdec_vp9_slice_setup_pfc() argument 978 vdec_vp9_slice_setup_lat_buffer(struct vdec_vp9_slice_instance *instance, struct vdec_vp9_slice_vsi *vsi, struct mtk_vcodec_mem *bs, struct vdec_lat_buf *lat_buf) vdec_vp9_slice_setup_lat_buffer() argument 1019 vdec_vp9_slice_setup_prob_buffer(struct vdec_vp9_slice_instance *instance, struct vdec_vp9_slice_vsi *vsi) vdec_vp9_slice_setup_prob_buffer() argument 1040 vdec_vp9_slice_setup_seg_buffer(struct vdec_vp9_slice_instance *instance, struct vdec_vp9_slice_vsi *vsi, struct mtk_vcodec_mem *buf) vdec_vp9_slice_setup_seg_buffer() argument 1066 vdec_vp9_slice_setup_tile_buffer(struct vdec_vp9_slice_instance *instance, struct vdec_vp9_slice_vsi *vsi, struct mtk_vcodec_mem *bs) vdec_vp9_slice_setup_tile_buffer() argument 1150 vdec_vp9_slice_setup_lat(struct vdec_vp9_slice_instance *instance, struct mtk_vcodec_mem *bs, struct vdec_lat_buf *lat_buf, struct vdec_vp9_slice_pfc *pfc) vdec_vp9_slice_setup_lat() argument 1527 vdec_vp9_slice_update_prob(struct vdec_vp9_slice_instance *instance, struct vdec_vp9_slice_vsi *vsi) vdec_vp9_slice_update_prob() argument 1588 vdec_vp9_slice_update_single(struct vdec_vp9_slice_instance *instance, struct vdec_vp9_slice_pfc *pfc) vdec_vp9_slice_update_single() argument 1613 vdec_vp9_slice_update_lat(struct vdec_vp9_slice_instance *instance, struct vdec_lat_buf *lat_buf, struct vdec_vp9_slice_pfc *pfc) vdec_vp9_slice_update_lat() argument 1646 vdec_vp9_slice_setup_core_to_dst_buf(struct vdec_vp9_slice_instance *instance, struct vdec_lat_buf *lat_buf) vdec_vp9_slice_setup_core_to_dst_buf() argument 1659 vdec_vp9_slice_setup_core_buffer(struct vdec_vp9_slice_instance *instance, struct vdec_vp9_slice_pfc *pfc, struct vdec_vp9_slice_vsi *vsi, struct vdec_fb *fb, struct vdec_lat_buf *lat_buf) vdec_vp9_slice_setup_core_buffer() argument 1736 vdec_vp9_slice_setup_single_buffer(struct vdec_vp9_slice_instance *instance, struct vdec_vp9_slice_pfc *pfc, struct vdec_vp9_slice_vsi *vsi, struct mtk_vcodec_mem *bs, struct vdec_fb *fb) vdec_vp9_slice_setup_single_buffer() argument 1770 vdec_vp9_slice_setup_core(struct vdec_vp9_slice_instance *instance, struct vdec_fb *fb, struct vdec_lat_buf *lat_buf, struct vdec_vp9_slice_pfc *pfc) vdec_vp9_slice_setup_core() argument 1796 vdec_vp9_slice_setup_single(struct vdec_vp9_slice_instance *instance, struct mtk_vcodec_mem *bs, struct vdec_fb *fb, struct vdec_vp9_slice_pfc *pfc) vdec_vp9_slice_setup_single() argument 1833 vdec_vp9_slice_update_core(struct vdec_vp9_slice_instance *instance, struct vdec_lat_buf *lat_buf, struct vdec_vp9_slice_pfc *pfc) vdec_vp9_slice_update_core() argument 1854 struct vdec_vp9_slice_instance *instance; vdec_vp9_slice_init() local 1911 struct vdec_vp9_slice_instance *instance = h_vdec; vdec_vp9_slice_deinit() local 1925 struct vdec_vp9_slice_instance *instance = h_vdec; vdec_vp9_slice_flush() local 1933 vdec_vp9_slice_get_pic_info(struct vdec_vp9_slice_instance *instance) vdec_vp9_slice_get_pic_info() argument 1951 vdec_vp9_slice_get_dpb_size(struct vdec_vp9_slice_instance *instance, unsigned int *dpb_sz) vdec_vp9_slice_get_dpb_size() argument 1960 struct vdec_vp9_slice_instance *instance = h_vdec; vdec_vp9_slice_get_param() local 1983 struct vdec_vp9_slice_instance *instance = h_vdec; vdec_vp9_slice_single_decode() local 2040 struct vdec_vp9_slice_instance *instance = h_vdec; vdec_vp9_slice_lat_decode() local 2124 struct vdec_vp9_slice_instance *instance = h_vdec; vdec_vp9_slice_decode() local 2137 struct vdec_vp9_slice_instance *instance; vdec_vp9_slice_core_decode() local [all...] |
/foundation/arkui/ace_engine/test/unittest/core/base/ |
H A D | view_stack_processor_test_ng.cpp | 175 * @tc.steps: step1. get instance and set different states and show result in HWTEST_F() 178 auto instance = ViewStackProcessor::GetInstance(); in HWTEST_F() local 179 instance->SetVisualState(VisualState::DISABLED); in HWTEST_F() 180 EXPECT_EQ(instance->GetVisualState(), 4); in HWTEST_F() 181 instance->SetVisualState(VisualState::FOCUSED); in HWTEST_F() 182 EXPECT_EQ(instance->GetVisualState(), 2); in HWTEST_F() 183 instance->SetVisualState(VisualState::PRESSED); in HWTEST_F() 184 EXPECT_EQ(instance->GetVisualState(), 1); in HWTEST_F() 185 instance->SetVisualState(VisualState::NORMAL); in HWTEST_F() 186 EXPECT_EQ(instance in HWTEST_F() 209 auto instance = ViewStackProcessor::GetInstance(); HWTEST_F() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | NCR5380.c | 76 * the command structure is placed into the per instance disconnected 116 * The generic driver is initialized by calling NCR5380_init(instance), 292 * @instance: adapter state to dump 297 static void NCR5380_print(struct Scsi_Host *instance) in NCR5380_print() argument 299 struct NCR5380_hostdata *hostdata = shost_priv(instance); in NCR5380_print() 341 * @instance: adapter to dump 346 static void NCR5380_print_phase(struct Scsi_Host *instance) in NCR5380_print_phase() argument 348 struct NCR5380_hostdata *hostdata = shost_priv(instance); in NCR5380_print_phase() 354 shost_printk(KERN_DEBUG, instance, "REQ not asserted, phase unknown.\n"); in NCR5380_print_phase() 359 shost_printk(KERN_DEBUG, instance, "phas in NCR5380_print_phase() 371 NCR5380_info(struct Scsi_Host *instance) NCR5380_info() argument 392 NCR5380_init(struct Scsi_Host *instance, int flags) NCR5380_init() argument 473 NCR5380_maybe_reset_bus(struct Scsi_Host *instance) NCR5380_maybe_reset_bus() argument 518 NCR5380_exit(struct Scsi_Host *instance) NCR5380_exit() argument 532 complete_cmd(struct Scsi_Host *instance, struct scsi_cmnd *cmd) complete_cmd() argument 563 NCR5380_queue_command(struct Scsi_Host *instance, struct scsi_cmnd *cmd) NCR5380_queue_command() argument 610 maybe_release_dma_irq(struct Scsi_Host *instance) maybe_release_dma_irq() argument 635 dequeue_next_cmd(struct Scsi_Host *instance) dequeue_next_cmd() argument 669 requeue_cmd(struct Scsi_Host *instance, struct scsi_cmnd *cmd) requeue_cmd() argument 695 struct Scsi_Host *instance = hostdata->host; NCR5380_main() local 753 NCR5380_dma_complete(struct Scsi_Host *instance) NCR5380_dma_complete() argument 864 struct Scsi_Host *instance = dev_id; NCR5380_intr() local 1140 NCR5380_reselect(instance); global() variable 1188 do_abort(instance); global() variable 1254 NCR5380_transfer_pio(struct Scsi_Host *instance, unsigned char *phase, int *count, unsigned char **data) NCR5380_transfer_pio() argument 1379 do_reset(struct Scsi_Host *instance) do_reset() argument 1402 do_abort(struct Scsi_Host *instance) do_abort() argument 1476 NCR5380_transfer_dma(struct Scsi_Host *instance, unsigned char *phase, int *count, unsigned char **data) NCR5380_transfer_dma() argument 1736 do_abort(instance); global() variable 1781 do_reset(instance); global() variable 1782 bus_reset_cleanup(instance); global() variable 1844 maybe_release_dma_irq(instance); global() variable 1976 maybe_release_dma_irq(instance); global() variable 2019 NCR5380_reselect(struct Scsi_Host *instance) NCR5380_reselect() argument 2240 struct Scsi_Host *instance = cmd->device->host; NCR5380_abort() local 2319 bus_reset_cleanup(struct Scsi_Host *instance) bus_reset_cleanup() argument 2380 struct Scsi_Host *instance = cmd->device->host; NCR5380_host_reset() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/vc04_services/interface/vchiq_arm/ |
H A D | vchiq_arm.c | 41 /* Some per-instance constants */ 57 struct vchiq_instance *instance; member 153 struct vchiq_instance *instance = NULL; in vchiq_initialise() local 179 instance = kzalloc(sizeof(*instance), GFP_KERNEL); in vchiq_initialise() 180 if (!instance) { in vchiq_initialise() 182 "%s: error allocating vchiq instance\n", __func__); in vchiq_initialise() 187 instance->connected = 0; in vchiq_initialise() 188 instance->state = state; in vchiq_initialise() 189 mutex_init(&instance in vchiq_initialise() 204 vchiq_shutdown(struct vchiq_instance *instance) vchiq_shutdown() argument 241 vchiq_is_connected(struct vchiq_instance *instance) vchiq_is_connected() argument 246 vchiq_connect(struct vchiq_instance *instance) vchiq_connect() argument 275 vchiq_add_service( struct vchiq_instance *instance, const struct vchiq_service_params_kernel *params, unsigned int *phandle) vchiq_add_service() argument 313 vchiq_open_service( struct vchiq_instance *instance, const struct vchiq_service_params_kernel *params, unsigned int *phandle) vchiq_open_service() argument 432 struct vchiq_instance *instance; vchiq_blocking_bulk_transfer() local 517 add_completion(struct vchiq_instance *instance, enum vchiq_reason reason, struct vchiq_header *header, struct user_service *user_service, void *bulk_userdata) add_completion() argument 594 struct vchiq_instance *instance; service_callback() local 804 vchiq_ioc_create_service(struct vchiq_instance *instance, struct vchiq_create_service *args) vchiq_ioc_create_service() argument 869 vchiq_ioc_dequeue_message(struct vchiq_instance *instance, struct vchiq_dequeue_message *args) vchiq_ioc_dequeue_message() argument 949 vchiq_irq_queue_bulk_tx_rx(struct vchiq_instance *instance, struct vchiq_queue_bulk_transfer *args, enum vchiq_bulk_dir dir, enum vchiq_bulk_mode __user *mode) vchiq_irq_queue_bulk_tx_rx() argument 1099 vchiq_ioc_await_completion(struct vchiq_instance *instance, struct vchiq_await_completion *args, int __user *msgbufcountp) vchiq_ioc_await_completion() argument 1259 struct vchiq_instance *instance = file->private_data; vchiq_ioctl() local 1859 struct vchiq_instance *instance; vchiq_open() local 1891 struct vchiq_instance *instance = file->private_data; vchiq_release() local 2072 struct vchiq_instance *instance; vchiq_dump_platform_instances() local 2086 struct vchiq_instance *instance; vchiq_dump_platform_instances() local 2225 struct vchiq_instance *instance; vchiq_keepalive_thread_func() local 2458 vchiq_instance_get_debugfs_node(struct vchiq_instance *instance) vchiq_instance_get_debugfs_node() argument 2464 vchiq_instance_get_use_count(struct vchiq_instance *instance) vchiq_instance_get_use_count() argument 2479 vchiq_instance_get_pid(struct vchiq_instance *instance) vchiq_instance_get_pid() argument 2485 vchiq_instance_get_trace(struct vchiq_instance *instance) vchiq_instance_get_trace() argument 2491 vchiq_instance_set_trace(struct vchiq_instance *instance, int trace) vchiq_instance_set_trace() argument [all...] |
/foundation/multimedia/image_framework/frameworks/kits/cj/src/ |
H A D | image_ffi.cpp | 242 auto instance = FFIData::GetData<ImageSourceImpl>(id); in FfiOHOSImageSourceGetImageInfo() local 244 if (!instance) { in FfiOHOSImageSourceGetImageInfo() 245 IMAGE_LOGE("[ImageSource] instance not exist %{public}" PRId64, id); in FfiOHOSImageSourceGetImageInfo() 250 *errCode = instance->GetImageInfo(index, info); in FfiOHOSImageSourceGetImageInfo() 254 ret = ParseImageSourceImageInfo(info, instance->nativeImgSrc.get()); in FfiOHOSImageSourceGetImageInfo() 271 auto instance = FFIData::GetData<ImageSourceImpl>(id); in FfiOHOSGetSupportedFormats() local 272 if (!instance) { in FfiOHOSGetSupportedFormats() 273 IMAGE_LOGE("[ImageSource] instance not exist %{public}" PRId64, id); in FfiOHOSGetSupportedFormats() 277 *errCode = instance->GetSupportedFormats(formats); in FfiOHOSGetSupportedFormats() 318 auto instance in FfiOHOSGetImageProperty() local 334 auto instance = FFIData::GetData<ImageSourceImpl>(id); FfiOHOSModifyImageProperty() local 348 auto instance = FFIData::GetData<ImageSourceImpl>(id); FfiOHOSGetFrameCount() local 361 auto instance = FFIData::GetData<ImageSourceImpl>(id); FfiOHOSUpdateData() local 394 auto instance = FFIData::GetData<ImageSourceImpl>(id); FfiOHOSRelease() local 439 auto instance = FFIData::GetData<ImageSourceImpl>(id); FfiOHOSImageSourceCreatePixelMapList() local 475 auto instance = FFIData::GetData<ImageSourceImpl>(id); FfiOHOSImageSourceGetDelayTime() local 509 auto instance = FFIData::GetData<ImageSourceImpl>(id); FfiImageImageSourceImplGetDisposalTypeList() local 540 auto instance = FFIData::GetData<ImageSourceImpl>(id); FfiImageImageSourceImplGetImageProperties() local 564 auto instance = FFIData::GetData<ImageSourceImpl>(id); FfiImageImageSourceImplModifyImageProperties() local 577 auto instance = FFIData::GetData<ImageSourceImpl>(id); FfiOHOSImageSourceCreatePixelMap() local 641 auto instance = FFIData::GetData<PixelMapImpl>(id); FfiOHOSPixelMapRelease() local 655 auto instance = FFIData::GetData<PixelMapImpl>(id); FfiOHOSCreateAlphaPixelMap() local 689 auto instance = FFIData::GetData<PixelMapImpl>(id); FfiOHOSReadPixelsToBuffer() local 702 auto instance = FFIData::GetData<PixelMapImpl>(id); FfiOHOSWriteBufferToPixels() local 715 auto instance = FFIData::GetData<PixelMapImpl>(id); FfiOHOSGetDensity() local 730 auto instance = FFIData::GetData<PixelMapImpl>(id); FfiOHOSOpacity() local 743 auto instance = FFIData::GetData<PixelMapImpl>(id); FfiOHOSCrop() local 761 auto instance = FFIData::GetData<PixelMapImpl>(id); FfiOHOSGetPixelBytesNumber() local 776 auto instance = FFIData::GetData<PixelMapImpl>(id); FfiOHOSGetBytesNumberPerRow() local 806 auto instance = FFIData::GetData<PixelMapImpl>(id); FfiOHOSGetImageInfo() local 822 auto instance = FFIData::GetData<PixelMapImpl>(id); FfiOHOSScale() local 843 auto instance = FFIData::GetData<PixelMapImpl>(id); FfiImagePixelMapImplScale() local 856 auto instance = FFIData::GetData<PixelMapImpl>(id); FfiOHOSFlip() local 869 auto instance = FFIData::GetData<PixelMapImpl>(id); FfiOHOSRotate() local 882 auto instance = FFIData::GetData<PixelMapImpl>(id); FfiOHOSTranslate() local 895 auto instance = FFIData::GetData<PixelMapImpl>(id); FfiOHOSReadPixels() local 909 auto instance = FFIData::GetData<PixelMapImpl>(id); FfiOHOSWritePixels() local 923 auto instance = FFIData::GetData<PixelMapImpl>(id); FfiOHOSGetIsEditable() local 939 auto instance = FFIData::GetData<PixelMapImpl>(id); FfiOHOSGetIsStrideAlignment() local 955 auto instance = FFIData::GetData<PixelMapImpl>(id); FfiOHOSPixelMapSetColorSpace() local 973 auto instance = FFIData::GetData<PixelMapImpl>(id); FfiOHOSPixelMapGetColorSpace() local 998 auto instance = FFIData::GetData<PixelMapImpl>(id); FfiOHOSPixelMapApplyColorSpace() local 1040 auto instance = FFIData::GetData<PixelMapImpl>(id); FfiImagePixelMapImplSetTransferDetached() local 1053 auto instance = FFIData::GetData<PixelMapImpl>(id); FfiImagePixelMapImplToSdr() local 1067 auto instance = FFIData::GetData<ImageReceiverImpl>(id); FfiOHOSReceiverGetSize() local 1079 auto instance = FFIData::GetData<ImageReceiverImpl>(id); FfiOHOSReceiverGetCapacity() local 1091 auto instance = FFIData::GetData<ImageReceiverImpl>(id); FfiOHOSReceiverGetFormat() local 1111 auto instance = FFIData::GetData<ImageReceiverImpl>(id); FfiOHOSGetReceivingSurfaceId() local 1124 auto instance = FFIData::GetData<ImageReceiverImpl>(id); FfiOHOSReadNextImage() local 1141 auto instance = FFIData::GetData<ImageReceiverImpl>(id); FfiOHOSReadLatestImage() local 1159 auto instance = FFIData::GetData<ImageReceiverImpl>(id); FfiOHOSReceiverRelease() local 1171 auto instance = FFIData::GetData<ImageImpl>(id); FfiOHOSImageGetClipRect() local 1183 auto instance = FFIData::GetData<ImageImpl>(id); FfiOHOSImageGetSize() local 1195 auto instance = FFIData::GetData<ImageImpl>(id); FfiOHOSImageGetFormat() local 1207 auto instance = FFIData::GetData<ImageImpl>(id); FfiOHOSGetComponent() local 1220 auto instance = FFIData::GetData<ImageImpl>(id); FfiImageImageImplGetTimestamp() local 1232 auto instance = FFIData::GetData<ImageImpl>(id); FfiOHOSImageRelease() local 1434 auto instance = FFIData::GetData<ImagePackerImpl>(id); FFiOHOSImagePackerRelease() local 1456 auto instance = FFIData::GetData<ImageCreatorImpl>(id); FFiOHOSImageCreatorGetCapacity() local 1484 auto instance = FFIData::GetData<ImageCreatorImpl>(id); FFiOHOSImageCreatorGetformat() local 1511 auto instance = FFIData::GetData<ImageCreatorImpl>(id); FFiOHOSImageCreatorDequeueImage() local 1539 auto instance = FFIData::GetData<ImageCreatorImpl>(id); FFiOHOSImageCreatorQueueImage() local 1561 auto instance = FFIData::GetData<ImageCreatorImpl>(id); FFiOHOSImageCreatorRelease() local 1573 auto instance = FFIData::GetData<ImageCreatorImpl>(id); FfiImageImageCreatorImplOn() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | NCR5380.c | 76 * the command structure is placed into the per instance disconnected 115 * The generic driver is initialized by calling NCR5380_init(instance), 289 * @instance: adapter state to dump 294 static void NCR5380_print(struct Scsi_Host *instance) in NCR5380_print() argument 296 struct NCR5380_hostdata *hostdata = shost_priv(instance); in NCR5380_print() 338 * @instance: adapter to dump 343 static void NCR5380_print_phase(struct Scsi_Host *instance) in NCR5380_print_phase() argument 345 struct NCR5380_hostdata *hostdata = shost_priv(instance); in NCR5380_print_phase() 351 shost_printk(KERN_DEBUG, instance, "REQ not asserted, phase unknown.\n"); in NCR5380_print_phase() 356 shost_printk(KERN_DEBUG, instance, "phas in NCR5380_print_phase() 368 NCR5380_info(struct Scsi_Host *instance) NCR5380_info() argument 389 NCR5380_init(struct Scsi_Host *instance, int flags) NCR5380_init() argument 470 NCR5380_maybe_reset_bus(struct Scsi_Host *instance) NCR5380_maybe_reset_bus() argument 515 NCR5380_exit(struct Scsi_Host *instance) NCR5380_exit() argument 529 complete_cmd(struct Scsi_Host *instance, struct scsi_cmnd *cmd) complete_cmd() argument 560 NCR5380_queue_command(struct Scsi_Host *instance, struct scsi_cmnd *cmd) NCR5380_queue_command() argument 610 maybe_release_dma_irq(struct Scsi_Host *instance) maybe_release_dma_irq() argument 635 dequeue_next_cmd(struct Scsi_Host *instance) dequeue_next_cmd() argument 669 requeue_cmd(struct Scsi_Host *instance, struct scsi_cmnd *cmd) requeue_cmd() argument 695 struct Scsi_Host *instance = hostdata->host; NCR5380_main() local 754 NCR5380_dma_complete(struct Scsi_Host *instance) NCR5380_dma_complete() argument 866 struct Scsi_Host *instance = dev_id; NCR5380_intr() local 1142 NCR5380_reselect(instance); global() variable 1257 NCR5380_transfer_pio(struct Scsi_Host *instance, unsigned char *phase, int *count, unsigned char **data, unsigned int can_sleep) NCR5380_transfer_pio() argument 1383 do_reset(struct Scsi_Host *instance) do_reset() argument 1407 do_abort(struct Scsi_Host *instance, unsigned int can_sleep) do_abort() argument 1483 NCR5380_transfer_dma(struct Scsi_Host *instance, unsigned char *phase, int *count, unsigned char **data) NCR5380_transfer_dma() argument 1788 do_reset(instance); global() variable 1789 bus_reset_cleanup(instance); global() variable 2025 NCR5380_reselect(struct Scsi_Host *instance) NCR5380_reselect() argument 2246 struct Scsi_Host *instance = cmd->device->host; NCR5380_abort() local 2324 bus_reset_cleanup(struct Scsi_Host *instance) bus_reset_cleanup() argument 2384 struct Scsi_Host *instance = cmd->device->host; NCR5380_host_reset() local [all...] |
/foundation/graphic/graphic_2d/rosen/test/hyper_graphic_manager/unittest/ |
H A D | hyper_graphic_manager_test.cpp | 58 * @tc.desc: Verify the independency of HgmCore instance
83 auto &instance = HgmCore::Instance();
in HWTEST_F() local 87 bool enabled = instance.IsEnabled();
in HWTEST_F() 89 instance.GetPolicyConfigData();
in HWTEST_F() 90 auto hgmFrameRateMgr_ = instance.GetFrameRateMgr();
in HWTEST_F() 104 auto &instance = HgmCore::Instance();
in HWTEST_F() local 111 sizeListBefore = instance.GetScreenListSize();
in HWTEST_F() 117 auto addScreen = instance.AddScreen(screenId, 0, screenSize);
in HWTEST_F() 122 sizeListAfter = instance.GetScreenListSize();
in HWTEST_F() 130 sizeScreenIds = instance in HWTEST_F() 304 auto &instance = HgmCore::Instance(); HWTEST_F() local 339 auto &instance = HgmCore::Instance(); HWTEST_F() local 437 auto &instance = HgmCore::Instance(); HWTEST_F() local 500 auto &instance = HgmCore::Instance(); HWTEST_F() local 541 auto &instance = HgmCore::Instance(); HWTEST_F() local 556 auto &instance = HgmCore::Instance(); HWTEST_F() local 575 auto &instance = HgmCore::Instance(); HWTEST_F() local 588 auto &instance = HgmCore::Instance(); HWTEST_F() local 601 auto &instance = HgmCore::Instance(); HWTEST_F() local [all...] |
/kernel/linux/linux-6.6/drivers/phy/mediatek/ |
H A D | phy-mtk-tphy.c | 695 struct mtk_phy_instance *instance) in hs_slew_rate_calibrate() 697 struct u2phy_banks *u2_banks = &instance->u2_banks; in hs_slew_rate_calibrate() 709 if (instance->eye_src) in hs_slew_rate_calibrate() 724 tmp |= FIELD_PREP(P2F_RG_MONCLK_SEL, instance->index >> 1); in hs_slew_rate_calibrate() 753 instance->index, fm_out, calibration_val, in hs_slew_rate_calibrate() 765 struct mtk_phy_instance *instance) in u3_phy_instance_init() 767 struct u3phy_banks *u3_banks = &instance->u3_banks; in u3_phy_instance_init() 793 dev_dbg(tphy->dev, "%s(%d)\n", __func__, instance->index); in u3_phy_instance_init() 797 struct mtk_phy_instance *instance) in u2_phy_pll_26m_set() 799 struct u2phy_banks *u2_banks = &instance in u2_phy_pll_26m_set() 694 hs_slew_rate_calibrate(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) hs_slew_rate_calibrate() argument 764 u3_phy_instance_init(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) u3_phy_instance_init() argument 796 u2_phy_pll_26m_set(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) u2_phy_pll_26m_set() argument 815 u2_phy_instance_init(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) u2_phy_instance_init() argument 861 u2_phy_instance_power_on(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) u2_phy_instance_power_on() argument 883 u2_phy_instance_power_off(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) u2_phy_instance_power_off() argument 906 u2_phy_instance_exit(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) u2_phy_instance_exit() argument 920 u2_phy_instance_set_mode(struct mtk_tphy *tphy, struct mtk_phy_instance *instance, enum phy_mode mode) u2_phy_instance_set_mode() argument 945 pcie_phy_instance_init(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) pcie_phy_instance_init() argument 995 pcie_phy_instance_power_on(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) pcie_phy_instance_power_on() argument 1007 pcie_phy_instance_power_off(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) pcie_phy_instance_power_off() argument 1020 sata_phy_instance_init(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) sata_phy_instance_init() argument 1065 phy_v1_banks_init(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) phy_v1_banks_init() argument 1093 phy_v2_banks_init(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) phy_v2_banks_init() argument 1118 phy_parse_property(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) phy_parse_property() argument 1146 u2_phy_props_set(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) u2_phy_props_set() argument 1186 phy_type_syscon_get(struct mtk_phy_instance *instance, struct device_node *dn) phy_type_syscon_get() argument 1211 phy_type_set(struct mtk_phy_instance *instance) phy_type_set() argument 1244 phy_efuse_get(struct mtk_tphy *tphy, struct mtk_phy_instance *instance) phy_efuse_get() argument 1318 phy_efuse_set(struct mtk_phy_instance *instance) phy_efuse_set() argument 1357 struct mtk_phy_instance *instance = phy_get_drvdata(phy); mtk_phy_init() local 1395 struct mtk_phy_instance *instance = phy_get_drvdata(phy); mtk_phy_power_on() local 1410 struct mtk_phy_instance *instance = phy_get_drvdata(phy); mtk_phy_power_off() local 1423 struct mtk_phy_instance *instance = phy_get_drvdata(phy); mtk_phy_exit() local 1435 struct mtk_phy_instance *instance = phy_get_drvdata(phy); mtk_phy_set_mode() local 1448 struct mtk_phy_instance *instance = NULL; mtk_phy_xlate() local 1602 struct mtk_phy_instance *instance; mtk_tphy_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/vc04_services/vchiq-mmal/ |
H A D | mmal-vchiq.c | 120 struct vchiq_mmal_instance *instance; member 133 /* mmal instance */ 134 struct vchiq_mmal_instance *instance; member 183 /* handle for a vchiq instance */ 188 get_msg_context(struct vchiq_mmal_instance *instance) in get_msg_context() argument 203 mutex_lock(&instance->context_map_lock); in get_msg_context() 204 handle = idr_alloc(&instance->context_map, msg_context, in get_msg_context() 206 mutex_unlock(&instance->context_map_lock); in get_msg_context() 213 msg_context->instance = instance; in get_msg_context() 220 lookup_msg_context(struct vchiq_mmal_instance *instance, int handle) lookup_msg_context() argument 228 struct vchiq_mmal_instance *instance = msg_context->instance; release_msg_context() local 237 event_to_host_cb(struct vchiq_mmal_instance *instance, struct mmal_msg *msg, u32 msg_len) event_to_host_cb() argument 290 struct vchiq_mmal_instance *instance = msg_context->instance; buffer_to_host_work_cb() local 316 bulk_receive(struct vchiq_mmal_instance *instance, struct mmal_msg *msg, struct mmal_msg_context *msg_context) bulk_receive() argument 361 inline_receive(struct vchiq_mmal_instance *instance, struct mmal_msg *msg, struct mmal_msg_context *msg_context) inline_receive() argument 377 buffer_from_host(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port, struct mmal_buffer *buf) buffer_from_host() argument 456 buffer_to_host_cb(struct vchiq_mmal_instance *instance, struct mmal_msg *msg, u32 msg_len) buffer_to_host_cb() argument 534 bulk_receive_cb(struct vchiq_mmal_instance *instance, struct mmal_msg_context *msg_context) bulk_receive_cb() argument 543 bulk_abort_cb(struct vchiq_mmal_instance *instance, struct mmal_msg_context *msg_context) bulk_abort_cb() argument 558 struct vchiq_mmal_instance *instance = vchiq_get_service_userdata(handle); service_callback() local 652 send_synchronous_mmal_msg(struct vchiq_mmal_instance *instance, struct mmal_msg *msg, unsigned int payload_len, struct mmal_msg **msg_out, struct vchiq_header **msg_handle) send_synchronous_mmal_msg() argument 775 port_info_set(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port) port_info_set() argument 836 port_info_get(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port) port_info_get() argument 931 create_component(struct vchiq_mmal_instance *instance, struct vchiq_mmal_component *component, const char *name) create_component() argument 979 destroy_component(struct vchiq_mmal_instance *instance, struct vchiq_mmal_component *component) destroy_component() argument 1012 enable_component(struct vchiq_mmal_instance *instance, struct vchiq_mmal_component *component) enable_component() argument 1044 disable_component(struct vchiq_mmal_instance *instance, struct vchiq_mmal_component *component) disable_component() argument 1077 get_version(struct vchiq_mmal_instance *instance, u32 *major_out, u32 *minor_out) get_version() argument 1109 port_action_port(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port, enum mmal_msg_port_action_type action_type) port_action_port() argument 1151 port_action_handle(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port, enum mmal_msg_port_action_type action_type, u32 connect_component_handle, u32 connect_port_handle) port_action_handle() argument 1198 port_parameter_set(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port, u32 parameter_id, void *value, u32 value_size) port_parameter_set() argument 1239 port_parameter_get(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port, u32 parameter_id, void *value, u32 *value_size) port_parameter_get() argument 1299 port_disable(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port) port_disable() argument 1349 port_enable(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port) port_enable() argument 1396 vchiq_mmal_port_set_format(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port) vchiq_mmal_port_set_format() argument 1418 vchiq_mmal_port_parameter_set(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port, u32 parameter, void *value, u32 value_size) vchiq_mmal_port_parameter_set() argument 1435 vchiq_mmal_port_parameter_get(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port, u32 parameter, void *value, u32 *value_size) vchiq_mmal_port_parameter_get() argument 1457 vchiq_mmal_port_enable(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port, vchiq_mmal_buffer_cb buffer_cb) vchiq_mmal_port_enable() argument 1483 vchiq_mmal_port_disable(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port) vchiq_mmal_port_disable() argument 1507 vchiq_mmal_port_connect_tunnel(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *src, struct vchiq_mmal_port *dst) vchiq_mmal_port_connect_tunnel() argument 1592 vchiq_mmal_submit_buffer(struct vchiq_mmal_instance *instance, struct vchiq_mmal_port *port, struct mmal_buffer *buffer) vchiq_mmal_submit_buffer() argument 1611 mmal_vchi_buffer_init(struct vchiq_mmal_instance *instance, struct mmal_buffer *buf) mmal_vchi_buffer_init() argument 1639 vchiq_mmal_component_init(struct vchiq_mmal_instance *instance, const char *name, struct vchiq_mmal_component **component_out) vchiq_mmal_component_init() argument 1739 vchiq_mmal_component_finalise(struct vchiq_mmal_instance *instance, struct vchiq_mmal_component *component) vchiq_mmal_component_finalise() argument 1763 vchiq_mmal_component_enable(struct vchiq_mmal_instance *instance, struct vchiq_mmal_component *component) vchiq_mmal_component_enable() argument 1789 vchiq_mmal_component_disable(struct vchiq_mmal_instance *instance, struct vchiq_mmal_component *component) vchiq_mmal_component_disable() argument 1812 vchiq_mmal_version(struct vchiq_mmal_instance *instance, u32 *major_out, u32 *minor_out) vchiq_mmal_version() argument 1828 vchiq_mmal_finalise(struct vchiq_mmal_instance *instance) vchiq_mmal_finalise() argument 1864 struct vchiq_mmal_instance *instance; vchiq_mmal_init() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | arct_reg_init.c | 34 adev->reg_offset[GC_HWIP][i] = (uint32_t *)(&(GC_BASE.instance[i])); in arct_reg_base_init() 35 adev->reg_offset[HDP_HWIP][i] = (uint32_t *)(&(HDP_BASE.instance[i])); in arct_reg_base_init() 36 adev->reg_offset[MMHUB_HWIP][i] = (uint32_t *)(&(MMHUB_BASE.instance[i])); in arct_reg_base_init() 37 adev->reg_offset[ATHUB_HWIP][i] = (uint32_t *)(&(ATHUB_BASE.instance[i])); in arct_reg_base_init() 38 adev->reg_offset[NBIO_HWIP][i] = (uint32_t *)(&(NBIF0_BASE.instance[i])); in arct_reg_base_init() 39 adev->reg_offset[MP0_HWIP][i] = (uint32_t *)(&(MP0_BASE.instance[i])); in arct_reg_base_init() 40 adev->reg_offset[MP1_HWIP][i] = (uint32_t *)(&(MP1_BASE.instance[i])); in arct_reg_base_init() 41 adev->reg_offset[UVD_HWIP][i] = (uint32_t *)(&(UVD_BASE.instance[i])); in arct_reg_base_init() 42 adev->reg_offset[DF_HWIP][i] = (uint32_t *)(&(DF_BASE.instance[i])); in arct_reg_base_init() 43 adev->reg_offset[OSSSYS_HWIP][i] = (uint32_t *)(&(OSSSYS_BASE.instance[ in arct_reg_base_init() [all...] |
H A D | sienna_cichlid_reg_init.c | 35 adev->reg_offset[GC_HWIP][i] = (uint32_t *)(&(GC_BASE.instance[i])); in sienna_cichlid_reg_base_init() 36 adev->reg_offset[HDP_HWIP][i] = (uint32_t *)(&(HDP_BASE.instance[i])); in sienna_cichlid_reg_base_init() 37 adev->reg_offset[MMHUB_HWIP][i] = (uint32_t *)(&(MMHUB_BASE.instance[i])); in sienna_cichlid_reg_base_init() 38 adev->reg_offset[ATHUB_HWIP][i] = (uint32_t *)(&(ATHUB_BASE.instance[i])); in sienna_cichlid_reg_base_init() 39 adev->reg_offset[NBIO_HWIP][i] = (uint32_t *)(&(NBIO_BASE.instance[i])); in sienna_cichlid_reg_base_init() 40 adev->reg_offset[MP0_HWIP][i] = (uint32_t *)(&(MP0_BASE.instance[i])); in sienna_cichlid_reg_base_init() 41 adev->reg_offset[MP1_HWIP][i] = (uint32_t *)(&(MP1_BASE.instance[i])); in sienna_cichlid_reg_base_init() 42 adev->reg_offset[VCN_HWIP][i] = (uint32_t *)(&(VCN_BASE.instance[i])); in sienna_cichlid_reg_base_init() 43 adev->reg_offset[DF_HWIP][i] = (uint32_t *)(&(DF_BASE.instance[i])); in sienna_cichlid_reg_base_init() 44 adev->reg_offset[DCE_HWIP][i] = (uint32_t *)(&(DCN_BASE.instance[ in sienna_cichlid_reg_base_init() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | arct_reg_init.c | 34 adev->reg_offset[GC_HWIP][i] = (uint32_t *)(&(GC_BASE.instance[i])); in arct_reg_base_init() 35 adev->reg_offset[HDP_HWIP][i] = (uint32_t *)(&(HDP_BASE.instance[i])); in arct_reg_base_init() 36 adev->reg_offset[MMHUB_HWIP][i] = (uint32_t *)(&(MMHUB_BASE.instance[i])); in arct_reg_base_init() 37 adev->reg_offset[ATHUB_HWIP][i] = (uint32_t *)(&(ATHUB_BASE.instance[i])); in arct_reg_base_init() 38 adev->reg_offset[NBIO_HWIP][i] = (uint32_t *)(&(NBIF0_BASE.instance[i])); in arct_reg_base_init() 39 adev->reg_offset[MP0_HWIP][i] = (uint32_t *)(&(MP0_BASE.instance[i])); in arct_reg_base_init() 40 adev->reg_offset[MP1_HWIP][i] = (uint32_t *)(&(MP1_BASE.instance[i])); in arct_reg_base_init() 41 adev->reg_offset[UVD_HWIP][i] = (uint32_t *)(&(UVD_BASE.instance[i])); in arct_reg_base_init() 42 adev->reg_offset[DF_HWIP][i] = (uint32_t *)(&(DF_BASE.instance[i])); in arct_reg_base_init() 43 adev->reg_offset[OSSSYS_HWIP][i] = (uint32_t *)(&(OSSSYS_BASE.instance[ in arct_reg_base_init() [all...] |
H A D | aldebaran_reg_init.c | 34 adev->reg_offset[GC_HWIP][i] = (uint32_t *)(&(GC_BASE.instance[i])); in aldebaran_reg_base_init() 35 adev->reg_offset[HDP_HWIP][i] = (uint32_t *)(&(HDP_BASE.instance[i])); in aldebaran_reg_base_init() 36 adev->reg_offset[MMHUB_HWIP][i] = (uint32_t *)(&(MMHUB_BASE.instance[i])); in aldebaran_reg_base_init() 37 adev->reg_offset[ATHUB_HWIP][i] = (uint32_t *)(&(ATHUB_BASE.instance[i])); in aldebaran_reg_base_init() 38 adev->reg_offset[NBIO_HWIP][i] = (uint32_t *)(&(NBIO_BASE.instance[i])); in aldebaran_reg_base_init() 39 adev->reg_offset[MP0_HWIP][i] = (uint32_t *)(&(MP0_BASE.instance[i])); in aldebaran_reg_base_init() 40 adev->reg_offset[MP1_HWIP][i] = (uint32_t *)(&(MP1_BASE.instance[i])); in aldebaran_reg_base_init() 41 adev->reg_offset[DF_HWIP][i] = (uint32_t *)(&(DF_BASE.instance[i])); in aldebaran_reg_base_init() 42 adev->reg_offset[OSSSYS_HWIP][i] = (uint32_t *)(&(OSSSYS_BASE.instance[i])); in aldebaran_reg_base_init() 43 adev->reg_offset[SDMA0_HWIP][i] = (uint32_t *)(&(SDMA0_BASE.instance[ in aldebaran_reg_base_init() [all...] |
H A D | dimgrey_cavefish_reg_init.c | 35 adev->reg_offset[GC_HWIP][i] = (uint32_t *)(&(GC_BASE.instance[i])); in dimgrey_cavefish_reg_base_init() 36 adev->reg_offset[HDP_HWIP][i] = (uint32_t *)(&(HDP_BASE.instance[i])); in dimgrey_cavefish_reg_base_init() 37 adev->reg_offset[MMHUB_HWIP][i] = (uint32_t *)(&(MMHUB_BASE.instance[i])); in dimgrey_cavefish_reg_base_init() 38 adev->reg_offset[ATHUB_HWIP][i] = (uint32_t *)(&(ATHUB_BASE.instance[i])); in dimgrey_cavefish_reg_base_init() 39 adev->reg_offset[NBIO_HWIP][i] = (uint32_t *)(&(NBIO_BASE.instance[i])); in dimgrey_cavefish_reg_base_init() 40 adev->reg_offset[MP0_HWIP][i] = (uint32_t *)(&(MP0_BASE.instance[i])); in dimgrey_cavefish_reg_base_init() 41 adev->reg_offset[MP1_HWIP][i] = (uint32_t *)(&(MP1_BASE.instance[i])); in dimgrey_cavefish_reg_base_init() 42 adev->reg_offset[VCN_HWIP][i] = (uint32_t *)(&(VCN0_BASE.instance[i])); in dimgrey_cavefish_reg_base_init() 43 adev->reg_offset[DF_HWIP][i] = (uint32_t *)(&(DF_BASE.instance[i])); in dimgrey_cavefish_reg_base_init() 44 adev->reg_offset[DCE_HWIP][i] = (uint32_t *)(&(DCN_BASE.instance[ in dimgrey_cavefish_reg_base_init() [all...] |
/third_party/lwip/src/apps/snmp/ |
H A D | snmp_threadsync.c | 47 sys_mutex_lock(&call_data->threadsync_node->instance->sem_usage_mutex); in call_synced_function() 48 call_data->threadsync_node->instance->sync_fn(fn, call_data); in call_synced_function() 49 sys_sem_wait(&call_data->threadsync_node->instance->sem); in call_synced_function() 50 sys_mutex_unlock(&call_data->threadsync_node->instance->sem_usage_mutex); in call_synced_function() 64 sys_sem_signal(&call_data->threadsync_node->instance->sem); in threadsync_get_value_synced() 68 threadsync_get_value(struct snmp_node_instance *instance, void *value) in threadsync_get_value() argument 70 struct threadsync_data *call_data = (struct threadsync_data *)instance->reference.ptr; in threadsync_get_value() 89 sys_sem_signal(&call_data->threadsync_node->instance->sem); in threadsync_set_test_synced() 93 threadsync_set_test(struct snmp_node_instance *instance, u16_t len, void *value) in threadsync_set_test() argument 95 struct threadsync_data *call_data = (struct threadsync_data *)instance in threadsync_set_test() 119 threadsync_set_value(struct snmp_node_instance *instance, u16_t len, void *value) threadsync_set_value() argument 141 threadsync_release_instance(struct snmp_node_instance *instance) threadsync_release_instance() argument 173 do_sync(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance *instance, snmp_threadsync_called_fn fn) do_sync() argument 209 snmp_threadsync_get_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance *instance) snmp_threadsync_get_instance() argument 215 snmp_threadsync_get_next_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance *instance) snmp_threadsync_get_next_instance() argument 221 snmp_threadsync_init(struct snmp_threadsync_instance *instance, snmp_threadsync_synchronizer_fn sync_fn) snmp_threadsync_init() argument [all...] |
/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | file_ffi.cpp | 57 auto instance = FFIData::GetData<FileEntity>(file); in FfiOHOSFileFsClose() local 58 if (!instance) { in FfiOHOSFileFsClose() 59 LOGE("Stream instance not exist %{public}" PRId64, file); in FfiOHOSFileFsClose() 62 int err = FileFsImpl::Close(instance); in FfiOHOSFileFsClose() 87 auto instance = FFIData::GetData<FileEntity>(id); in FfiOHOSFILEFsGetFD() local 88 if (!instance) { in FfiOHOSFILEFsGetFD() 89 LOGE("FileEntity instance not exist %{public}" PRId64, id); in FfiOHOSFILEFsGetFD() 92 return instance->GetFD(id); in FfiOHOSFILEFsGetFD() 98 auto instance = FFIData::GetData<FileEntity>(id); in FfiOHOSFILEFsGetPath() local 99 if (!instance) { in FfiOHOSFILEFsGetPath() 109 auto instance = FFIData::GetData<FileEntity>(id); FfiOHOSFILEFsGetName() local 120 auto instance = FFIData::GetData<FileEntity>(id); FfiOHOSFILEFsTryLock() local 131 auto instance = FFIData::GetData<FileEntity>(id); FfiOHOSFILEFsUnLock() local 142 auto instance = FFIData::GetData<FileEntity>(id); FfiOHOSFILEFsGetParent() local [all...] |
/kernel/linux/linux-5.10/drivers/mailbox/ |
H A D | mailbox-sti.c | 42 * Each instance is currently composed of 32 channels 66 * @num_chan: Maximum number of channel per instance 77 * @instance: Instance number channel resides in 82 unsigned int instance; member 90 unsigned int instance = chan_info->instance; in sti_mbox_channel_is_enabled() local 93 return mdev->enabled[instance] & BIT(channel); in sti_mbox_channel_is_enabled() 98 unsigned int instance, in sti_mbox_to_channel() 107 chan_info->instance == instance in sti_mbox_to_channel() 97 sti_mbox_to_channel(struct mbox_controller *mbox, unsigned int instance, unsigned int channel) sti_mbox_to_channel() argument 123 unsigned int instance = chan_info->instance; sti_mbox_enable_channel() local 138 unsigned int instance = chan_info->instance; sti_mbox_disable_channel() local 153 unsigned int instance = chan_info->instance; sti_mbox_clear_irq() local 160 sti_mbox_irq_to_channel(struct sti_mbox_device *mdev, unsigned int instance) sti_mbox_irq_to_channel() argument 196 unsigned int instance; sti_mbox_thread_handler() local 219 unsigned int instance; sti_mbox_irq_handler() local 255 unsigned int instance = chan_info->instance; sti_mbox_tx_is_ready() local 278 unsigned int instance = chan_info->instance; sti_mbox_send_data() local 328 unsigned int instance = spec->args[0]; sti_mbox_xlate() local [all...] |
/kernel/linux/linux-6.6/drivers/mailbox/ |
H A D | mailbox-sti.c | 49 * Each instance is currently composed of 32 channels 66 * @num_chan: Maximum number of channel per instance 77 * @instance: Instance number channel resides in 82 unsigned int instance; member 90 unsigned int instance = chan_info->instance; in sti_mbox_channel_is_enabled() local 93 return mdev->enabled[instance] & BIT(channel); in sti_mbox_channel_is_enabled() 98 unsigned int instance, in sti_mbox_to_channel() 107 chan_info->instance == instance in sti_mbox_to_channel() 97 sti_mbox_to_channel(struct mbox_controller *mbox, unsigned int instance, unsigned int channel) sti_mbox_to_channel() argument 123 unsigned int instance = chan_info->instance; sti_mbox_enable_channel() local 138 unsigned int instance = chan_info->instance; sti_mbox_disable_channel() local 153 unsigned int instance = chan_info->instance; sti_mbox_clear_irq() local 160 sti_mbox_irq_to_channel(struct sti_mbox_device *mdev, unsigned int instance) sti_mbox_irq_to_channel() argument 196 unsigned int instance; sti_mbox_thread_handler() local 219 unsigned int instance; sti_mbox_irq_handler() local 255 unsigned int instance = chan_info->instance; sti_mbox_tx_is_ready() local 278 unsigned int instance = chan_info->instance; sti_mbox_send_data() local 328 unsigned int instance = spec->args[0]; sti_mbox_xlate() local [all...] |
/kernel/linux/linux-6.6/drivers/staging/vc04_services/interface/vchiq_arm/ |
H A D | vchiq_dev.c | 111 vchiq_ioc_queue_message(struct vchiq_instance *instance, unsigned int handle, in vchiq_ioc_queue_message() argument 130 status = vchiq_queue_message(instance, handle, vchiq_ioc_copy_element_data, in vchiq_ioc_queue_message() 140 static int vchiq_ioc_create_service(struct vchiq_instance *instance, in vchiq_ioc_create_service() argument 149 if (args->is_open && !instance->connected) in vchiq_ioc_create_service() 159 srvstate = instance->connected ? in vchiq_ioc_create_service() 170 service = vchiq_add_service_internal(instance->state, ¶ms, in vchiq_ioc_create_service() 171 srvstate, instance, in vchiq_ioc_create_service() 180 user_service->instance = instance; in vchiq_ioc_create_service() 184 user_service->message_available_pos = instance in vchiq_ioc_create_service() 204 vchiq_ioc_dequeue_message(struct vchiq_instance *instance, struct vchiq_dequeue_message *args) vchiq_ioc_dequeue_message() argument 286 vchiq_irq_queue_bulk_tx_rx(struct vchiq_instance *instance, struct vchiq_queue_bulk_transfer *args, enum vchiq_bulk_dir dir, enum vchiq_bulk_mode __user *mode) vchiq_irq_queue_bulk_tx_rx() argument 432 vchiq_ioc_await_completion(struct vchiq_instance *instance, struct vchiq_await_completion *args, int __user *msgbufcountp) vchiq_ioc_await_completion() argument 579 struct vchiq_instance *instance = file->private_data; vchiq_ioctl() local 911 struct vchiq_instance *instance = file->private_data; vchiq_compat_ioctl_create_service() local 964 struct vchiq_instance *instance = file->private_data; vchiq_compat_ioctl_queue_message() local 1171 struct vchiq_instance *instance; vchiq_open() local 1203 struct vchiq_instance *instance = file->private_data; vchiq_release() local [all...] |
/foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/test/unittest/ |
H A D | observer_event_test.cpp | 133 // incorrect instance id keyword
in HWTEST_F() 585 auto instance = ObserverManager::GetInstance();
in HWTEST_F() local 586 if (instance) {
in HWTEST_F() 587 instance->GetAllMmiStatusData();
in HWTEST_F() 707 auto instance = ObserverManager::GetInstance();
in HWTEST_F() local 708 if (instance) {
in HWTEST_F() 709 instance->DisableDataShareObserver();
in HWTEST_F() 711 EXPECT_TRUE(instance);
in HWTEST_F() 722 auto instance = ObserverManager::GetInstance();
in HWTEST_F() local 723 if (instance) {
in HWTEST_F() 743 auto instance = ObserverManager::GetInstance(); HWTEST_F() local 764 auto instance = ObserverManager::GetInstance(); HWTEST_F() local 779 auto instance = ObserverManager::GetInstance(); HWTEST_F() local 796 auto instance = ObserverManager::GetInstance(); HWTEST_F() local 812 auto instance = ObserverManager::GetInstance(); HWTEST_F() local 829 auto instance = ObserverManager::GetInstance(); HWTEST_F() local 844 auto instance = ObserverManager::GetInstance(); HWTEST_F() local 860 auto instance = ObserverManager::GetInstance(); HWTEST_F() local 879 auto instance = ObserverManager::GetInstance(); HWTEST_F() local 894 auto instance = ObserverManager::GetInstance(); HWTEST_F() local 912 auto instance = ObserverManager::GetInstance(); HWTEST_F() local 929 auto instance = ObserverManager::GetInstance(); HWTEST_F() local 946 auto instance = ObserverManager::GetInstance(); HWTEST_F() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/megaraid/ |
H A D | megaraid_sas_debugfs.c | 62 struct megasas_instance *instance = inode->i_private; in megasas_debugfs_raidmap_open() local 66 fusion = instance->ctrl_context; in megasas_debugfs_raidmap_open() 72 debug->buf = (void *)fusion->ld_drv_map[(instance->map_id & 1)]; in megasas_debugfs_raidmap_open() 119 * instance: Soft instance of adapter 122 megasas_setup_debugfs(struct megasas_instance *instance) in megasas_setup_debugfs() argument 127 fusion = instance->ctrl_context; in megasas_setup_debugfs() 131 "scsi_host%d", instance->host->host_no); in megasas_setup_debugfs() 132 if (!instance->debugfs_root) { in megasas_setup_debugfs() 133 instance in megasas_setup_debugfs() 161 megasas_destroy_debugfs(struct megasas_instance *instance) megasas_destroy_debugfs() argument 173 megasas_setup_debugfs(struct megasas_instance *instance) megasas_setup_debugfs() argument 176 megasas_destroy_debugfs(struct megasas_instance *instance) megasas_destroy_debugfs() argument [all...] |
/kernel/linux/linux-5.10/drivers/usb/atm/ |
H A D | usbatm.h | 29 #define usb_err(instance, format, arg...) \ 30 dev_err(&(instance)->usb_intf->dev , format , ## arg) 31 #define usb_info(instance, format, arg...) \ 32 dev_info(&(instance)->usb_intf->dev , format , ## arg) 33 #define usb_warn(instance, format, arg...) \ 34 dev_warn(&(instance)->usb_intf->dev , format , ## arg) 35 #define usb_dbg(instance, format, arg...) \ 36 dev_dbg(&(instance)->usb_intf->dev , format , ## arg) 39 #define atm_printk(level, instance, format, arg...) \ 41 (instance) [all...] |
/kernel/linux/linux-6.6/drivers/usb/atm/ |
H A D | usbatm.h | 29 #define usb_err(instance, format, arg...) \ 30 dev_err(&(instance)->usb_intf->dev , format , ## arg) 31 #define usb_info(instance, format, arg...) \ 32 dev_info(&(instance)->usb_intf->dev , format , ## arg) 33 #define usb_warn(instance, format, arg...) \ 34 dev_warn(&(instance)->usb_intf->dev , format , ## arg) 35 #define usb_dbg(instance, format, arg...) \ 36 dev_dbg(&(instance)->usb_intf->dev , format , ## arg) 39 #define atm_printk(level, instance, format, arg...) \ 41 (instance) [all...] |
/kernel/linux/linux-6.6/drivers/scsi/megaraid/ |
H A D | megaraid_sas_debugfs.c | 62 struct megasas_instance *instance = inode->i_private; in megasas_debugfs_raidmap_open() local 66 fusion = instance->ctrl_context; in megasas_debugfs_raidmap_open() 72 debug->buf = (void *)fusion->ld_drv_map[(instance->map_id & 1)]; in megasas_debugfs_raidmap_open() 119 * instance: Soft instance of adapter 122 megasas_setup_debugfs(struct megasas_instance *instance) in megasas_setup_debugfs() argument 127 fusion = instance->ctrl_context; in megasas_setup_debugfs() 131 "scsi_host%d", instance->host->host_no); in megasas_setup_debugfs() 132 if (!instance->debugfs_root) { in megasas_setup_debugfs() 133 instance in megasas_setup_debugfs() 161 megasas_destroy_debugfs(struct megasas_instance *instance) megasas_destroy_debugfs() argument 173 megasas_setup_debugfs(struct megasas_instance *instance) megasas_setup_debugfs() argument 176 megasas_destroy_debugfs(struct megasas_instance *instance) megasas_destroy_debugfs() argument [all...] |