Lines Matching defs:bay

36 #define MB_FCR32(bay, r)	((bay)->base + ((r) >> 2))  argument
37 #define MB_FCR8(bay, r) (((volatile u8 __iomem *)((bay)->base)) + (r)) argument
39 #define MB_IN32(bay,r) (in_le32(MB_FCR32(bay,r))) argument
40 #define MB_OUT32(bay,r,v) (out_le32(MB_FCR32(bay,r), (v))) argument
41 #define MB_BIS(bay,r,v) (MB_OUT32((bay), (r), MB_IN32((bay), r) | (v))) argument
42 #define MB_BIC(bay,r,v) (MB_OUT32((bay), (r), MB_IN32((bay), r) & ~(v))) argument
43 #define MB_IN8(bay,r) (in_8(MB_FCR8(bay,r))) argument
44 #define MB_OUT8(bay,r,v) (out_8(MB_FCR8(bay,r), (v))) argument
138 ohare_mb_content(struct media_bay_info *bay) in ohare_mb_content()
144 heathrow_mb_content(struct media_bay_info *bay) in heathrow_mb_content()
150 keylargo_mb_content(struct media_bay_info *bay) in keylargo_mb_content()
176 ohare_mb_power(struct media_bay_info* bay, int on_off) in ohare_mb_power()
195 heathrow_mb_power(struct media_bay_info* bay, int on_off) in heathrow_mb_power()
214 keylargo_mb_power(struct media_bay_info* bay, int on_off) in keylargo_mb_power()
238 ohare_mb_setup_bus(struct media_bay_info* bay, u8 device_id) in ohare_mb_setup_bus()
258 heathrow_mb_setup_bus(struct media_bay_info* bay, u8 device_id) in heathrow_mb_setup_bus()
278 keylargo_mb_setup_bus(struct media_bay_info* bay, u8 device_id) in keylargo_mb_setup_bus()
301 ohare_mb_un_reset(struct media_bay_info* bay) in ohare_mb_un_reset()
306 static void keylargo_mb_init(struct media_bay_info *bay) in keylargo_mb_init()
311 static void heathrow_mb_un_reset(struct media_bay_info* bay) in heathrow_mb_un_reset()
316 static void keylargo_mb_un_reset(struct media_bay_info* bay) in keylargo_mb_un_reset()
321 static void ohare_mb_un_reset_ide(struct media_bay_info* bay) in ohare_mb_un_reset_ide()
326 static void heathrow_mb_un_reset_ide(struct media_bay_info* bay) in heathrow_mb_un_reset_ide()
331 static void keylargo_mb_un_reset_ide(struct media_bay_info* bay) in keylargo_mb_un_reset_ide()
336 static inline void set_mb_power(struct media_bay_info* bay, int onoff) in set_mb_power()
352 static void poll_media_bay(struct media_bay_info* bay) in poll_media_bay()
396 struct media_bay_info* bay; in check_media_bay() local
421 struct media_bay_info* bay; in lock_media_bay() local
435 struct media_bay_info* bay; in unlock_media_bay() local
451 struct media_bay_info* bay = data; in mb_broadcast_hotplug() local
471 struct media_bay_info* bay = &media_bays[i]; in media_bay_step() local
561 struct media_bay_info* bay; in media_bay_attach() local
620 struct media_bay_info *bay = macio_get_drvdata(mdev); in media_bay_suspend() local
636 struct media_bay_info *bay = macio_get_drvdata(mdev); in media_bay_resume() local