Searched refs:sp_device (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.4/drivers/crypto/ccp/ |
| D | sp-dev.h | 59 struct sp_device { struct 78 struct sp_device*(*get_psp_master_device)(void); argument 79 void (*set_psp_master_device)(struct sp_device *); argument 102 struct sp_device *sp_alloc_struct(struct device *dev); argument 104 int sp_init(struct sp_device *sp); 105 void sp_destroy(struct sp_device *sp); 106 struct sp_device *sp_get_master(void); 108 int sp_suspend(struct sp_device *sp, pm_message_t state); 109 int sp_resume(struct sp_device *sp); 110 int sp_request_ccp_irq(struct sp_device *sp, irq_handler_t handler, [all …]
|
| D | sp-dev.c | 42 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() 176 struct sp_device *sp_alloc_struct(struct device *dev) in sp_alloc_struct() 178 struct sp_device *sp; in sp_alloc_struct() 191 int sp_init(struct sp_device *sp) in sp_init() [all …]
|
| D | sp-pci.c | 33 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() 151 struct sp_device *sp; in sp_pci_probe() 236 struct sp_device *sp = dev_get_drvdata(dev); in sp_pci_remove() [all …]
|
| D | sp-platform.c | 83 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()
|
| D | ccp-dev.c | 475 struct ccp_device *ccp_alloc_struct(struct sp_device *sp) in ccp_alloc_struct() 552 int ccp_dev_suspend(struct sp_device *sp, pm_message_t state) in ccp_dev_suspend() 580 int ccp_dev_resume(struct sp_device *sp) in ccp_dev_resume() 606 int ccp_dev_init(struct sp_device *sp) in ccp_dev_init() 659 void ccp_dev_destroy(struct sp_device *sp) in ccp_dev_destroy()
|
| D | psp-dev.h | 50 struct sp_device *sp;
|
| D | ccp-dev.h | 348 struct sp_device *sp; 635 struct ccp_device *ccp_alloc_struct(struct sp_device *sp);
|
| D | psp-dev.c | 55 static struct psp_device *psp_alloc_struct(struct sp_device *sp) in psp_alloc_struct() 941 int psp_dev_init(struct sp_device *sp) in psp_dev_init() 1007 void psp_dev_destroy(struct sp_device *sp) in psp_dev_destroy() 1032 struct sp_device *sp; in psp_pci_init()
|