Home
last modified time | relevance | path

Searched refs:sp_device (Results 1 – 8 of 8) sorted by relevance

/drivers/crypto/ccp/
Dsp-dev.h89 struct sp_device { struct
108 struct sp_device*(*get_psp_master_device)(void); argument
109 void (*set_psp_master_device)(struct sp_device *); argument
110 void (*clear_psp_master_device)(struct sp_device *); argument
133 struct sp_device *sp_alloc_struct(struct device *dev); argument
135 int sp_init(struct sp_device *sp);
136 void sp_destroy(struct sp_device *sp);
137 struct sp_device *sp_get_master(void);
139 int sp_suspend(struct sp_device *sp);
140 int sp_resume(struct sp_device *sp);
[all …]
Dsp-dev.c43 static void sp_add_device(struct sp_device *sp) in sp_add_device()
54 static void sp_del_device(struct sp_device *sp) in sp_del_device()
67 struct sp_device *sp = data; in sp_irq_handler()
78 int sp_request_ccp_irq(struct sp_device *sp, irq_handler_t handler, in sp_request_ccp_irq()
106 int sp_request_psp_irq(struct sp_device *sp, irq_handler_t handler, in sp_request_psp_irq()
134 void sp_free_ccp_irq(struct sp_device *sp, void *data) in sp_free_ccp_irq()
153 void sp_free_psp_irq(struct sp_device *sp, void *data) in sp_free_psp_irq()
177 struct sp_device *sp_alloc_struct(struct device *dev) in sp_alloc_struct()
179 struct sp_device *sp; in sp_alloc_struct()
192 int sp_init(struct sp_device *sp) in sp_init()
[all …]
Dsp-pci.c40 static struct sp_device *sp_dev_master;
46 struct sp_device *sp = dev_get_drvdata(d); \
84 struct sp_device *sp = dev_get_drvdata(dev); in psp_security_is_visible()
102 struct sp_device *sp = dev_get_drvdata(d); \
126 struct sp_device *sp = dev_get_drvdata(dev); in psp_firmware_is_visible()
160 static int sp_get_msix_irqs(struct sp_device *sp) in sp_get_msix_irqs()
183 static int sp_get_msi_irq(struct sp_device *sp) in sp_get_msi_irq()
199 static int sp_get_irqs(struct sp_device *sp) in sp_get_irqs()
220 static void sp_free_irqs(struct sp_device *sp) in sp_free_irqs()
235 static bool sp_pci_is_master(struct sp_device *sp) in sp_pci_is_master()
[all …]
Dsp-platform.c77 static int sp_get_irqs(struct sp_device *sp) in sp_get_irqs()
110 struct sp_device *sp; in sp_platform_probe()
180 struct sp_device *sp = dev_get_drvdata(dev); in sp_platform_remove()
194 struct sp_device *sp = dev_get_drvdata(dev); in sp_platform_suspend()
202 struct sp_device *sp = dev_get_drvdata(dev); in sp_platform_resume()
Dpsp-dev.c22 static struct psp_device *psp_alloc_struct(struct sp_device *sp) in psp_alloc_struct()
146 int psp_dev_init(struct sp_device *sp) in psp_dev_init()
216 void psp_dev_destroy(struct sp_device *sp) in psp_dev_destroy()
251 struct sp_device *sp = sp_get_psp_master_device(); in psp_get_master_device()
Dccp-dev.c475 struct ccp_device *ccp_alloc_struct(struct sp_device *sp) in ccp_alloc_struct()
551 void ccp_dev_suspend(struct sp_device *sp) in ccp_dev_suspend()
577 void ccp_dev_resume(struct sp_device *sp) in ccp_dev_resume()
600 int ccp_dev_init(struct sp_device *sp) in ccp_dev_init()
662 void ccp_dev_destroy(struct sp_device *sp) in ccp_dev_destroy()
Dpsp-dev.h33 struct sp_device *sp;
Dccp-dev.h348 struct sp_device *sp;
636 struct ccp_device *ccp_alloc_struct(struct sp_device *sp);