Lines Matching refs:val
380 #define OUTB_OFF(o, val) writeb_raw((val), (char __iomem *)np->reg + ncr_offb(o))
387 #define OUTW_OFF(o, val) writew_b2l((val), (char __iomem *)np->reg + ncr_offw(o))
388 #define OUTL_OFF(o, val) writel_b2l((val), (char __iomem *)np->reg + (o))
395 #define OUTW_OFF(o, val) writew_l2b((val), (char __iomem *)np->reg + ncr_offw(o))
396 #define OUTL_OFF(o, val) writel_l2b((val), (char __iomem *)np->reg + (o))
410 #define OUTW_OFF(o, val) do { writeb((char)((val) >> 8), (char __iomem *)np->reg + ncr_offw(o)); writeb((char)(val), (char __iomem *)np->reg + ncr_offw(o) + 1); } while (0)
412 #define OUTW_OFF(o, val) writew_raw((val), (char __iomem *)np->reg + ncr_offw(o))
414 #define OUTL_OFF(o, val) writel_raw((val), (char __iomem *)np->reg + (o))
422 #define OUTB(r, val) OUTB_OFF (offsetof(struct ncr_reg,r), (val))
423 #define OUTW(r, val) OUTW_OFF (offsetof(struct ncr_reg,r), (val))
424 #define OUTL(r, val) OUTL_OFF (offsetof(struct ncr_reg,r), (val))