Searched refs:modestr (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/net/hamradio/ |
| H A D | baycom_ser_fdx.c | 481 static int baycom_setmode(struct baycom_state *bc, const char *modestr) in baycom_setmode() argument 485 if (!strncmp(modestr, "ser", 3)) { in baycom_setmode() 486 baud = simple_strtoul(modestr+3, NULL, 10); in baycom_setmode() 490 if (strchr(modestr, '*')) in baycom_setmode() 492 else if (strchr(modestr, '+')) in baycom_setmode()
|
| H A D | baycom_par.c | 398 static int baycom_setmode(struct baycom_state *bc, const char *modestr) in baycom_setmode() argument 400 if (!strncmp(modestr, "picpar", 6)) in baycom_setmode() 402 else if (!strncmp(modestr, "par96", 5)) in baycom_setmode() 405 bc->options = !!strchr(modestr, '*'); in baycom_setmode()
|
| H A D | baycom_ser_hdx.c | 539 static int baycom_setmode(struct baycom_state *bc, const char *modestr) in baycom_setmode() argument 541 if (strchr(modestr, '*')) in baycom_setmode() 543 else if (strchr(modestr, '+')) in baycom_setmode() 545 else if (strchr(modestr, '@')) in baycom_setmode()
|
| /linux/drivers/ata/ |
| H A D | pata_hpt366.c | 173 static int hpt_dma_broken(const struct ata_device *dev, char *modestr, in hpt_dma_broken() argument 183 ata_dev_warn(dev, "%s is not supported for %s\n", modestr, list[i]); in hpt_dma_broken()
|
| H A D | pata_hpt37x.c | 221 static int hpt_dma_broken(const struct ata_device *dev, char *modestr, in hpt_dma_broken() argument 232 modestr, list[i]); in hpt_dma_broken()
|
| /linux/drivers/video/fbdev/ |
| H A D | stifb.c | 1192 char modestr[32]; in stifb_init_fb() local 1371 scnprintf(modestr, sizeof(modestr), "%dx%d-%d", xres, yres, bpp); in stifb_init_fb() 1372 fb_find_mode(&info->var, info, modestr, NULL, 0, NULL, bpp); in stifb_init_fb()
|
| /linux/security/apparmor/ |
| H A D | label.c | 1527 const char *modestr = aa_profile_mode_names[profile->mode]; in aa_profile_snxprint() local 1531 profile->base.hname, modestr); in aa_profile_snxprint() 1533 modestr); in aa_profile_snxprint()
|
| /linux/drivers/net/phy/ |
| H A D | phylink.c | 184 static const char *modestr[] = { in phylink_an_mode_str() local 190 return mode < ARRAY_SIZE(modestr) ? modestr[mode] : "unknown"; in phylink_an_mode_str()
|