| /OK3568_Linux_fs/kernel/drivers/tty/serial/8250/ |
| H A D | 8250_mid.c | 53 static int pnw_setup(struct mid8250 *mid, struct uart_port *p) in pnw_setup() argument 59 mid->dma_index = 0; in pnw_setup() 62 mid->dma_index = 1; in pnw_setup() 65 mid->dma_index = 2; in pnw_setup() 71 mid->dma_dev = pci_get_slot(pdev->bus, in pnw_setup() 76 static void pnw_exit(struct mid8250 *mid) in pnw_exit() argument 78 pci_dev_put(mid->dma_dev); in pnw_exit() 83 struct mid8250 *mid = p->private_data; in tng_handle_irq() local 90 chip = pci_get_drvdata(mid->dma_dev); in tng_handle_irq() 93 err = hsu_dma_get_status(chip, mid->dma_index * 2 + 1, &status); in tng_handle_irq() [all …]
|
| /OK3568_Linux_fs/kernel/arch/alpha/kernel/ |
| H A D | core_mcpcia.c | 91 unsigned long mid = MCPCIA_HOSE2MID(hose->index); in conf_read() local 99 addr, type1, mid)); in conf_read() 102 stat0 = *(vuip)MCPCIA_CAP_ERR(mid); in conf_read() 103 *(vuip)MCPCIA_CAP_ERR(mid) = stat0; in conf_read() 105 *(vuip)MCPCIA_CAP_ERR(mid); in conf_read() 106 DBG_CFG(("conf_read: MCPCIA_CAP_ERR(%d) was 0x%x\n", mid, stat0)); in conf_read() 112 mcheck_extra(cpu) = mid; in conf_read() 139 unsigned long mid = MCPCIA_HOSE2MID(hose->index); in conf_write() local 147 stat0 = *(vuip)MCPCIA_CAP_ERR(mid); in conf_write() 148 *(vuip)MCPCIA_CAP_ERR(mid) = stat0; mb(); in conf_write() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/watchdog/ |
| H A D | intel-mid_wdt.c | 43 wdt_command(struct mid_wdt *mid, int sub, const void *in, size_t inlen, size_t size) in wdt_command() argument 45 struct intel_scu_ipc_dev *scu = mid->scu; in wdt_command() 53 struct mid_wdt *mid = watchdog_get_drvdata(wd); in wdt_start() local 69 ret = wdt_command(mid, SCU_WATCHDOG_START, &ipc_wd_start, in wdt_start() 72 dev_crit(mid->dev, "error starting watchdog: %d\n", ret); in wdt_start() 79 struct mid_wdt *mid = watchdog_get_drvdata(wd); in wdt_ping() local 82 ret = wdt_command(mid, SCU_WATCHDOG_KEEPALIVE, NULL, 0, 0); in wdt_ping() 84 dev_crit(mid->dev, "Error executing keepalive: %d\n", ret); in wdt_ping() 91 struct mid_wdt *mid = watchdog_get_drvdata(wd); in wdt_stop() local 94 ret = wdt_command(mid, SCU_WATCHDOG_STOP, NULL, 0, 0); in wdt_stop() [all …]
|
| /OK3568_Linux_fs/kernel/net/sctp/ |
| H A D | stream_interleave.c | 63 __u32 mid; in sctp_chunk_assign_mid() local 75 mid = lchunk->chunk_hdr->flags & SCTP_DATA_LAST_FRAG ? in sctp_chunk_assign_mid() 79 mid = lchunk->chunk_hdr->flags & SCTP_DATA_LAST_FRAG ? in sctp_chunk_assign_mid() 83 hdr->mid = htonl(mid); in sctp_chunk_assign_mid() 108 __u32 mid; in sctp_validate_idata() local 119 mid = ntohl(chunk->subh.idata_hdr->mid); in sctp_validate_idata() 121 return !MID_lt(mid, sctp_mid_peek(stream, in, sid)); in sctp_validate_idata() 139 event->mid == cevent->mid && in sctp_intl_store_reasm() 148 MID_lt(cevent->mid, event->mid)) || in sctp_intl_store_reasm() 160 MID_lt(event->mid, cevent->mid))) { in sctp_intl_store_reasm() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xquartz/ |
| H A D | keysym2ucs.c | 836 int mid; in keysym2ucs() local 849 mid = (min + max) / 2; in keysym2ucs() 850 if (keysymtab[mid].keysym < keysym) in keysym2ucs() 851 min = mid + 1; in keysym2ucs() 852 else if (keysymtab[mid].keysym > keysym) in keysym2ucs() 853 max = mid - 1; in keysym2ucs() 856 return keysymtab[mid].ucs; in keysym2ucs() 879 int mid; in ucs2keysym() local 898 mid = (min + max) / 2; in ucs2keysym() 899 if (reverse_keysymtab[mid].ucs < ucs) in ucs2keysym() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/position/android/src/ |
| H A D | jnipositioning.cpp | 214 jmethodID mid = getCachedMethodID(jniEnv, thisClass, "getLatitude", "()D"); in positionInfoFromJavaLocation() local 215 jdouble latitude = jniEnv->CallDoubleMethod(location, mid); in positionInfoFromJavaLocation() 216 mid = getCachedMethodID(jniEnv, thisClass, "getLongitude", "()D"); in positionInfoFromJavaLocation() 217 jdouble longitude = jniEnv->CallDoubleMethod(location, mid); in positionInfoFromJavaLocation() 221 mid = getCachedMethodID(jniEnv, thisClass, "hasAltitude", "()Z"); in positionInfoFromJavaLocation() 222 jboolean attributeExists = jniEnv->CallBooleanMethod(location, mid); in positionInfoFromJavaLocation() 224 mid = getCachedMethodID(jniEnv, thisClass, "getAltitude", "()D"); in positionInfoFromJavaLocation() 225 jdouble value = jniEnv->CallDoubleMethod(location, mid); in positionInfoFromJavaLocation() 235 mid = getCachedMethodID(jniEnv, thisClass, "getTime", "()J"); in positionInfoFromJavaLocation() 236 jlong timestamp = jniEnv->CallLongMethod(location, mid); in positionInfoFromJavaLocation() [all …]
|
| /OK3568_Linux_fs/kernel/fs/cifs/ |
| H A D | transport.c | 48 cifs_wake_up_task(struct mid_q_entry *mid) in cifs_wake_up_task() argument 50 wake_up_process(mid->callback_data); in cifs_wake_up_task() 66 temp->mid = get_mid(smb_buffer); in AllocMidQEntry() 151 trace_smb3_slow_rsp(smb_cmd, midEntry->mid, midEntry->pid, in _cifs_mid_q_entry_release() 155 midEntry->command, midEntry->mid); in _cifs_mid_q_entry_release() 181 cifs_delete_mid(struct mid_q_entry *mid) in cifs_delete_mid() argument 184 if (!(mid->mid_flags & MID_DELETED)) { in cifs_delete_mid() 185 list_del_init(&mid->qhead); in cifs_delete_mid() 186 mid->mid_flags |= MID_DELETED; in cifs_delete_mid() 190 DeleteMidQEntry(mid); in cifs_delete_mid() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/ide/ |
| H A D | ide-cd_verbose.c | 281 int lo = 0, mid, hi = ARRAY_SIZE(sense_data_texts); in ide_cd_log_error() local 290 mid = (lo + hi) / 2; in ide_cd_log_error() 291 if (sense_data_texts[mid].asc_ascq == key || in ide_cd_log_error() 292 sense_data_texts[mid].asc_ascq == (0xff0000|key)) { in ide_cd_log_error() 293 s = sense_data_texts[mid].text; in ide_cd_log_error() 295 } else if (sense_data_texts[mid].asc_ascq > key) in ide_cd_log_error() 296 hi = mid; in ide_cd_log_error() 298 lo = mid + 1; in ide_cd_log_error() 313 int lo = 0, mid, hi = ARRAY_SIZE(packet_command_texts); in ide_cd_log_error() local 317 mid = (lo + hi) / 2; in ide_cd_log_error() [all …]
|
| /OK3568_Linux_fs/kernel/arch/sparc/kernel/ |
| H A D | devices.c | 36 phandle *prom_node, int *mid) in check_cpu_node() argument 41 if (mid) { in check_cpu_node() 42 *mid = prom_getintdefault(nd, cpu_mid_prop(), 0); in check_cpu_node() 44 *mid &= 3; in check_cpu_node() 55 void *compare_arg, phandle *prom_node, int *mid) in __cpu_find_by() argument 64 prom_node, mid); in __cpu_find_by() 83 int cpu_find_by_instance(int instance, phandle *prom_node, int *mid) in cpu_find_by_instance() argument 86 prom_node, mid); in cpu_find_by_instance() 101 int cpu_find_by_mid(int mid, phandle *prom_node) in cpu_find_by_mid() argument 103 return __cpu_find_by(cpu_mid_compare, (void *)mid, in cpu_find_by_mid()
|
| /OK3568_Linux_fs/kernel/arch/hexagon/lib/ |
| H A D | checksum.c | 88 int i, start, mid, end, mask; in do_csum() local 100 mid = len - start; in do_csum() 101 end = mid & 0xF; in do_csum() 102 mid = mid>>4; in do_csum() 103 sum0 = mid << 18; in do_csum() 128 if (mid) { in do_csum() 131 if (mid > 1) in do_csum() 132 for (i = 0; i < mid-1; i++) { in do_csum() 148 ptr4 = (unsigned int *) &ptr[start + (mid * 16) + (end & 8)]; in do_csum() 155 ptr2 = (unsigned short *) &ptr[start + (mid * 16) + (end & 12)]; in do_csum() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/wil6210/ |
| H A D | netdev.c | 147 txdata->mid >= GET_MAX_VIFS(wil)) in wil6210_netdev_poll_tx() 150 vif = wil->vifs[txdata->mid]; in wil6210_netdev_poll_tx() 152 wil_dbg_txrx(wil, "Invalid MID %d\n", txdata->mid); in wil6210_netdev_poll_tx() 304 u8 mid; in wil_vif_alloc() local 306 mid = wil_vif_find_free_mid(wil); in wil_vif_alloc() 307 if (mid == U8_MAX) { in wil_vif_alloc() 318 if (mid == 0) { in wil_vif_alloc() 328 vif->mid = mid; in wil_vif_alloc() 416 if (wil->vifs[vif->mid]) { in wil_vif_add() 418 vif->mid); in wil_vif_add() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/hwmon/pmbus/ |
| H A D | ucd9200.c | 78 const struct i2c_device_id *mid; in ucd9200_probe() local 96 for (mid = ucd9200_id; mid->name[0]; mid++) { in ucd9200_probe() 97 if (!strncasecmp(mid->name, block_buffer, strlen(mid->name))) in ucd9200_probe() 100 if (!mid->name[0]) { in ucd9200_probe() 108 chip = mid->driver_data; in ucd9200_probe() 110 if (chip != ucd9200 && strcmp(client->name, mid->name) != 0) in ucd9200_probe() 113 client->name, mid->name); in ucd9200_probe() 191 if (mid->driver_data == ucd9240) in ucd9200_probe()
|
| H A D | ucd9000.c | 319 const struct i2c_device_id *mid, in ucd9000_probe_gpio() argument 324 switch (mid->driver_data) { in ucd9000_probe_gpio() 364 const struct i2c_device_id *mid, in ucd9000_probe_gpio() argument 432 const struct i2c_device_id *mid, in ucd9000_init_debugfs() argument 454 if (mid->driver_data == ucd9090 || mid->driver_data == ucd90160 || in ucd9000_init_debugfs() 455 mid->driver_data == ucd90320 || mid->driver_data == ucd90910) { in ucd9000_init_debugfs() 456 gpi_count = mid->driver_data == ucd90320 ? UCD90320_GPI_COUNT in ucd9000_init_debugfs() 483 const struct i2c_device_id *mid, in ucd9000_init_debugfs() argument 495 const struct i2c_device_id *mid; in ucd9000_probe() local 513 for (mid = ucd9000_id; mid->name[0]; mid++) { in ucd9000_probe() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xquartz/xpr/ |
| H A D | x-list.c | 259 x_list *mid, *ptr; in list_sort_1() local 274 mid = ptr->next; in list_sort_1() 280 mid = list_sort_1(mid, length - mid_point, less); in list_sort_1() 284 assert(lst != NULL && mid != NULL); in list_sort_1() 286 if ((*less)(mid->data, lst->data)) in list_sort_1() 287 out = out_head = mid, mid = mid->next; in list_sort_1() 291 while (lst != NULL && mid != NULL) in list_sort_1() 293 if ((*less)(mid->data, lst->data)) in list_sort_1() 294 out = out->next = mid, mid = mid->next; in list_sort_1() 302 out->next = mid; in list_sort_1()
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/cert/ |
| H A D | README.txt | 10 openssl req -new -out mid.csr -config mid.conf 12 #Sign mid.crt 13 openssl x509 -req -in mid.csr -extfile mid.ext -CA ca.crt -CAkey ca.key -CAcreateserial -out mid.cr… 20 openssl x509 -req -in my.csr -CA mid.crt -CAkey mid.key -CAcreateserial -out my.crt -days 10000
|
| /OK3568_Linux_fs/kernel/fs/xfs/libxfs/ |
| H A D | xfs_dir2_block.c | 371 int mid=0; /* midpoint for binary srch */ in xfs_dir2_block_addname() local 453 mid = (low + high) >> 1; in xfs_dir2_block_addname() 454 if ((hash = be32_to_cpu(blp[mid].hashval)) == args->hashval) in xfs_dir2_block_addname() 457 low = mid + 1; in xfs_dir2_block_addname() 459 high = mid - 1; in xfs_dir2_block_addname() 461 while (mid >= 0 && be32_to_cpu(blp[mid].hashval) >= args->hashval) { in xfs_dir2_block_addname() 462 mid--; in xfs_dir2_block_addname() 499 mid++; in xfs_dir2_block_addname() 500 if (mid) in xfs_dir2_block_addname() 501 memmove(blp, &blp[1], mid * sizeof(*blp)); in xfs_dir2_block_addname() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/core/ |
| H A D | rtw_wapi_sms4.c | 72 u32 r, mid, x0, x1, x2, x3, *p; in SMS4Crypt() local 86 mid = x1 ^ x2 ^ x3 ^ rk[r + 0]; in SMS4Crypt() 87 mid = ByteSub(mid); in SMS4Crypt() 88 x0 ^= L1(mid); in SMS4Crypt() 89 mid = x2 ^ x3 ^ x0 ^ rk[r + 1]; in SMS4Crypt() 90 mid = ByteSub(mid); in SMS4Crypt() 91 x1 ^= L1(mid); in SMS4Crypt() 92 mid = x3 ^ x0 ^ x1 ^ rk[r + 2]; in SMS4Crypt() 93 mid = ByteSub(mid); in SMS4Crypt() 94 x2 ^= L1(mid); in SMS4Crypt() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/ |
| H A D | rtw_wapi_sms4.c | 87 u32 r, mid, x0, x1, x2, x3, *p; in SMS4Crypt() local 104 mid = x1 ^ x2 ^ x3 ^ rk[r + 0]; in SMS4Crypt() 105 mid = ByteSub(mid); in SMS4Crypt() 106 x0 ^= L1(mid); in SMS4Crypt() 107 mid = x2 ^ x3 ^ x0 ^ rk[r + 1]; in SMS4Crypt() 108 mid = ByteSub(mid); in SMS4Crypt() 109 x1 ^= L1(mid); in SMS4Crypt() 110 mid = x3 ^ x0 ^ x1 ^ rk[r + 2]; in SMS4Crypt() 111 mid = ByteSub(mid); in SMS4Crypt() 112 x2 ^= L1(mid); in SMS4Crypt() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/ |
| H A D | rtw_wapi_sms4.c | 86 u32 r, mid, x0, x1, x2, x3, *p; in SMS4Crypt() local 103 mid = x1 ^ x2 ^ x3 ^ rk[r + 0]; in SMS4Crypt() 104 mid = ByteSub(mid); in SMS4Crypt() 105 x0 ^= L1(mid); in SMS4Crypt() 106 mid = x2 ^ x3 ^ x0 ^ rk[r + 1]; in SMS4Crypt() 107 mid = ByteSub(mid); in SMS4Crypt() 108 x1 ^= L1(mid); in SMS4Crypt() 109 mid = x3 ^ x0 ^ x1 ^ rk[r + 2]; in SMS4Crypt() 110 mid = ByteSub(mid); in SMS4Crypt() 111 x2 ^= L1(mid); in SMS4Crypt() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/core/ |
| H A D | rtw_wapi_sms4.c | 73 u32 r, mid, x0, x1, x2, x3, *p; in SMS4Crypt() local 90 mid = x1 ^ x2 ^ x3 ^ rk[r + 0]; in SMS4Crypt() 91 mid = ByteSub(mid); in SMS4Crypt() 92 x0 ^= L1(mid); in SMS4Crypt() 93 mid = x2 ^ x3 ^ x0 ^ rk[r + 1]; in SMS4Crypt() 94 mid = ByteSub(mid); in SMS4Crypt() 95 x1 ^= L1(mid); in SMS4Crypt() 96 mid = x3 ^ x0 ^ x1 ^ rk[r + 2]; in SMS4Crypt() 97 mid = ByteSub(mid); in SMS4Crypt() 98 x2 ^= L1(mid); in SMS4Crypt() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/ |
| H A D | rtw_wapi_sms4.c | 86 u32 r, mid, x0, x1, x2, x3, *p; in SMS4Crypt() local 103 mid = x1 ^ x2 ^ x3 ^ rk[r + 0]; in SMS4Crypt() 104 mid = ByteSub(mid); in SMS4Crypt() 105 x0 ^= L1(mid); in SMS4Crypt() 106 mid = x2 ^ x3 ^ x0 ^ rk[r + 1]; in SMS4Crypt() 107 mid = ByteSub(mid); in SMS4Crypt() 108 x1 ^= L1(mid); in SMS4Crypt() 109 mid = x3 ^ x0 ^ x1 ^ rk[r + 2]; in SMS4Crypt() 110 mid = ByteSub(mid); in SMS4Crypt() 111 x2 ^= L1(mid); in SMS4Crypt() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/ |
| H A D | rtw_wapi_sms4.c | 87 u32 r, mid, x0, x1, x2, x3, *p; in SMS4Crypt() local 104 mid = x1 ^ x2 ^ x3 ^ rk[r + 0]; in SMS4Crypt() 105 mid = ByteSub(mid); in SMS4Crypt() 106 x0 ^= L1(mid); in SMS4Crypt() 107 mid = x2 ^ x3 ^ x0 ^ rk[r + 1]; in SMS4Crypt() 108 mid = ByteSub(mid); in SMS4Crypt() 109 x1 ^= L1(mid); in SMS4Crypt() 110 mid = x3 ^ x0 ^ x1 ^ rk[r + 2]; in SMS4Crypt() 111 mid = ByteSub(mid); in SMS4Crypt() 112 x2 ^= L1(mid); in SMS4Crypt() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/core/ |
| H A D | rtw_wapi_sms4.c | 72 u32 r, mid, x0, x1, x2, x3, *p; in SMS4Crypt() local 86 mid = x1 ^ x2 ^ x3 ^ rk[r + 0]; in SMS4Crypt() 87 mid = ByteSub(mid); in SMS4Crypt() 88 x0 ^= L1(mid); in SMS4Crypt() 89 mid = x2 ^ x3 ^ x0 ^ rk[r + 1]; in SMS4Crypt() 90 mid = ByteSub(mid); in SMS4Crypt() 91 x1 ^= L1(mid); in SMS4Crypt() 92 mid = x3 ^ x0 ^ x1 ^ rk[r + 2]; in SMS4Crypt() 93 mid = ByteSub(mid); in SMS4Crypt() 94 x2 ^= L1(mid); in SMS4Crypt() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/core/ |
| H A D | rtw_wapi_sms4.c | 87 u32 r, mid, x0, x1, x2, x3, *p; in SMS4Crypt() local 104 mid = x1 ^ x2 ^ x3 ^ rk[r + 0]; in SMS4Crypt() 105 mid = ByteSub(mid); in SMS4Crypt() 106 x0 ^= L1(mid); in SMS4Crypt() 107 mid = x2 ^ x3 ^ x0 ^ rk[r + 1]; in SMS4Crypt() 108 mid = ByteSub(mid); in SMS4Crypt() 109 x1 ^= L1(mid); in SMS4Crypt() 110 mid = x3 ^ x0 ^ x1 ^ rk[r + 2]; in SMS4Crypt() 111 mid = ByteSub(mid); in SMS4Crypt() 112 x2 ^= L1(mid); in SMS4Crypt() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/ |
| H A D | rtw_wapi_sms4.c | 86 u32 r, mid, x0, x1, x2, x3, *p; in SMS4Crypt() local 103 mid = x1 ^ x2 ^ x3 ^ rk[r + 0]; in SMS4Crypt() 104 mid = ByteSub(mid); in SMS4Crypt() 105 x0 ^= L1(mid); in SMS4Crypt() 106 mid = x2 ^ x3 ^ x0 ^ rk[r + 1]; in SMS4Crypt() 107 mid = ByteSub(mid); in SMS4Crypt() 108 x1 ^= L1(mid); in SMS4Crypt() 109 mid = x3 ^ x0 ^ x1 ^ rk[r + 2]; in SMS4Crypt() 110 mid = ByteSub(mid); in SMS4Crypt() 111 x2 ^= L1(mid); in SMS4Crypt() [all …]
|