Lines Matching refs:sp_device
89 struct sp_device {
108 struct sp_device*(*get_psp_master_device)(void);
109 void (*set_psp_master_device)(struct sp_device *);
110 void (*clear_psp_master_device)(struct sp_device *);
133 struct sp_device *sp_alloc_struct(struct device *dev);
135 int sp_init(struct sp_device *sp);
136 void sp_destroy(struct sp_device *sp);
137 struct sp_device *sp_get_master(void);
139 int sp_suspend(struct sp_device *sp);
140 int sp_resume(struct sp_device *sp);
141 int sp_request_ccp_irq(struct sp_device *sp, irq_handler_t handler,
143 void sp_free_ccp_irq(struct sp_device *sp, void *data);
144 int sp_request_psp_irq(struct sp_device *sp, irq_handler_t handler,
146 void sp_free_psp_irq(struct sp_device *sp, void *data);
147 struct sp_device *sp_get_psp_master_device(void);
151 int ccp_dev_init(struct sp_device *sp);
152 void ccp_dev_destroy(struct sp_device *sp);
154 void ccp_dev_suspend(struct sp_device *sp);
155 void ccp_dev_resume(struct sp_device *sp);
159 static inline int ccp_dev_init(struct sp_device *sp)
163 static inline void ccp_dev_destroy(struct sp_device *sp) { }
164 static inline void ccp_dev_suspend(struct sp_device *sp) { }
165 static inline void ccp_dev_resume(struct sp_device *sp) { }
170 int psp_dev_init(struct sp_device *sp);
172 void psp_dev_destroy(struct sp_device *sp);
177 static inline int psp_dev_init(struct sp_device *sp) { return 0; }
179 static inline void psp_dev_destroy(struct sp_device *sp) { }