psel 360 arch/arm/mach-ep93xx/clock.c int *psel, int *esel, int *pdiv, int *div) psel 399 arch/arm/mach-ep93xx/clock.c *psel = (i == 2); psel 417 arch/arm/mach-ep93xx/clock.c int err, psel = 0, esel = 0, pdiv = 0, div = 0; psel 420 arch/arm/mach-ep93xx/clock.c err = calc_clk_div(clk, rate, &psel, &esel, &pdiv, &div); psel 430 arch/arm/mach-ep93xx/clock.c (psel ? EP93XX_SYSCON_CLKDIV_PSEL : 0) | psel 40 arch/powerpc/oprofile/op_model_power4.c u64 psel, unit; psel 48 arch/powerpc/oprofile/op_model_power4.c psel = mmcr1 & (OPROFILE_PM_PMCSEL_MSK psel 51 arch/powerpc/oprofile/op_model_power4.c psel = (psel >> ((OPROFILE_MAX_PMC_NUM - pmc) psel 59 arch/powerpc/oprofile/op_model_power4.c switch (psel >> 4) { psel 64 arch/powerpc/oprofile/op_model_power4.c if (psel == 0x3c) { psel 69 arch/powerpc/oprofile/op_model_power4.c if (psel == 0x3e) { psel 81 arch/powerpc/oprofile/op_model_power4.c if (psel == 0x64) psel 369 arch/powerpc/perf/isa207-common.c unsigned long mmcra, mmcr1, mmcr2, unit, combine, psel, cache, val; psel 389 arch/powerpc/perf/isa207-common.c psel = event[i] & EVENT_PSEL_MASK; psel 403 arch/powerpc/perf/isa207-common.c mmcr1 |= psel << MMCR1_PMCSEL_SHIFT(pmc); psel 403 arch/powerpc/perf/power5+-pmu.c int pmc, psel; psel 408 arch/powerpc/perf/power5+-pmu.c psel = event & PM_PMCSEL_MSK; psel 413 arch/powerpc/perf/power5+-pmu.c if (psel < sizeof(direct_event_is_marked)) { psel 414 arch/powerpc/perf/power5+-pmu.c if (direct_event_is_marked[psel] & (1 << pmc)) psel 416 arch/powerpc/perf/power5+-pmu.c if (direct_event_is_marked[psel] & 0x80) psel 418 arch/powerpc/perf/power5+-pmu.c else if (psel == 0x08) psel 420 arch/powerpc/perf/power5+-pmu.c else if (psel == 0x10) psel 422 arch/powerpc/perf/power5+-pmu.c else if (psel == 0x1b && (pmc == 1 || pmc == 3)) psel 424 arch/powerpc/perf/power5+-pmu.c } else if ((psel & 0x48) == 0x40) { psel 425 arch/powerpc/perf/power5+-pmu.c bit = psel & 7; psel 426 arch/powerpc/perf/power5+-pmu.c } else if (psel == 0x28) { psel 428 arch/powerpc/perf/power5+-pmu.c } else if (pmc == 3 && (psel == 0x2e || psel == 0x2f)) { psel 455 arch/powerpc/perf/power5+-pmu.c unsigned int pmc, unit, byte, psel; psel 551 arch/powerpc/perf/power5+-pmu.c psel = event[i] & PM_PMCSEL_MSK; psel 566 arch/powerpc/perf/power5+-pmu.c (psel == 8 || psel == 0x10 || psel == 0x28)) psel 574 arch/powerpc/perf/power5+-pmu.c bit = psel & 7; psel 580 arch/powerpc/perf/power5+-pmu.c if ((psel & 0x58) == 0x40 && (byte & 1) != ((pmc >> 1) & 1)) psel 582 arch/powerpc/perf/power5+-pmu.c psel |= 0x10; psel 584 arch/powerpc/perf/power5+-pmu.c mmcr1 |= psel << MMCR1_PMCSEL_SH(pmc); psel 339 arch/powerpc/perf/power5-pmu.c int pmc, psel; psel 344 arch/powerpc/perf/power5-pmu.c psel = event & PM_PMCSEL_MSK; psel 349 arch/powerpc/perf/power5-pmu.c if (psel < sizeof(direct_event_is_marked)) { psel 350 arch/powerpc/perf/power5-pmu.c if (direct_event_is_marked[psel] & (1 << pmc)) psel 352 arch/powerpc/perf/power5-pmu.c if (direct_event_is_marked[psel] & 0x80) psel 354 arch/powerpc/perf/power5-pmu.c else if (psel == 0x08) psel 356 arch/powerpc/perf/power5-pmu.c else if (psel == 0x10) psel 358 arch/powerpc/perf/power5-pmu.c else if (psel == 0x1b && (pmc == 1 || pmc == 3)) psel 360 arch/powerpc/perf/power5-pmu.c } else if ((psel & 0x58) == 0x40) psel 361 arch/powerpc/perf/power5-pmu.c bit = psel & 7; psel 386 arch/powerpc/perf/power5-pmu.c unsigned int pmc, unit, byte, psel; psel 491 arch/powerpc/perf/power5-pmu.c psel = event[i] & PM_PMCSEL_MSK; psel 511 arch/powerpc/perf/power5-pmu.c if ((psel == 8 || psel == 0x10) && isbus && (byte & 2)) psel 519 arch/powerpc/perf/power5-pmu.c bit = psel & 7; psel 526 arch/powerpc/perf/power5-pmu.c mmcr1 |= psel << MMCR1_PMCSEL_SH(pmc); psel 137 arch/powerpc/perf/power6-pmu.c int pmc, psel, ptype; psel 142 arch/powerpc/perf/power6-pmu.c psel = (event & PM_PMCSEL_MSK) >> 1; /* drop edge/level bit */ psel 147 arch/powerpc/perf/power6-pmu.c if (psel < sizeof(direct_event_is_marked)) { psel 148 arch/powerpc/perf/power6-pmu.c ptype = direct_event_is_marked[psel]; psel 158 arch/powerpc/perf/power6-pmu.c } else if ((psel & 0x48) == 0x40) psel 159 arch/powerpc/perf/power6-pmu.c bit = psel & 7; psel 179 arch/powerpc/perf/power6-pmu.c unsigned int pmc, ev, b, u, s, psel; psel 208 arch/powerpc/perf/power6-pmu.c psel = ev & PM_PMCSEL_MSK; psel 227 arch/powerpc/perf/power6-pmu.c if (0x30 <= psel && psel <= 0x3d) { psel 233 arch/powerpc/perf/power6-pmu.c if (pmc >= 2 && (psel & 0x90) == 0x80) psel 234 arch/powerpc/perf/power6-pmu.c psel ^= 0x20; psel 244 arch/powerpc/perf/power6-pmu.c mmcr1 |= (unsigned long)psel << MMCR1_PMCSEL_SH(pmc); psel 361 arch/powerpc/perf/power6-pmu.c unsigned int psel, pmc; psel 384 arch/powerpc/perf/power6-pmu.c psel = event & (PM_PMCSEL_MSK & ~1); /* ignore edge bit */ psel 386 arch/powerpc/perf/power6-pmu.c if (pmc && (psel == 0x32 || psel == 0x34)) psel 391 arch/powerpc/perf/power6-pmu.c if (pmc && (psel == 0x38 || psel == 0x3a)) psel 144 arch/powerpc/perf/power7-pmu.c int pmc, psel; psel 148 arch/powerpc/perf/power7-pmu.c psel = event & PM_PMCSEL_MSK; psel 149 arch/powerpc/perf/power7-pmu.c if ((pmc == 2 || pmc == 4) && (psel & ~7) == 0x40) psel 151 arch/powerpc/perf/power7-pmu.c if ((pmc == 1 || pmc == 3) && (psel & ~7) == 0x48) psel 213 arch/powerpc/perf/power7-pmu.c int pmc, psel; psel 218 arch/powerpc/perf/power7-pmu.c psel = event & PM_PMCSEL_MSK & ~1; /* trim off edge/level bit */ psel 222 arch/powerpc/perf/power7-pmu.c switch (psel >> 4) { psel 226 arch/powerpc/perf/power7-pmu.c if (psel == 0x3c) psel 228 arch/powerpc/perf/power7-pmu.c if (psel == 0x3e) psel 235 arch/powerpc/perf/power7-pmu.c if (psel == 0x64) psel 249 arch/powerpc/perf/power7-pmu.c unsigned int pmc, unit, combine, l2sel, psel; psel 271 arch/powerpc/perf/power7-pmu.c psel = event[i] & PM_PMCSEL_MSK; psel 290 arch/powerpc/perf/power7-pmu.c mmcr1 |= psel << MMCR1_PMCSEL_SH(pmc); psel 145 arch/powerpc/perf/ppc970-pmu.c int pmc, psel, unit, byte, bit; psel 149 arch/powerpc/perf/ppc970-pmu.c psel = event & PM_PMCSEL_MSK; psel 151 arch/powerpc/perf/ppc970-pmu.c if (direct_marked_event[pmc - 1] & (1 << psel)) psel 153 arch/powerpc/perf/ppc970-pmu.c if (psel == 0) /* add events */ psel 155 arch/powerpc/perf/ppc970-pmu.c else if (psel == 7 || psel == 13) /* decode events */ psel 160 arch/powerpc/perf/ppc970-pmu.c bit = psel; psel 259 arch/powerpc/perf/ppc970-pmu.c unsigned int pmc, unit, byte, psel; psel 349 arch/powerpc/perf/ppc970-pmu.c psel = event[i] & PM_PMCSEL_MSK; psel 353 arch/powerpc/perf/ppc970-pmu.c psel |= 0x10 | ((byte & 2) << 2); psel 355 arch/powerpc/perf/ppc970-pmu.c psel |= 8; psel 372 arch/powerpc/perf/ppc970-pmu.c if (psel == 0 && (byte & 2)) psel 376 arch/powerpc/perf/ppc970-pmu.c pmcsel[pmc] = psel; psel 458 drivers/clk/nxp/clk-lpc18xx-cgu.c u16 msel, nsel, psel; psel 474 drivers/clk/nxp/clk-lpc18xx-cgu.c psel = (ctrl >> 8) & 0x3; psel 475 drivers/clk/nxp/clk-lpc18xx-cgu.c psel = 1 << psel; psel 477 drivers/clk/nxp/clk-lpc18xx-cgu.c return (msel / (2 * psel)) * (parent_rate / nsel); psel 453 drivers/media/dvb-frontends/stv6111.c u32 p = 1, psel = 0, fvco, div, frac; psel 463 drivers/media/dvb-frontends/stv6111.c psel = 1; psel 466 drivers/media/dvb-frontends/stv6111.c psel = 0; psel 491 drivers/media/dvb-frontends/stv6111.c state->reg[0x03] = (state->reg[0x03] & ~0x80) | (psel << 7); psel 930 drivers/media/pci/saa7164/saa7164-api.c struct tmComResSelDescrHeader *psel; psel 1156 drivers/media/pci/saa7164/saa7164-api.c psel = (struct tmComResSelDescrHeader *)(buf + idx); psel 1159 drivers/media/pci/saa7164/saa7164-api.c psel->unitid); psel 1161 drivers/media/pci/saa7164/saa7164-api.c psel->nrinpins); psel 1163 drivers/media/pci/saa7164/saa7164-api.c psel->sourceid); psel 53 drivers/net/dsa/sja1105/sja1105_clocking.c u64 psel; psel 309 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_packing(buf, &cmd->psel, 9, 8, size, op); psel 591 drivers/net/dsa/sja1105/sja1105_clocking.c pll.psel = 0x1; psel 419 drivers/pinctrl/sh-pfc/sh_pfc.h #define PINMUX_IPSR_PHYS_MSEL(ipsr, fn, psel, msel) \ psel 420 drivers/pinctrl/sh-pfc/sh_pfc.h PINMUX_DATA(fn##_MARK, FN_##psel, FN_##msel, FN_##fn, FN_##ipsr) psel 429 drivers/pinctrl/sh-pfc/sh_pfc.h #define PINMUX_IPSR_PHYS(ipsr, fn, psel) \ psel 430 drivers/pinctrl/sh-pfc/sh_pfc.h PINMUX_DATA(fn##_MARK, FN_##psel, FN_##ipsr)