Home
last modified time | relevance | path

Searched refs:psel (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/arch/powerpc/perf/
Dpower5+-pmu.c405 int pmc, psel; in power5p_marked_instr_event() local
410 psel = event & PM_PMCSEL_MSK; in power5p_marked_instr_event()
415 if (psel < sizeof(direct_event_is_marked)) { in power5p_marked_instr_event()
416 if (direct_event_is_marked[psel] & (1 << pmc)) in power5p_marked_instr_event()
418 if (direct_event_is_marked[psel] & 0x80) in power5p_marked_instr_event()
420 else if (psel == 0x08) in power5p_marked_instr_event()
422 else if (psel == 0x10) in power5p_marked_instr_event()
424 else if (psel == 0x1b && (pmc == 1 || pmc == 3)) in power5p_marked_instr_event()
426 } else if ((psel & 0x48) == 0x40) { in power5p_marked_instr_event()
427 bit = psel & 7; in power5p_marked_instr_event()
[all …]
Dpower6-pmu.c139 int pmc, psel, ptype; in power6_marked_instr_event() local
144 psel = (event & PM_PMCSEL_MSK) >> 1; /* drop edge/level bit */ in power6_marked_instr_event()
149 if (psel < sizeof(direct_event_is_marked)) { in power6_marked_instr_event()
150 ptype = direct_event_is_marked[psel]; in power6_marked_instr_event()
160 } else if ((psel & 0x48) == 0x40) in power6_marked_instr_event()
161 bit = psel & 7; in power6_marked_instr_event()
182 unsigned int pmc, ev, b, u, s, psel; in p6_compute_mmcr() local
211 psel = ev & PM_PMCSEL_MSK; in p6_compute_mmcr()
230 if (0x30 <= psel && psel <= 0x3d) { in p6_compute_mmcr()
236 if (pmc >= 2 && (psel & 0x90) == 0x80) in p6_compute_mmcr()
[all …]
Dpower5-pmu.c341 int pmc, psel; in power5_marked_instr_event() local
346 psel = event & PM_PMCSEL_MSK; in power5_marked_instr_event()
351 if (psel < sizeof(direct_event_is_marked)) { in power5_marked_instr_event()
352 if (direct_event_is_marked[psel] & (1 << pmc)) in power5_marked_instr_event()
354 if (direct_event_is_marked[psel] & 0x80) in power5_marked_instr_event()
356 else if (psel == 0x08) in power5_marked_instr_event()
358 else if (psel == 0x10) in power5_marked_instr_event()
360 else if (psel == 0x1b && (pmc == 1 || pmc == 3)) in power5_marked_instr_event()
362 } else if ((psel & 0x58) == 0x40) in power5_marked_instr_event()
363 bit = psel & 7; in power5_marked_instr_event()
[all …]
Dpower7-pmu.c146 int pmc, psel; in find_alternative_decode() local
150 psel = event & PM_PMCSEL_MSK; in find_alternative_decode()
151 if ((pmc == 2 || pmc == 4) && (psel & ~7) == 0x40) in find_alternative_decode()
153 if ((pmc == 1 || pmc == 3) && (psel & ~7) == 0x48) in find_alternative_decode()
215 int pmc, psel; in power7_marked_instr_event() local
220 psel = event & PM_PMCSEL_MSK & ~1; /* trim off edge/level bit */ in power7_marked_instr_event()
224 switch (psel >> 4) { in power7_marked_instr_event()
228 if (psel == 0x3c) in power7_marked_instr_event()
230 if (psel == 0x3e) in power7_marked_instr_event()
237 if (psel == 0x64) in power7_marked_instr_event()
[all …]
Dppc970-pmu.c147 int pmc, psel, unit, byte, bit; in p970_marked_instr_event() local
151 psel = event & PM_PMCSEL_MSK; in p970_marked_instr_event()
153 if (direct_marked_event[pmc - 1] & (1 << psel)) in p970_marked_instr_event()
155 if (psel == 0) /* add events */ in p970_marked_instr_event()
157 else if (psel == 7 || psel == 13) /* decode events */ in p970_marked_instr_event()
162 bit = psel; in p970_marked_instr_event()
263 unsigned int pmc, unit, byte, psel; in p970_compute_mmcr() local
353 psel = event[i] & PM_PMCSEL_MSK; in p970_compute_mmcr()
357 psel |= 0x10 | ((byte & 2) << 2); in p970_compute_mmcr()
359 psel |= 8; in p970_compute_mmcr()
[all …]
Disa207-common.c562 unsigned long mmcra, mmcr1, mmcr2, unit, combine, psel, cache, val; in isa207_compute_mmcr() local
590 psel = event[i] & EVENT_PSEL_MASK; in isa207_compute_mmcr()
604 mmcr1 |= psel << MMCR1_PMCSEL_SHIFT(pmc); in isa207_compute_mmcr()
/linux-6.1.9/drivers/media/dvb-frontends/
Dstv6111.c444 u32 p = 1, psel = 0, fvco, div, frac; in set_lof() local
454 psel = 1; in set_lof()
457 psel = 0; in set_lof()
482 state->reg[0x03] = (state->reg[0x03] & ~0x80) | (psel << 7); in set_lof()
/linux-6.1.9/drivers/clk/nxp/
Dclk-lpc18xx-cgu.c455 u16 msel, nsel, psel; in lpc18xx_pll1_recalc_rate() local
470 psel = (ctrl >> 8) & 0x3; in lpc18xx_pll1_recalc_rate()
471 psel = 1 << psel; in lpc18xx_pll1_recalc_rate()
473 return (msel / (2 * psel)) * (parent_rate / nsel); in lpc18xx_pll1_recalc_rate()
/linux-6.1.9/drivers/gpu/drm/panel/
Dpanel-novatek-nt35510.c309 u8 psel; member
615 dpfrctr[4] = conf->psel; in nt35510_setup_display()
1064 .psel = 0,
/linux-6.1.9/drivers/pinctrl/renesas/
Dsh_pfc.h420 #define PINMUX_IPSR_PHYS_MSEL(ipsr, fn, psel, msel) \ argument
421 PINMUX_DATA(fn##_MARK, FN_##psel, FN_##msel, FN_##fn, FN_##ipsr)
430 #define PINMUX_IPSR_PHYS(ipsr, fn, psel) \ argument
431 PINMUX_DATA(fn##_MARK, FN_##psel, FN_##ipsr)
/linux-6.1.9/drivers/net/dsa/sja1105/
Dsja1105_clocking.c59 u64 psel; member
331 sja1105_packing(buf, &cmd->psel, 9, 8, size, op); in sja1105_cgu_pll_control_packing()
703 pll.psel = 0x1; in sja1105_cgu_rmii_pll_config()
/linux-6.1.9/drivers/media/pci/saa7164/
Dsaa7164-api.c930 struct tmComResSelDescrHeader *psel; in saa7164_api_dump_subdevs() local
1154 psel = (struct tmComResSelDescrHeader *)(buf + idx); in saa7164_api_dump_subdevs()
1157 psel->unitid); in saa7164_api_dump_subdevs()
1159 psel->nrinpins); in saa7164_api_dump_subdevs()
1161 psel->sourceid); in saa7164_api_dump_subdevs()
/linux-6.1.9/drivers/usb/typec/
Drt1719.c786 int psel = FIELD_GET(RT1719_LATPSEL_MASK, pselinfo); in rt1719_gen_snkcap() local
793 psel_cap = rt1719_psel_caps + psel; in rt1719_gen_snkcap()