Home
last modified time | relevance | path

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

/linux/drivers/crypto/ccp/
H A Dsp-dev.h93 struct sp_device { struct
112 struct sp_device*(*get_psp_master_device)(void); argument
113 void (*set_psp_master_device)(struct sp_device *); argument
114 void (*clear_psp_master_device)(struct sp_device *); argument
137 struct sp_device *sp_alloc_struct(struct device *dev); argument
139 int sp_init(struct sp_device *sp);
140 void sp_destroy(struct sp_device *sp);
142 int sp_suspend(struct sp_device *sp);
143 int sp_resume(struct sp_device *sp);
144 int sp_restore(struct sp_device *sp);
[all …]
H A 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 …]
H A Dsp-pci.c41 static struct sp_device *sp_dev_master;
47 struct sp_device *sp = dev_get_drvdata(d); \
71 struct sp_device *sp = dev_get_drvdata(dev); in psp_firmware_is_visible()
106 static int sp_get_msix_irqs(struct sp_device *sp) in sp_get_msix_irqs()
129 static int sp_get_msi_irq(struct sp_device *sp) in sp_get_msi_irq()
145 static int sp_get_irqs(struct sp_device *sp) in sp_get_irqs()
166 static void sp_free_irqs(struct sp_device *sp) in sp_free_irqs()
181 static bool sp_pci_is_master(struct sp_device *sp) in sp_pci_is_master()
207 static void psp_set_master(struct sp_device *sp) in psp_set_master()
218 static struct sp_device *psp_get_master(void) in psp_get_master()
[all …]
H A Dsp-platform.c66 static int sp_get_irqs(struct sp_device *sp) in sp_get_irqs()
99 struct sp_device *sp; in sp_platform_probe()
169 struct sp_device *sp = dev_get_drvdata(dev); in sp_platform_remove()
181 struct sp_device *sp = dev_get_drvdata(dev); in sp_platform_suspend()
189 struct sp_device *sp = dev_get_drvdata(dev); in sp_platform_resume()
H A Dpsp-dev.c107 static struct psp_device *psp_alloc_struct(struct sp_device *sp) in psp_alloc_struct()
241 int psp_dev_init(struct sp_device *sp) in psp_dev_init()
312 void psp_dev_destroy(struct sp_device *sp) in psp_dev_destroy()
349 struct sp_device *sp = sp_get_psp_master_device(); in psp_get_master_device()
354 int psp_restore(struct sp_device *sp) in psp_restore()
H A 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()
H A Dhsti.c26 struct sp_device *sp = dev_get_drvdata(d); \
66 struct sp_device *sp = dev_get_drvdata(dev); in psp_security_is_visible()
H A Dpsp-dev.h60 struct sp_device *sp;
H A Dccp-dev.h348 struct sp_device *sp;
636 struct ccp_device *ccp_alloc_struct(struct sp_device *sp);
H A Dsev-dev-tsm.c22 #define dev_to_sp(dev) ((struct sp_device *)dev_get_drvdata(dev))