Home
last modified time | relevance | path

Searched refs:modestr (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/drivers/net/hamradio/
Dbaycom_ser_fdx.c480 static int baycom_setmode(struct baycom_state *bc, const char *modestr) in baycom_setmode() argument
484 if (!strncmp(modestr, "ser", 3)) { in baycom_setmode()
485 baud = simple_strtoul(modestr+3, NULL, 10); in baycom_setmode()
489 if (strchr(modestr, '*')) in baycom_setmode()
491 else if (strchr(modestr, '+')) in baycom_setmode()
Dbaycom_par.c398 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()
Dbaycom_epp.c967 static int baycom_setmode(struct baycom_state *bc, const char *modestr) in baycom_setmode() argument
971 if (strstr(modestr,"intclk")) in baycom_setmode()
973 if (strstr(modestr,"extclk")) in baycom_setmode()
975 if (strstr(modestr,"intmodem")) in baycom_setmode()
977 if (strstr(modestr,"extmodem")) in baycom_setmode()
979 if (strstr(modestr,"loopback")) in baycom_setmode()
981 if (strstr(modestr, "noloopback")) in baycom_setmode()
983 if ((cp = strstr(modestr,"fclk="))) { in baycom_setmode()
990 if ((cp = strstr(modestr,"bps="))) { in baycom_setmode()
Dbaycom_ser_hdx.c539 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-6.6.21/drivers/media/i2c/
Dmsp3400-kthreads.c246 char *modestr = (state->audmode >= 0 && state->audmode < 5) ? in msp3400c_set_audmode() local
284 dev_dbg_lvl(&client->dev, 1, msp_debug, "FM set_audmode: %s\n", modestr); in msp3400c_set_audmode()
298 dev_dbg_lvl(&client->dev, 1, msp_debug, "SAT set_audmode: %s\n", modestr); in msp3400c_set_audmode()
319 "NICAM set_audmode: %s\n", modestr); in msp3400c_set_audmode()
325 "BTSC set_audmode: %s\n", modestr); in msp3400c_set_audmode()
329 "extern set_audmode: %s\n", modestr); in msp3400c_set_audmode()
334 "FM-Radio set_audmode: %s\n", modestr); in msp3400c_set_audmode()
/linux-6.6.21/drivers/ata/
Dpata_hpt366.c173 static int hpt_dma_blacklisted(const struct ata_device *dev, char *modestr, in hpt_dma_blacklisted() argument
183 ata_dev_warn(dev, "%s is not supported for %s\n", modestr, list[i]); in hpt_dma_blacklisted()
Dpata_hpt37x.c221 static int hpt_dma_blacklisted(const struct ata_device *dev, char *modestr, in hpt_dma_blacklisted() argument
232 modestr, list[i]); in hpt_dma_blacklisted()
/linux-6.6.21/drivers/video/fbdev/
Dstifb.c1190 char modestr[32]; in stifb_init_fb() local
1369 scnprintf(modestr, sizeof(modestr), "%dx%d-%d", xres, yres, bpp); in stifb_init_fb()
1370 fb_find_mode(&info->var, info, modestr, NULL, 0, NULL, bpp); in stifb_init_fb()
/linux-6.6.21/security/apparmor/
Dlabel.c1538 const char *modestr = aa_profile_mode_names[profile->mode]; in aa_profile_snxprint() local
1542 profile->base.hname, modestr); in aa_profile_snxprint()
1544 modestr); in aa_profile_snxprint()
/linux-6.6.21/drivers/net/phy/
Dphylink.c156 static const char *modestr[] = { in phylink_an_mode_str() local
162 return mode < ARRAY_SIZE(modestr) ? modestr[mode] : "unknown"; in phylink_an_mode_str()