| /OK3568_Linux_fs/kernel/drivers/tty/serial/8250/ |
| H A D | 8250_mid.c | 26 /* Intel MID Specific registers */ 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() [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/kernel/drivers/watchdog/ |
| H A D | intel-mid_wdt.c | 3 * intel-mid_wdt: generic Intel MID SCU watchdog driver 20 #include <asm/intel-mid.h> 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() [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/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() 71 /* when mid allocated can be before when sent */ in AllocMidQEntry() 76 * The default is for the mid to be synchronous, so the in AllocMidQEntry() 115 cifs_server_dbg(VFS, "Invalid mid allocation time\n"); in _cifs_mid_q_entry_release() 151 trace_smb3_slow_rsp(smb_cmd, midEntry->mid, midEntry->pid, in _cifs_mid_q_entry_release() 154 pr_debug("slow rsp: cmd %d mid %llu", 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 [all …]
|
| H A D | trace.h | 416 __u64 mid, 419 TP_ARGS(tid, sesid, cmd, mid, status, rc), 424 __field(__u64, mid) 432 __entry->mid = mid; 436 TP_printk("\tsid=0x%llx tid=0x%x cmd=%u mid=%llu status=0x%x rc=%d", 437 __entry->sesid, __entry->tid, __entry->cmd, __entry->mid, 446 __u64 mid, \ 449 TP_ARGS(tid, sesid, cmd, mid, status, rc)) 457 __u64 mid), 458 TP_ARGS(tid, sesid, cmd, mid), [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/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() 417 dev_err(&ndev->dev, "VIF with mid %d already in use\n", in wil_vif_add() [all …]
|
| H A D | wmi.c | 633 static int __wmi_send(struct wil6210_priv *wil, u16 cmdid, u8 mid, in __wmi_send() argument 646 .mid = mid, in __wmi_send() 730 wil_dbg_wmi(wil, "sending %s (0x%04x) [%d] mid %d\n", in __wmi_send() 731 cmdid2name(cmdid), cmdid, len, mid); in __wmi_send() 755 int wmi_send(struct wil6210_priv *wil, u16 cmdid, u8 mid, void *buf, u16 len) in wmi_send() argument 760 rc = __wmi_send(wil, cmdid, mid, buf, len); in wmi_send() 774 wil_info(wil, "FW ver. %s(SW %d); MAC %pM; %d MID's\n", in wmi_evt_ready() 859 wil_dbg_wmi(wil, "qid %d mid %d cid %d\n", in wmi_evt_rx_mgmt() 860 data->info.qid, data->info.mid, data->info.cid); in wmi_evt_rx_mgmt() 939 if (vif->mid == 0) in wmi_evt_scan_complete() [all …]
|
| H A D | trace.h | 35 __field(u8, mid) 43 __entry->mid = wmi->mid; 51 "MID %d id 0x%04x len %d timestamp %d", 52 __entry->mid, __entry->command_id, __entry->buf_len, 155 __field(u8, mid) 166 __entry->mid = wil_rxdesc_mid(d); 174 TP_printk("index %d len %d mid %d cid (%%8) %d tid %d mcs %d seq 0x%03x" 176 __entry->mid, __entry->cid, __entry->tid, __entry->mcs, 187 __field(u8, mid) 198 __entry->mid = wil_rx_status_get_mid(msg); [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/cert/ |
| H A D | README.txt | 9 #Mid CSR and key 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/arch/sparc/kernel/ |
| H A D | devices.c | 31 return "mid"; in cpu_mid_prop() 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 [all …]
|
| H A D | smp_32.c | 59 int mid; in smp_store_cpu_info() local 67 mid = cpu_get_hwmid(cpu_node); in smp_store_cpu_info() 69 if (mid < 0) { in smp_store_cpu_info() 70 printk(KERN_NOTICE "No MID found for CPU%d at node 0x%08x", id, cpu_node); in smp_store_cpu_info() 71 mid = 0; in smp_store_cpu_info() 73 cpu_data(id).mid = mid; in smp_store_cpu_info() 230 int instance, mid; in smp_setup_cpu_possible_map() local 233 while (!cpu_find_by_instance(instance, NULL, &mid)) { in smp_setup_cpu_possible_map() 234 if (mid < NR_CPUS) { in smp_setup_cpu_possible_map() 235 set_cpu_possible(mid, true); in smp_setup_cpu_possible_map() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/python/python3-hypothesis/ |
| H A D | test_binary_search.py | 57 mid = (lo + hi) // 2 58 if v > ls[mid]: 59 # Inserting v anywhere below mid would result in an unsorted list 60 # because it's > the value at mid. Therefore mid is a valid new lo 61 lo = mid 64 # elif v == ls[mid]: 65 # return mid 67 # Either v == ls[mid] in which case mid is a valid insertion point 68 # or v < ls[mid], in which case all valid insertion points must be 69 # < hi. Either way, mid is a valid new hi. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/hwmon/pmbus/ |
| 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 …]
|
| 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()
|
| /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/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/fs/xfs/libxfs/ |
| H A D | xfs_dir2_block.c | 296 * XXX should be the one closest to mid but mid is not yet computed. 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() [all …]
|
| /OK3568_Linux_fs/kernel/fs/erofs/ |
| H A D | namei.c | 61 const int mid = head + (back - head) / 2; in find_target_dirent() local 62 const int nameoff = nameoff_from_disk(de[mid].nameoff, in find_target_dirent() 67 .end = mid >= ndirents - 1 ? in find_target_dirent() 69 data + nameoff_from_disk(de[mid + 1].nameoff, in find_target_dirent() 77 return de + mid; in find_target_dirent() 79 head = mid + 1; in find_target_dirent() 82 back = mid - 1; in find_target_dirent() 104 const int mid = head + (back - head) / 2; in find_target_block_classic() local 105 struct page *page = read_mapping_page(mapping, mid, NULL); in find_target_block_classic() 121 mid, EROFS_I(dir)->nid); in find_target_block_classic() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_switchdev.c | 865 struct mlxsw_sp_mid *mid; in mlxsw_sp_bridge_mrouter_update_mdb() local 867 list_for_each_entry(mid, &bridge_device->mids_list, list) in mlxsw_sp_bridge_mrouter_update_mdb() 868 mlxsw_sp_smid_router_port_set(mlxsw_sp, mid->mid, add); in mlxsw_sp_bridge_mrouter_update_mdb() 1523 struct mlxsw_sp_mid *mid; in __mlxsw_sp_mc_get() local 1525 list_for_each_entry(mid, &bridge_device->mids_list, list) { in __mlxsw_sp_mc_get() 1526 if (ether_addr_equal(mid->addr, addr) && mid->fid == fid) in __mlxsw_sp_mc_get() 1527 return mid; in __mlxsw_sp_mc_get() 1575 struct mlxsw_sp_mid *mid, in mlxsw_sp_mc_write_mdb_entry() argument 1595 bitmap_copy(flood_bitmap, mid->ports_in_mid, num_of_ports); in mlxsw_sp_mc_write_mdb_entry() 1598 mid->mid = mid_idx; in mlxsw_sp_mc_write_mdb_entry() [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/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/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/Documentation/scsi/ |
| H A D | scsi_mid_low_api.rst | 9 This document outlines the interface between the Linux SCSI mid level and 37 The SCSI mid level isolates an LLD from other layers such as the SCSI 49 Many LLDs are documented there (e.g. aic7xxx.txt). The SCSI mid-level is 90 a) directly invoking functions supplied by the mid level 92 supplied by the mid level. The mid level will then invoke these 96 by the mid level 98 Those functions in group a) are listed in a section entitled "Mid level 112 that are shared with the mid level and other layers. 131 with the SCSI mid level. 137 registered with sysfs at this point. The SCSI mid level first becomes [all …]
|