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