Lines Matching refs:value
359 #define IOVR 0x10 /* GPIO value */
401 static void wr_reg8(struct slgt_info *info, unsigned int addr, __u8 value);
403 static void wr_reg16(struct slgt_info *info, unsigned int addr, __u16 value);
405 static void wr_reg32(struct slgt_info *info, unsigned int addr, __u32 value);
1313 unsigned short value;
1321 value = rd_reg16(info, TCR);
1323 value |= BIT6;
1325 value &= ~BIT6;
1326 wr_reg16(info, TCR, value);
2802 * sync pattern is contained in least significant bytes of value
2836 * value is count minus one (0 = 1 byte packet)
3093 DBGINFO(("%s tiocmget value=%08X\n", info->device_name, result));
3102 * value bit mask for command
3744 static void wr_reg8(struct slgt_info *info, unsigned int addr, __u8 value)
3746 writeb(value, calc_regaddr(info, addr));
3754 static void wr_reg16(struct slgt_info *info, unsigned int addr, __u16 value)
3756 writew(value, calc_regaddr(info, addr));
3764 static void wr_reg32(struct slgt_info *info, unsigned int addr, __u32 value)
3766 writel(value, calc_regaddr(info, addr));