Home
last modified time | relevance | path

Searched refs:sp_device (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/ccp/
H A Dsp-dev.h72 struct sp_device { struct
91 struct sp_device*(*get_psp_master_device)(void);
92 void (*set_psp_master_device)(struct sp_device *);
93 void (*clear_psp_master_device)(struct sp_device *);
116 struct sp_device *sp_alloc_struct(struct device *dev);
118 int sp_init(struct sp_device *sp);
119 void sp_destroy(struct sp_device *sp);
120 struct sp_device *sp_get_master(void);
122 int sp_suspend(struct sp_device *sp);
123 int sp_resume(struct sp_device *s
[all...]
H A Dsp-dev.c42 static void sp_add_device(struct sp_device *sp) in sp_add_device()
53 static void sp_del_device(struct sp_device *sp) in sp_del_device()
66 struct sp_device *sp = data; in sp_irq_handler()
77 int sp_request_ccp_irq(struct sp_device *sp, irq_handler_t handler, in sp_request_ccp_irq()
105 int sp_request_psp_irq(struct sp_device *sp, irq_handler_t handler, in sp_request_psp_irq()
133 void sp_free_ccp_irq(struct sp_device *sp, void *data) in sp_free_ccp_irq()
152 void sp_free_psp_irq(struct sp_device *sp, void *data) in sp_free_psp_irq()
172 * sp_alloc_struct - allocate and initialize the sp_device struct
176 struct sp_device *sp_alloc_struct(struct device *dev) in sp_alloc_struct()
178 struct sp_device *s in sp_alloc_struct()
[all...]
H A Dsp-pci.c33 static struct sp_device *sp_dev_master;
35 static int sp_get_msix_irqs(struct sp_device *sp) in sp_get_msix_irqs()
58 static int sp_get_msi_irq(struct sp_device *sp) in sp_get_msi_irq()
74 static int sp_get_irqs(struct sp_device *sp) in sp_get_irqs()
95 static void sp_free_irqs(struct sp_device *sp) in sp_free_irqs()
110 static bool sp_pci_is_master(struct sp_device *sp) in sp_pci_is_master()
133 static void psp_set_master(struct sp_device *sp) in psp_set_master()
144 static struct sp_device *psp_get_master(void) in psp_get_master()
149 static void psp_clear_master(struct sp_device *sp) in psp_clear_master()
159 struct sp_device *s in sp_pci_probe()
[all...]
H A Dsp-platform.c83 static int sp_get_irqs(struct sp_device *sp) in sp_get_irqs()
124 struct sp_device *sp; in sp_platform_probe()
194 struct sp_device *sp = dev_get_drvdata(dev); in sp_platform_remove()
208 struct sp_device *sp = dev_get_drvdata(dev); in sp_platform_suspend()
216 struct sp_device *sp = dev_get_drvdata(dev); in sp_platform_resume()
H A Dpsp-dev.c20 static struct psp_device *psp_alloc_struct(struct sp_device *sp) in psp_alloc_struct()
135 int psp_dev_init(struct sp_device *sp) in psp_dev_init()
206 void psp_dev_destroy(struct sp_device *sp) in psp_dev_destroy()
249 struct sp_device *sp = sp_get_psp_master_device(); in psp_get_master_device()
H A Dccp-dev.c475 struct ccp_device *ccp_alloc_struct(struct sp_device *sp) in ccp_alloc_struct()
551 int ccp_dev_suspend(struct sp_device *sp) in ccp_dev_suspend()
579 int ccp_dev_resume(struct sp_device *sp) in ccp_dev_resume()
604 int ccp_dev_init(struct sp_device *sp) in ccp_dev_init()
666 void ccp_dev_destroy(struct sp_device *sp) in ccp_dev_destroy()
H A Dpsp-dev.h36 struct sp_device *sp;
H A Dccp-dev.h348 struct sp_device *sp;
636 struct ccp_device *ccp_alloc_struct(struct sp_device *sp);
/kernel/linux/linux-6.6/drivers/crypto/ccp/
H A Dsp-dev.h89 struct sp_device { struct
108 struct sp_device*(*get_psp_master_device)(void);
109 void (*set_psp_master_device)(struct sp_device *);
110 void (*clear_psp_master_device)(struct sp_device *);
133 struct sp_device *sp_alloc_struct(struct device *dev);
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 *s
[all...]
H A Dsp-dev.c42 static void sp_add_device(struct sp_device *sp) in sp_add_device()
53 static void sp_del_device(struct sp_device *sp) in sp_del_device()
66 struct sp_device *sp = data; in sp_irq_handler()
77 int sp_request_ccp_irq(struct sp_device *sp, irq_handler_t handler, in sp_request_ccp_irq()
105 int sp_request_psp_irq(struct sp_device *sp, irq_handler_t handler, in sp_request_psp_irq()
133 void sp_free_ccp_irq(struct sp_device *sp, void *data) in sp_free_ccp_irq()
152 void sp_free_psp_irq(struct sp_device *sp, void *data) in sp_free_psp_irq()
172 * sp_alloc_struct - allocate and initialize the sp_device struct
176 struct sp_device *sp_alloc_struct(struct device *dev) in sp_alloc_struct()
178 struct sp_device *s in sp_alloc_struct()
[all...]
H A 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 *s
[all...]
H A Dsp-platform.c83 static int sp_get_irqs(struct sp_device *sp) in sp_get_irqs()
116 struct sp_device *sp; in sp_platform_probe()
186 struct sp_device *sp = dev_get_drvdata(dev); in sp_platform_remove()
200 struct sp_device *sp = dev_get_drvdata(dev); in sp_platform_suspend()
208 struct sp_device *sp = dev_get_drvdata(dev); in sp_platform_resume()
H A 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()
H A Dccp-dev.c473 * @sp: sp_device struct of the CCP
475 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 Dpsp-dev.h33 struct sp_device *sp;
H A Dccp-dev.h348 struct sp_device *sp;
636 struct ccp_device *ccp_alloc_struct(struct sp_device *sp);

Completed in 10 milliseconds