Lines Matching refs:sp_device
59 struct sp_device { struct
78 struct sp_device*(*get_psp_master_device)(void); argument
79 void (*set_psp_master_device)(struct sp_device *); argument
102 struct sp_device *sp_alloc_struct(struct device *dev); argument
104 int sp_init(struct sp_device *sp);
105 void sp_destroy(struct sp_device *sp);
106 struct sp_device *sp_get_master(void);
108 int sp_suspend(struct sp_device *sp, pm_message_t state);
109 int sp_resume(struct sp_device *sp);
110 int sp_request_ccp_irq(struct sp_device *sp, irq_handler_t handler,
112 void sp_free_ccp_irq(struct sp_device *sp, void *data);
113 int sp_request_psp_irq(struct sp_device *sp, irq_handler_t handler,
115 void sp_free_psp_irq(struct sp_device *sp, void *data);
116 struct sp_device *sp_get_psp_master_device(void);
120 int ccp_dev_init(struct sp_device *sp);
121 void ccp_dev_destroy(struct sp_device *sp);
123 int ccp_dev_suspend(struct sp_device *sp, pm_message_t state);
124 int ccp_dev_resume(struct sp_device *sp);
128 static inline int ccp_dev_init(struct sp_device *sp) in ccp_dev_init()
132 static inline void ccp_dev_destroy(struct sp_device *sp) { } in ccp_dev_destroy()
134 static inline int ccp_dev_suspend(struct sp_device *sp, pm_message_t state) in ccp_dev_suspend()
138 static inline int ccp_dev_resume(struct sp_device *sp) in ccp_dev_resume()
146 int psp_dev_init(struct sp_device *sp);
148 void psp_dev_destroy(struct sp_device *sp);
153 static inline int psp_dev_init(struct sp_device *sp) { return 0; } in psp_dev_init()
155 static inline void psp_dev_destroy(struct sp_device *sp) { } in psp_dev_destroy()