Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/macintosh/
Dmacio_asic.c47 struct macio_dev *macio_dev_get(struct macio_dev *dev) in macio_dev_get()
60 void macio_dev_put(struct macio_dev *dev) in macio_dev_put()
71 struct macio_dev *macio_dev; in macio_device_probe() local
75 macio_dev = to_macio_device(dev); in macio_device_probe()
80 macio_dev_get(macio_dev); in macio_device_probe()
84 error = drv->probe(macio_dev, match); in macio_device_probe()
86 macio_dev_put(macio_dev); in macio_device_probe()
93 struct macio_dev * macio_dev = to_macio_device(dev); in macio_device_remove() local
97 drv->remove(macio_dev); in macio_device_remove()
98 macio_dev_put(macio_dev); in macio_device_remove()
[all …]
Dmediabay.c61 struct macio_dev *mdev;
390 int check_media_bay(struct macio_dev *baydev) in check_media_bay()
415 void lock_media_bay(struct macio_dev *baydev) in lock_media_bay()
429 void unlock_media_bay(struct macio_dev *baydev) in unlock_media_bay()
448 struct macio_dev *mdev; in mb_broadcast_hotplug()
555 static int media_bay_attach(struct macio_dev *mdev, in media_bay_attach()
615 static int media_bay_suspend(struct macio_dev *mdev, pm_message_t state) in media_bay_suspend()
631 static int media_bay_resume(struct macio_dev *mdev) in media_bay_resume()
Drack-meter.c59 struct macio_dev *mdev;
367 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/sound/aoa/soundbus/i2sbus/
Dcore.c152 static int i2sbus_add_dev(struct macio_dev *macio, in i2sbus_add_dev()
335 static int i2sbus_probe(struct macio_dev* dev, const struct of_device_id *match) in i2sbus_probe()
367 static int i2sbus_remove(struct macio_dev* dev) in i2sbus_remove()
379 static int i2sbus_suspend(struct macio_dev* dev, pm_message_t state) in i2sbus_suspend()
403 static int i2sbus_resume(struct macio_dev* dev) in i2sbus_resume()
428 static int i2sbus_shutdown(struct macio_dev* dev) in i2sbus_shutdown()
Di2sbus.h60 struct macio_dev *macio;
110 extern int i2sbus_control_init(struct macio_dev* dev,
Dcontrol.c21 int i2sbus_control_init(struct macio_dev* dev, struct i2sbus_control **c) in i2sbus_control_init()
/kernel/linux/linux-5.10/drivers/ata/
Dpata_macio.c232 struct macio_dev *mdev;
1117 static int pata_macio_attach(struct macio_dev *mdev, in pata_macio_attach()
1192 static int pata_macio_detach(struct macio_dev *mdev) in pata_macio_detach()
1212 static int pata_macio_suspend(struct macio_dev *mdev, pm_message_t mesg) in pata_macio_suspend()
1219 static int pata_macio_resume(struct macio_dev *mdev) in pata_macio_resume()
1228 static void pata_macio_mb_event(struct macio_dev* mdev, int mb_state) in pata_macio_mb_event()
/kernel/linux/linux-5.10/drivers/scsi/
Dmac53c94.c59 struct macio_dev *mdev;
410 static int mac53c94_probe(struct macio_dev *mdev, const struct of_device_id *match) in mac53c94_probe()
513 static int mac53c94_remove(struct macio_dev *mdev) in mac53c94_remove()
Dmesh.c174 struct macio_dev *mdev;
1761 static int mesh_suspend(struct macio_dev *mdev, pm_message_t mesg) in mesh_suspend()
1792 static int mesh_resume(struct macio_dev *mdev) in mesh_resume()
1818 static int mesh_shutdown(struct macio_dev *mdev) in mesh_shutdown()
1851 static int mesh_probe(struct macio_dev *mdev, const struct of_device_id *match) in mesh_probe()
1998 static int mesh_remove(struct macio_dev *mdev) in mesh_remove()
/kernel/linux/linux-5.10/drivers/ide/
Dpmac.c58 struct macio_dev *mdev;
1129 static int pmac_ide_macio_attach(struct macio_dev *mdev, in pmac_ide_macio_attach()
1217 pmac_ide_macio_suspend(struct macio_dev *mdev, pm_message_t mesg) in pmac_ide_macio_suspend()
1233 pmac_ide_macio_resume(struct macio_dev *mdev) in pmac_ide_macio_resume()
1351 static void pmac_ide_macio_mb_event(struct macio_dev* mdev, int mb_state) in pmac_ide_macio_mb_event()
/kernel/linux/linux-5.10/drivers/net/ethernet/apple/
Dbmac.c68 struct macio_dev *mdev;
453 static int bmac_suspend(struct macio_dev *mdev, pm_message_t state) in bmac_suspend()
503 static int bmac_resume(struct macio_dev *mdev) in bmac_resume()
1237 static int bmac_probe(struct macio_dev *mdev, const struct of_device_id *match) in bmac_probe()
1595 static int bmac_remove(struct macio_dev *mdev) in bmac_remove()
Dmace.c67 struct macio_dev *mdev;
109 static int mace_probe(struct macio_dev *mdev, const struct of_device_id *match) in mace_probe()
274 static int mace_remove(struct macio_dev *mdev) in mace_remove()
/kernel/linux/linux-5.10/drivers/block/
Dswim3.c201 struct macio_dev *mdev;
1065 static void swim3_mb_event(struct macio_dev* mdev, int mb_state) in swim3_mb_event()
1084 static int swim3_add_device(struct macio_dev *mdev, int index) in swim3_add_device()
1172 static int swim3_attach(struct macio_dev *mdev, in swim3_attach()
/kernel/linux/linux-5.10/drivers/tty/serial/
Dpmac_zilog.h23 struct macio_dev *dev;
Dpmac_zilog.c1541 static int pmz_attach(struct macio_dev *mdev, const struct of_device_id *match) in pmz_attach()
1577 static int pmz_detach(struct macio_dev *mdev) in pmz_detach()
1598 static int pmz_suspend(struct macio_dev *mdev, pm_message_t pm_state) in pmz_suspend()
1613 static int pmz_resume(struct macio_dev *mdev) in pmz_resume()