D | mediabay.c | 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 50 void (*init)(struct media_bay_info *bay); 51 u8 (*content)(struct media_bay_info *bay); [all …]
|