Lines Matching defs:bay

32 #define MB_FCR32(bay, r)	((bay)->base + ((r) >> 2))  argument
33 #define MB_FCR8(bay, r) (((volatile u8 __iomem *)((bay)->base)) + (r)) argument
35 #define MB_IN32(bay,r) (in_le32(MB_FCR32(bay,r))) argument
36 #define MB_OUT32(bay,r,v) (out_le32(MB_FCR32(bay,r), (v))) argument
37 #define MB_BIS(bay,r,v) (MB_OUT32((bay), (r), MB_IN32((bay), r) | (v))) argument
38 #define MB_BIC(bay,r,v) (MB_OUT32((bay), (r), MB_IN32((bay), r) & ~(v))) argument
39 #define MB_IN8(bay,r) (in_8(MB_FCR8(bay,r))) argument
40 #define MB_OUT8(bay,r,v) (out_8(MB_FCR8(bay,r), (v))) argument
134 ohare_mb_content(struct media_bay_info *bay) in ohare_mb_content()
140 heathrow_mb_content(struct media_bay_info *bay) in heathrow_mb_content()
146 keylargo_mb_content(struct media_bay_info *bay) in keylargo_mb_content()
172 ohare_mb_power(struct media_bay_info* bay, int on_off) in ohare_mb_power()
191 heathrow_mb_power(struct media_bay_info* bay, int on_off) in heathrow_mb_power()
210 keylargo_mb_power(struct media_bay_info* bay, int on_off) in keylargo_mb_power()
234 ohare_mb_setup_bus(struct media_bay_info* bay, u8 device_id) in ohare_mb_setup_bus()
254 heathrow_mb_setup_bus(struct media_bay_info* bay, u8 device_id) in heathrow_mb_setup_bus()
274 keylargo_mb_setup_bus(struct media_bay_info* bay, u8 device_id) in keylargo_mb_setup_bus()
297 ohare_mb_un_reset(struct media_bay_info* bay) in ohare_mb_un_reset()
302 static void keylargo_mb_init(struct media_bay_info *bay) in keylargo_mb_init()
307 static void heathrow_mb_un_reset(struct media_bay_info* bay) in heathrow_mb_un_reset()
312 static void keylargo_mb_un_reset(struct media_bay_info* bay) in keylargo_mb_un_reset()
317 static void ohare_mb_un_reset_ide(struct media_bay_info* bay) in ohare_mb_un_reset_ide()
322 static void heathrow_mb_un_reset_ide(struct media_bay_info* bay) in heathrow_mb_un_reset_ide()
327 static void keylargo_mb_un_reset_ide(struct media_bay_info* bay) in keylargo_mb_un_reset_ide()
332 static inline void set_mb_power(struct media_bay_info* bay, int onoff) in set_mb_power()
348 static void poll_media_bay(struct media_bay_info* bay) in poll_media_bay()
392 struct media_bay_info* bay; in check_media_bay() local
417 struct media_bay_info* bay; in lock_media_bay() local
431 struct media_bay_info* bay; in unlock_media_bay() local
447 struct media_bay_info* bay = data; in mb_broadcast_hotplug() local
467 struct media_bay_info* bay = &media_bays[i]; in media_bay_step() local
558 struct media_bay_info* bay; in media_bay_attach() local
617 struct media_bay_info *bay = macio_get_drvdata(mdev); in media_bay_suspend() local
633 struct media_bay_info *bay = macio_get_drvdata(mdev); in media_bay_resume() local