/linux/drivers/gpu/drm/i915/selftests/ |
H A D | i915_active.c | 24 static void __live_get(struct live_active *active) in __live_get() argument 26 kref_get(&active->ref); in __live_get() 29 static void __live_free(struct live_active *active) in __live_free() argument 31 i915_active_fini(&active->base); in __live_free() 32 kfree(active); in __live_free() 37 struct live_active *active = container_of(ref, typeof(*active), ref); in __live_release() local 39 __live_free(active); in __live_release() 42 static void __live_put(struct live_active *active) in __live_put() argument 44 kref_put(&active->ref, __live_release); in __live_put() 49 struct live_active *active = container_of(base, typeof(*active), base); in __live_active() local [all …]
|
/linux/drivers/gpu/drm/i915/ |
H A D | i915_active.h | 44 * can then perform any action, such as delayed freeing of an active 52 * @active: the active tracker 57 * i915_active_fence_init() prepares the embedded @active struct for use as 58 * an activity tracker, that is for tracking the last known active fence 63 __i915_active_fence_init(struct i915_active_fence *active, in __i915_active_fence_init() argument 67 RCU_INIT_POINTER(active->fence, fence); in __i915_active_fence_init() 68 active->cb.func = fn ?: i915_active_noop; in __i915_active_fence_init() 75 __i915_active_fence_set(struct i915_active_fence *active, 80 * @active: the active tracker 84 * that @rq is busy, the @active reports busy. When that @rq is signaled [all …]
|
H A D | i915_active.c | 18 * Active refs memory management 21 * they idle (when we know the active requests are inactive) and allocate the 36 node_from_active(struct i915_active_fence *active) in node_from_active() argument 38 return container_of(active, struct active_node, base); in node_from_active() 43 static inline bool is_barrier(const struct i915_active_fence *active) in is_barrier() argument 45 return IS_ERR(rcu_access_pointer(active->fence)); in is_barrier() 79 return (void *)ref->active ?: (void *)ref->retire ?: (void *)ref; in active_debug_hint() 204 __active_fence_slot(struct i915_active_fence *active) in __active_fence_slot() argument 206 return (struct dma_fence ** __force)&active->fence; in __active_fence_slot() 212 struct i915_active_fence *active = in active_fence_cb() local [all …]
|
/linux/arch/arm64/boot/dts/exynos/ |
H A D | exynos5433-tmu.dtsi | 20 type = "active"; 25 type = "active"; 30 type = "active"; 35 type = "active"; 40 type = "active"; 45 type = "active"; 50 type = "active"; 108 type = "active"; 113 type = "active"; 118 type = "active"; [all …]
|
/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | active-semi,act8945a-charger.yaml | 4 $id: http://devicetree.org/schemas/power/supply/active-semi,act8945a-charger.yaml# 7 title: Active-semi ACT8945A Charger Function 17 const: active-semi,act8945a-charger 22 active-semi,chglev-gpios: 26 active-semi,lbo-gpios: 30 active-semi,input-voltage-threshold-microvolt: 37 active-semi,precondition-timeout: 45 active-semi,total-timeout: 56 - active-semi,chglev-gpios 57 - active-semi,lbo-gpios [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6qdl-tx6-lvds.dtsi | 140 de-active = <1>; 141 pixelclk-active = <1>; 154 hsync-active = <0>; 155 vsync-active = <0>; 156 de-active = <1>; 157 pixelclk-active = <0>; 170 hsync-active = <0>; 171 vsync-active = <0>; 172 de-active = <1>; 173 pixelclk-active = <1>; [all …]
|
/linux/kernel/time/ |
H A D | timer_migration.c | 44 * active in the group. This designated role is necessary to avoid that all 45 * active CPUs in a group try to migrate expired timers from other CPUs, 50 * no CPU is active, it also checks the groups where no migrator is set 65 * When CPU comes out of idle and when a group has at least a single active 69 * time. This spares locking in active path as the lock protects (after 74 * the next active CPU in the group or sets migrator to TMIGR_NONE when 75 * there is no active CPU in the group. This delegation needs to be 101 * active CPU/group information atomic_try_cmpxchg() is used instead and only 114 * The state information with the list of active children and migrator needs to 125 * active = GRP0:0, GRP0:1 [all …]
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_context.c | 96 __i915_active_acquire(&ce->active); in intel_context_active_acquire() 103 err = i915_active_acquire_preallocate_barrier(&ce->active, in intel_context_active_acquire() 106 i915_active_release(&ce->active); in intel_context_active_acquire() 114 i915_active_acquire_barrier(&ce->active); in intel_context_active_release() 115 i915_active_release(&ce->active); in intel_context_active_release() 127 err = i915_active_acquire(&vma->active); in __context_pin_state() 148 i915_active_release(&vma->active); in __context_unpin_state() 161 err = i915_active_acquire(&ring->vma->active); in __ring_active() 174 i915_active_release(&ring->vma->active); in __ring_retire() 183 CE_TRACE(ce, "active\n"); in intel_context_pre_pin() [all …]
|
H A D | selftest_engine_heartbeat.c | 43 struct i915_active active; member 47 static int pulse_active(struct i915_active *active) in pulse_active() argument 49 kref_get(&container_of(active, struct pulse, active)->kref); in pulse_active() 57 i915_active_fini(&p->active); in pulse_free() 66 static void pulse_retire(struct i915_active *active) in pulse_retire() argument 68 pulse_put(container_of(active, struct pulse, active)); in pulse_retire() 80 i915_active_init(&p->active, pulse_active, pulse_retire, 0); in pulse_create() 87 wait_var_event_timeout(&p->active, i915_active_is_idle(&p->active), HZ); in pulse_unlock_wait() 102 err = i915_active_acquire(&p->active); in __live_idle_pulse() 106 err = i915_active_acquire_preallocate_barrier(&p->active, engine); in __live_idle_pulse() [all …]
|
H A D | intel_engine_stats.h | 21 if (stats->active) { in intel_engine_context_in() 22 stats->active++; in intel_engine_context_in() 31 stats->active++; in intel_engine_context_in() 36 GEM_BUG_ON(!stats->active); in intel_engine_context_in() 44 GEM_BUG_ON(!stats->active); in intel_engine_context_out() 45 if (stats->active > 1) { in intel_engine_context_out() 46 stats->active--; in intel_engine_context_out() 53 stats->active--; in intel_engine_context_out()
|
/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | tvp7002.txt | 10 - hsync-active: HSYNC Polarity configuration for the bus. Default value when 13 - vsync-active: VSYNC Polarity configuration for the bus. Default value when 19 - sync-on-green-active: Active state of Sync-on-green signal property of the 21 0 = Normal Operation (Active Low, Default) 24 - field-even-active: Active-high Field ID output polarity control of the bus. 27 0 = Normal Operation (Active Low, Default) 44 hsync-active = <1>; 45 vsync-active = <1>; 47 sync-on-green-active = <1>; 48 field-even-active = <0>;
|
H A D | galaxycore,gc0308.yaml | 59 hsync-active: true 60 vsync-active: true 61 data-active: true 99 hsync-active = <1>; /* active high */ 100 vsync-active = <1>; /* active high */ 101 data-active = <1>; /* active high */
|
/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-bcm6358.txt | 18 - brcm,clk-dat-low : Boolean, makes clock and data signals active low. 43 active-low; 48 active-low; 53 active-low; 58 active-low; 74 active-low; 79 active-low; 89 active-low; 98 active-low; 103 active-low; [all …]
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | active-semi,act8945a.yaml | 4 $id: http://devicetree.org/schemas/regulator/active-semi,act8945a.yaml# 7 title: Active-semi ACT8945a regulator 14 const: active-semi,act8945a 25 active-semi,vsel-high: 88 const: active-semi,act8945a-charger 93 active-semi,chglev-gpios: 97 active-semi,lbo-gpios: 101 active-semi,input-voltage-threshold-microvolt: 105 active-semi,precondition-timeout: 109 active-semi,total-timeout: [all …]
|
/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-spi.h | 90 * active) or as a halfplex (either the Tx data path is 91 * active or the Rx data path is active, but not both). 108 * active) or as a halfplex (either the Tx data path is 109 * active or the Rx data path is active, but not both). 177 * active) or as a halfplex (either the Tx data path is 178 * active or the Rx data path is active, but not both). 193 * active) or as a halfplex (either the Tx data path is 194 * active or the Rx data path is active, but not both). 210 * active) or as a halfplex (either the Tx data path is 211 * active or the Rx data path is active, but not both). [all …]
|
/linux/arch/arm/mach-sa1100/include/mach/ |
H A D | h3xxx.h | 60 …CARD_RESET (H3XXX_EGPIO_BASE + 1) /* reset the attached pcmcia/compactflash card. active high. */ 61 #define H3XXX_EGPIO_OPT_RESET (H3XXX_EGPIO_BASE + 2) /* reset the attached option pack. active hi… 62 #define H3XXX_EGPIO_CODEC_NRESET (H3XXX_EGPIO_BASE + 3) /* reset the onboard UDA1341. active low. … 63 #define H3XXX_EGPIO_OPT_NVRAM_ON (H3XXX_EGPIO_BASE + 4) /* apply power to optionpack nvram, active … 64 #define H3XXX_EGPIO_OPT_ON (H3XXX_EGPIO_BASE + 5) /* full power to option pack. active high. */ 65 #define H3XXX_EGPIO_LCD_ON (H3XXX_EGPIO_BASE + 6) /* enable 3.3V to LCD. active high. */ 66 #define H3XXX_EGPIO_RS232_ON (H3XXX_EGPIO_BASE + 7) /* UART3 transceiver force on. Active high. */ 69 #define H3600_EGPIO_LCD_PCI (H3XXX_EGPIO_BASE + 8) /* LCD control IC enable. active high. */ 70 #define H3600_EGPIO_IR_ON (H3XXX_EGPIO_BASE + 9) /* apply power to IR module. active high. */ 71 #define H3600_EGPIO_AUD_AMP_ON (H3XXX_EGPIO_BASE + 10) /* apply power to audio power amp. active … [all …]
|
/linux/Documentation/devicetree/bindings/media/ |
H A D | allwinner,sun4i-a10-csi.yaml | 83 data-active: true 84 hsync-active: true 86 vsync-active: true 90 - data-active 91 - hsync-active 93 - vsync-active 121 hsync-active = <1>; /* Active high */ 122 vsync-active = <0>; /* Active low */ 123 data-active = <1>; /* Active high */
|
/linux/arch/arm/kernel/ |
H A D | dma.c | 66 dma->active = 0; in request_dma() 99 if (dma->active) { in free_dma() 100 pr_err("dma%d: freeing active DMA\n", chan); in free_dma() 102 dma->active = 0; in free_dma() 125 if (dma->active) in set_dma_sg() 126 pr_err("dma%d: altering DMA SG while DMA active\n", chan); in set_dma_sg() 142 if (dma->active) in __set_dma_addr() 143 pr_err("dma%d: altering DMA address while DMA active\n", chan); in __set_dma_addr() 159 if (dma->active) in set_dma_count() 160 pr_err("dma%d: altering DMA count while DMA active\n", chan); in set_dma_count() [all …]
|
/linux/drivers/acpi/ |
H A D | pci_link.c | 52 * If a link is initialized, we never change its active and initialized 53 * later even the link is disable. Instead, we just repick the active irq 56 u32 active; /* Current IRQ */ member 222 * Run _CRS and set link->irq.active 235 link->irq.active = 0; in acpi_pci_link_get_current() 269 link->irq.active = irq; in acpi_pci_link_get_current() 271 acpi_handle_debug(handle, "Link at IRQ %d \n", link->irq.active); in acpi_pci_link_get_current() 361 /* Query _CRS, set link->irq.active */ in acpi_pci_link_set() 369 * set link->irq.active in acpi_pci_link_set() 371 if (link->irq.active != irq) { in acpi_pci_link_set() [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | act8945a.txt | 1 Device-Tree bindings for Active-semi ACT8945A MFD driver 4 - compatible: "active-semi,act8945a". 13 compatible = "active-semi,act8945a"; 16 active-semi,vsel-high; 70 compatible = "active-semi,act8945a-charger"; 76 active-semi,chglev-gpios = <&pioA 12 GPIO_ACTIVE_HIGH>; 77 active-semi,lbo-gpios = <&pioA 72 GPIO_ACTIVE_LOW>; 78 active-semi,input-voltage-threshold-microvolt = <6600>; 79 active-semi,precondition-timeout = <40>; 80 active-semi,total-timeout = <3>;
|
/linux/Documentation/devicetree/bindings/power/reset/ |
H A D | gpio-restart.yaml | 21 is configured as an output, and driven active, triggering a level triggered reset condition. 22 This will also cause an inactive->active edge condition, triggering positive edge triggered 23 reset. After a delay specified by active-delay, the GPIO is set to inactive, thus causing an 24 active->inactive edge, triggering negative edge triggered reset. After a delay specified by 25 inactive-delay, the GPIO is driven active again. After a delay specified by wait-delay, the 38 set it to "Active Low", otherwise set GPIO to "Active High". 49 active-delay: 51 description: Delay (default 100) to wait after driving gpio active [ms] 76 active-delay = <100>;
|
/linux/arch/arm64/boot/dts/nvidia/ |
H A D | tegra210-p2180.dtsi | 156 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 157 maxim,active-fps-power-up-slot = <7>; 158 maxim,active-fps-power-down-slot = <0>; 165 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 195 maxim,active-fps-source = <MAX77620_FPS_SRC_1>; 206 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 217 maxim,active-fps-source = <MAX77620_FPS_SRC_1>; 230 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 243 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>; 254 maxim,active-fps-source = <MAX77620_FPS_SRC_1>; [all …]
|
/linux/arch/arm/boot/dts/nxp/mxs/ |
H A D | imx28-tx28.dts | 49 enable-active-high; 58 enable-active-high; 93 enable-active-high; 103 enable-active-high; 335 hsync-active = <0>; 336 vsync-active = <0>; 337 de-active = <1>; 338 pixelclk-active = <1>; 351 hsync-active = <0>; 352 vsync-active = <0>; [all …]
|
/linux/Documentation/firmware-guide/acpi/ |
H A D | gpio-properties.rst | 55 active low or high, the "active_low" argument can be used here. Setting 56 it to 1 marks the GPIO as active low. 83 | +-------------+ as high, assuming non-active | 86 | | High | as high, assuming active | 89 | +-------------+ as low, assuming non-active | 92 | | Low | as low, assuming active | 96 is explicit and _DSD is present, will be treated as active with a high 118 Active High. Even for the cases when _DSD() is involved (see the example 119 above) the GPIO CS polarity must be defined Active High to avoid ambiguity. 190 line 0: "pin_0" unused input active-high [all …]
|
/linux/Documentation/devicetree/bindings/bus/ |
H A D | nvidia,tegra20-gmi.txt | 34 child device is supported which represents the active chip-select line, see 45 - nvidia,snor-rdy-active-before-data: Assert RDY signal one cycle before data. 47 - nvidia,snor-rdy-active-high: RDY signal is active high 48 - nvidia,snor-adv-active-high: ADV signal is active high 49 - nvidia,snor-oe-active-high: WE/OE signal is active high 50 - nvidia,snor-cs-active-high: CS signal is active high 94 nvidia,snor-adv-active-high; 125 nvidia,snor-adv-active-high;
|