Home
last modified time | relevance | path

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

1234

/linux-2.6.39/arch/arm/plat-mxc/
Dgpio.c91 int edge; in gpio_set_irq_type() local
97 edge = GPIO_INT_RISE_EDGE; in gpio_set_irq_type()
100 edge = GPIO_INT_FALL_EDGE; in gpio_set_irq_type()
105 edge = GPIO_INT_LOW_LEV; in gpio_set_irq_type()
108 edge = GPIO_INT_HIGH_LEV; in gpio_set_irq_type()
114 edge = GPIO_INT_LOW_LEV; in gpio_set_irq_type()
117 edge = GPIO_INT_HIGH_LEV; in gpio_set_irq_type()
126 __raw_writel(val | (edge << (bit << 1)), reg); in gpio_set_irq_type()
136 int edge; in mxc_flip_edge() local
141 edge = (val >> (bit << 1)) & 3; in mxc_flip_edge()
[all …]
/linux-2.6.39/fs/btrfs/
Drelocation.c269 struct backref_edge *edge; in alloc_backref_edge() local
271 edge = kzalloc(sizeof(*edge), GFP_NOFS); in alloc_backref_edge()
272 if (edge) in alloc_backref_edge()
274 return edge; in alloc_backref_edge()
278 struct backref_edge *edge) in free_backref_edge() argument
280 if (edge) { in free_backref_edge()
282 kfree(edge); in free_backref_edge()
335 struct backref_edge *edge; in walk_up_backref() local
339 edge = list_entry(node->upper.next, in walk_up_backref()
341 edges[idx++] = edge; in walk_up_backref()
[all …]
/linux-2.6.39/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-2.6.39/arch/arm/mach-mxs/
Dgpio.c97 int edge; in mxs_gpio_set_irq_type() local
101 edge = GPIO_INT_RISE_EDGE; in mxs_gpio_set_irq_type()
104 edge = GPIO_INT_FALL_EDGE; in mxs_gpio_set_irq_type()
107 edge = GPIO_INT_LOW_LEV; in mxs_gpio_set_irq_type()
110 edge = GPIO_INT_HIGH_LEV; in mxs_gpio_set_irq_type()
118 if (edge & GPIO_INT_LEV_MASK) in mxs_gpio_set_irq_type()
125 if (edge & GPIO_INT_POL_MASK) in mxs_gpio_set_irq_type()
/linux-2.6.39/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-2.6.39/arch/m68k/platform/5272/
Dintc.c163 int irq, edge; in init_IRQ() local
175 edge = 0; in init_IRQ()
177 edge = intc_irqmap[irq - MCFINT_VECBASE].ack; in init_IRQ()
178 if (edge) { in init_IRQ()
/linux-2.6.39/arch/arm/mach-vt8500/
Dirq.c45 u8 edge; in vt8500_irq_mask() local
51 edge = readb(base + VT8500_IC_DCTR + irq) & VT8500_EDGE; in vt8500_irq_mask()
52 if (edge) { in vt8500_irq_mask()
/linux-2.6.39/arch/arm/plat-pxa/
Dmfp.c175 int pin, af, drv, lpm, edge, pull; in mfp_config() local
184 edge = MFP_LPM_EDGE(c); in mfp_config()
194 p->mfpr_run = tmp | mfpr_lpm[lpm] | mfpr_edge[edge]; in mfp_config()
197 p->mfpr_lpm = tmp | mfpr_lpm[lpm] | mfpr_edge[edge]; in mfp_config()
/linux-2.6.39/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)
/linux-2.6.39/Documentation/blockdev/drbd/
Ddrbd-connection-state-overview.dot75 edge [color=green]
78 edge [color=red]
82 edge [color=black]
/linux-2.6.39/Documentation/input/
Drotary-encoder.txt37 a) Rising edge on channel A, channel B in low state
40 b) Rising edge on channel B, channel A in high state
44 c) Falling edge on channel A, channel B in high state
47 d) Falling edge on channel B, channel A in low state
/linux-2.6.39/drivers/mfd/
Dasic3.c128 u16 edge; in asic3_irq_flip_edge() local
132 edge = asic3_read_register(asic, in asic3_irq_flip_edge()
134 edge ^= bit; in asic3_irq_flip_edge()
136 base + ASIC3_GPIO_EDGE_TRIGGER, edge); in asic3_irq_flip_edge()
302 u16 trigger, level, edge, bit; in asic3_gpio_irq_type() local
312 edge = asic3_read_register(asic, in asic3_gpio_irq_type()
320 edge |= bit; in asic3_gpio_irq_type()
323 edge &= ~bit; in asic3_gpio_irq_type()
327 edge &= ~bit; in asic3_gpio_irq_type()
329 edge |= bit; in asic3_gpio_irq_type()
[all …]
/linux-2.6.39/drivers/video/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-2.6.39/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
/linux-2.6.39/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-2.6.39/Documentation/pps/
Dpps.txt208 so it is used for PPS assert edge. PPS clear edge can be determined only
212 geared towards using the clear edge for time synchronization.
214 Clear edge polling is done with disabled interrupts so it's better to select
215 delay between assert and clear edge as small as possible to reduce system
216 latencies. But if it is too small slave won't be able to capture clear edge
/linux-2.6.39/arch/blackfin/include/asm/
Dgpio.h156 unsigned short edge; member
194 unsigned short edge; member
/linux-2.6.39/arch/blackfin/kernel/
Dbfin_gpio.c412 SET_GPIO(edge) /* set_gpio_edge() */ in SET_GPIO()
471 SET_GPIO_P(edge)
497 GET_GPIO(edge)
524 GET_GPIO_P(edge)
621 gpio_bank_saved[bank].edge = gpio_array[bank]->edge; in bfin_gpio_pm_hibernate_suspend()
650 gpio_array[bank]->edge = gpio_bank_saved[bank].edge; in bfin_gpio_pm_hibernate_restore()
/linux-2.6.39/Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/cpm/
Dpic.txt9 - 2 is falling edge
/linux-2.6.39/drivers/net/
Dsmc-ultra32.c174 int i, edge, media, retval; in ultra32_probe1() local
193 edge = inb(ioaddr + ULTRA32_CFG5) & 0x08; in ultra32_probe1()
196 (edge ? "Edge Triggered" : "Level Sensitive")); in ultra32_probe1()
/linux-2.6.39/drivers/spi/
Dspi_nuc900.c241 static void nuc900_tx_edge(struct nuc900_spi *hw, unsigned int edge) in nuc900_tx_edge() argument
250 if (edge) in nuc900_tx_edge()
259 static void nuc900_rx_edge(struct nuc900_spi *hw, unsigned int edge) in nuc900_rx_edge() argument
268 if (edge) in nuc900_rx_edge()
/linux-2.6.39/drivers/net/wireless/ath/ath5k/
Deeprom.c1640 rep[j].edge = (val >> 8) & pmask; in ath5k_eeprom_read_ctl_info()
1642 rep[j + 1].edge = val & pmask; in ath5k_eeprom_read_ctl_info()
1665 rep[0].edge = (val >> 2) & pmask; in ath5k_eeprom_read_ctl_info()
1666 rep[1].edge = (val << 4) & pmask; in ath5k_eeprom_read_ctl_info()
1669 rep[1].edge |= (val >> 12) & 0xf; in ath5k_eeprom_read_ctl_info()
1670 rep[2].edge = (val >> 6) & pmask; in ath5k_eeprom_read_ctl_info()
1671 rep[3].edge = val & pmask; in ath5k_eeprom_read_ctl_info()
1674 rep[4].edge = (val >> 10) & pmask; in ath5k_eeprom_read_ctl_info()
1675 rep[5].edge = (val >> 4) & pmask; in ath5k_eeprom_read_ctl_info()
1676 rep[6].edge = (val << 2) & pmask; in ath5k_eeprom_read_ctl_info()
[all …]
/linux-2.6.39/include/linux/
Dpps.h119 int edge; /* selected event type */ member
/linux-2.6.39/virt/kvm/
Dioapic.c209 int edge = (entry.fields.trig_mode == IOAPIC_EDGE_TRIG); in kvm_ioapic_set_irq() local
211 if ((edge && old_irr != ioapic->irr) || in kvm_ioapic_set_irq()
212 (!edge && !entry.fields.remote_irr)) in kvm_ioapic_set_irq()

1234