Searched refs:idle_mode (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/arch/powerpc/platforms/4xx/ |
D | cpm.c | 53 static struct cpm_idle_mode idle_mode[] = { variable 115 if (idle_mode[mode].enabled) in cpm_idle_config() 118 for (i = 0; i < ARRAY_SIZE(idle_mode); i++) in cpm_idle_config() 119 idle_mode[i].enabled = 0; in cpm_idle_config() 121 idle_mode[mode].enabled = 1; in cpm_idle_config() 130 for (i = 0; i < ARRAY_SIZE(idle_mode); i++) { in cpm_idle_show() 131 if (idle_mode[i].enabled) in cpm_idle_show() 132 s += sprintf(s, "[%s] ", idle_mode[i].name); in cpm_idle_show() 134 s += sprintf(s, "%s ", idle_mode[i].name); in cpm_idle_show() 153 for (i = 0; i < ARRAY_SIZE(idle_mode); i++) { in cpm_idle_store() [all …]
|
/Linux-v5.10/drivers/char/pcmcia/ |
D | synclink_cs.c | 195 u32 idle_mode; member 425 static int get_txidle(MGSLPC_INFO *info, int __user *idle_mode); 426 static int set_txidle(MGSLPC_INFO *info, int idle_mode); 540 info->idle_mode = HDLC_TXIDLE_FLAGS; in mgslpc_probe() 1831 static int get_txidle(MGSLPC_INFO * info, int __user *idle_mode) in get_txidle() argument 1835 printk("get_txidle(%s)=%d\n", info->device_name, info->idle_mode); in get_txidle() 1836 COPY_TO_USER(err,idle_mode, &info->idle_mode, sizeof(int)); in get_txidle() 1842 static int set_txidle(MGSLPC_INFO * info, int idle_mode) in set_txidle() argument 1846 printk("set_txidle(%s,%d)\n", info->device_name, idle_mode); in set_txidle() 1848 info->idle_mode = idle_mode; in set_txidle() [all …]
|
/Linux-v5.10/drivers/tty/ |
D | synclink_gt.c | 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); 2617 static int get_txidle(struct slgt_info *info, int __user *idle_mode) in get_txidle() argument 2619 DBGINFO(("%s get_txidle=%d\n", info->device_name, info->idle_mode)); in get_txidle() 2620 if (put_user(info->idle_mode, idle_mode)) in get_txidle() 2625 static int set_txidle(struct slgt_info *info, int idle_mode) in set_txidle() argument 2628 DBGINFO(("%s set_txidle(%d)\n", info->device_name, idle_mode)); in set_txidle() 2630 info->idle_mode = idle_mode; in set_txidle() 3575 info->idle_mode = HDLC_TXIDLE_FLAGS; in alloc_dev() [all …]
|
D | synclinkmp.c | 215 u32 idle_mode; member 540 static int get_txidle(SLMP_INFO *info, int __user *idle_mode); 541 static int set_txidle(SLMP_INFO *info, int idle_mode); 2891 static int get_txidle(SLMP_INFO * info, int __user *idle_mode) in get_txidle() argument 2897 __FILE__,__LINE__, info->device_name, info->idle_mode); in get_txidle() 2899 COPY_TO_USER(err,idle_mode, &info->idle_mode, sizeof(int)); in get_txidle() 2910 static int set_txidle(SLMP_INFO * info, int idle_mode) in set_txidle() argument 2916 __FILE__,__LINE__,info->device_name, idle_mode ); in set_txidle() 2919 info->idle_mode = idle_mode; in set_txidle() 3741 info->idle_mode = HDLC_TXIDLE_FLAGS; in alloc_dev() [all …]
|
D | synclink.c | 248 u32 idle_mode; member 827 static int mgsl_get_txidle(struct mgsl_struct * info, int __user *idle_mode); 828 static int mgsl_set_txidle(struct mgsl_struct * info, int idle_mode); 2507 static int mgsl_get_txidle(struct mgsl_struct * info, int __user *idle_mode) in mgsl_get_txidle() argument 2513 __FILE__,__LINE__, info->device_name, info->idle_mode); in mgsl_get_txidle() 2515 COPY_TO_USER(err,idle_mode, &info->idle_mode, sizeof(int)); in mgsl_get_txidle() 2534 static int mgsl_set_txidle(struct mgsl_struct * info, int idle_mode) in mgsl_set_txidle() argument 2540 info->device_name, idle_mode ); in mgsl_set_txidle() 2543 info->idle_mode = idle_mode; in mgsl_set_txidle() 4168 info->idle_mode = HDLC_TXIDLE_FLAGS; in mgsl_allocate_device() [all …]
|