Lines Matching defs:mode
55 static int set_mode(struct spear_pmx *pmx, int mode)
65 if (pmx->machdata->pmx_modes[i]->mode == (1 << mode)) {
79 pmx->machdata->mode = pmx_mode->mode;
259 if (!(pmx->machdata->mode & modemux->modes))
382 /* configure mode, if supported by SoC */
384 int mode = 0;
386 if (of_property_read_u32(np, "st,pinmux-mode", &mode)) {
387 dev_err(&pdev->dev, "OF: pinmux mode not passed\n");
391 if (set_mode(pmx, mode)) {
392 dev_err(&pdev->dev, "OF: Couldn't configure mode: %x\n",
393 mode);