/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-psr.c | 30 int psr, ret, token; in psr_show() local 32 token = opal_async_get_token_interruptible(); in psr_show() 33 if (token < 0) { in psr_show() 35 return token; in psr_show() 46 ret = opal_async_wait_response(token, &msg); in psr_show() 71 opal_async_release_token(token); in psr_show() 80 int psr, ret, token; in psr_store() local 86 token = opal_async_get_token_interruptible(); in psr_store() 87 if (token < 0) { in psr_store() 89 return token; in psr_store() [all …]
|
H A D | opal-sysparam.c | 33 int token; in opal_get_sys_param() local 35 token = opal_async_get_token_interruptible(); in opal_get_sys_param() 36 if (token < 0) { in opal_get_sys_param() 37 if (token != -ERESTARTSYS) in opal_get_sys_param() 40 ret = token; in opal_get_sys_param() 60 opal_async_release_token(token); in opal_get_sys_param() 68 int ret, token; in opal_set_sys_param() local 71 if (token < 0) { in opal_set_sys_param() 72 if (token != -ERESTARTSYS) in opal_set_sys_param() 75 ret = token; in opal_set_sys_param() [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/inputfifo/src/ |
H A D | inputfifo.c | 109 _sh_css_fifo_snd(token); in inputfifo_send_data_a() 119 _sh_css_fifo_snd(token); in inputfifo_send_data_b() 132 _sh_css_fifo_snd(token); in inputfifo_send_data() 142 _sh_css_fifo_snd(token); in inputfifo_send_sol() 151 _sh_css_fifo_snd(token); in inputfifo_send_eol() 161 _sh_css_fifo_snd(token); in inputfifo_send_sof() 170 _sh_css_fifo_snd(token); in inputfifo_send_eof() 180 hrt_data token; in inputfifo_send_ch_id_and_fmt_type() local 187 token = inputfifo_wrap_marker(0); in inputfifo_send_ch_id_and_fmt_type() 188 _sh_css_fifo_snd(token); in inputfifo_send_ch_id_and_fmt_type() [all …]
|
/openbmc/u-boot/scripts/kconfig/ |
H A D | zconf.y | 47 %token <id>T_MENU 55 %token <id>T_HELP 57 %token <id>T_IF 58 %token <id>T_ENDIF 62 %token <id>T_TYPE 65 %token <id>T_IMPLY 69 %token <id>T_ON 72 %token T_UNEQUAL 73 %token T_LESS 75 %token T_GREATER [all …]
|
/openbmc/linux/scripts/kconfig/ |
H A D | parser.y | 49 %token T_BOOL 60 %token T_ENDIF 62 %token T_HELP 63 %token T_HEX 64 %token T_IF 65 %token T_IMPLY 66 %token T_INT 68 %token T_MENU 71 %token T_ON 76 %token T_RANGE [all …]
|
/openbmc/qemu/tests/qtest/libqos/ |
H A D | pci.c | 403 if (token.is_io) { in qpci_io_readb() 404 return bus->pio_readb(bus, token.addr + off); in qpci_io_readb() 417 if (token.is_io) { in qpci_io_readw() 431 if (token.is_io) { in qpci_io_readl() 445 if (token.is_io) { in qpci_io_readq() 460 if (token.is_io) { in qpci_io_writeb() 472 if (token.is_io) { in qpci_io_writew() 485 if (token.is_io) { in qpci_io_writel() 498 if (token.is_io) { in qpci_io_writeq() 509 g_assert(!token.is_io); in qpci_memread() [all …]
|
/openbmc/linux/net/mptcp/ |
H A D | token_test.c | 25 KUNIT_EXPECT_NE(test, 0, (int)req->token); in mptcp_token_test_req_basic() 26 KUNIT_EXPECT_PTR_EQ(test, null_msk, mptcp_token_get_sock(&init_net, req->token)); in mptcp_token_test_req_basic() 80 KUNIT_EXPECT_NE(test, 0, (int)ctx->token); in mptcp_token_test_msk_basic() 81 KUNIT_EXPECT_EQ(test, ctx->token, msk->token); in mptcp_token_test_msk_basic() 82 KUNIT_EXPECT_PTR_EQ(test, msk, mptcp_token_get_sock(&init_net, ctx->token)); in mptcp_token_test_msk_basic() 86 KUNIT_EXPECT_PTR_EQ(test, null_msk, mptcp_token_get_sock(&init_net, ctx->token)); in mptcp_token_test_msk_basic() 96 msk->token = req->token; in mptcp_token_test_accept() 98 KUNIT_EXPECT_PTR_EQ(test, msk, mptcp_token_get_sock(&init_net, msk->token)); in mptcp_token_test_accept() 102 KUNIT_EXPECT_PTR_EQ(test, msk, mptcp_token_get_sock(&init_net, msk->token)); in mptcp_token_test_accept() 119 msk->token = req->token; in mptcp_token_test_destroyed() [all …]
|
/openbmc/linux/drivers/crypto/caam/ |
H A D | dpseci.h | 31 u16 *token); 33 int dpseci_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token); 58 int dpseci_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token); 60 int dpseci_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token); 62 int dpseci_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token); 64 int dpseci_is_enabled(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, 82 int dpseci_get_attributes(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, 155 int dpseci_set_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, 174 int dpseci_get_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, 330 u16 token, const struct dpseci_congestion_notification_cfg *cfg); [all …]
|
H A D | dpseci.c | 28 u16 *token) in dpseci_open() argument 65 token); in dpseci_close() 83 token); in dpseci_enable() 101 token); in dpseci_disable() 120 token); in dpseci_reset() 142 token); in dpseci_is_enabled() 171 token); in dpseci_get_attributes() 205 token); in dpseci_set_rx_queue() 240 token); in dpseci_get_rx_queue() 390 token); in dpseci_set_congestion_notification() [all …]
|
/openbmc/linux/drivers/bus/fsl-mc/ |
H A D | dprc.c | 33 u16 *token) in dprc_open() argument 76 token); in dprc_close() 114 u16 token, in dprc_reset_container() argument 166 u16 token, in dprc_set_irq() argument 176 token); in dprc_set_irq() 204 u16 token, in dprc_set_irq_enable() argument 272 u16 token, in dprc_get_irq_status() argument 343 u16 token, in dprc_get_attributes() argument 422 u16 token, in dprc_get_obj() argument 516 u16 token, in dprc_get_obj_region() argument [all …]
|
/openbmc/u-boot/drivers/net/fsl-mc/dpio/ |
H A D | dpio.c | 14 uint16_t *token) in dpio_open() argument 38 uint16_t token) in dpio_close() argument 45 token); in dpio_close() 98 uint16_t token) in dpio_enable() argument 105 token); in dpio_enable() 113 uint16_t token) in dpio_disable() argument 120 token); in dpio_disable() 128 uint16_t token) in dpio_reset() argument 135 token); in dpio_reset() 143 uint16_t token, in dpio_get_attributes() argument [all …]
|
/openbmc/u-boot/drivers/net/fsl-mc/ |
H A D | dpbp.c | 15 uint16_t *token) in dpbp_open() argument 39 uint16_t token) in dpbp_close() argument 45 token); in dpbp_close() 99 uint16_t token) in dpbp_enable() argument 105 token); in dpbp_enable() 113 uint16_t token) in dpbp_disable() argument 120 token); in dpbp_disable() 128 uint16_t token) in dpbp_reset() argument 135 token); in dpbp_reset() 143 uint16_t token, in dpbp_get_attributes() argument [all …]
|
/openbmc/linux/sound/soc/intel/avs/ |
H A D | topology.c | 48 if (le32_to_cpu(tuple->token) == token) { in avs_tplg_vendor_array_lookup() 123 enum avs_tplg_token token; member 209 parsers[j].token != le32_to_cpu(tuple->token)) in avs_parse_uuid_tokens() 235 parsers[j].token != le32_to_cpu(tuple->token)) in avs_parse_string_tokens() 266 if (parsers[j].token != le32_to_cpu(tuple->token)) in avs_parse_word_tokens() 799 .token = AVS_TKN_PIN_FMT_IOBS_U32, 1039 .token = AVS_TKN_MOD_ID_U32, 1057 .token = AVS_TKN_MOD_CORE_ID_U8, 1106 .token = AVS_TKN_PPL_ID_U32, 1222 .token = AVS_TKN_PATH_ID_U32, [all …]
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | mt7615_trace.h | 22 #define TOKEN_ENTRY __field(u16, token) 23 #define TOKEN_ASSIGN __entry->token = token 25 #define TOKEN_PR_ARG __entry->token 28 TP_PROTO(struct mt7615_dev *dev, u16 token), 29 TP_ARGS(dev, token), 45 TP_PROTO(struct mt7615_dev *dev, u16 token), 46 TP_ARGS(dev, token)
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_rtas.c | 510 if ((token >= RTAS_TOKEN_BASE) && (token < RTAS_TOKEN_MAX)) { in spapr_rtas_call() 523 if (token == 0xa) { in spapr_rtas_call() 528 hcall_dprintf("Unknown RTAS token 0x%x\n", token); in spapr_rtas_call() 536 int token; in qtest_rtas_call() local 538 for (token = 0; token < RTAS_TOKEN_MAX - RTAS_TOKEN_BASE; token++) { in qtest_rtas_call() 543 rtas_table[token].fn(cpu, spapr, token + RTAS_TOKEN_BASE, in qtest_rtas_call() 579 assert((token >= RTAS_TOKEN_BASE) && (token < RTAS_TOKEN_MAX)); in spapr_rtas_register() 581 token -= RTAS_TOKEN_BASE; in spapr_rtas_register() 583 assert(!name || !rtas_table[token].name); in spapr_rtas_register() 585 rtas_table[token].name = name; in spapr_rtas_register() [all …]
|
/openbmc/linux/drivers/dma/fsl-dpaa2-qdma/ |
H A D | dpdmai.h | 162 int dpdmai_id, u16 *token); 163 int dpdmai_close(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token); 164 int dpdmai_destroy(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token); 166 const struct dpdmai_cfg *cfg, u16 *token); 167 int dpdmai_enable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token); 168 int dpdmai_disable(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token); 169 int dpdmai_reset(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token); 171 u16 token, struct dpdmai_attr *attr); 172 int dpdmai_set_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, 174 int dpdmai_get_rx_queue(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, [all …]
|
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dprtc.h | 26 u16 *token); 30 u16 token); 34 u16 token, 40 u16 token, 46 u16 token, 52 u16 token, 58 u16 token, 64 u16 token,
|
H A D | dpmac.c | 29 u16 *token) in dpmac_open() argument 48 *token = mc_cmd_hdr_read_token(&cmd); in dpmac_open() 66 u16 token) in dpmac_close() argument 72 token); in dpmac_close() 90 u16 token, in dpmac_get_attributes() argument 100 token); in dpmac_get_attributes() 128 u16 token, in dpmac_set_link_state() argument 137 token); in dpmac_set_link_state() 161 int dpmac_get_counter(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, in dpmac_get_counter() argument 171 token); in dpmac_get_counter() [all …]
|
/openbmc/docs/ |
H A D | REST-cheatsheet.md | 16 either an authentication token or the username and password passed in as part of 47 …ort token=`curl -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d '{"username… 48 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/... 61 …ort token=`curl -k -H "Content-Type: application/json" -X POST https://${bmc}/login -d '{"username… 62 $ curl -k -H "X-Auth-Token: $token" https://$bmc/xyz/openbmc_project/... 68 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/list 69 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/enumerate 75 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/ 76 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/state/ 154 …$ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/control/host0/boot/enumera… [all …]
|
/openbmc/linux/include/linux/fsl/ |
H A D | mc.h | 228 __le16 token; member 264 hdr->token = cpu_to_le16(token); in mc_encode_cmd_header() 277 u16 token = le16_to_cpu(hdr->token); in mc_cmd_hdr_read_token() local 279 return token; in mc_cmd_hdr_read_token() 535 u16 token, 577 u16 token); 581 u16 token); 600 u16 token, 619 u16 token); 623 u16 token); [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | debug.c | 1097 if (!token) in ath6kl_regwrite_write() 1416 if (!token) in ath6kl_create_qos_write() 1422 if (!token) in ath6kl_create_qos_write() 1428 if (!token) in ath6kl_create_qos_write() 1434 if (!token) in ath6kl_create_qos_write() 1440 if (!token) in ath6kl_create_qos_write() 1446 if (!token) in ath6kl_create_qos_write() 1453 if (!token) in ath6kl_create_qos_write() 1460 if (!token) in ath6kl_create_qos_write() 1467 if (!token) in ath6kl_create_qos_write() [all …]
|
/openbmc/linux/net/rxrpc/ |
H A D | security.c | 71 struct rxrpc_key_token *token; in rxrpc_init_client_call_security() local 82 for (token = key->payload.data[0]; token; token = token->next) { in rxrpc_init_client_call_security() 83 sec = rxrpc_security_lookup(token->security_index); in rxrpc_init_client_call_security() 100 struct rxrpc_key_token *token; in rxrpc_init_client_conn_security() local 106 for (token = key->payload.data[0]; token; token = token->next) { in rxrpc_init_client_conn_security() 107 if (token->security_index == conn->security->security_index) in rxrpc_init_client_conn_security() 115 ret = conn->security->init_connection_security(conn, token); in rxrpc_init_client_conn_security()
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-opal.c | 118 int rc, token; in opal_get_tpo_time() local 123 if (token < 0) { in opal_get_tpo_time() 124 if (token != -ERESTARTSYS) in opal_get_tpo_time() 127 return token; in opal_get_tpo_time() 163 opal_async_release_token(token); in opal_get_tpo_time() 173 int token, rc; in opal_set_tpo_time() local 185 if (token < 0) { in opal_set_tpo_time() 186 if (token != -ERESTARTSYS) in opal_set_tpo_time() 189 return token; in opal_set_tpo_time() 193 rc = opal_tpo_write(token, y_m_d, in opal_set_tpo_time() [all …]
|
/openbmc/linux/mm/kasan/ |
H A D | report_generic.c | 211 char *token, size_t max_tok_len, in tokenize_frame_descr() argument 219 if (token != NULL) { in tokenize_frame_descr() 229 strscpy(token, *frame_descr, tok_len + 1); in tokenize_frame_descr() 235 if (value != NULL && kstrtoul(token, 10, value)) { in tokenize_frame_descr() 253 char token[64]; in print_decoded_frame_descr() local 256 if (!tokenize_frame_descr(&frame_descr, token, sizeof(token), in print_decoded_frame_descr() 269 if (!tokenize_frame_descr(&frame_descr, token, sizeof(token), in print_decoded_frame_descr() 273 if (!tokenize_frame_descr(&frame_descr, token, sizeof(token), in print_decoded_frame_descr() 280 if (!tokenize_frame_descr(&frame_descr, token, sizeof(token), in print_decoded_frame_descr() 285 strreplace(token, ':', '\0'); in print_decoded_frame_descr() [all …]
|
/openbmc/linux/drivers/usb/host/ |
H A D | ehci-q.c | 192 u32 token in qtd_copy_status() argument 326 u32 token = 0; in qh_completions() local 389 token); in qh_completions() 392 token); in qh_completions() 489 token); in qh_completions() 586 u32 token; in qh_urb_transaction() local 599 token = QTD_STS_ACTIVE; in qh_urb_transaction() 612 token ^= QTD_TOGGLE; in qh_urb_transaction() 674 token ^= QTD_TOGGLE; in qh_urb_transaction() 1061 __hc32 token; in qh_append_tds() local [all …]
|