| /OK3568_Linux_fs/u-boot/drivers/ddr/marvell/a38x/ |
| H A D | ddr3_training_db.c | 350 u32 speed_bin_table(u8 index, enum speed_bin_table_elements element) in speed_bin_table() argument 357 result = speed_bin_table_t_rcd_t_rp[index]; in speed_bin_table() 360 if (index < 6) in speed_bin_table() 362 else if (index < 10) in speed_bin_table() 364 else if (index < 14) in speed_bin_table() 366 else if (index < 18) in speed_bin_table() 372 result = speed_bin_table_t_rc[index]; in speed_bin_table() 375 if (index < 3) in speed_bin_table() 377 else if (index < 6) in speed_bin_table() 379 else if (index < 14) in speed_bin_table() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dhd_static_buf.c | 182 uint bus_type, int index, in dhd_wlan_mem_prealloc() argument 187 int index = 0; in dhd_wlan_mem_prealloc() local 192 bus_type, index, section, size); in dhd_wlan_mem_prealloc() 198 return wlan_static_prot[index]; in dhd_wlan_mem_prealloc() 202 return wlan_static_rxbuf[index]; in dhd_wlan_mem_prealloc() 205 return wlan_static_databuf[index]; in dhd_wlan_mem_prealloc() 210 return wlan_static_skb[index]; in dhd_wlan_mem_prealloc() 214 return wlan_static_scan_buf0[index]; in dhd_wlan_mem_prealloc() 217 return wlan_static_scan_buf1[index]; in dhd_wlan_mem_prealloc() 225 return wlan_static_osl_buf[index]; in dhd_wlan_mem_prealloc() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dhd_static_buf.c | 182 uint bus_type, int index, in dhd_wlan_mem_prealloc() argument 187 int index = 0; in dhd_wlan_mem_prealloc() local 192 bus_type, index, section, size); in dhd_wlan_mem_prealloc() 198 return wlan_static_prot[index]; in dhd_wlan_mem_prealloc() 202 return wlan_static_rxbuf[index]; in dhd_wlan_mem_prealloc() 205 return wlan_static_databuf[index]; in dhd_wlan_mem_prealloc() 210 return wlan_static_skb[index]; in dhd_wlan_mem_prealloc() 214 return wlan_static_scan_buf0[index]; in dhd_wlan_mem_prealloc() 217 return wlan_static_scan_buf1[index]; in dhd_wlan_mem_prealloc() 225 return wlan_static_osl_buf[index]; in dhd_wlan_mem_prealloc() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-keystone/ |
| H A D | cmd_ddr3.c | 30 u32 index_start, value, index; in ddr_memory_test() local 36 for (index = index_start; in ddr_memory_test() 37 index < index_start + DDR_TEST_BURST_SIZE; in ddr_memory_test() 38 index += 4) in ddr_memory_test() 39 __raw_writel(index, index); in ddr_memory_test() 42 for (index = index_start; in ddr_memory_test() 43 index < index_start + DDR_TEST_BURST_SIZE; in ddr_memory_test() 44 index += 4) { in ddr_memory_test() 45 value = __raw_readl(index); in ddr_memory_test() 46 if (value != index) { in ddr_memory_test() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/ |
| H A D | index.rst | 39 admin-guide/index 40 kbuild/index 50 firmware-guide/index 51 devicetree/index 62 userspace-api/index 77 process/index 78 dev-tools/index 79 doc-guide/index 80 kernel-hacking/index 81 trace/index [all …]
|
| /OK3568_Linux_fs/external/rockit/mpi/example/mod/ |
| H A D | test_mpi_gdc.cpp | 292 RK_VOID test_mpi_gdc_change_parameter(TEST_GDC_CTX_S *ctx, RK_S32 index, TEST_GDC_CHANGE_TYPE type)… in test_mpi_gdc_change_parameter() argument 294 …memcpy(®ionAttr, &ctx->stFisheyeAttr.astFishEyeRegionAttr[index], sizeof(FISHEYE_REGION_ATTR_S)… in test_mpi_gdc_change_parameter() 330 …memcpy(&ctx->stFisheyeAttr.astFishEyeRegionAttr[index], ®ionAttr, sizeof(FISHEYE_REGION_ATTR_S)… in test_mpi_gdc_change_parameter() 456 RK_S32 index = 0; in test_mpi_gdc_desktop_ceil_mount_1p_add_1() local 492 ctx->stFisheyeAttr.astFishEyeRegionAttr[index].enViewMode = FISHEYE_VIEW_NORMAL; in test_mpi_gdc_desktop_ceil_mount_1p_add_1() 494 …ctx->stFisheyeAttr.astFishEyeRegionAttr[index].u32InRadius = 0; /* RW; inner radius of gdc correct… in test_mpi_gdc_desktop_ceil_mount_1p_add_1() 495 …ctx->stFisheyeAttr.astFishEyeRegionAttr[index].u32OutRadius = 474; /* RW; out radius of gdc correc… in test_mpi_gdc_desktop_ceil_mount_1p_add_1() 496 ctx->stFisheyeAttr.astFishEyeRegionAttr[index].u32Pan = 180; /* RW; Range: [0, 360] */ in test_mpi_gdc_desktop_ceil_mount_1p_add_1() 497 ctx->stFisheyeAttr.astFishEyeRegionAttr[index].u32Tilt = 98; /* RW; Range: [0, 360] */ in test_mpi_gdc_desktop_ceil_mount_1p_add_1() 498 ctx->stFisheyeAttr.astFishEyeRegionAttr[index].u32HorZoom = 4095; /* RW; Range: [1, 4095] */ in test_mpi_gdc_desktop_ceil_mount_1p_add_1() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/radix-tree/ |
| H A D | tag_check.c | 14 __simple_checks(struct radix_tree_root *tree, unsigned long index, int tag) in __simple_checks() argument 19 item_check_absent(tree, index); in __simple_checks() 20 assert(item_tag_get(tree, index, tag) == 0); in __simple_checks() 22 item_insert(tree, index); in __simple_checks() 23 assert(item_tag_get(tree, index, tag) == 0); in __simple_checks() 24 item_tag_set(tree, index, tag); in __simple_checks() 25 ret = item_tag_get(tree, index, tag); in __simple_checks() 29 ret = item_tag_get(tree, index, !tag); in __simple_checks() 31 ret = item_delete(tree, index); in __simple_checks() 33 item_insert(tree, index); in __simple_checks() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/hwmon/ |
| H A D | w83795.c | 118 #define IN_LSB_REG(index, type) \ argument 119 (((type) == 1) ? W83795_REG_IN_HL_LSB[(index)] \ 120 : (W83795_REG_IN_HL_LSB[(index)] + 1)) 150 #define W83795_REG_FAN(index) (0x2E + (index)) argument 151 #define W83795_REG_FAN_MIN_HL(index) (0xB6 + (index)) argument 152 #define W83795_REG_FAN_MIN_LSB(index) (0xC4 + (index) / 2) argument 153 #define W83795_REG_FAN_MIN_LSB_SHIFT(index) \ argument 154 (((index) & 1) ? 4 : 0) 160 #define W83795_REG_ALARM(index) (0x41 + (index)) argument 162 #define W83795_REG_BEEP(index) (0x50 + (index)) argument [all …]
|
| H A D | w83793.c | 116 #define W83793_REG_BEEP(index) (0x53 + (index)) argument 117 #define W83793_REG_ALARM(index) (0x4b + (index)) argument 146 #define W83793_REG_FAN(index) (0x23 + 2 * (index)) /* High byte */ argument 147 #define W83793_REG_FAN_MIN(index) (0x90 + 2 * (index)) /* High byte */ argument 159 #define W83793_REG_PWM(index, nr) (((nr) == 0 ? 0xb3 : \ argument 160 (nr) == 1 ? 0x220 : 0x218) + (index)) 163 #define W83793_REG_TEMP_FAN_MAP(index) (0x201 + (index)) argument 164 #define W83793_REG_TEMP_TOL(index) (0x208 + (index)) argument 165 #define W83793_REG_TEMP_CRUISE(index) (0x210 + (index)) argument 166 #define W83793_REG_PWM_STOP_TIME(index) (0x228 + (index)) argument [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/cavium-octeon/executive/ |
| H A D | cvmx-helper-sgmii.c | 52 static int __cvmx_helper_sgmii_hardware_init_one_time(int interface, int index) in __cvmx_helper_sgmii_hardware_init_one_time() argument 60 gmxx_prtx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time() 62 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmxx_prtx_cfg.u64); in __cvmx_helper_sgmii_hardware_init_one_time() 70 cvmx_read_csr(CVMX_PCSX_MISCX_CTL_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time() 72 cvmx_read_csr(CVMX_PCSX_LINKX_TIMER_COUNT_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time() 82 cvmx_write_csr(CVMX_PCSX_LINKX_TIMER_COUNT_REG(index, interface), in __cvmx_helper_sgmii_hardware_init_one_time() 98 cvmx_read_csr(CVMX_PCSX_ANX_ADV_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time() 103 cvmx_write_csr(CVMX_PCSX_ANX_ADV_REG(index, interface), in __cvmx_helper_sgmii_hardware_init_one_time() 108 cvmx_read_csr(CVMX_PCSX_MISCX_CTL_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time() 114 (index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time() [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/layerindexlib/tests/ |
| H A D | layerindexobj.py | 15 self.index = LayerIndexObj() 25 self.index.branches = {} 26 self.index.layerItems = {} 27 self.index.layerBranches = {} 28 self.index.layerDependencies = {} 29 self.index.recipes = {} 30 self.index.machines = {} 31 self.index.distros = {} 34 self.index.branches[branchId] = Branch(self.index) 35 self.index.branches[branchId].define_data(branchId, [all …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/ |
| H A D | interpolation.cpp | 7 int i, index; in interpolation() local 25 index = i - 1; in interpolation() 26 if ((float)x[index + 1] - (float)x[index] < 0.001) in interpolation() 27 k = (float)y[index]; in interpolation() 29 k = ((float)x0 - (float)x[index]) / ((float)x[index + 1] - (float)x[index]) in interpolation() 30 * ((float)y[index + 1] - (float)y[index]) in interpolation() 31 + (float)y[index]; in interpolation() 39 int i, index; in interpolation() local 57 index = i - 1; in interpolation() 58 if ((float)x[index + 1] - (float)x[index] < 0.001) in interpolation() [all …]
|
| /OK3568_Linux_fs/kernel/net/netfilter/ |
| H A D | xt_set.c | 29 match_set(ip_set_id_t index, const struct sk_buff *skb, in match_set() argument 33 if (ip_set_test(index, skb, par, opt)) in match_set() 62 return match_set(info->match_set.index, skb, par, &opt, in set_match_v0() 86 ip_set_id_t index; in set_match_v0_checkentry() local 88 index = ip_set_nfnl_get_byindex(par->net, info->match_set.index); in set_match_v0_checkentry() 90 if (index == IPSET_INVALID_ID) { in set_match_v0_checkentry() 92 info->match_set.index); in set_match_v0_checkentry() 97 ip_set_nfnl_put(par->net, info->match_set.index); in set_match_v0_checkentry() 112 ip_set_nfnl_put(par->net, info->match_set.index); in set_match_v0_destroy() 129 return match_set(info->match_set.index, skb, par, &opt, in set_match_v1() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/cyttsp5/ |
| H A D | cyttsp5_device_access.c | 374 int index; in cyttsp5_response_show() local 377 index = scnprintf(buf, CY_MAX_PRBUF_SIZE, in cyttsp5_response_show() 385 index += scnprintf(buf + index, CY_MAX_PRBUF_SIZE - index, in cyttsp5_response_show() 388 index += scnprintf(buf + index, CY_MAX_PRBUF_SIZE - index, in cyttsp5_response_show() 393 return index; in cyttsp5_response_show() 1096 static void fill_gd_sensor_table(struct gd_sensor *head, int32_t index, in fill_gd_sensor_table() argument 1101 (head + index)->cm_max = cm_max; in fill_gd_sensor_table() 1102 (head + index)->cm_min = cm_min; in fill_gd_sensor_table() 1103 (head + index)->cm_ave = cm_ave; in fill_gd_sensor_table() 1104 (head + index)->cm_ave_exclude_edge = cm_ave_exclude_edge; in fill_gd_sensor_table() [all …]
|
| /OK3568_Linux_fs/kernel/arch/m68k/sun3x/ |
| H A D | dvma.c | 44 #define dvma_entry_paddr(index) (iommu_pte[index] & IOMMU_ADDR_MASK) argument 45 #define dvma_entry_vaddr(index,paddr) ((index << DVMA_PAGE_SHIFT) | \ argument 48 #define dvma_entry_set(index,addr) (iommu_pte[index] = \ 52 #define dvma_entry_set(index,addr) (iommu_pte[index] = \ argument 56 #define dvma_entry_clr(index) (iommu_pte[index] = IOMMU_DT_INVALID) argument 66 unsigned long index; in dvma_print() local 68 index = dvma_addr >> DVMA_PAGE_SHIFT; in dvma_print() 70 pr_info("idx %lx dvma_addr %08lx paddr %08lx\n", index, dvma_addr, in dvma_print() 71 dvma_entry_paddr(index)); in dvma_print() 149 unsigned long end, index; in dvma_map_iommu() local [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/orm/management/commands/ |
| H A D | lsupdates.py | 114 index = layerindex.indexes[0] 121 total = len(index.branches) 122 for i, id in enumerate(index.branches): 124 Release.objects.get(name=index.branches[id].name) 133 total = len(index.layerItems) 134 for i, id in enumerate(index.layerItems): 136 l, created = Layer.objects.get_or_create(name=index.layerItems[id].name) 137 l.up_date = index.layerItems[id].updated 138 l.summary = index.layerItems[id].summary 139 l.description = index.layerItems[id].description [all …]
|
| /OK3568_Linux_fs/kernel/arch/m68k/coldfire/ |
| H A D | intc-5272.c | 40 unsigned char index; member 45 /*MCF_IRQ_SPURIOUS*/ { .icr = 0, .index = 0, .ack = 0, }, 46 /*MCF_IRQ_EINT1*/ { .icr = MCFSIM_ICR1, .index = 28, .ack = 1, }, 47 /*MCF_IRQ_EINT2*/ { .icr = MCFSIM_ICR1, .index = 24, .ack = 1, }, 48 /*MCF_IRQ_EINT3*/ { .icr = MCFSIM_ICR1, .index = 20, .ack = 1, }, 49 /*MCF_IRQ_EINT4*/ { .icr = MCFSIM_ICR1, .index = 16, .ack = 1, }, 50 /*MCF_IRQ_TIMER1*/ { .icr = MCFSIM_ICR1, .index = 12, .ack = 0, }, 51 /*MCF_IRQ_TIMER2*/ { .icr = MCFSIM_ICR1, .index = 8, .ack = 0, }, 52 /*MCF_IRQ_TIMER3*/ { .icr = MCFSIM_ICR1, .index = 4, .ack = 0, }, 53 /*MCF_IRQ_TIMER4*/ { .icr = MCFSIM_ICR1, .index = 0, .ack = 0, }, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/acpi/acpica/ |
| H A D | dsmthdat.c | 20 u32 index, struct acpi_walk_state *walk_state); 24 u32 index, 31 u32 index, struct acpi_walk_state *walk_state); 104 u32 index; in acpi_ds_method_data_delete_all() local 110 for (index = 0; index < ACPI_METHOD_NUM_LOCALS; index++) { in acpi_ds_method_data_delete_all() 111 if (walk_state->local_variables[index].object) { in acpi_ds_method_data_delete_all() 113 index, in acpi_ds_method_data_delete_all() 114 walk_state->local_variables[index]. in acpi_ds_method_data_delete_all() 120 local_variables[index]); in acpi_ds_method_data_delete_all() 126 for (index = 0; index < ACPI_METHOD_NUM_ARGS; index++) { in acpi_ds_method_data_delete_all() [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/layerindexlib/ |
| H A D | restapi.py | 61 index = layerindexlib.LayerIndexObj() 63 index.config = {} 64 index.config['TYPE'] = self.type 65 index.config['URL'] = url 70 index.config['DESCRIPTION'] = unquote(params['desc']) 72 index.config['DESCRIPTION'] = up.path 75 index.config['CACHE'] = params['cache'] 79 index.config['BRANCH'] = branches 84 def load_cache(path, index, branches=[]): argument 103 index.add_raw_element('branches', layerindexlib.Branch, newpBranch) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/extcon/ |
| H A D | extcon.c | 290 static bool is_extcon_attached(struct extcon_dev *edev, unsigned int index) in is_extcon_attached() argument 292 return !!(edev->state & BIT(index)); in is_extcon_attached() 295 static bool is_extcon_changed(struct extcon_dev *edev, int index, in is_extcon_changed() argument 298 int state = !!(edev->state & BIT(index)); in is_extcon_changed() 316 unsigned int id, int index,unsigned int prop) in is_extcon_property_capability() argument 326 cable = &edev->cables[index]; in is_extcon_property_capability() 348 static void init_property(struct extcon_dev *edev, unsigned int id, int index) in init_property() argument 351 struct extcon_cable *cable = &edev->cables[index]; in init_property() 431 int index; in extcon_sync() local 438 index = find_cable_index_by_id(edev, id); in extcon_sync() [all …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rk_stream/stream_cfg/ |
| H A D | MediaInfo.cpp | 141 fie.index++; in get_sensor_caps() 143 if (fie.index == 0) in get_sensor_caps() 221 int index = 0; in get_ispp_subdevs() local 226 for(index = 0; index < MAX_CAM_NUM; index++) { in get_ispp_subdevs() 227 if (0 == strlen(ispp_info[index].media_dev_path)) in get_ispp_subdevs() 229 …if (0 == strncmp(ispp_info[index].media_dev_path, devpath, sizeof(ispp_info[index].media_dev_path)… in get_ispp_subdevs() 231 return &ispp_info[index]; in get_ispp_subdevs() 235 if (index >= MAX_CAM_NUM) in get_ispp_subdevs() 255 ispp_info[index].model_idx = model_idx; in get_ispp_subdevs() 260 ispp_info[index].model_idx = 0; in get_ispp_subdevs() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/driver-api/ |
| H A D | index.rst | 17 driver-model/index 21 early-userspace/index 22 pm/index 32 iio/index 34 usb/index 36 pci/index 41 i3c/index 52 mei/index 53 mtd/index 54 mmc/index [all …]
|
| /OK3568_Linux_fs/app/forlinx/flapp/src/plugins/simplebrowser/ |
| H A D | tabwidget.cpp | 69 connect(tabBar, &QTabBar::tabBarDoubleClicked, [this](int index) { in TabWidget() argument 70 if (index == -1) in TabWidget() 80 void TabWidget::handleCurrentChanged(int index) in handleCurrentChanged() argument 82 if (index != -1) { in handleCurrentChanged() 83 WebView *view = webView(index); in handleCurrentChanged() 110 int index = tabBar()->tabAt(pos); in handleContextMenuRequested() local 111 if (index != -1) { in handleContextMenuRequested() 113 connect(action, &QAction::triggered, this, [this,index]() { in handleContextMenuRequested() 114 cloneTab(index); in handleContextMenuRequested() 119 connect(action, &QAction::triggered, this, [this,index]() { in handleContextMenuRequested() [all …]
|
| /OK3568_Linux_fs/app/forlinx/flapp/src/plugins/imxwayland/simplebrowser/ |
| H A D | tabwidget.cpp | 69 connect(tabBar, &QTabBar::tabBarDoubleClicked, [this](int index) { in TabWidget() argument 70 if (index == -1) in TabWidget() 80 void TabWidget::handleCurrentChanged(int index) in handleCurrentChanged() argument 82 if (index != -1) { in handleCurrentChanged() 83 WebView *view = webView(index); in handleCurrentChanged() 110 int index = tabBar()->tabAt(pos); in handleContextMenuRequested() local 111 if (index != -1) { in handleContextMenuRequested() 113 connect(action, &QAction::triggered, this, [this,index]() { in handleContextMenuRequested() 114 cloneTab(index); in handleContextMenuRequested() 119 connect(action, &QAction::triggered, this, [this,index]() { in handleContextMenuRequested() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/octeon/ |
| H A D | ethernet-spi.c | 20 static void cvm_oct_spxx_int_pr(union cvmx_spxx_int_reg spx_int_reg, int index) in cvm_oct_spxx_int_pr() argument 23 pr_err("SPI%d: SRX Spi4 interface down\n", index); in cvm_oct_spxx_int_pr() 25 pr_err("SPI%d: SRX Spi4 Calendar table parity error\n", index); in cvm_oct_spxx_int_pr() 28 index); in cvm_oct_spxx_int_pr() 30 pr_err("SPI%d: SRX Spi4 DIP4 error\n", index); in cvm_oct_spxx_int_pr() 33 index); in cvm_oct_spxx_int_pr() 36 index); in cvm_oct_spxx_int_pr() 39 index); in cvm_oct_spxx_int_pr() 42 index); in cvm_oct_spxx_int_pr() 44 pr_err("SPI%d: SRX Spi4 async FIFO overflow\n", index); in cvm_oct_spxx_int_pr() [all …]
|