Lines Matching refs:ocp_device
120 struct ocp_device { struct
136 int (*probe) (struct ocp_device *dev); /* New device inserted */ argument
137 void (*remove) (struct ocp_device *dev); /* Device removed (NULL if not a
139 int (*save_state) (struct ocp_device *dev, u32 state); /* Save Device Context */
140 int (*suspend) (struct ocp_device *dev, u32 state); /* Device suspended */
141 int (*resume) (struct ocp_device *dev); /* Device woken up */
142 int (*enable_wake) (struct ocp_device *dev, u32 state, int enable);
152 ocp_get_drvdata(struct ocp_device *pdev) in ocp_get_drvdata()
158 ocp_set_drvdata(struct ocp_device *pdev, void *data) in ocp_set_drvdata()
169 ocp_force_power_off(struct ocp_device *odev) in ocp_force_power_off()
175 ocp_force_power_on(struct ocp_device *odev) in ocp_force_power_on()
195 extern struct ocp_device *ocp_find_device(unsigned int vendor, unsigned int function, int index);