Home
last modified time | relevance | path

Searched refs:of_flags (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/arm/kernel/
H A Dperf_event_xscale.c468 xscale2_pmnc_counter_has_overflowed(unsigned long of_flags, in xscale2_pmnc_counter_has_overflowed() argument
475 ret = of_flags & XSCALE2_CCOUNT_OVERFLOW; in xscale2_pmnc_counter_has_overflowed()
478 ret = of_flags & XSCALE2_COUNT0_OVERFLOW; in xscale2_pmnc_counter_has_overflowed()
481 ret = of_flags & XSCALE2_COUNT1_OVERFLOW; in xscale2_pmnc_counter_has_overflowed()
484 ret = of_flags & XSCALE2_COUNT2_OVERFLOW; in xscale2_pmnc_counter_has_overflowed()
487 ret = of_flags & XSCALE2_COUNT3_OVERFLOW; in xscale2_pmnc_counter_has_overflowed()
499 unsigned long pmnc, of_flags; in xscale2pmu_handle_irq() local
510 of_flags = xscale2pmu_read_overflow_flags(); in xscale2pmu_handle_irq()
511 if (!(of_flags & XSCALE2_OVERFLOWED_MASK)) in xscale2pmu_handle_irq()
515 xscale2pmu_write_overflow_flags(of_flags); in xscale2pmu_handle_irq()
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpiolib-of.c475 enum of_gpio_flags *of_flags) in of_find_gpio_rename() argument
593 desc = of_get_named_gpiod_flags(np, legacy_id, idx, of_flags); in of_find_gpio_rename()
607 enum of_gpio_flags *of_flags) in of_find_mt2701_gpio() argument
628 desc = of_get_named_gpiod_flags(np, legacy_id, 0, of_flags); in of_find_mt2701_gpio()
639 enum of_gpio_flags *of_flags);
650 enum of_gpio_flags of_flags; in of_find_gpio() local
664 desc = of_get_named_gpiod_flags(np, prop_name, idx, &of_flags); in of_find_gpio()
672 desc = (*q)(np, con_id, idx, &of_flags); in of_find_gpio()
677 *flags = of_convert_gpio_flags(of_flags); in of_find_gpio()