Lines Matching refs:idle_mode
295 u32 idle_mode; member
505 static int get_txidle(struct slgt_info *info, int __user *idle_mode);
506 static int set_txidle(struct slgt_info *info, int idle_mode);
2620 static int get_txidle(struct slgt_info *info, int __user *idle_mode) in get_txidle() argument
2622 DBGINFO(("%s get_txidle=%d\n", info->device_name, info->idle_mode)); in get_txidle()
2623 if (put_user(info->idle_mode, idle_mode)) in get_txidle()
2628 static int set_txidle(struct slgt_info *info, int idle_mode) in set_txidle() argument
2631 DBGINFO(("%s set_txidle(%d)\n", info->device_name, idle_mode)); in set_txidle()
2633 info->idle_mode = idle_mode; in set_txidle()
3574 info->idle_mode = HDLC_TXIDLE_FLAGS; in alloc_dev()
4466 if (info->idle_mode & HDLC_TXIDLE_CUSTOM_16) { in tx_set_idle()
4470 wr_reg8(info, TPR, (unsigned char)((info->idle_mode >> 8) & 0xff)); in tx_set_idle()
4477 if (info->idle_mode & (HDLC_TXIDLE_CUSTOM_8 | HDLC_TXIDLE_CUSTOM_16)) { in tx_set_idle()
4479 val = (unsigned char)(info->idle_mode & 0xff); in tx_set_idle()
4482 switch(info->idle_mode) in tx_set_idle()