Searched refs:sp_device (Results 1 – 8 of 8) sorted by relevance
72 struct sp_device { struct91 struct sp_device*(*get_psp_master_device)(void); argument92 void (*set_psp_master_device)(struct sp_device *); argument93 void (*clear_psp_master_device)(struct sp_device *); argument116 struct sp_device *sp_alloc_struct(struct device *dev); argument118 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 *sp);[all …]
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 …]
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()149 static void psp_clear_master(struct sp_device *sp) in psp_clear_master()159 struct sp_device *sp; in sp_pci_probe()[all …]
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()
20 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()
475 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()
36 struct sp_device *sp;
348 struct sp_device *sp;636 struct ccp_device *ccp_alloc_struct(struct sp_device *sp);