Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/crypto/ccp/
Dsp-dev.h63 struct sp_device { struct
82 struct sp_device*(*get_psp_master_device)(void); argument
83 void (*set_psp_master_device)(struct sp_device *); argument
106 struct sp_device *sp_alloc_struct(struct device *dev); argument
108 int sp_init(struct sp_device *sp);
109 void sp_destroy(struct sp_device *sp);
110 struct sp_device *sp_get_master(void);
112 int sp_suspend(struct sp_device *sp, pm_message_t state);
113 int sp_resume(struct sp_device *sp);
114 int sp_request_ccp_irq(struct sp_device *sp, irq_handler_t handler,
[all …]
Dsp-dev.c45 static void sp_add_device(struct sp_device *sp) in sp_add_device()
56 static void sp_del_device(struct sp_device *sp) in sp_del_device()
69 struct sp_device *sp = data; in sp_irq_handler()
80 int sp_request_ccp_irq(struct sp_device *sp, irq_handler_t handler, in sp_request_ccp_irq()
108 int sp_request_psp_irq(struct sp_device *sp, irq_handler_t handler, in sp_request_psp_irq()
136 void sp_free_ccp_irq(struct sp_device *sp, void *data) in sp_free_ccp_irq()
155 void sp_free_psp_irq(struct sp_device *sp, void *data) in sp_free_psp_irq()
179 struct sp_device *sp_alloc_struct(struct device *dev) in sp_alloc_struct()
181 struct sp_device *sp; in sp_alloc_struct()
194 int sp_init(struct sp_device *sp) in sp_init()
[all …]
Dsp-pci.c36 static struct sp_device *sp_dev_master;
38 static int sp_get_msix_irqs(struct sp_device *sp) in sp_get_msix_irqs()
61 static int sp_get_msi_irq(struct sp_device *sp) in sp_get_msi_irq()
77 static int sp_get_irqs(struct sp_device *sp) in sp_get_irqs()
98 static void sp_free_irqs(struct sp_device *sp) in sp_free_irqs()
113 static bool sp_pci_is_master(struct sp_device *sp) in sp_pci_is_master()
136 static void psp_set_master(struct sp_device *sp) in psp_set_master()
147 static struct sp_device *psp_get_master(void) in psp_get_master()
154 struct sp_device *sp; in sp_pci_probe()
241 struct sp_device *sp = dev_get_drvdata(dev); in sp_pci_remove()
[all …]
Dsp-platform.c63 static int sp_get_irqs(struct sp_device *sp) in sp_get_irqs()
104 struct sp_device *sp; in sp_platform_probe()
176 struct sp_device *sp = dev_get_drvdata(dev); in sp_platform_remove()
190 struct sp_device *sp = dev_get_drvdata(dev); in sp_platform_suspend()
198 struct sp_device *sp = dev_get_drvdata(dev); in sp_platform_resume()
Dccp-dev.c457 struct ccp_device *ccp_alloc_struct(struct sp_device *sp) in ccp_alloc_struct()
534 int ccp_dev_suspend(struct sp_device *sp, pm_message_t state) in ccp_dev_suspend()
558 int ccp_dev_resume(struct sp_device *sp) in ccp_dev_resume()
580 int ccp_dev_init(struct sp_device *sp) in ccp_dev_init()
621 void ccp_dev_destroy(struct sp_device *sp) in ccp_dev_destroy()
Dpsp-dev.h54 struct sp_device *sp;
Dpsp-dev.c52 static struct psp_device *psp_alloc_struct(struct sp_device *sp) in psp_alloc_struct()
834 int psp_dev_init(struct sp_device *sp) in psp_dev_init()
891 void psp_dev_destroy(struct sp_device *sp) in psp_dev_destroy()
916 struct sp_device *sp; in psp_pci_init()
Dccp-dev.h351 struct sp_device *sp;
637 struct ccp_device *ccp_alloc_struct(struct sp_device *sp);