Lines Matching refs:sp_device

63 struct sp_device {  struct
82 struct sp_device*(*get_psp_master_device)(void); argument
83 void (*set_psp_master_device)(struct sp_device *); argument
106 struct sp_device *sp_alloc_struct(struct device *dev); argument
108 int sp_init(struct sp_device *sp);
109 void sp_destroy(struct sp_device *sp);
110 struct sp_device *sp_get_master(void);
112 int sp_suspend(struct sp_device *sp, pm_message_t state);
113 int sp_resume(struct sp_device *sp);
114 int sp_request_ccp_irq(struct sp_device *sp, irq_handler_t handler,
116 void sp_free_ccp_irq(struct sp_device *sp, void *data);
117 int sp_request_psp_irq(struct sp_device *sp, irq_handler_t handler,
119 void sp_free_psp_irq(struct sp_device *sp, void *data);
120 struct sp_device *sp_get_psp_master_device(void);
124 int ccp_dev_init(struct sp_device *sp);
125 void ccp_dev_destroy(struct sp_device *sp);
127 int ccp_dev_suspend(struct sp_device *sp, pm_message_t state);
128 int ccp_dev_resume(struct sp_device *sp);
132 static inline int ccp_dev_init(struct sp_device *sp) in ccp_dev_init()
136 static inline void ccp_dev_destroy(struct sp_device *sp) { } in ccp_dev_destroy()
138 static inline int ccp_dev_suspend(struct sp_device *sp, pm_message_t state) in ccp_dev_suspend()
142 static inline int ccp_dev_resume(struct sp_device *sp) in ccp_dev_resume()
150 int psp_dev_init(struct sp_device *sp);
152 void psp_dev_destroy(struct sp_device *sp);
157 static inline int psp_dev_init(struct sp_device *sp) { return 0; } in psp_dev_init()
159 static inline void psp_dev_destroy(struct sp_device *sp) { } in psp_dev_destroy()