Lines Matching refs:idle_mode
266 u32 idle_mode; member
454 static int get_txidle(struct slgt_info *info, int __user *idle_mode);
455 static int set_txidle(struct slgt_info *info, int idle_mode);
2548 static int get_txidle(struct slgt_info *info, int __user *idle_mode) in get_txidle() argument
2550 DBGINFO(("%s get_txidle=%d\n", info->device_name, info->idle_mode)); in get_txidle()
2551 if (put_user(info->idle_mode, idle_mode)) in get_txidle()
2556 static int set_txidle(struct slgt_info *info, int idle_mode) in set_txidle() argument
2559 DBGINFO(("%s set_txidle(%d)\n", info->device_name, idle_mode)); in set_txidle()
2561 info->idle_mode = idle_mode; in set_txidle()
3503 info->idle_mode = HDLC_TXIDLE_FLAGS; in alloc_dev()
4392 if (info->idle_mode & HDLC_TXIDLE_CUSTOM_16) { in tx_set_idle()
4396 wr_reg8(info, TPR, (unsigned char)((info->idle_mode >> 8) & 0xff)); in tx_set_idle()
4403 if (info->idle_mode & (HDLC_TXIDLE_CUSTOM_8 | HDLC_TXIDLE_CUSTOM_16)) { in tx_set_idle()
4405 val = (unsigned char)(info->idle_mode & 0xff); in tx_set_idle()
4408 switch(info->idle_mode) in tx_set_idle()