Lines Matching refs:value
364 #define IOVR 0x10 /* GPIO value */
406 static void wr_reg8(struct slgt_info *info, unsigned int addr, __u8 value);
408 static void wr_reg16(struct slgt_info *info, unsigned int addr, __u16 value);
410 static void wr_reg32(struct slgt_info *info, unsigned int addr, __u32 value);
1322 unsigned short value;
1330 value = rd_reg16(info, TCR);
1332 value |= BIT6;
1334 value &= ~BIT6;
1335 wr_reg16(info, TCR, value);
2819 * sync pattern is contained in least significant bytes of value
2853 * value is count minus one (0 = 1 byte packet)
3110 DBGINFO(("%s tiocmget value=%08X\n", info->device_name, result));
3119 * value bit mask for command
3779 static void wr_reg8(struct slgt_info *info, unsigned int addr, __u8 value)
3782 writeb(value, (void __iomem *)reg_addr);
3791 static void wr_reg16(struct slgt_info *info, unsigned int addr, __u16 value)
3794 writew(value, (void __iomem *)reg_addr);
3803 static void wr_reg32(struct slgt_info *info, unsigned int addr, __u32 value)
3806 writel(value, (void __iomem *)reg_addr);