Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/drivers/macintosh/
Dmacio_asic.c48 struct macio_dev *macio_dev_get(struct macio_dev *dev) in macio_dev_get()
61 void macio_dev_put(struct macio_dev *dev) in macio_dev_put()
72 struct macio_dev *macio_dev; in macio_device_probe() local
76 macio_dev = to_macio_device(dev); in macio_device_probe()
81 macio_dev_get(macio_dev); in macio_device_probe()
85 error = drv->probe(macio_dev, match); in macio_device_probe()
87 macio_dev_put(macio_dev); in macio_device_probe()
94 struct macio_dev * macio_dev = to_macio_device(dev); in macio_device_remove() local
98 drv->remove(macio_dev); in macio_device_remove()
99 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.c58 struct macio_dev *mdev;
366 static int rackmeter_probe(struct macio_dev* mdev, in rackmeter_probe()
526 static int rackmeter_remove(struct macio_dev* mdev) in rackmeter_remove()
565 static int rackmeter_shutdown(struct macio_dev* mdev) in rackmeter_shutdown()
/linux-6.1.9/drivers/net/wireless/intersil/orinoco/
Dairport.c29 struct macio_dev *mdev;
37 airport_suspend(struct macio_dev *mdev, pm_message_t state) in airport_suspend()
65 airport_resume(struct macio_dev *mdev) in airport_resume()
89 airport_detach(struct macio_dev *mdev) in airport_detach()
149 airport_attach(struct macio_dev *mdev, const struct of_device_id *match) in airport_attach()
/linux-6.1.9/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()
/linux-6.1.9/drivers/ata/
Dpata_macio.c232 struct macio_dev *mdev;
1115 static int pata_macio_attach(struct macio_dev *mdev, in pata_macio_attach()
1190 static int pata_macio_detach(struct macio_dev *mdev) in pata_macio_detach()
1210 static int pata_macio_suspend(struct macio_dev *mdev, pm_message_t mesg) in pata_macio_suspend()
1217 static int pata_macio_resume(struct macio_dev *mdev) in pata_macio_resume()
1226 static void pata_macio_mb_event(struct macio_dev* mdev, int mb_state) in pata_macio_mb_event()
/linux-6.1.9/drivers/scsi/
Dmac53c94.c59 struct macio_dev *mdev;
407 static int mac53c94_probe(struct macio_dev *mdev, const struct of_device_id *match) in mac53c94_probe()
511 static int mac53c94_remove(struct macio_dev *mdev) in mac53c94_remove()
Dmesh.c174 struct macio_dev *mdev;
1756 static int mesh_suspend(struct macio_dev *mdev, pm_message_t mesg) in mesh_suspend()
1787 static int mesh_resume(struct macio_dev *mdev) in mesh_resume()
1813 static int mesh_shutdown(struct macio_dev *mdev) in mesh_shutdown()
1847 static int mesh_probe(struct macio_dev *mdev, const struct of_device_id *match) in mesh_probe()
1989 static int mesh_remove(struct macio_dev *mdev) in mesh_remove()
/linux-6.1.9/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()
1233 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()
275 static int mace_remove(struct macio_dev *mdev) in mace_remove()
/linux-6.1.9/drivers/tty/serial/
Dpmac_zilog.h23 struct macio_dev *dev;
Dpmac_zilog.c1476 static int pmz_attach(struct macio_dev *mdev, const struct of_device_id *match) in pmz_attach()
1512 static int pmz_detach(struct macio_dev *mdev) in pmz_detach()
1533 static int pmz_suspend(struct macio_dev *mdev, pm_message_t pm_state) in pmz_suspend()
1548 static int pmz_resume(struct macio_dev *mdev) in pmz_resume()
/linux-6.1.9/drivers/block/
Dswim3.c202 struct macio_dev *mdev;
1083 static void swim3_mb_event(struct macio_dev* mdev, int mb_state) in swim3_mb_event()
1102 static int swim3_add_device(struct macio_dev *mdev, int index) in swim3_add_device()
1190 static int swim3_attach(struct macio_dev *mdev, in swim3_attach()