Lines Matching refs:sp_device

72 struct sp_device {  struct
91 struct sp_device*(*get_psp_master_device)(void); argument
92 void (*set_psp_master_device)(struct sp_device *); argument
93 void (*clear_psp_master_device)(struct sp_device *); argument
116 struct sp_device *sp_alloc_struct(struct device *dev); argument
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 *sp);
124 int sp_request_ccp_irq(struct sp_device *sp, irq_handler_t handler,
126 void sp_free_ccp_irq(struct sp_device *sp, void *data);
127 int sp_request_psp_irq(struct sp_device *sp, irq_handler_t handler,
129 void sp_free_psp_irq(struct sp_device *sp, void *data);
130 struct sp_device *sp_get_psp_master_device(void);
134 int ccp_dev_init(struct sp_device *sp);
135 void ccp_dev_destroy(struct sp_device *sp);
137 void ccp_dev_suspend(struct sp_device *sp);
138 void ccp_dev_resume(struct sp_device *sp);
142 static inline int ccp_dev_init(struct sp_device *sp) in ccp_dev_init()
146 static inline void ccp_dev_destroy(struct sp_device *sp) { } in ccp_dev_destroy()
147 static inline void ccp_dev_suspend(struct sp_device *sp) { } in ccp_dev_suspend()
148 static inline void ccp_dev_resume(struct sp_device *sp) { } in ccp_dev_resume()
153 int psp_dev_init(struct sp_device *sp);
155 void psp_dev_destroy(struct sp_device *sp);
160 static inline int psp_dev_init(struct sp_device *sp) { return 0; } in psp_dev_init()
162 static inline void psp_dev_destroy(struct sp_device *sp) { } in psp_dev_destroy()