/openbmc/linux/drivers/mtd/devices/ |
H A D | block2mtd.c | 373 static int parse_num(size_t *num, const char *token) in parse_num() argument 378 n = (size_t) ustrtoul(token, &endp, 0); in parse_num() 406 char *token[BLOCK2MTD_PARAM_MAX_COUNT]; in block2mtd_setup2() local 422 token[i] = strsep(&str, ","); in block2mtd_setup2() 429 if (!token[0]) { in block2mtd_setup2() 434 name = token[0]; in block2mtd_setup2() 441 if (token[1] && strlen(token[1])) { in block2mtd_setup2() 442 ret = parse_num(&erase_size, token[1]); in block2mtd_setup2() 449 if (token[2]) { in block2mtd_setup2() 450 label = token[2]; in block2mtd_setup2()
|
/openbmc/linux/fs/hfsplus/ |
H A D | options.c | 76 int token; in hfsplus_parse_options_remount() local 85 token = match_token(p, tokens, args); in hfsplus_parse_options_remount() 86 switch (token) { in hfsplus_parse_options_remount() 104 int tmp, token; in hfsplus_parse_options() local 113 token = match_token(p, tokens, args); in hfsplus_parse_options() 114 switch (token) { in hfsplus_parse_options()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-opal.c | 42 int token, rc; in i2c_opal_send_request() local 44 token = opal_async_get_token_interruptible(); in i2c_opal_send_request() 45 if (token < 0) { in i2c_opal_send_request() 46 if (token != -ERESTARTSYS) in i2c_opal_send_request() 49 return token; in i2c_opal_send_request() 52 rc = opal_i2c_request(token, bus_id, req); in i2c_opal_send_request() 58 rc = opal_async_wait_response(token, &msg); in i2c_opal_send_request() 69 opal_async_release_token(token); in i2c_opal_send_request()
|
/openbmc/linux/drivers/platform/x86/dell/ |
H A D | dell-laptop.c | 925 if (!token) in dell_send_intensity() 947 if (!token) in dell_get_intensity() 1388 if (!token) in kbd_set_token_bit() 1391 dell_fill_request(&buffer, token->location, token->value, 0, 0); in kbd_set_token_bit() 1408 if (!token) in kbd_get_token_bit() 1418 return (val == token->value); in kbd_get_token_bit() 2165 if (!token) in micmute_led_set() 2168 dell_fill_request(&buffer, token->location, token->value, 0, 0); in micmute_led_set() 2193 if (!token) in mute_led_set() 2196 dell_fill_request(&buffer, token->location, token->value, 0, 0); in mute_led_set() [all …]
|
/openbmc/docs/ |
H A D | host-management.md | 11 This document uses token based authentication method: 15 …ort token=`curl -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d '{"username… 16 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/... 44 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/inventory/enumerate 48 …$ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/inventory/system/chassis/mo… 80 …$ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/sensors/temperature/ocp_zone 109 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/sensors/enumerate 113 … $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/sensors/temperature/outlet 136 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/logging/entry 153 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/logging/entry/1 [all …]
|
H A D | rest-api.md | 19 This tutorial uses token based authentication method: 23 …ort token=`curl -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d '{"username… 24 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/... 36 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/inventory/system 59 …$ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/inventory/system/attr/Cached 71 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/ 108 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/network/list 140 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/time/enumerate 168 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/state/host0 > host.json 202 $ curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X PUT -d <json> <url> [all …]
|
/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | davinci_cpdma.h | 64 typedef void (*cpdma_handler_fn)(void *token, int len, int status); 80 int cpdma_chan_submit_mapped(struct cpdma_chan *chan, void *token, 82 int cpdma_chan_submit(struct cpdma_chan *chan, void *token, void *data, 84 int cpdma_chan_idle_submit_mapped(struct cpdma_chan *chan, void *token, 86 int cpdma_chan_idle_submit(struct cpdma_chan *chan, void *token, void *data,
|
/openbmc/linux/drivers/staging/greybus/ |
H A D | camera.c | 916 char *token; in gb_camera_debugfs_configure_streams() local 920 token = strsep(&buf, ";"); in gb_camera_debugfs_configure_streams() 921 if (!token) in gb_camera_debugfs_configure_streams() 932 if (!token) in gb_camera_debugfs_configure_streams() 949 if (!token) { in gb_camera_debugfs_configure_streams() 959 if (!token) in gb_camera_debugfs_configure_streams() 968 if (!token) in gb_camera_debugfs_configure_streams() 1007 char *token; in gb_camera_debugfs_capture() local 1012 if (!token) in gb_camera_debugfs_capture() 1020 if (!token) in gb_camera_debugfs_capture() [all …]
|
/openbmc/linux/tools/testing/selftests/powerpc/syscalls/ |
H A D | rtas_filter.c | 41 __be32 token; member 113 int i, rc, token; in rtas_call() local 118 token = rtas_token(name); in rtas_call() 119 if (token == RTAS_UNKNOWN_OP) { in rtas_call() 126 args.token = cpu_to_be32(token); in rtas_call()
|
/openbmc/linux/drivers/xen/xenbus/ |
H A D | xenbus.h | 48 const char *path, const char *token); 50 const char *token); 66 const char *token; member 126 const char *path, const char *token,
|
/openbmc/linux/drivers/net/fddi/skfp/ |
H A D | queue.c | 50 void timer_event(struct s_smc *smc, u_long token) in timer_event() argument 53 EV_T_CLASS(token), in timer_event() 54 EV_T_EVENT(token)) ; in timer_event() 55 queue_event(smc,EV_T_CLASS(token),EV_T_EVENT(token)); in timer_event()
|
/openbmc/linux/tools/testing/selftests/resctrl/ |
H A D | mbm_test.c | 69 char *token = strtok(temp, ":\t"); in check_results() local 72 while (token) { in check_results() 73 token_array[i++] = token; in check_results() 74 token = strtok(NULL, ":\t"); in check_results()
|
H A D | cmt_test.c | 46 char *token = strtok(temp, ":\t"); in check_results() local 49 while (token) { in check_results() 50 token_array[fields++] = token; in check_results() 51 token = strtok(NULL, ":\t"); in check_results()
|
H A D | mba_test.c | 119 char *token = strtok(temp, ":\t"); in check_results() local 122 while (token) { in check_results() 123 token_array[fields++] = token; in check_results() 124 token = strtok(NULL, ":\t"); in check_results()
|
/openbmc/linux/rust/macros/ |
H A D | vtable.rs | 13 .find_map(|token| match token { in vtable() 32 while let Some(token) = body_it.next() { in vtable() 33 match token { in vtable()
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | fault.c | 95 char *data, *token, *ptr, *end; in fault_opcodes_write() local 111 token = ptr; in fault_opcodes_write() 112 for (ptr = data; *ptr; ptr = end + 1, token = ptr) { in fault_opcodes_write() 121 if (token[0] == '-') { in fault_opcodes_write() 123 token++; in fault_opcodes_write() 125 dash = strchr(token, '-'); in fault_opcodes_write() 128 if (kstrtoul(token, 0, &range_start)) in fault_opcodes_write() 131 token = dash + 1; in fault_opcodes_write() 132 if (kstrtoul(token, 0, &range_end)) in fault_opcodes_write()
|
/openbmc/linux/drivers/s390/scsi/ |
H A D | zfcp_aux.c | 92 char *token; in zfcp_init_device_setup() local 103 token = strsep(&str, ","); in zfcp_init_device_setup() 104 if (!token || strlen(token) >= ZFCP_BUS_ID_SIZE) in zfcp_init_device_setup() 106 strscpy(busid, token, ZFCP_BUS_ID_SIZE); in zfcp_init_device_setup() 108 token = strsep(&str, ","); in zfcp_init_device_setup() 109 if (!token || kstrtoull(token, 0, (unsigned long long *) &wwpn)) in zfcp_init_device_setup() 112 token = strsep(&str, ","); in zfcp_init_device_setup() 113 if (!token || kstrtoull(token, 0, (unsigned long long *) &lun)) in zfcp_init_device_setup()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp_arm.h | 166 byte_mask, token, signal_master) \ argument 171 NFP_ARM_GCSR_EXPL2_BAR_TOK(token) | \ 191 #define NFP_ARM_GCSR_EXPA_CSR(mode, target, token, is_64, action, address) \ argument 195 NFP_ARM_GCSR_EXPA_BAR_TOK(token) | \ 201 #define NFP_ARM_GCSR_BULK_CSR(mode, target, token, is_64, address) \ argument 205 NFP_ARM_GCSR_BULK_BAR_TOK(token) | \
|
/openbmc/qemu/hw/usb/ |
H A D | hcd-ehci.c | 454 p->qtd.token != qtd->token || in ehci_verify_qtd() 1155 q->qh.token = p->qtd.token; in ehci_qh_do_overlay() 1160 q->qh.token &= ~QTD_TOKEN_PING; in ehci_qh_do_overlay() 1161 q->qh.token |= ping; in ehci_qh_do_overlay() 1174 q->qh.token |= dtoggle; in ehci_qh_do_overlay() 1291 q->qh.token |= QTD_TOKEN_HALT; in ehci_execute_complete() 1329 q->qh.token ^= QTD_TOKEN_DTOGGLE; in ehci_execute_complete() 1330 q->qh.token &= ~QTD_TOKEN_ACTIVE; in ehci_execute_complete() 1332 if (q->qh.token & QTD_TOKEN_IOC) { in ehci_execute_complete() 1685 if (q->qh.token & QTD_TOKEN_HALT) { in ehci_state_fetchqh() [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | expr.l | 14 static double __value(YYSTYPE *yylval, char *str, int token) in __value() argument 24 return token; in __value() 72 static int str(yyscan_t scanner, int token, int runtime) in str() argument 82 return token; in str()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | io-workarounds.c | 59 int token; in iowa_mem_find_bus() local 61 token = PCI_GET_ADDR_TOKEN(addr); in iowa_mem_find_bus() 63 if (token && token <= iowa_bus_count) in iowa_mem_find_bus() 64 bus = &iowa_busses[token - 1]; in iowa_mem_find_bus()
|
/openbmc/linux/mm/ |
H A D | workingset.c | 234 unsigned long token; in lru_gen_eviction() local 250 token = (min_seq << LRU_REFS_WIDTH) | max(refs - 1, 0); in lru_gen_eviction() 255 return pack_shadow(mem_cgroup_id(memcg), pgdat, token, refs); in lru_gen_eviction() 263 unsigned long *token, bool *workingset) in lru_gen_test_recent() argument 270 unpack_shadow(shadow, &memcg_id, &pgdat, token, workingset); in lru_gen_test_recent() 276 return (*token >> LRU_REFS_WIDTH) == (min_seq & (EVICTION_MASK >> LRU_REFS_WIDTH)); in lru_gen_test_recent() 284 unsigned long token; in lru_gen_refault() local 292 recent = lru_gen_test_recent(shadow, type, &lruvec, &token, &workingset); in lru_gen_refault() 305 refs = (token & (BIT(LRU_REFS_WIDTH) - 1)) + workingset; in lru_gen_refault() 334 unsigned long *token, bool *workingset) in lru_gen_test_recent() argument
|
/openbmc/linux/lib/lz4/ |
H A D | lz4_compress.c | 247 BYTE *token; in LZ4_compress_generic() local 304 token = op++; in LZ4_compress_generic() 375 *token += ML_MASK; in LZ4_compress_generic() 388 *token += (BYTE)(matchCode); in LZ4_compress_generic() 419 token = op++; in LZ4_compress_generic() 420 *token = 0; in LZ4_compress_generic() 570 BYTE *token; in LZ4_compress_destSize_generic() local 614 token = op++; in LZ4_compress_destSize_generic() 623 *token = (RUN_MASK<<ML_BITS); in LZ4_compress_destSize_generic() 651 *token += ML_MASK; in LZ4_compress_destSize_generic() [all …]
|
/openbmc/phosphor-objmgr/libmapper/ |
H A D | app.c | 124 static const char* token = ":"; in subtree_main() local 137 argv[0], token); in subtree_main() 143 namespace = strtok_r(argv[2], token, &tmp); in subtree_main() 144 interface = strtok_r(NULL, token, &tmp); in subtree_main() 147 fprintf(stderr, "Token '%s' was not found in '%s'\n", token, argv[2]); in subtree_main()
|
/openbmc/openbmc/poky/scripts/ |
H A D | patchtest-get-branch | 51 for token in mprefix: 52 stripped = token.lower().strip('[]') 60 found_branch = token.split(' ')[0].strip('[]')
|