Home
last modified time | relevance | path

Searched refs:payload_in (Results 1 – 10 of 10) sorted by relevance

/openbmc/qemu/hw/cxl/
H A Dcxl-mailbox-utils.c125 uint8_t *payload_in, in cmd_tunnel_management_cmd() argument
151 in = (void *)payload_in; in cmd_tunnel_management_cmd()
235 uint8_t *payload_in, size_t len_in, in cmd_events_get_records() argument
248 log_type = payload_in[0]; in cmd_events_get_records()
262 uint8_t *payload_in, in cmd_events_clear_records() argument
271 pl = (CXLClearEventPayload *)payload_in; in cmd_events_clear_records()
283 uint8_t *payload_in, in cmd_events_get_interrupt_policy() argument
326 uint8_t *payload_in, in cmd_events_set_interrupt_policy() argument
340 policy = (CXLEventInterruptPolicy *)payload_in; in cmd_events_set_interrupt_policy()
373 uint8_t *payload_in, in cmd_infostat_identify() argument
[all …]
/openbmc/linux/drivers/cxl/
H A Dsecurity.c87 .payload_in = &set_pass, in cxl_pmem_security_change_key()
112 .payload_in = &dis_pass, in __cxl_pmem_security_disable()
156 .payload_in = pass, in cxl_pmem_security_unlock()
185 .payload_in = &erase, in cxl_pmem_security_passphrase_erase()
H A Dpmem.c138 .payload_in = &get_lsa, in cxl_pmem_get_config_data()
176 .payload_in = set_lsa, in cxl_pmem_set_config_data()
H A Dpci.c243 if (WARN_ON(!mbox_cmd->payload_in)) in __cxl_pci_mbox_send_cmd()
248 memcpy_toio(payload, mbox_cmd->payload_in, mbox_cmd->size_in); in __cxl_pci_mbox_send_cmd()
682 .payload_in = policy, in cxl_event_config_msgnums()
H A Dcxlmem.h132 void *payload_in; member
/openbmc/linux/drivers/cxl/core/
H A Dmbox.c323 static bool cxl_payload_from_user_allowed(u16 opcode, void *payload_in) in cxl_payload_from_user_allowed() argument
327 struct cxl_mbox_set_partition_info *pi = payload_in; in cxl_payload_from_user_allowed()
349 mbox->payload_in = vmemdup_user(u64_to_user_ptr(in_payload), in cxl_mbox_cmd_ctor()
351 if (IS_ERR(mbox->payload_in)) in cxl_mbox_cmd_ctor()
352 return PTR_ERR(mbox->payload_in); in cxl_mbox_cmd_ctor()
354 if (!cxl_payload_from_user_allowed(opcode, mbox->payload_in)) { in cxl_mbox_cmd_ctor()
357 kvfree(mbox->payload_in); in cxl_mbox_cmd_ctor()
371 kvfree(mbox->payload_in); in cxl_mbox_cmd_ctor()
380 kvfree(mbox->payload_in); in cxl_mbox_cmd_dtor()
667 .payload_in = &log, in cxl_xfer_log()
[all …]
H A Dmemdev.c308 .payload_in = &inject, in cxl_inject_poison()
371 .payload_in = &clear, in cxl_clear_poison()
697 .payload_in = &activate, in cxl_mem_activate_fw()
731 .payload_in = transfer, in cxl_mem_abort_fw_xfer()
856 .payload_in = transfer, in cxl_fw_write()
/openbmc/linux/tools/testing/cxl/test/
H A Dmem.c233 log_type = *((u8 *)cmd->payload_in); in mock_get_event()
274 struct cxl_mbox_clear_event_payload *pl = cmd->payload_in; in mock_clear_event()
421 struct cxl_mbox_set_timestamp_in *ts = cmd->payload_in; in mock_set_timestamp()
492 struct cxl_mbox_get_log *gl = cmd->payload_in; in mock_get_log()
662 set_pass = cmd->payload_in; in mock_set_passphrase()
722 dis_pass = cmd->payload_in; in mock_disable_passphrase()
822 if (memcmp(cmd->payload_in, mdata->user_pass, NVDIMM_PASSPHRASE_LEN)) { in mock_unlock_security()
845 erase = cmd->payload_in; in mock_passphrase_secure_erase()
935 struct cxl_mbox_get_lsa *get_lsa = cmd->payload_in; in mock_get_lsa()
955 struct cxl_mbox_set_lsa *set_lsa = cmd->payload_in; in mock_set_lsa()
[all …]
/openbmc/linux/drivers/crypto/stm32/
H A Dstm32-cryp.c190 size_t payload_in; member
1183 cryp->payload_in = req->cryptlen; in stm32_cryp_prepare_req()
1207 cryp->payload_in = areq->cryptlen; in stm32_cryp_prepare_req()
1211 cryp->payload_in = areq->cryptlen - cryp->authsize; in stm32_cryp_prepare_req()
1213 cryp->payload_out = cryp->payload_in; in stm32_cryp_prepare_req()
1266 if (unlikely(!cryp->payload_in && !cryp->header_in)) { in stm32_cryp_aead_one_req()
1399 cryp->payload_in), 0); in stm32_cryp_irq_write_block()
1401 cryp->payload_in -= min_t(size_t, cryp->hw_blocksize, cryp->payload_in); in stm32_cryp_irq_write_block()
1487 cfg |= (cryp->hw_blocksize - cryp->payload_in) << CR_NBPBL_SHIFT; in stm32_cryp_irq_set_npblb()
1580 if (unlikely(!cryp->payload_in)) { in stm32_cryp_irq_write_data()
[all …]
/openbmc/qemu/include/hw/cxl/
H A Dcxl_device.h140 uint8_t *payload_in, size_t len_in,