Home
last modified time | relevance | path

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

/Linux-v4.19/arch/arm/kernel/
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 …]
/Linux-v4.19/drivers/gpio/
Dgpiolib-of.c167 enum of_gpio_flags *of_flags) in of_find_spi_gpio() argument
187 desc = of_get_named_gpiod_flags(np, prop_name, 0, of_flags); in of_find_spi_gpio()
197 enum of_gpio_flags *of_flags) in of_find_regulator_gpio() argument
219 desc = of_get_named_gpiod_flags(np, con_id, 0, of_flags); in of_find_regulator_gpio()
228 enum of_gpio_flags of_flags; in of_find_gpio() local
242 &of_flags); in of_find_gpio()
262 desc = of_find_spi_gpio(dev, con_id, &of_flags); in of_find_gpio()
266 desc = of_find_regulator_gpio(dev, con_id, &of_flags); in of_find_gpio()
271 if (of_flags & OF_GPIO_ACTIVE_LOW) in of_find_gpio()
274 if (of_flags & OF_GPIO_SINGLE_ENDED) { in of_find_gpio()
[all …]
/Linux-v4.19/drivers/pci/controller/dwc/
Dpcie-histb.c310 enum of_gpio_flags of_flags; in histb_pcie_probe() local
349 "reset-gpios", 0, &of_flags); in histb_pcie_probe()
350 if (of_flags & OF_GPIO_ACTIVE_LOW) in histb_pcie_probe()
/Linux-v4.19/drivers/staging/fbtft/
Dfbtft-core.c166 enum of_gpio_flags of_flags; in fbtft_request_one_gpio() local
169 gpio = of_get_named_gpio_flags(node, name, index, &of_flags); in fbtft_request_one_gpio()
181 flags = (of_flags & OF_GPIO_ACTIVE_LOW) ? GPIOF_OUT_INIT_LOW : in fbtft_request_one_gpio()
/Linux-v4.19/drivers/media/i2c/s5c73m3/
Ds5c73m3-core.c1585 enum of_gpio_flags of_flags; in s5c73m3_parse_gpios() local
1588 0, &of_flags); in s5c73m3_parse_gpios()
1595 state->gpio[i].level = !(of_flags & OF_GPIO_ACTIVE_LOW); in s5c73m3_parse_gpios()