Home
last modified time | relevance | path

Searched refs:psp_device (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/crypto/ccp/
H A Dpsp-dev.c25 struct psp_device *psp_master;
46 int psp_mailbox_command(struct psp_device *psp, enum psp_cmd cmd, void *cmdbuff, in psp_mailbox_command()
83 int psp_extended_mailbox_cmd(struct psp_device *psp, unsigned int timeout_msecs, in psp_extended_mailbox_cmd()
107 static struct psp_device *psp_alloc_struct(struct sp_device *sp) in psp_alloc_struct()
110 struct psp_device *psp; in psp_alloc_struct()
126 struct psp_device *psp = data; in psp_irq_handler()
144 static unsigned int psp_get_capability(struct psp_device *psp) in psp_get_capability()
164 static int psp_check_sev_support(struct psp_device *psp) in psp_check_sev_support()
175 static int psp_check_tee_support(struct psp_device *psp) in psp_check_tee_support()
186 static int psp_check_sfs_support(struct psp_device *psp) in psp_check_sfs_support()
[all …]
H A Dpsp-dev.h25 extern struct psp_device *psp_master;
53 struct psp_device { struct
77 void psp_set_sev_irq_handler(struct psp_device *psp, psp_irq_handler_t handler, argument
79 void psp_clear_sev_irq_handler(struct psp_device *psp);
81 struct psp_device *psp_get_master_device(void);
97 int psp_mailbox_command(struct psp_device *psp, enum psp_cmd cmd, void *cmdbuff,
135 int psp_extended_mailbox_cmd(struct psp_device *psp, unsigned int timeout_msecs,
H A Dplatform-access.h22 struct psp_device *psp;
32 void platform_access_dev_destroy(struct psp_device *psp);
33 int platform_access_dev_init(struct psp_device *psp);
H A Ddbc.h23 struct psp_device *psp;
44 void dbc_dev_destroy(struct psp_device *psp);
45 int dbc_dev_init(struct psp_device *psp);
H A Dsfs.h36 struct psp_device *psp;
44 void sfs_dev_destroy(struct psp_device *psp);
45 int sfs_dev_init(struct psp_device *psp);
H A Dtee-dev.h55 struct psp_device *psp;
112 int tee_dev_init(struct psp_device *psp);
113 void tee_dev_destroy(struct psp_device *psp);
H A Dsev-dev.h41 struct psp_device *psp;
71 int sev_dev_init(struct psp_device *psp);
72 void sev_dev_destroy(struct psp_device *psp);
H A Dplatform-access.c47 struct psp_device *psp = psp_get_master_device(); in psp_check_platform_access_status()
59 struct psp_device *psp = psp_get_master_device(); in psp_send_platform_access_msg()
150 struct psp_device *psp = psp_get_master_device(); in psp_ring_platform_doorbell()
194 void platform_access_dev_destroy(struct psp_device *psp) in platform_access_dev_destroy()
206 int platform_access_dev_init(struct psp_device *psp) in platform_access_dev_init()
H A Dtee-dev.c162 int tee_dev_init(struct psp_device *psp) in tee_dev_init()
205 void tee_dev_destroy(struct psp_device *psp) in tee_dev_destroy()
321 struct psp_device *psp = psp_get_master_device(); in psp_tee_process_cmd()
360 struct psp_device *psp = psp_get_master_device(); in psp_check_tee_status()
H A Dsfs.c109 struct psp_device *psp_master = psp_get_master_device(); in sfs_ioctl()
192 void sfs_dev_destroy(struct psp_device *psp) in sfs_dev_destroy()
251 int sfs_dev_init(struct psp_device *psp) in sfs_dev_init()
H A Dhsti.h15 int psp_init_hsti(struct psp_device *psp);
H A Dsev-dev.c859 struct psp_device *psp = psp_master; in __sev_do_cmd_locked()
1113 struct psp_device *psp_master = psp_get_master_device(); in snp_alloc_hv_fixed_pages()
1169 struct psp_device *psp_master = psp_get_master_device(); in snp_free_hv_fixed_pages()
1252 struct psp_device *psp = psp_master; in sev_is_snp_ciphertext_hiding_supported()
1364 struct psp_device *psp = psp_master; in __sev_snp_init_locked()
1687 struct psp_device *psp = psp_master; in __sev_platform_shutdown_locked()
2040 struct psp_device *psp = psp_master; in __sev_snp_shutdown_locked()
2692 int sev_dev_init(struct psp_device *psp) in sev_dev_init()
2821 struct psp_device *psp = psp_master; in sev_get_snp_policy_bits()
2856 void sev_dev_destroy(struct psp_device *psp) in sev_dev_destroy()
H A Dsp-pci.c48 struct psp_device *psp = sp->psp_data; \
72 struct psp_device *psp = sp->psp_data; in psp_firmware_is_visible()
H A Dsev-dev-tsm.c29 #define dev_to_psp(dev) ((struct psp_device *)(dev_to_sp(dev)->psp_data))
/linux/drivers/accel/amdxdna/
H A Daie2_psp.c38 struct psp_device { struct
47 static int psp_exec(struct psp_device *psp, u32 *reg_vals) in psp_exec() argument
79 void aie2_psp_stop(struct psp_device *psp) in aie2_psp_stop()
89 int aie2_psp_start(struct psp_device *psp) in aie2_psp_start()
117 struct psp_device *aie2m_psp_create(struct drm_device *ddev, struct psp_config *conf) in aie2m_psp_create()
119 struct psp_device *psp; in aie2m_psp_create()