| /OK3568_Linux_fs/kernel/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_hw_csr.h | 21 #define HINIC_CSR_DMA_ATTR_ADDR(idx) \ argument 22 (HINIC_DMA_ATTR_BASE + (idx) * HINIC_DMA_ATTR_STRIDE) 27 #define HINIC_CSR_PPF_ELECTION_ADDR(idx) \ argument 28 (HINIC_ELECTION_BASE + (idx) * HINIC_PPF_ELECTION_STRIDE) 35 #define HINIC_CSR_API_CMD_CHAIN_HEAD_HI_ADDR(idx) \ argument 36 (HINIC_CSR_API_CMD_BASE + 0x0 + (idx) * HINIC_CSR_API_CMD_STRIDE) 38 #define HINIC_CSR_API_CMD_CHAIN_HEAD_LO_ADDR(idx) \ argument 39 (HINIC_CSR_API_CMD_BASE + 0x4 + (idx) * HINIC_CSR_API_CMD_STRIDE) 41 #define HINIC_CSR_API_CMD_STATUS_HI_ADDR(idx) \ argument 42 (HINIC_CSR_API_CMD_BASE + 0x8 + (idx) * HINIC_CSR_API_CMD_STRIDE) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/ccree/ |
| H A D | cc_aead.c | 303 unsigned int idx = 0; in hmac_setkey() local 309 hw_desc_init(&desc[idx]); in hmac_setkey() 310 set_cipher_mode(&desc[idx], hash_mode); in hmac_setkey() 311 set_din_sram(&desc[idx], in hmac_setkey() 315 set_flow_mode(&desc[idx], S_DIN_to_HASH); in hmac_setkey() 316 set_setup_mode(&desc[idx], SETUP_LOAD_STATE0); in hmac_setkey() 317 idx++; in hmac_setkey() 320 hw_desc_init(&desc[idx]); in hmac_setkey() 321 set_cipher_mode(&desc[idx], hash_mode); in hmac_setkey() 322 set_din_const(&desc[idx], 0, ctx->hash_len); in hmac_setkey() [all …]
|
| H A D | cc_hash.c | 342 int idx) in cc_fin_result() argument 350 hw_desc_init(&desc[idx]); in cc_fin_result() 351 set_hash_cipher_mode(&desc[idx], ctx->hw_mode, ctx->hash_mode); in cc_fin_result() 352 set_dout_dlli(&desc[idx], state->digest_result_dma_addr, digestsize, in cc_fin_result() 354 set_queue_last_ind(ctx->drvdata, &desc[idx]); in cc_fin_result() 355 set_flow_mode(&desc[idx], S_HASH_to_DOUT); in cc_fin_result() 356 set_setup_mode(&desc[idx], SETUP_WRITE_STATE0); in cc_fin_result() 357 set_cipher_config1(&desc[idx], HASH_PADDING_DISABLED); in cc_fin_result() 358 cc_set_endianity(ctx->hash_mode, &desc[idx]); in cc_fin_result() 359 idx++; in cc_fin_result() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/can/sja1000/ |
| H A D | sja1000_isa.c | 122 int idx = pdev->id; in sja1000_isa_probe() local 126 idx, port[idx], mem[idx], irq[idx]); in sja1000_isa_probe() 128 if (mem[idx]) { in sja1000_isa_probe() 129 if (!request_mem_region(mem[idx], iosize, DRV_NAME)) { in sja1000_isa_probe() 133 base = ioremap(mem[idx], iosize); in sja1000_isa_probe() 139 if (indirect[idx] > 0 || in sja1000_isa_probe() 140 (indirect[idx] == -1 && indirect[0] > 0)) in sja1000_isa_probe() 142 if (!request_region(port[idx], iosize, DRV_NAME)) { in sja1000_isa_probe() 155 dev->irq = irq[idx]; in sja1000_isa_probe() 157 if (mem[idx]) { in sja1000_isa_probe() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/lib/ |
| H A D | sparsebit.c | 172 sparsebit_idx_t idx; /* index of least-significant bit in mask */ member 287 root->idx = subtree->idx; in node_copy_subtree() 310 static struct node *node_find(struct sparsebit *s, sparsebit_idx_t idx) in node_find() argument 316 nodep = nodep->idx > idx ? nodep->left : nodep->right) { in node_find() 317 if (idx >= nodep->idx && in node_find() 318 idx <= nodep->idx + MASK_BITS + nodep->num_after - 1) in node_find() 333 static struct node *node_add(struct sparsebit *s, sparsebit_idx_t idx) in node_add() argument 344 nodep->idx = idx & -MASK_BITS; in node_add() 358 if (idx < parentp->idx) { in node_add() 366 assert(idx > parentp->idx + MASK_BITS + parentp->num_after - 1); in node_add() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/can/cc770/ |
| H A D | cc770_isa.c | 167 int idx = pdev->id; in cc770_isa_probe() local 172 idx, port[idx], mem[idx], irq[idx]); in cc770_isa_probe() 173 if (mem[idx]) { in cc770_isa_probe() 174 if (!request_mem_region(mem[idx], iosize, KBUILD_MODNAME)) { in cc770_isa_probe() 178 base = ioremap(mem[idx], iosize); in cc770_isa_probe() 184 if (indirect[idx] > 0 || in cc770_isa_probe() 185 (indirect[idx] == -1 && indirect[0] > 0)) in cc770_isa_probe() 187 if (!request_region(port[idx], iosize, KBUILD_MODNAME)) { in cc770_isa_probe() 200 dev->irq = irq[idx]; in cc770_isa_probe() 202 if (mem[idx]) { in cc770_isa_probe() [all …]
|
| /OK3568_Linux_fs/kernel/kernel/sched/ |
| H A D | cpudeadline.c | 26 static void cpudl_heapify_down(struct cpudl *cp, int idx) in cpudl_heapify_down() argument 30 int orig_cpu = cp->elements[idx].cpu; in cpudl_heapify_down() 31 u64 orig_dl = cp->elements[idx].dl; in cpudl_heapify_down() 33 if (left_child(idx) >= cp->size) in cpudl_heapify_down() 40 l = left_child(idx); in cpudl_heapify_down() 41 r = right_child(idx); in cpudl_heapify_down() 42 largest = idx; in cpudl_heapify_down() 54 if (largest == idx) in cpudl_heapify_down() 58 cp->elements[idx].cpu = cp->elements[largest].cpu; in cpudl_heapify_down() 59 cp->elements[idx].dl = cp->elements[largest].dl; in cpudl_heapify_down() [all …]
|
| /OK3568_Linux_fs/kernel/mm/ |
| H A D | hugetlb_cgroup.c | 30 #define hugetlb_cgroup_from_counter(counter, idx) \ argument 31 container_of(counter, struct hugetlb_cgroup, hugepage[idx]) 36 __hugetlb_cgroup_counter_from_cgroup(struct hugetlb_cgroup *h_cg, int idx, in __hugetlb_cgroup_counter_from_cgroup() argument 40 return &h_cg->rsvd_hugepage[idx]; in __hugetlb_cgroup_counter_from_cgroup() 41 return &h_cg->hugepage[idx]; in __hugetlb_cgroup_counter_from_cgroup() 45 hugetlb_cgroup_counter_from_cgroup(struct hugetlb_cgroup *h_cg, int idx) in hugetlb_cgroup_counter_from_cgroup() argument 47 return __hugetlb_cgroup_counter_from_cgroup(h_cg, idx, false); in hugetlb_cgroup_counter_from_cgroup() 51 hugetlb_cgroup_counter_from_cgroup_rsvd(struct hugetlb_cgroup *h_cg, int idx) in hugetlb_cgroup_counter_from_cgroup_rsvd() argument 53 return __hugetlb_cgroup_counter_from_cgroup(h_cg, idx, true); in hugetlb_cgroup_counter_from_cgroup_rsvd() 81 int idx; in hugetlb_cgroup_have_usage() local [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/um/ |
| H A D | tls_32.c | 66 int idx; in get_free_idx() local 68 for (idx = 0; idx < GDT_ENTRY_TLS_ENTRIES; idx++) in get_free_idx() 69 if (!t->arch.tls_array[idx].present) in get_free_idx() 70 return idx + GDT_ENTRY_TLS_MIN; in get_free_idx() 92 int idx; in load_TLS() local 94 for (idx = GDT_ENTRY_TLS_MIN; idx < GDT_ENTRY_TLS_MAX; idx++) { in load_TLS() 96 &to->thread.arch.tls_array[idx - GDT_ENTRY_TLS_MIN]; in load_TLS() 105 curr->tls.entry_number = idx; in load_TLS() 201 int idx, int flushed) in set_tls_entry() argument 205 if (idx < GDT_ENTRY_TLS_MIN || idx > GDT_ENTRY_TLS_MAX) in set_tls_entry() [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/core/cuda/ |
| H A D | scan.hpp | 66 __device__ __forceinline__ T operator()( volatile T *ptr , const unsigned int idx) in operator ()() 68 const unsigned int lane = idx & 31; in operator ()() 71 if ( lane >= 1) ptr [idx ] = op(ptr [idx - 1], ptr [idx]); in operator ()() 72 if ( lane >= 2) ptr [idx ] = op(ptr [idx - 2], ptr [idx]); in operator ()() 73 if ( lane >= 4) ptr [idx ] = op(ptr [idx - 4], ptr [idx]); in operator ()() 74 if ( lane >= 8) ptr [idx ] = op(ptr [idx - 8], ptr [idx]); in operator ()() 75 if ( lane >= 16) ptr [idx ] = op(ptr [idx - 16], ptr [idx]); in operator ()() 78 return ptr [idx]; in operator ()() 80 return (lane > 0) ? ptr [idx - 1] : 0; in operator ()() 100 __device__ __forceinline__ T operator()( volatile T *ptr , const unsigned int idx) in operator ()() [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-armhf/include/opencv2/core/cuda/ |
| H A D | scan.hpp | 66 __device__ __forceinline__ T operator()( volatile T *ptr , const unsigned int idx) in operator ()() 68 const unsigned int lane = idx & 31; in operator ()() 71 if ( lane >= 1) ptr [idx ] = op(ptr [idx - 1], ptr [idx]); in operator ()() 72 if ( lane >= 2) ptr [idx ] = op(ptr [idx - 2], ptr [idx]); in operator ()() 73 if ( lane >= 4) ptr [idx ] = op(ptr [idx - 4], ptr [idx]); in operator ()() 74 if ( lane >= 8) ptr [idx ] = op(ptr [idx - 8], ptr [idx]); in operator ()() 75 if ( lane >= 16) ptr [idx ] = op(ptr [idx - 16], ptr [idx]); in operator ()() 78 return ptr [idx]; in operator ()() 80 return (lane > 0) ? ptr [idx - 1] : 0; in operator ()() 100 __device__ __forceinline__ T operator()( volatile T *ptr , const unsigned int idx) in operator ()() [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/OpenCV-android-sdk/sdk/native/jni/include/opencv2/core/cuda/ |
| H A D | scan.hpp | 66 __device__ __forceinline__ T operator()( volatile T *ptr , const unsigned int idx) in operator ()() 68 const unsigned int lane = idx & 31; in operator ()() 71 if ( lane >= 1) ptr [idx ] = op(ptr [idx - 1], ptr [idx]); in operator ()() 72 if ( lane >= 2) ptr [idx ] = op(ptr [idx - 2], ptr [idx]); in operator ()() 73 if ( lane >= 4) ptr [idx ] = op(ptr [idx - 4], ptr [idx]); in operator ()() 74 if ( lane >= 8) ptr [idx ] = op(ptr [idx - 8], ptr [idx]); in operator ()() 75 if ( lane >= 16) ptr [idx ] = op(ptr [idx - 16], ptr [idx]); in operator ()() 78 return ptr [idx]; in operator ()() 80 return (lane > 0) ? ptr [idx - 1] : 0; in operator ()() 100 __device__ __forceinline__ T operator()( volatile T *ptr , const unsigned int idx) in operator ()() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/clk/uniphier/ |
| H A D | clk-uniphier-sys.c | 23 #define UNIPHIER_LD4_SYS_CLK_NAND(idx) \ argument 25 UNIPHIER_CLK_GATE("nand", (idx), "nand-50m", 0x2104, 2) 27 #define UNIPHIER_PRO5_SYS_CLK_NAND(idx) \ argument 29 UNIPHIER_CLK_GATE("nand", (idx), "nand-50m", 0x2104, 2) 31 #define UNIPHIER_LD11_SYS_CLK_NAND(idx) \ argument 33 UNIPHIER_CLK_GATE("nand", (idx), "nand-50m", 0x210c, 0) 35 #define UNIPHIER_SYS_CLK_NAND_4X(idx) \ argument 36 UNIPHIER_CLK_FACTOR("nand-4x", (idx), "nand", 4, 1) 38 #define UNIPHIER_LD11_SYS_CLK_EMMC(idx) \ argument 39 UNIPHIER_CLK_GATE("emmc", (idx), NULL, 0x210c, 2) [all …]
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | fm_eth.h | 61 #define FM_ETH_INFO_INITIALIZER(idx, pregs) \ argument 62 .fm = idx, \ 67 #define FM_DTSEC_INFO_INITIALIZER(idx, n) \ argument 69 FM_ETH_INFO_INITIALIZER(idx, CONFIG_SYS_FM1_DTSEC_MDIO_ADDR) \ 70 .index = idx, \ 73 .port = FM##idx##_DTSEC##n, \ 76 .compat_offset = CONFIG_SYS_FSL_FM##idx##_OFFSET + \ 81 #define FM_TGEC_INFO_INITIALIZER(idx, n) \ argument 83 FM_ETH_INFO_INITIALIZER(idx, CONFIG_SYS_FM1_TGEC_MDIO_ADDR) \ 84 .index = idx, \ [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/events/intel/ |
| H A D | uncore_nhmex.c | 249 if (hwc->idx == UNCORE_PMC_IDX_FIXED) in nhmex_uncore_msr_enable_event() 371 reg1->idx = 0; in nhmex_bbox_hw_config() 383 if (reg1->idx != EXTRA_REG_NONE) { in nhmex_bbox_msr_enable_event() 456 reg1->idx = 0; in nhmex_sbox_hw_config() 468 if (reg1->idx != EXTRA_REG_NONE) { in nhmex_sbox_msr_enable_event() 553 static bool nhmex_mbox_get_shared_reg(struct intel_uncore_box *box, int idx, u64 config) in nhmex_mbox_get_shared_reg() argument 560 if (idx < EXTRA_REG_NHMEX_M_ZDP_CTL_FVC) { in nhmex_mbox_get_shared_reg() 561 er = &box->shared_regs[idx]; in nhmex_mbox_get_shared_reg() 577 idx -= EXTRA_REG_NHMEX_M_ZDP_CTL_FVC; in nhmex_mbox_get_shared_reg() 578 if (WARN_ON_ONCE(idx >= 4)) in nhmex_mbox_get_shared_reg() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/ |
| H A D | evergreen_cs.c | 756 unsigned idx) in evergreen_cs_track_validate_texture() argument 764 texdw[0] = radeon_get_ib_value(p, idx + 0); in evergreen_cs_track_validate_texture() 765 texdw[1] = radeon_get_ib_value(p, idx + 1); in evergreen_cs_track_validate_texture() 766 texdw[2] = radeon_get_ib_value(p, idx + 2); in evergreen_cs_track_validate_texture() 767 texdw[3] = radeon_get_ib_value(p, idx + 3); in evergreen_cs_track_validate_texture() 768 texdw[4] = radeon_get_ib_value(p, idx + 4); in evergreen_cs_track_validate_texture() 769 texdw[5] = radeon_get_ib_value(p, idx + 5); in evergreen_cs_track_validate_texture() 770 texdw[6] = radeon_get_ib_value(p, idx + 6); in evergreen_cs_track_validate_texture() 771 texdw[7] = radeon_get_ib_value(p, idx + 7); in evergreen_cs_track_validate_texture() 1050 unsigned idx, unsigned reg) in evergreen_packet0_check() argument [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/ |
| H A D | Core.pm | 39 foreach my $idx (sort {$a <=> $b} keys %trace_flags) { 40 if (!$value && !$idx) { 45 if ($idx && ($value & $idx) == $idx) { 49 $string .= "$trace_flags{$idx}"; 51 $value &= ~$idx; 69 foreach my $idx (sort {$a <=> $b} keys %{$flag_fields{$event_name}{$field_name}{"values"}}) { 70 if (!$value && !$idx) { 71 $string .= "$flag_fields{$event_name}{$field_name}{'values'}{$idx}"; 74 if ($idx && ($value & $idx) == $idx) { 78 $string .= "$flag_fields{$event_name}{$field_name}{'values'}{$idx}"; [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | memcontrol.h | 351 static __always_inline bool memcg_stat_item_in_bytes(int idx) in memcg_stat_item_in_bytes() argument 353 if (idx == MEMCG_PERCPU_B) in memcg_stat_item_in_bytes() 355 return vmstat_item_in_bytes(idx); in memcg_stat_item_in_bytes() 710 static inline unsigned long memcg_page_state(struct mem_cgroup *memcg, int idx) in memcg_page_state() argument 712 long x = atomic_long_read(&memcg->vmstats[idx]); in memcg_page_state() 725 int idx) in memcg_page_state_local() argument 731 x += per_cpu(memcg->vmstats_local->stat[idx], cpu); in memcg_page_state_local() 739 void __mod_memcg_state(struct mem_cgroup *memcg, int idx, int val); 743 int idx, int val) in mod_memcg_state() argument 748 __mod_memcg_state(memcg, idx, val); in mod_memcg_state() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/ |
| H A D | phl_acs.c | 19 void phl_acs_mntr_trigger(struct phl_info_t *phl_info, u8 idx, u16 channel, u16 monitor_time) in phl_acs_mntr_trigger() argument 23 if ((idx < 0) || (idx >= MAX_CHANNEL_NUM)) { in phl_acs_mntr_trigger() 24 PHL_ERR("[ACS][%s] idx(%d) invalid\n", __func__, idx); in phl_acs_mntr_trigger() 26 } else if (idx == 0) { in phl_acs_mntr_trigger() 30 acs->curr_idx = idx; in phl_acs_mntr_trigger() 31 acs->chset[idx] = channel; in phl_acs_mntr_trigger() 39 u8 idx = acs->curr_idx; in phl_acs_mntr_result() local 46 if (idx >= MAX_CHANNEL_NUM) { in phl_acs_mntr_result() 47 PHL_ERR("[ACS][%s] idx(%d) invalid\n", __func__, idx); in phl_acs_mntr_result() 52 acs->clm_ratio[idx] = rpt.clm_ratio; in phl_acs_mntr_result() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/ |
| H A D | phl_acs.c | 19 void phl_acs_mntr_trigger(struct phl_info_t *phl_info, u8 idx, u16 channel, u16 monitor_time) in phl_acs_mntr_trigger() argument 23 if ((idx < 0) || (idx >= MAX_CHANNEL_NUM)) { in phl_acs_mntr_trigger() 24 PHL_ERR("[ACS][%s] idx(%d) invalid\n", __func__, idx); in phl_acs_mntr_trigger() 26 } else if (idx == 0) { in phl_acs_mntr_trigger() 30 acs->curr_idx = idx; in phl_acs_mntr_trigger() 31 acs->chset[idx] = channel; in phl_acs_mntr_trigger() 39 u8 idx = acs->curr_idx; in phl_acs_mntr_result() local 46 if (idx >= MAX_CHANNEL_NUM) { in phl_acs_mntr_result() 47 PHL_ERR("[ACS][%s] idx(%d) invalid\n", __func__, idx); in phl_acs_mntr_result() 52 acs->clm_ratio[idx] = rpt.clm_ratio; in phl_acs_mntr_result() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/mac/mac_ax/ |
| H A D | p2p.c | 23 u8 idx; in _get_valid_p2pid() local 25 for (idx = 0; idx < P2P_MAX_NUM; idx++) { in _get_valid_p2pid() 26 if (info[idx].run && info[idx].macid == macid) { in _get_valid_p2pid() 28 macid, idx); in _get_valid_p2pid() 34 for (idx = 0; idx < P2P_MAX_NUM; idx++) { in _get_valid_p2pid() 35 if (!info[idx].run && !info[idx].wait_dack) { in _get_valid_p2pid() 36 *p2pid = idx; in _get_valid_p2pid() 49 u8 idx; in _get_macid_p2pid() local 51 for (idx = 0; idx < P2P_MAX_NUM; idx++) { in _get_macid_p2pid() 52 if (info[idx].run && info[idx].macid == macid) { in _get_macid_p2pid() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/mac/mac_ax/ |
| H A D | p2p.c | 23 u8 idx; in _get_valid_p2pid() local 25 for (idx = 0; idx < P2P_MAX_NUM; idx++) { in _get_valid_p2pid() 26 if (info[idx].run && info[idx].macid == macid) { in _get_valid_p2pid() 28 macid, idx); in _get_valid_p2pid() 34 for (idx = 0; idx < P2P_MAX_NUM; idx++) { in _get_valid_p2pid() 35 if (!info[idx].run && !info[idx].wait_dack) { in _get_valid_p2pid() 36 *p2pid = idx; in _get_valid_p2pid() 49 u8 idx; in _get_macid_p2pid() local 51 for (idx = 0; idx < P2P_MAX_NUM; idx++) { in _get_macid_p2pid() 52 if (info[idx].run && info[idx].macid == macid) { in _get_macid_p2pid() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/disp/dpu1/ |
| H A D | dpu_hw_sspp.c | 138 u32 *idx) in _sspp_subblk_offset() argument 150 *idx = sblk->src_blk.base; in _sspp_subblk_offset() 155 *idx = sblk->scaler_blk.base; in _sspp_subblk_offset() 159 *idx = sblk->csc_blk.base; in _sspp_subblk_offset() 173 u32 idx; in dpu_hw_sspp_setup_multirect() local 175 if (_sspp_subblk_offset(ctx, DPU_SSPP_SRC, &idx)) in dpu_hw_sspp_setup_multirect() 186 mode_mask = DPU_REG_READ(&ctx->hw, SSPP_MULTIRECT_OPMODE + idx); in dpu_hw_sspp_setup_multirect() 194 DPU_REG_WRITE(&ctx->hw, SSPP_MULTIRECT_OPMODE + idx, mode_mask); in dpu_hw_sspp_setup_multirect() 200 u32 idx; in _sspp_setup_opmode() local 204 _sspp_subblk_offset(ctx, DPU_SSPP_SCALER_QSEED2, &idx) || in _sspp_setup_opmode() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/include/nvkm/core/ |
| H A D | device.h | 205 int (*acr )(struct nvkm_device *, int idx, struct nvkm_acr **); 206 int (*bar )(struct nvkm_device *, int idx, struct nvkm_bar **); 207 int (*bios )(struct nvkm_device *, int idx, struct nvkm_bios **); 208 int (*bus )(struct nvkm_device *, int idx, struct nvkm_bus **); 209 int (*clk )(struct nvkm_device *, int idx, struct nvkm_clk **); 210 int (*devinit )(struct nvkm_device *, int idx, struct nvkm_devinit **); 211 int (*fault )(struct nvkm_device *, int idx, struct nvkm_fault **); 212 int (*fb )(struct nvkm_device *, int idx, struct nvkm_fb **); 213 int (*fuse )(struct nvkm_device *, int idx, struct nvkm_fuse **); 214 int (*gpio )(struct nvkm_device *, int idx, struct nvkm_gpio **); [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/dnn/ |
| H A D | dnn.inl.hpp | 79 inline DictValue DictValue::get<DictValue>(int idx) const in get() 81 CV_Assert(idx == -1); in get() 86 inline int64 DictValue::get<int64>(int idx) const in get() 88 CV_Assert((idx == -1 && size() == 1) || (idx >= 0 && idx < size())); in get() 89 idx = (idx == -1) ? 0 : idx; in get() 93 return (*pi)[idx]; in get() 97 double doubleValue = (*pd)[idx]; in get() 107 return std::atoi((*ps)[idx].c_str()); in get() 117 inline int DictValue::get<int>(int idx) const in get() 119 return (int)get<int64>(idx); in get() [all …]
|