Home
last modified time | relevance | path

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

/linux/drivers/scsi/
H A Dncr53c8xx.h328 #define ncr_offw(o) (((o)&~3)+((~((o)&3))&2)) macro
333 #define ncr_offw(o) (o) macro
384 #define INW_OFF(o) readw_l2b((char __iomem *)np->reg + ncr_offw(o))
387 #define OUTW_OFF(o, val) writew_b2l((val), (char __iomem *)np->reg + ncr_offw(o))
392 #define INW_OFF(o) readw_b2l((char __iomem *)np->reg + ncr_offw(o))
395 #define OUTW_OFF(o, val) writew_l2b((val), (char __iomem *)np->reg + ncr_offw(o))
402 … INW_OFF(o) (readb((char __iomem *)np->reg + ncr_offw(o)) << 8 | readb((char __iomem *)np->reg +
404 #define INW_OFF(o) readw_raw((char __iomem *)np->reg + ncr_offw(o))
410 …r)((val) >> 8), (char __iomem *)np->reg + ncr_offw(o)); writeb((char)(val), (char __iomem *)np->re…
412 #define OUTW_OFF(o, val) writew_raw((val), (char __iomem *)np->reg + ncr_offw(o))