Lines Matching refs:sp_device
93 struct sp_device {
112 struct sp_device*(*get_psp_master_device)(void);
113 void (*set_psp_master_device)(struct sp_device *);
114 void (*clear_psp_master_device)(struct sp_device *);
137 struct sp_device *sp_alloc_struct(struct device *dev);
139 int sp_init(struct sp_device *sp);
140 void sp_destroy(struct sp_device *sp);
141 struct sp_device *sp_get_master(void);
143 int sp_suspend(struct sp_device *sp);
144 int sp_resume(struct sp_device *sp);
145 int sp_request_ccp_irq(struct sp_device *sp, irq_handler_t handler,
147 void sp_free_ccp_irq(struct sp_device *sp, void *data);
148 int sp_request_psp_irq(struct sp_device *sp, irq_handler_t handler,
150 void sp_free_psp_irq(struct sp_device *sp, void *data);
151 struct sp_device *sp_get_psp_master_device(void);
155 int ccp_dev_init(struct sp_device *sp);
156 void ccp_dev_destroy(struct sp_device *sp);
158 void ccp_dev_suspend(struct sp_device *sp);
159 void ccp_dev_resume(struct sp_device *sp);
163 static inline int ccp_dev_init(struct sp_device *sp)
167 static inline void ccp_dev_destroy(struct sp_device *sp) { }
168 static inline void ccp_dev_suspend(struct sp_device *sp) { }
169 static inline void ccp_dev_resume(struct sp_device *sp) { }
174 int psp_dev_init(struct sp_device *sp);
176 void psp_dev_destroy(struct sp_device *sp);
181 static inline int psp_dev_init(struct sp_device *sp) { return 0; }
183 static inline void psp_dev_destroy(struct sp_device *sp) { }