Home
last modified time | relevance | path

Searched refs:idle_mode (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/arch/powerpc/platforms/4xx/
Dcpm.c53 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-v6.1/drivers/tty/
Dsynclink_gt.c266 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()
[all …]
/Linux-v6.1/drivers/char/pcmcia/
Dsynclink_cs.c195 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);
538 info->idle_mode = HDLC_TXIDLE_FLAGS; in mgslpc_probe()
1825 static int get_txidle(MGSLPC_INFO * info, int __user *idle_mode) in get_txidle() argument
1829 printk("get_txidle(%s)=%d\n", info->device_name, info->idle_mode); in get_txidle()
1830 COPY_TO_USER(err,idle_mode, &info->idle_mode, sizeof(int)); in get_txidle()
1836 static int set_txidle(MGSLPC_INFO * info, int idle_mode) in set_txidle() argument
1840 printk("set_txidle(%s,%d)\n", info->device_name, idle_mode); in set_txidle()
1842 info->idle_mode = idle_mode; in set_txidle()
[all …]