Home
last modified time | relevance | path

Searched refs:macio_dev (Results 1 – 19 of 19) sorted by relevance

/Linux-v4.19/arch/powerpc/include/asm/
Dmacio.h38 struct macio_dev struct
41 struct macio_dev *media_bay; /* Device is part of a media bay */ argument
49 #define to_macio_device(d) container_of(d, struct macio_dev, ofdev.dev) argument
50 #define of_to_macio_device(d) container_of(d, struct macio_dev, ofdev)
52 extern struct macio_dev *macio_dev_get(struct macio_dev *dev);
53 extern void macio_dev_put(struct macio_dev *dev);
60 static inline int macio_resource_count(struct macio_dev *dev) in macio_resource_count()
65 static inline unsigned long macio_resource_start(struct macio_dev *dev, int resource_no) in macio_resource_start()
70 static inline unsigned long macio_resource_end(struct macio_dev *dev, int resource_no) in macio_resource_end()
75 static inline unsigned long macio_resource_len(struct macio_dev *dev, int resource_no) in macio_resource_len()
[all …]
Dmediabay.h21 struct macio_dev;
28 extern int check_media_bay(struct macio_dev *bay);
33 extern void lock_media_bay(struct macio_dev *bay);
34 extern void unlock_media_bay(struct macio_dev *bay);
38 static inline int check_media_bay(struct macio_dev *bay) in check_media_bay()
43 static inline void lock_media_bay(struct macio_dev *bay) { } in lock_media_bay()
44 static inline void unlock_media_bay(struct macio_dev *bay) { } in unlock_media_bay()
/Linux-v4.19/drivers/macintosh/
Dmacio_asic.c51 struct macio_dev *macio_dev_get(struct macio_dev *dev) in macio_dev_get()
64 void macio_dev_put(struct macio_dev *dev) in macio_dev_put()
75 struct macio_dev *macio_dev; in macio_device_probe() local
79 macio_dev = to_macio_device(dev); in macio_device_probe()
84 macio_dev_get(macio_dev); in macio_device_probe()
88 error = drv->probe(macio_dev, match); in macio_device_probe()
90 macio_dev_put(macio_dev); in macio_device_probe()
97 struct macio_dev * macio_dev = to_macio_device(dev); in macio_device_remove() local
101 drv->remove(macio_dev); in macio_device_remove()
102 macio_dev_put(macio_dev); in macio_device_remove()
[all …]
Dmediabay.c65 struct macio_dev *mdev;
394 int check_media_bay(struct macio_dev *baydev) in check_media_bay()
419 void lock_media_bay(struct macio_dev *baydev) in lock_media_bay()
433 void unlock_media_bay(struct macio_dev *baydev) in unlock_media_bay()
452 struct macio_dev *mdev; in mb_broadcast_hotplug()
559 static int media_bay_attach(struct macio_dev *mdev, in media_bay_attach()
619 static int media_bay_suspend(struct macio_dev *mdev, pm_message_t state) in media_bay_suspend()
635 static int media_bay_resume(struct macio_dev *mdev) in media_bay_resume()
Drack-meter.c61 struct macio_dev *mdev;
368 static int rackmeter_probe(struct macio_dev* mdev, in rackmeter_probe()
527 static int rackmeter_remove(struct macio_dev* mdev) in rackmeter_remove()
566 static int rackmeter_shutdown(struct macio_dev* mdev) in rackmeter_shutdown()
Dmacio_sysfs.c12 struct macio_dev *mdev = to_macio_device (dev); \
/Linux-v4.19/drivers/net/wireless/intersil/orinoco/
Dairport.c28 struct macio_dev *mdev;
36 airport_suspend(struct macio_dev *mdev, pm_message_t state) in airport_suspend()
64 airport_resume(struct macio_dev *mdev) in airport_resume()
88 airport_detach(struct macio_dev *mdev) in airport_detach()
148 airport_attach(struct macio_dev *mdev, const struct of_device_id *match) in airport_attach()
/Linux-v4.19/sound/aoa/soundbus/i2sbus/
Dcore.c152 static int i2sbus_add_dev(struct macio_dev *macio, in i2sbus_add_dev()
330 static int i2sbus_probe(struct macio_dev* dev, const struct of_device_id *match) in i2sbus_probe()
362 static int i2sbus_remove(struct macio_dev* dev) in i2sbus_remove()
374 static int i2sbus_suspend(struct macio_dev* dev, pm_message_t state) in i2sbus_suspend()
402 static int i2sbus_resume(struct macio_dev* dev) in i2sbus_resume()
427 static int i2sbus_shutdown(struct macio_dev* dev) in i2sbus_shutdown()
Di2sbus.h61 struct macio_dev *macio;
111 extern int i2sbus_control_init(struct macio_dev* dev,
Dcontrol.c22 int i2sbus_control_init(struct macio_dev* dev, struct i2sbus_control **c) in i2sbus_control_init()
/Linux-v4.19/drivers/ata/
Dpata_macio.c231 struct macio_dev *mdev;
1113 static int pata_macio_attach(struct macio_dev *mdev, in pata_macio_attach()
1188 static int pata_macio_detach(struct macio_dev *mdev) in pata_macio_detach()
1208 static int pata_macio_suspend(struct macio_dev *mdev, pm_message_t mesg) in pata_macio_suspend()
1215 static int pata_macio_resume(struct macio_dev *mdev) in pata_macio_resume()
1224 static void pata_macio_mb_event(struct macio_dev* mdev, int mb_state) in pata_macio_mb_event()
/Linux-v4.19/drivers/scsi/
Dmac53c94.c58 struct macio_dev *mdev;
409 static int mac53c94_probe(struct macio_dev *mdev, const struct of_device_id *match) in mac53c94_probe()
512 static int mac53c94_remove(struct macio_dev *mdev) in mac53c94_remove()
Dmesh.c173 struct macio_dev *mdev;
1754 static int mesh_suspend(struct macio_dev *mdev, pm_message_t mesg) in mesh_suspend()
1785 static int mesh_resume(struct macio_dev *mdev) in mesh_resume()
1811 static int mesh_shutdown(struct macio_dev *mdev) in mesh_shutdown()
1844 static int mesh_probe(struct macio_dev *mdev, const struct of_device_id *match) in mesh_probe()
1990 static int mesh_remove(struct macio_dev *mdev) in mesh_remove()
/Linux-v4.19/drivers/ide/
Dpmac.c63 struct macio_dev *mdev;
1134 static int pmac_ide_macio_attach(struct macio_dev *mdev, in pmac_ide_macio_attach()
1222 pmac_ide_macio_suspend(struct macio_dev *mdev, pm_message_t mesg) in pmac_ide_macio_suspend()
1238 pmac_ide_macio_resume(struct macio_dev *mdev) in pmac_ide_macio_resume()
1356 static void pmac_ide_macio_mb_event(struct macio_dev* mdev, int mb_state) in pmac_ide_macio_mb_event()
/Linux-v4.19/drivers/net/ethernet/apple/
Dbmac.c67 struct macio_dev *mdev;
452 static int bmac_suspend(struct macio_dev *mdev, pm_message_t state) in bmac_suspend()
502 static int bmac_resume(struct macio_dev *mdev) in bmac_resume()
1236 static int bmac_probe(struct macio_dev *mdev, const struct of_device_id *match) in bmac_probe()
1594 static int bmac_remove(struct macio_dev *mdev) in bmac_remove()
Dmace.c66 struct macio_dev *mdev;
108 static int mace_probe(struct macio_dev *mdev, const struct of_device_id *match) in mace_probe()
273 static int mace_remove(struct macio_dev *mdev) in mace_remove()
/Linux-v4.19/drivers/block/
Dswim3.c205 struct macio_dev *mdev;
1092 static void swim3_mb_event(struct macio_dev* mdev, int mb_state) in swim3_mb_event()
1111 static int swim3_add_device(struct macio_dev *mdev, int index) in swim3_add_device()
1202 static int swim3_attach(struct macio_dev *mdev, in swim3_attach()
/Linux-v4.19/drivers/tty/serial/
Dpmac_zilog.h23 struct macio_dev *dev;
Dpmac_zilog.c1546 static int pmz_attach(struct macio_dev *mdev, const struct of_device_id *match) in pmz_attach()
1582 static int pmz_detach(struct macio_dev *mdev) in pmz_detach()
1603 static int pmz_suspend(struct macio_dev *mdev, pm_message_t pm_state) in pmz_suspend()
1618 static int pmz_resume(struct macio_dev *mdev) in pmz_resume()