Home
last modified time | relevance | path

Searched refs:ocp_device (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/include/asm-ppc/
Docp.h120 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()
[all …]
/linux-2.4.37.9/arch/ppc/kernel/
Docp.c70 ocp_driver_match(struct ocp_driver *drv, struct ocp_device *dev) in ocp_driver_match()
104 struct ocp_device *dev; in ocp_bind_drivers()
116 dev = list_entry(deventry, struct ocp_device, link); in ocp_bind_drivers()
212 struct ocp_device *dev; in ocp_unregister_driver()
221 dev = list_entry(entry, struct ocp_device, link); in ocp_unregister_driver()
238 static struct ocp_device *
242 struct ocp_device *dev, *found = NULL; in __ocp_find_device()
247 dev = list_entry(entry, struct ocp_device, link); in __ocp_find_device()
274 struct ocp_device *
277 struct ocp_device *dev; in ocp_find_device()
[all …]
/linux-2.4.37.9/drivers/net/ibm_emac/
Dibm_ocp_enet.h143 struct ocp_device *zmii_dev;
154 struct ocp_device *ocpdev;
Dibm_ocp_enet.c129 emac_init_zmii(struct ocp_device *ocpdev, int mode) in emac_init_zmii()
188 emac_enable_zmii_port(struct ocp_device *ocpdev, int input) in emac_enable_zmii_port()
200 emac_zmii_port_speed(struct ocp_device *ocpdev, int input, int speed) in emac_zmii_port_speed()
213 emac_fini_zmii(struct ocp_device *ocpdev) in emac_fini_zmii()
1195 emac_remove(struct ocp_device *ocpdev) in emac_remove()
1221 emac_probe(struct ocp_device *ocpdev) in emac_probe()
1227 struct ocp_device *maldev; in emac_probe()
1230 struct ocp_device *mdiodev; in emac_probe()
Dibm_ocp_mal.c258 mal_probe(struct ocp_device *ocpdev) in mal_probe()
426 mal_remove(struct ocp_device *ocpdev) in mal_remove()