Lines Matching refs:sp_device

93 struct sp_device {  struct
112 struct sp_device*(*get_psp_master_device)(void); argument
113 void (*set_psp_master_device)(struct sp_device *); argument
114 void (*clear_psp_master_device)(struct sp_device *); argument
137 struct sp_device *sp_alloc_struct(struct device *dev); argument
139 int sp_init(struct sp_device *sp);
140 void sp_destroy(struct sp_device *sp);
142 int sp_suspend(struct sp_device *sp);
143 int sp_resume(struct sp_device *sp);
144 int sp_request_ccp_irq(struct sp_device *sp, irq_handler_t handler,
146 void sp_free_ccp_irq(struct sp_device *sp, void *data);
147 int sp_request_psp_irq(struct sp_device *sp, irq_handler_t handler,
149 void sp_free_psp_irq(struct sp_device *sp, void *data);
150 struct sp_device *sp_get_psp_master_device(void);
154 int ccp_dev_init(struct sp_device *sp);
155 void ccp_dev_destroy(struct sp_device *sp);
157 void ccp_dev_suspend(struct sp_device *sp);
158 void ccp_dev_resume(struct sp_device *sp);
162 static inline int ccp_dev_init(struct sp_device *sp) in ccp_dev_init()
166 static inline void ccp_dev_destroy(struct sp_device *sp) { } in ccp_dev_destroy()
167 static inline void ccp_dev_suspend(struct sp_device *sp) { } in ccp_dev_suspend()
168 static inline void ccp_dev_resume(struct sp_device *sp) { } in ccp_dev_resume()
173 int psp_dev_init(struct sp_device *sp);
175 void psp_dev_destroy(struct sp_device *sp);
180 static inline int psp_dev_init(struct sp_device *sp) { return 0; } in psp_dev_init()
182 static inline void psp_dev_destroy(struct sp_device *sp) { } in psp_dev_destroy()