Home
last modified time | relevance | path

Searched refs:edge (Results 1 – 156 of 156) sorted by relevance

/linux-4.1.27/drivers/gpio/
Dgpio-mxc.c176 int edge; in gpio_set_irq_type() local
182 edge = GPIO_INT_RISE_EDGE; in gpio_set_irq_type()
185 edge = GPIO_INT_FALL_EDGE; in gpio_set_irq_type()
189 edge = GPIO_INT_BOTH_EDGES; in gpio_set_irq_type()
193 edge = GPIO_INT_LOW_LEV; in gpio_set_irq_type()
196 edge = GPIO_INT_HIGH_LEV; in gpio_set_irq_type()
203 edge = GPIO_INT_LOW_LEV; in gpio_set_irq_type()
206 edge = GPIO_INT_HIGH_LEV; in gpio_set_irq_type()
214 if (edge == GPIO_INT_BOTH_EDGES) in gpio_set_irq_type()
222 if (edge != GPIO_INT_BOTH_EDGES) { in gpio_set_irq_type()
[all …]
Dgpio-mxs.c91 int edge; in mxs_gpio_set_irq_type() local
98 edge = GPIO_INT_FALL_EDGE; in mxs_gpio_set_irq_type()
100 edge = GPIO_INT_RISE_EDGE; in mxs_gpio_set_irq_type()
104 edge = GPIO_INT_RISE_EDGE; in mxs_gpio_set_irq_type()
107 edge = GPIO_INT_FALL_EDGE; in mxs_gpio_set_irq_type()
110 edge = GPIO_INT_LOW_LEV; in mxs_gpio_set_irq_type()
113 edge = GPIO_INT_HIGH_LEV; in mxs_gpio_set_irq_type()
121 if (edge & GPIO_INT_LEV_MASK) in mxs_gpio_set_irq_type()
128 if (edge & GPIO_INT_POL_MASK) in mxs_gpio_set_irq_type()
141 u32 bit, val, edge; in mxs_flip_edge() local
[all …]
Dgpio-grgpio.c143 u32 edge; in grgpio_irq_set_type() local
148 edge = 0; in grgpio_irq_set_type()
152 edge = 0; in grgpio_irq_set_type()
156 edge = mask; in grgpio_irq_set_type()
160 edge = mask; in grgpio_irq_set_type()
172 priv->bgc.write_reg(priv->regs + GRGPIO_IEDGE, iedge | edge); in grgpio_irq_set_type()
Dgpio-stp-xway.c84 u32 edge; /* rising or falling edge triggered shift register */ member
164 chip->edge, XWAY_STP_CON0); in xway_stp_hw_init()
257 chip->edge = XWAY_STP_FALLING; in xway_stp_probe()
Dgpiolib-sysfs.c287 static DEVICE_ATTR(edge, 0644, gpio_edge_show, gpio_edge_store);
/linux-4.1.27/Documentation/devicetree/bindings/gpio/
Dcavium-octeon-gpio.txt21 1 - edge triggered on the rising edge.
22 2 - edge triggered on the falling edge
37 * 2) Triggering (1 - edge rising
38 * 2 - edge falling
Dgpio-poweroff.txt3 The driver supports both level triggered and edge triggered power off.
11 condition. This will also cause an inactive->active edge condition, so
12 triggering positive edge triggered power off. After a delay of 100ms,
13 the GPIO is set to inactive, thus causing an active->inactive edge,
14 triggering negative edge triggered power off. After another 100ms
Dgpio-restart.txt4 This binding supports level and edge triggered reset. At driver load
13 inactive->active edge condition, triggering positive edge triggered
15 inactive, thus causing an active->inactive edge, triggering negative edge
Dbrcm,kona-gpio.txt9 GPIO controller only supports edge, not level, triggering of interrupts.
29 1 = low-to-high edge triggered.
30 2 = high-to-low edge triggered.
31 3 = low-to-high or high-to-low edge triggered
Dgpio-nmk.txt11 1 = low-to-high edge triggered.
12 2 = high-to-low edge triggered.
Dnvidia,tegra20-gpio.txt17 1 = low-to-high edge triggered.
18 2 = high-to-low edge triggered.
Dgpio-omap.txt17 1 = low-to-high edge triggered.
18 2 = high-to-low edge triggered.
Dfsl-imx-gpio.txt17 1 = low-to-high edge triggered.
18 2 = high-to-low edge triggered.
Dgpio-vf610.txt20 1 = low-to-high edge triggered.
21 2 = high-to-low edge triggered.
Dgpio-mvebu.txt29 1 = low-to-high edge triggered.
30 2 = high-to-low edge triggered.
Dgpio-mxs.txt22 1 = low-to-high edge triggered.
23 2 = high-to-low edge triggered.
Dgpio-stp-xway.txt26 - lantiq,rising : use rising instead of falling edge for the shift register
Dgpio-tz1090.txt49 - IRQ flags: value to describe edge and level triggering, as defined in
/linux-4.1.27/Documentation/devicetree/bindings/pps/
Dpps-gpio.txt11 - assert-falling-edge: when present, assert is indicated by a falling edge
12 (instead of by a rising edge)
19 assert-falling-edge;
/linux-4.1.27/fs/btrfs/
Drelocation.c272 struct backref_edge *edge; in alloc_backref_edge() local
274 edge = kzalloc(sizeof(*edge), GFP_NOFS); in alloc_backref_edge()
275 if (edge) in alloc_backref_edge()
277 return edge; in alloc_backref_edge()
281 struct backref_edge *edge) in free_backref_edge() argument
283 if (edge) { in free_backref_edge()
285 kfree(edge); in free_backref_edge()
350 struct backref_edge *edge; in walk_up_backref() local
354 edge = list_entry(node->upper.next, in walk_up_backref()
356 edges[idx++] = edge; in walk_up_backref()
[all …]
/linux-4.1.27/drivers/pps/
Dkc.c54 if (bind_args->edge == 0) in pps_kc_bind()
70 pps_kc_hardpps_mode = bind_args->edge; in pps_kc_bind()
74 "edge=0x%x\n", bind_args->edge); in pps_kc_bind()
Dpps.c217 if ((bind_args.edge & ~pps->info.mode) != 0) { in pps_cdev_ioctl()
219 bind_args.edge); in pps_cdev_ioctl()
225 (bind_args.edge & ~PPS_CAPTUREBOTH) != 0 || in pps_cdev_ioctl()
228 " parameters (%x)\n", bind_args.edge); in pps_cdev_ioctl()
/linux-4.1.27/drivers/clk/
Dclk-axi-clkgen.c187 unsigned int *high, unsigned int *edge, unsigned int *nocount) in axi_clkgen_calc_clk_params() argument
195 *edge = divider % 2; in axi_clkgen_calc_clk_params()
365 unsigned int edge; in axi_clkgen_set_rate() local
381 axi_clkgen_calc_clk_params(dout, &low, &high, &edge, &nocount); in axi_clkgen_set_rate()
385 (edge << 7) | (nocount << 6), 0x03ff); in axi_clkgen_set_rate()
387 axi_clkgen_calc_clk_params(d, &low, &high, &edge, &nocount); in axi_clkgen_set_rate()
389 (edge << 13) | (nocount << 12) | (high << 6) | low, 0x3fff); in axi_clkgen_set_rate()
391 axi_clkgen_calc_clk_params(m, &low, &high, &edge, &nocount); in axi_clkgen_set_rate()
395 (edge << 7) | (nocount << 6), 0x03ff); in axi_clkgen_set_rate()
/linux-4.1.27/Documentation/devicetree/bindings/video/
Ddisplay-timing.txt30 - active high = drive pixel data on rising edge/
31 sample data on falling edge
32 - active low = drive pixel data on falling edge/
33 sample data on rising edge
/linux-4.1.27/arch/m68k/coldfire/
Dintc-5272.c163 int irq, edge; in init_IRQ() local
173 edge = 0; in init_IRQ()
175 edge = intc_irqmap[irq - MCFINT_VECBASE].ack; in init_IRQ()
176 if (edge) { in init_IRQ()
/linux-4.1.27/arch/avr32/mach-at32ap/
Dextint.c94 u32 mode, edge, level; in eic_set_irq_type() local
101 edge = eic_readl(eic, EDGE); in eic_set_irq_type()
115 edge |= 1 << i; in eic_set_irq_type()
119 edge &= ~(1 << i); in eic_set_irq_type()
126 eic_writel(eic, EDGE, edge); in eic_set_irq_type()
/linux-4.1.27/arch/arm/plat-pxa/
Dmfp.c174 int pin, af, drv, lpm, edge, pull; in mfp_config() local
183 edge = MFP_LPM_EDGE(c); in mfp_config()
193 p->mfpr_run = tmp | mfpr_lpm[lpm] | mfpr_edge[edge]; in mfp_config()
196 p->mfpr_lpm = tmp | mfpr_lpm[lpm] | mfpr_edge[edge]; in mfp_config()
/linux-4.1.27/drivers/staging/speakup/
DDefaultKeyAssignments18 InsKeyPad-4 say from left edge of line to reading cursor.
20 InsKeyPad-6 Say from reading cursor to right edge of line.
33 InsKeyPad-7 Move reading cursor to left edge of screen (insert home)
34 InsKeyPad-1 Move reading cursor to right edge of screen (insert end)
Dspkguide.txt969 For instance, when you move to the left edge of the screen with the
1030 "speakup keypad 3 is go to bottom edge."
/linux-4.1.27/Documentation/blockdev/drbd/
Ddrbd-connection-state-overview.dot75 edge [color=green]
78 edge [color=red]
82 edge [color=black]
/linux-4.1.27/Documentation/devicetree/bindings/interrupt-controller/
Dopencores,or1k-pic.txt6 level triggered interrupt lines, "opencores,or1k-pic-edge" for variants with
7 edge triggered interrupt lines or "opencores,or1200-pic" for machines
Datmel,aic.txt12 1 = low-to-high edge triggered.
13 2 = high-to-low edge triggered.
Dinterrupts.txt73 1 = low-to-high edge triggered
74 2 = high-to-low edge triggered
Dbrcm,bcm7038-l1-intc.txt18 - No polarity/level/edge settings
/linux-4.1.27/Documentation/virtual/kvm/devices/
Dmpic.txt32 For edge-triggered interrupts: Writing 1 is considered an activating
33 edge, and writing 0 is ignored. Reading returns 1 if a previously
34 signaled edge has not been acknowledged, and 0 otherwise.
Dxics.txt56 edge-sensitive (or MSI).
/linux-4.1.27/arch/mips/lantiq/
Dirq.c131 int edge = 0; in ltq_eiu_settype() local
138 edge = 1; in ltq_eiu_settype()
142 edge = 1; in ltq_eiu_settype()
146 edge = 1; in ltq_eiu_settype()
160 if (edge) in ltq_eiu_settype()
/linux-4.1.27/drivers/video/fbdev/msm/
Dmdp_ppp.c46 uint32_t edge; member
350 regs->edge = 0; in get_edge_cond()
424 regs->edge |= (chroma_repeat[IMG_LEFT] & 3) << MDP_LEFT_CHROMA; in get_edge_cond()
425 regs->edge |= (chroma_repeat[IMG_RIGHT] & 3) << MDP_RIGHT_CHROMA; in get_edge_cond()
426 regs->edge |= (chroma_repeat[IMG_TOP] & 3) << MDP_TOP_CHROMA; in get_edge_cond()
427 regs->edge |= (chroma_repeat[IMG_BOTTOM] & 3) << MDP_BOTTOM_CHROMA; in get_edge_cond()
428 regs->edge |= (luma_repeat[IMG_LEFT] & 3) << MDP_LEFT_LUMA; in get_edge_cond()
429 regs->edge |= (luma_repeat[IMG_RIGHT] & 3) << MDP_RIGHT_LUMA; in get_edge_cond()
430 regs->edge |= (luma_repeat[IMG_TOP] & 3) << MDP_TOP_LUMA; in get_edge_cond()
431 regs->edge |= (luma_repeat[IMG_BOTTOM] & 3) << MDP_BOTTOM_LUMA; in get_edge_cond()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/arm/
Dlpc32xx-mic.txt11 1 = low-to-high edge triggered
12 2 = high-to-low edge triggered
Dgic.txt36 1 = low-to-high edge triggered
37 2 = high-to-low edge triggered (invalid for SPIs)
Dgic-v3.txt24 1 = edge triggered
/linux-4.1.27/drivers/irqchip/
Dirq-vt8500.c89 u8 edge, dctr; in vt8500_irq_mask() local
92 edge = readb(base + VT8500_ICDC + d->hwirq) & VT8500_EDGE; in vt8500_irq_mask()
93 if (edge) { in vt8500_irq_mask()
/linux-4.1.27/Documentation/devicetree/bindings/mips/cavium/
Dcib.txt37 * 2) Triggering (1 - edge rising
38 * 2 - edge falling
/linux-4.1.27/arch/blackfin/include/asm/
Dgpio.h115 unsigned short edge; member
154 unsigned short edge; member
/linux-4.1.27/drivers/mfd/
Dasic3.c129 u16 edge; in asic3_irq_flip_edge() local
133 edge = asic3_read_register(asic, in asic3_irq_flip_edge()
135 edge ^= bit; in asic3_irq_flip_edge()
137 base + ASIC3_GPIO_EDGE_TRIGGER, edge); in asic3_irq_flip_edge()
303 u16 trigger, level, edge, bit; in asic3_gpio_irq_type() local
313 edge = asic3_read_register(asic, in asic3_gpio_irq_type()
321 edge |= bit; in asic3_gpio_irq_type()
324 edge &= ~bit; in asic3_gpio_irq_type()
328 edge &= ~bit; in asic3_gpio_irq_type()
330 edge |= bit; in asic3_gpio_irq_type()
[all …]
/linux-4.1.27/Documentation/input/
Drotary-encoder.txt49 a) Rising edge on channel A, channel B in low state
52 b) Rising edge on channel B, channel A in high state
56 c) Falling edge on channel A, channel B in high state
59 d) Falling edge on channel B, channel A in low state
Dedt-ft5x06.txt25 allows setting the edge compensation in the range from 0 to 31.
Damijoy.txt68 the rising edge of SCLK. MLD output is used to parallel load
Delantech.txt234 smart edge cursor speed (0x02 = slow, 0x03 = medium, 0x04 = fast)
238 smart edge activation area width?
/linux-4.1.27/Documentation/arm/
DInterrupts100 The handler can be one of the 3 standard handlers - "level", "edge" and
104 "edge" knows about the brokenness of such IRQ implementations - that you
126 Set the handler for this IRQ (level, edge, simple)
139 Set active the IRQ edge(s)/level. This replaces the
156 "simple" handler (not "edge" nor "level"). After the handler completes,
164 hardware based. Mixing level-based and edge-based IRQs on the same
DIXP4xx155 - Add support for edge-based GPIO interrupts
/linux-4.1.27/Documentation/sound/alsa/soc/
DDAI.txt33 o I2S - MSB is transmitted on the falling edge of the first BCLK after LRC
54 o Mode A - MSB is transmitted on falling edge of first BCLK after FRAME/SYNC.
56 o Mode B - MSB is transmitted on rising edge of FRAME/SYNC.
/linux-4.1.27/Documentation/devicetree/bindings/metag/
Dpdc-intc.txt41 1 = low-to-high edge triggered
42 2 = high-to-low edge triggered
43 3 = both edge triggered
Dmeta-intc.txt36 1 = edge triggered
/linux-4.1.27/Documentation/devicetree/bindings/drm/tilcdc/
Dpanel.txt11 - sync-edge: Horizontal and Vertical Sync Edge: 0=rising 1=falling
45 sync-edge = <0>;
/linux-4.1.27/drivers/spi/
Dspi-nuc900.c223 static void nuc900_tx_edge(struct nuc900_spi *hw, unsigned int edge) in nuc900_tx_edge() argument
232 if (edge) in nuc900_tx_edge()
241 static void nuc900_rx_edge(struct nuc900_spi *hw, unsigned int edge) in nuc900_rx_edge() argument
250 if (edge) in nuc900_rx_edge()
Dspi-sh-msiof.c325 int edge; in sh_msiof_spi_set_pin_regs() local
349 edge = cpol ^ !cpha; in sh_msiof_spi_set_pin_regs()
351 tmp |= edge << CTR_TEDG_SHIFT; in sh_msiof_spi_set_pin_regs()
352 tmp |= edge << CTR_REDG_SHIFT; in sh_msiof_spi_set_pin_regs()
/linux-4.1.27/arch/blackfin/kernel/
Dbfin_gpio.c370 SET_GPIO(edge) /* set_gpio_edge() */ in SET_GPIO()
429 SET_GPIO_P(edge)
455 GET_GPIO(edge)
482 GET_GPIO_P(edge)
584 gpio_bank_saved[bank].edge = gpio_array[bank]->edge; in bfin_gpio_pm_hibernate_suspend()
622 gpio_array[bank]->edge = gpio_bank_saved[bank].edge; in bfin_gpio_pm_hibernate_restore()
Ddebug-mmrs.c385 __PORT(EDGE, edge); in bfin_debug_mmrs_port()
/linux-4.1.27/Documentation/devicetree/bindings/net/
Dqca-qca7000-spi.txt10 and the second cell should specify the trigger type as rising edge
41 interrupts = <25 0x1>; /* Index: 25, rising edge */
/linux-4.1.27/Documentation/gpio/
Dsysfs.txt78 description of "edge"), you can poll(2) on that file and
86 "edge" ... reads as either "none", "rising", "falling", or
87 "both". Write these strings to select the signal edge(s)
96 poll(2) support configuration via the edge attribute
155 either rising or falling edge will be reconfigured to follow this setting.
Dgpio.txt53 - Inputs can often be used as IRQ signals, often edge triggered but
118 delays the rising edge of SCK, and the I2C master adjusts its signaling rate
Dgpio-legacy.txt40 - Inputs can often be used as IRQ signals, often edge triggered but
408 when the IRQ is edge-triggered. Note that some platforms don't support
438 slower clock delays the rising edge of SCK, and the I2C master adjusts its
697 description of "edge"), you can poll(2) on that file and
705 "edge" ... reads as either "none", "rising", "falling", or
706 "both". Write these strings to select the signal edge(s)
715 poll(2) support configuration via the edge attribute
775 rising or falling edge will be reconfigured to follow this setting.
/linux-4.1.27/Documentation/pps/
Dpps.txt223 so it is used for PPS assert edge. PPS clear edge can be determined only
227 geared towards using the clear edge for time synchronization.
229 Clear edge polling is done with disabled interrupts so it's better to select
230 delay between assert and clear edge as small as possible to reduce system
231 latencies. But if it is too small slave won't be able to capture clear edge
/linux-4.1.27/Documentation/devicetree/bindings/mfd/
Dqcom-pm8xxx.txt41 1 = low-to-high edge triggered
42 2 = high-to-low edge triggered
Dab8500.txt11 1 = low-to-high edge triggered
12 2 = high-to-low edge triggered
/linux-4.1.27/Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/cpm/
Dpic.txt9 - 2 is falling edge
/linux-4.1.27/Documentation/devicetree/bindings/input/
Dtca8418_keypad.txt9 - interrupts: IRQ line number, should trigger on falling edge
/linux-4.1.27/arch/x86/kvm/
Dioapic.c179 int edge, ret; in ioapic_set_irq() local
182 edge = (entry.fields.trig_mode == IOAPIC_EDGE_TRIG); in ioapic_set_irq()
209 if (edge) in ioapic_set_irq()
211 if ((edge && old_irr == ioapic->irr) || in ioapic_set_irq()
212 (!edge && entry.fields.remote_irr)) { in ioapic_set_irq()
/linux-4.1.27/drivers/net/wireless/ath/ath5k/
Deeprom.c1652 rep[j].edge = (val >> 8) & pmask; in ath5k_eeprom_read_ctl_info()
1654 rep[j + 1].edge = val & pmask; in ath5k_eeprom_read_ctl_info()
1677 rep[0].edge = (val >> 2) & pmask; in ath5k_eeprom_read_ctl_info()
1678 rep[1].edge = (val << 4) & pmask; in ath5k_eeprom_read_ctl_info()
1681 rep[1].edge |= (val >> 12) & 0xf; in ath5k_eeprom_read_ctl_info()
1682 rep[2].edge = (val >> 6) & pmask; in ath5k_eeprom_read_ctl_info()
1683 rep[3].edge = val & pmask; in ath5k_eeprom_read_ctl_info()
1686 rep[4].edge = (val >> 10) & pmask; in ath5k_eeprom_read_ctl_info()
1687 rep[5].edge = (val >> 4) & pmask; in ath5k_eeprom_read_ctl_info()
1688 rep[6].edge = (val << 2) & pmask; in ath5k_eeprom_read_ctl_info()
[all …]
Deeprom.h363 u16 edge; /* in half dBm */ member
Dphy.c2830 edge_pwr = (s16) rep[rep_idx].edge; in ath5k_get_max_ctl_power()
/linux-4.1.27/include/uapi/linux/
Dpps.h119 int edge; /* selected event type */ member
/linux-4.1.27/drivers/gpu/drm/omapdrm/
Dtcm-sita.h67 u16 edge; member
Dtcm-sita.c620 me.neighs = me.n.edge + me.n.busy; in update_candidate()
681 stat->edge++; in get_neighbor_stats()
686 stat->edge++; in get_neighbor_stats()
694 stat->edge++; in get_neighbor_stats()
699 stat->edge++; in get_neighbor_stats()
/linux-4.1.27/Documentation/arm/pxa/
Dmfp.txt138 and on which edge(s). This, however, doesn't necessarily mean the
143 d) although PXA3xx MFP supports edge detection on each pin, the
164 Bit 4: EDGE_RISE_EN - enable detection of rising edge on this pin
165 Bit 5: EDGE_FALL_EN - enable detection of falling edge on this pin
166 Bit 6: EDGE_CLEAR - disable edge detection on this pin
251 * edge detection = none
/linux-4.1.27/Documentation/video4linux/cx2341x/
Dfw-decoder-regs.txt103 screen. If the image exceeds the right edge both the source and destination
307 edge. To avoid this read the notes for 2834 & 2838.
459 screen. If the image exceeds the bottom edge both the source and
692 osd x coord for left edge
695 osd y coord for top edge
699 osd x coord for right edge
702 osd y coord for bottom edge
706 much is visible. The visible osd area cannot exceed the right edge of the
715 wrapping around onto the right edge
/linux-4.1.27/Documentation/devicetree/bindings/drm/i2c/
Dtda998x.txt26 interrupts = <27 2>; /* falling edge */
/linux-4.1.27/Documentation/devicetree/bindings/pinctrl/
Dbrcm,bcm2835-gpio.txt20 1 = low-to-high edge triggered.
21 2 = high-to-low edge triggered.
Dpinctrl-st.txt69 - 1 = rising edge triggered
70 - 2 = falling edge triggered
71 - 3 = rising and falling edge triggered
Dsamsung-pinctrl.txt119 - 1 = rising edge triggered
120 - 2 = falling edge triggered
121 - 3 = rising and falling edge triggered
154 - 1 = rising edge triggered
155 - 2 = falling edge triggered
156 - 3 = rising and falling edge triggered
Dpinctrl-single.txt55 schmitt value (rising-edge & falling-edge) in the pinmux register.
/linux-4.1.27/Documentation/
Dsmsc_ece1099.txt14 Interrupts can be generated by an edge detection on a GPIO
15 pin or an edge detection on one of the bus interface pins.
Dparport-lowlevel.txt1119 commonly generated on the rising edge of nAck.
Dkernel-docs.txt654 URL: http://edge.kernelnotes.org
Dpinctrl.txt103 like this, walking around the edge of the chip, which seems to be industry
Dkernel-parameters.txt339 Format: { level | edge | high | low }
2076 in the "bleeding edge" mini2440 support kernel at
/linux-4.1.27/Documentation/x86/i386/
DIO-APIC.txt21 0: 1360293 IO-APIC-edge timer
22 1: 4 IO-APIC-edge keyboard
25 14: 1448 IO-APIC-edge ide0
/linux-4.1.27/Documentation/devicetree/bindings/powerpc/fsl/
Dmpc5200.txt131 An mpc5200-gpt can be used as a single line edge sensitive interrupt
136 sense mode; 1 for edge rising, 2 for edge falling.
194 'n' is sense (0: level high, 1: edge rising, 2: edge falling 3: level low)
Dmpic.txt97 0 = low-to-high edge triggered
100 3 = high-to-low edge triggered
Dmsi-pic.txt21 be set as edge sensitive. If msi-available-ranges is present, only
/linux-4.1.27/Documentation/devicetree/bindings/
Dopen-pic.txt45 0 = low-to-high edge triggered
48 3 = high-to-low edge triggered
/linux-4.1.27/Documentation/zh_CN/
Dgpio.txt592 (见"edge"的描述),你可以对这个文件使用轮询操作(poll(2)),
599 "edge" ... 读取得到“none”、“rising”、“falling”或者“both”。
606 翻转这个属性的(读写)值。已存在或之后通过"edge"属性设置了"rising"
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Dar9003_eeprom.c5026 int edge, in ar9003_hw_get_direct_edge_power() argument
5033 return CTL_EDGE_TPOWER(ctl_2g[idx].ctlEdges[edge]); in ar9003_hw_get_direct_edge_power()
5035 return CTL_EDGE_TPOWER(ctl_5g[idx].ctlEdges[edge]); in ar9003_hw_get_direct_edge_power()
5040 unsigned int edge, in ar9003_hw_get_indirect_edge_power() argument
5052 if (ath9k_hw_fbin2freq(ctl_freqbin[edge - 1], 1) < freq && in ar9003_hw_get_indirect_edge_power()
5053 CTL_EDGE_FLAGS(ctl_2g[idx].ctlEdges[edge - 1])) in ar9003_hw_get_indirect_edge_power()
5054 return CTL_EDGE_TPOWER(ctl_2g[idx].ctlEdges[edge - 1]); in ar9003_hw_get_indirect_edge_power()
5056 if (ath9k_hw_fbin2freq(ctl_freqbin[edge - 1], 0) < freq && in ar9003_hw_get_indirect_edge_power()
5057 CTL_EDGE_FLAGS(ctl_5g[idx].ctlEdges[edge - 1])) in ar9003_hw_get_indirect_edge_power()
5058 return CTL_EDGE_TPOWER(ctl_5g[idx].ctlEdges[edge - 1]); in ar9003_hw_get_indirect_edge_power()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/power_supply/
Dlp8727_charger.txt27 interrupts = <6 0x2>; /* offset = 6, falling edge type */
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-gpio22 /edge ... r/w as: none, falling, rising, both
Dsysfs-firmware-acpi17 and the left edge of the image.
19 and the top edge of the image.
75 to a level or edge handler called _L12 or _E12.
/linux-4.1.27/Documentation/fb/
Dep93xx-fb.txt53 EP93XXFB_PCLK_FALLING Clock data on the falling edge of the
55 data on the rising edge.
Dpxafb.txt58 0 => falling edge, 1 => rising edge
/linux-4.1.27/include/linux/
Dioc4.h106 uint32_t edge:8; /* Edge/level mode */ member
/linux-4.1.27/Documentation/devicetree/bindings/input/touchscreen/
Dedt-ft5x06.txt42 - offset: allows setting the edge compensation in the range from
/linux-4.1.27/Documentation/devicetree/bindings/misc/
Difm-csi.txt25 interrupts = <1 1 2>; /* IRQ1, edge falling */
/linux-4.1.27/arch/arm64/boot/dts/freescale/
Dfsl-ls2085a.dtsi147 interrupts = <0 32 0x1>; /* edge triggered */
155 interrupts = <0 32 0x1>; /* edge triggered */
/linux-4.1.27/arch/mips/cavium-octeon/
Docteon-irq.c1059 bool edge = false; in octeon_irq_ciu_is_edge() local
1067 edge = true; in octeon_irq_ciu_is_edge()
1075 edge = true; in octeon_irq_ciu_is_edge()
1080 return edge; in octeon_irq_ciu_is_edge()
1868 bool edge = false; in octeon_irq_ciu2_is_edge() local
1875 edge = true; in octeon_irq_ciu2_is_edge()
1884 edge = true; in octeon_irq_ciu2_is_edge()
1889 return edge; in octeon_irq_ciu2_is_edge()
/linux-4.1.27/Documentation/devicetree/bindings/spi/
Dspi-rockchip.txt27 - rx-sample-delay-ns: nanoseconds to delay after the SCLK edge before sampling
/linux-4.1.27/arch/powerpc/boot/dts/
Do2d.dtsi115 interrupts = <1 1 2>; /* IRQ1, edge falling */
/linux-4.1.27/Documentation/devicetree/bindings/media/i2c/
Dadv7604.txt43 - pclk-sample: Pixel clock polarity. Defaults to output on the falling edge.
/linux-4.1.27/sound/pci/echoaudio/
Dechoaudio.c531 int err, per, rest, page, edge, offs; in init_engine() local
574 edge = PAGE_SIZE; in init_engine()
583 if (rest <= edge - offs) { in init_engine()
590 edge - offs); in init_engine()
591 rest -= edge - offs; in init_engine()
592 offs = edge; in init_engine()
594 if (offs == edge) { in init_engine()
595 edge += PAGE_SIZE; in init_engine()
/linux-4.1.27/Documentation/devicetree/bindings/arm/mrvl/
Dintc.txt20 - mrvl,clr-mfp-irq : Specifies the interrupt that needs to clear MFP edge
/linux-4.1.27/arch/x86/kernel/cpu/
Dperf_event_p6.c185 PMU_FORMAT_ATTR(edge, "config:18" );
Dperf_event_intel_uncore_snb.c62 DEFINE_UNCORE_FORMAT_ATTR(edge, edge, "config:18");
Dperf_event_knc.c274 PMU_FORMAT_ATTR(edge, "config:18" );
Dperf_event_amd.c454 PMU_FORMAT_ATTR(edge, "config:18" );
Dperf_event_intel_uncore_nhmex.c192 DEFINE_UNCORE_FORMAT_ATTR(edge, edge, "config:18");
Dperf_event.h465 edge:1, member
Dperf_event.c1620 bool edge = (config & ARCH_PERFMON_EVENTSEL_EDGE); in x86_event_sysfs_show() local
1635 if (edge) in x86_event_sysfs_show()
Dperf_event_intel_uncore_snbep.c216 DEFINE_UNCORE_FORMAT_ATTR(edge, edge, "config:18");
Dperf_event_intel.c2503 PMU_FORMAT_ATTR(edge, "config:18" );
/linux-4.1.27/kernel/irq/
DKconfig20 # Print level/edge extra information
/linux-4.1.27/arch/m68k/include/asm/
Dm68360_quicc.h262 volatile unsigned short edge:2; member
/linux-4.1.27/drivers/media/i2c/
Dov9650.c733 u8 com14, edge; in ov965x_set_sharpness() local
739 ret = ov965x_read(ov965x->client, REG_EDGE, &edge); in ov965x_set_sharpness()
754 edge &= ~EDGE_FACTOR_MASK; in ov965x_set_sharpness()
755 edge |= ((u8)value & 0x0f); in ov965x_set_sharpness()
757 return ov965x_write(ov965x->client, REG_EDGE, edge); in ov965x_set_sharpness()
/linux-4.1.27/Documentation/vm/
Dovercommit-accounting39 guarantees and run close to the edge you MUST mmap your stack for the
/linux-4.1.27/Documentation/spi/
Dspi-summary100 clock starts low, so the first (leading) edge is rising, and
101 the second (trailing) edge is falling. CPOL=1 means the clock
102 starts high, so the first (leading) edge is falling.
105 sample on the leading edge, CPHA=1 means the trailing edge.
109 clock edge. The chipselect may have made it become available.
117 trailing clock edge (CPHA=1), that's SPI mode 1.
Dspidev87 sample on trailing edge iff this is set) flags.
/linux-4.1.27/net/atm/
DKconfig53 Multi-Protocol Over ATM allows ATM edge devices such as routers,
/linux-4.1.27/Documentation/networking/caif/
Dspi_porting.txt119 /* You only need to trigger on an edge to the active state of the
120 * SS signal. Once a edge is detected, the ss_cb() function should be
/linux-4.1.27/drivers/media/dvb-frontends/
Dlgdt3305.c243 enum lgdt3305_tp_clock_edge edge = state->cfg->tpclk_edge; in lgdt3305_mpeg_mode_polarity() local
247 lg_dbg("edge = %d, valid = %d\n", edge, valid); in lgdt3305_mpeg_mode_polarity()
255 if (edge) in lgdt3305_mpeg_mode_polarity()
Dlgdt3306a.c255 enum lgdt3306a_tp_clock_edge edge, in lgdt3306a_mpeg_mode_polarity() argument
261 dbg_info("edge=%d, valid=%d\n", edge, valid); in lgdt3306a_mpeg_mode_polarity()
269 if (edge == LGDT3306A_TPCLK_RISING_EDGE) in lgdt3306a_mpeg_mode_polarity()
/linux-4.1.27/arch/sparc/kernel/
Dvisemul.c293 static void edge(struct pt_regs *regs, unsigned int insn, unsigned int opf) in edge() function
870 edge(regs, insn, opf); in vis_emul()
/linux-4.1.27/Documentation/arm/Samsung-S3C24XX/
DSuspend.txt60 an falling edge on IRQ_EINT0:
/linux-4.1.27/arch/microblaze/boot/dts/
Dsystem.dts86 xlnx,edge-is-positive = <0x1>;
102 xlnx,interrupt-is-edge = <0x0>;
/linux-4.1.27/arch/mips/boot/dts/cavium-octeon/
Docteon_68xx.dts40 * 2) Triggering (1 - edge rising
41 * 2 - edge falling
Docteon_3xxx.dts39 * 2) Triggering (1 - edge rising
40 * 2 - edge falling
/linux-4.1.27/tools/perf/Documentation/
Dperf-list.txt70 registers: event, umask, edge, inv, cmask. Esp. guest/host only and
/linux-4.1.27/drivers/hwmon/
Ddme1737.c377 int edge = (reg >> 1) & 0x03; in FAN_TYPE_FROM_REG() local
379 return (edge > 0) ? 1 << (edge - 1) : 0; in FAN_TYPE_FROM_REG()
384 int edge = (val == 4) ? 3 : val; in FAN_TYPE_TO_REG() local
386 return (reg & 0xf9) | (edge << 1); in FAN_TYPE_TO_REG()
/linux-4.1.27/Documentation/devicetree/bindings/bus/
Dti-gpmc.txt86 to the GPMC_CLK rising edge used by the
/linux-4.1.27/Documentation/networking/
Dltpc.txt127 work, and to Denis Hainsworth for doing the bleeding-edge testing.
DREADME.ipw2200415 being made available for testing and cutting edge users. The stability
Darcnet-hardware.txt1119 There is a jumper array at the bottom of the card, near the edge
/linux-4.1.27/scripts/
Dcheckpatch.pl1970 my $edge;
1980 ($edge) = $1;
1984 if (defined $edge && $edge eq '*/') {
1991 if (!defined $edge &&
/linux-4.1.27/Documentation/filesystems/
Dproc.txt625 0: 1243498 1214548 IO-APIC-edge timer
626 1: 8949 8958 IO-APIC-edge keyboard
628 5: 11286 10161 IO-APIC-edge soundblaster
629 8: 1 0 IO-APIC-edge rtc
630 9: 27422 27407 IO-APIC-edge 3c503
631 12: 113645 113873 IO-APIC-edge PS/2 Mouse
633 14: 22491 24012 IO-APIC-edge ide0
634 15: 2183 2415 IO-APIC-edge ide1
/linux-4.1.27/Documentation/devicetree/bindings/media/
Dvideo-interfaces.txt89 - pclk-sample: sample data on rising (1) or falling (0) edge of the pixel clock
/linux-4.1.27/arch/arm/boot/dts/
Dam335x-pepper.dts200 sync-edge = <0>;
Dam335x-evm.dts100 sync-edge = <0>;
Dam335x-evmsk.dts166 sync-edge = <0>;
/linux-4.1.27/Documentation/development-process/
D7.AdvancedTopics99 edge. For a private branch, rebasing can be an easy way to keep up with
D2.Process27 thus the leading edge of Linux kernel development; the kernel uses a
/linux-4.1.27/Documentation/x86/x86_64/
Dboot-options.txt162 acpi_sci={edge,level,high,low} Set up ACPI SCI interrupt.
/linux-4.1.27/Documentation/device-mapper/
Dthin-provisioning.txt285 dm event will be sent to userspace. This event is edge-triggered and
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/
Dhub.fuc113 // fifo level triggered, rest edge
/linux-4.1.27/Documentation/devicetree/
Dbooting-without-of.txt1313 0 = low to high edge sensitive type enabled
1316 3 = high to low edge sensitive type enabled
1331 2 = high to low edge sensitive type enabled
1332 3 = low to high edge sensitive type enabled
/linux-4.1.27/Documentation/devicetree/bindings/thermal/
Dthermal.txt539 thermal-sensors = <&adc_dummy 0>, /* pcb top edge */
/linux-4.1.27/Documentation/s390/
Dcds.txt121 not share interrupt levels (aka. IRQs), as the ISA bus bases on edge triggered
/linux-4.1.27/Documentation/isdn/
DREADME121 AT&D2 DTR-low-edge: Hang up and return to
/linux-4.1.27/Documentation/video4linux/
Dvivid.txt594 Show Border: show a two-pixel wide border at the edge of the actual image,
/linux-4.1.27/Documentation/virtual/kvm/
Dapi.txt421 This injects an edge type external interrupt into the guest once it's ready
638 been previously created with KVM_CREATE_IRQCHIP. Note that edge-triggered