sp_device
struct ccp_device *ccp_alloc_struct(struct sp_device *sp)
void ccp_dev_suspend(struct sp_device *sp)
void ccp_dev_resume(struct sp_device *sp)
int ccp_dev_init(struct sp_device *sp)
void ccp_dev_destroy(struct sp_device *sp)
struct sp_device *sp;
struct ccp_device *ccp_alloc_struct(struct sp_device *sp);
struct sp_device *sp = dev_get_drvdata(d); \
struct sp_device *sp = dev_get_drvdata(dev);
static struct psp_device *psp_alloc_struct(struct sp_device *sp)
int psp_dev_init(struct sp_device *sp)
void psp_dev_destroy(struct sp_device *sp)
struct sp_device *sp = sp_get_psp_master_device();
int psp_restore(struct sp_device *sp)
struct sp_device *sp;
#define dev_to_sp(dev) ((struct sp_device *)dev_get_drvdata(dev))
int sp_request_psp_irq(struct sp_device *sp, irq_handler_t handler,
void sp_free_ccp_irq(struct sp_device *sp, void *data)
void sp_free_psp_irq(struct sp_device *sp, void *data)
struct sp_device *sp_alloc_struct(struct device *dev)
struct sp_device *sp;
int sp_init(struct sp_device *sp)
void sp_destroy(struct sp_device *sp)
int sp_suspend(struct sp_device *sp)
int sp_resume(struct sp_device *sp)
int sp_restore(struct sp_device *sp)
struct sp_device *sp_get_psp_master_device(void)
struct sp_device *i, *ret = NULL;
static void sp_add_device(struct sp_device *sp)
static void sp_del_device(struct sp_device *sp)
struct sp_device *sp = data;
int sp_request_ccp_irq(struct sp_device *sp, irq_handler_t handler,
struct sp_device*(*get_psp_master_device)(void);
void (*set_psp_master_device)(struct sp_device *);
void (*clear_psp_master_device)(struct sp_device *);
struct sp_device *sp_alloc_struct(struct device *dev);
int sp_init(struct sp_device *sp);
void sp_destroy(struct sp_device *sp);
int sp_suspend(struct sp_device *sp);
int sp_resume(struct sp_device *sp);
int sp_restore(struct sp_device *sp);
int sp_request_ccp_irq(struct sp_device *sp, irq_handler_t handler,
void sp_free_ccp_irq(struct sp_device *sp, void *data);
int sp_request_psp_irq(struct sp_device *sp, irq_handler_t handler,
void sp_free_psp_irq(struct sp_device *sp, void *data);
struct sp_device *sp_get_psp_master_device(void);
int ccp_dev_init(struct sp_device *sp);
void ccp_dev_destroy(struct sp_device *sp);
void ccp_dev_suspend(struct sp_device *sp);
void ccp_dev_resume(struct sp_device *sp);
static inline int ccp_dev_init(struct sp_device *sp)
static inline void ccp_dev_destroy(struct sp_device *sp) { }
static inline void ccp_dev_suspend(struct sp_device *sp) { }
static inline void ccp_dev_resume(struct sp_device *sp) { }
int psp_dev_init(struct sp_device *sp);
void psp_dev_destroy(struct sp_device *sp);
int psp_restore(struct sp_device *sp);
static inline int psp_dev_init(struct sp_device *sp) { return 0; }
static inline void psp_dev_destroy(struct sp_device *sp) { }
static inline int psp_restore(struct sp_device *sp) { return 0; }
static int sp_get_msix_irqs(struct sp_device *sp)
static int sp_get_msi_irq(struct sp_device *sp)
static int sp_get_irqs(struct sp_device *sp)
static void sp_free_irqs(struct sp_device *sp)
static bool sp_pci_is_master(struct sp_device *sp)
static void psp_set_master(struct sp_device *sp)
static struct sp_device *psp_get_master(void)
static void psp_clear_master(struct sp_device *sp)
struct sp_device *sp;
struct sp_device *sp = dev_get_drvdata(dev);
struct sp_device *sp = dev_get_drvdata(dev);
struct sp_device *sp = dev_get_drvdata(dev);
struct sp_device *sp = dev_get_drvdata(dev);
struct sp_device *sp = dev_get_drvdata(dev);
static struct sp_device *sp_dev_master;
struct sp_device *sp = dev_get_drvdata(d); \
struct sp_device *sp = dev_get_drvdata(dev);
struct sp_device *sp = dev_get_drvdata(dev);
struct sp_device *sp = dev_get_drvdata(dev);
struct sp_device *sp = dev_get_drvdata(dev);
static int sp_get_irqs(struct sp_device *sp)
struct sp_device *sp;