/linux-4.4.14/drivers/soc/qcom/ |
H A D | smd.c | 99 * @of_node: of_node handle for information related to this edge 100 * @edge_id: identifier of this edge 102 * @irq: interrupt for signals on this edge 106 * @channels: list of all channels detected on this edge 111 * @work: work item for edge house keeping 151 * @edge: qcom_smd_edge this channel is living on 170 struct qcom_smd_edge *edge; member in struct:qcom_smd_channel 327 * @flags: channel flags and edge id 352 struct qcom_smd_edge *edge = channel->edge; qcom_smd_signal_channel() local 354 regmap_write(edge->ipc_regmap, edge->ipc_offset, BIT(edge->ipc_bit)); qcom_smd_signal_channel() 400 struct qcom_smd_edge *edge = channel->edge; qcom_smd_channel_set_state() local 406 dev_dbg(edge->smd->dev, "set_state(%s, %d)\n", channel->name, state); qcom_smd_channel_set_state() 601 * The edge interrupts are triggered by the remote processor on state changes, 606 struct qcom_smd_edge *edge = data; qcom_smd_edge_intr() local 612 * Handle state changes or data on each of the channels on this edge qcom_smd_edge_intr() 614 spin_lock(&edge->channels_lock); qcom_smd_edge_intr() 615 list_for_each_entry(channel, &edge->channels, list) { qcom_smd_edge_intr() 620 spin_unlock(&edge->channels_lock); qcom_smd_edge_intr() 627 available = qcom_smem_get_free_space(edge->remote_pid); qcom_smd_edge_intr() 628 if (available != edge->smem_available) { qcom_smd_edge_intr() 629 edge->smem_available = available; qcom_smd_edge_intr() 630 edge->need_rescan = true; qcom_smd_edge_intr() 635 schedule_work(&edge->work); qcom_smd_edge_intr() 940 struct qcom_smd_edge *edge = channel->edge; qcom_smd_create_device() local 942 struct qcom_smd *smd = edge->smd; qcom_smd_create_device() 954 node = qcom_smd_match_channel(edge->of_node, channel->name); qcom_smd_create_device() 956 edge->of_node->name, qcom_smd_create_device() 1018 static struct qcom_smd_channel *qcom_smd_create_channel(struct qcom_smd_edge *edge, qcom_smd_create_channel() argument 1024 struct qcom_smd *smd = edge->smd; qcom_smd_create_channel() 1035 channel->edge = edge; qcom_smd_create_channel() 1044 info = qcom_smem_get(edge->remote_pid, smem_info_item, &info_size); qcom_smd_create_channel() 1065 fifo_base = qcom_smem_get(edge->remote_pid, smem_fifo_item, &fifo_size); qcom_smd_create_channel() 1095 * them to the edge's list of channels. 1097 static void qcom_discover_channels(struct qcom_smd_edge *edge) qcom_discover_channels() argument 1102 struct qcom_smd *smd = edge->smd; qcom_discover_channels() 1111 alloc_tbl = qcom_smem_get(edge->remote_pid, qcom_discover_channels() 1119 if (test_bit(i, edge->allocated[tbl])) qcom_discover_channels() 1131 if ((eflags & SMD_CHANNEL_FLAGS_EDGE_MASK) != edge->edge_id) qcom_discover_channels() 1138 channel = qcom_smd_create_channel(edge, info_id, fifo_id, entry->name); qcom_discover_channels() 1142 spin_lock_irqsave(&edge->channels_lock, flags); qcom_discover_channels() 1143 list_add(&channel->list, &edge->channels); qcom_discover_channels() 1144 spin_unlock_irqrestore(&edge->channels_lock, flags); qcom_discover_channels() 1147 set_bit(i, edge->allocated[tbl]); qcom_discover_channels() 1151 schedule_work(&edge->work); qcom_discover_channels() 1155 * This per edge worker scans smem for any new channels and register these. It 1159 * LOCKING: edge->channels_lock is not needed to be held during the traversal 1165 struct qcom_smd_edge *edge = container_of(work, qcom_channel_state_worker() local 1173 if (edge->need_rescan) { qcom_channel_state_worker() 1174 edge->need_rescan = false; qcom_channel_state_worker() 1175 qcom_discover_channels(edge); qcom_channel_state_worker() 1182 list_for_each_entry(channel, &edge->channels, list) { qcom_channel_state_worker() 1198 list_for_each_entry(channel, &edge->channels, list) { qcom_channel_state_worker() 1213 * Parses an of_node describing an edge. 1217 struct qcom_smd_edge *edge) qcom_smd_parse_edge() 1224 INIT_LIST_HEAD(&edge->channels); qcom_smd_parse_edge() 1225 spin_lock_init(&edge->channels_lock); qcom_smd_parse_edge() 1227 INIT_WORK(&edge->work, qcom_channel_state_worker); qcom_smd_parse_edge() 1229 edge->of_node = of_node_get(node); qcom_smd_parse_edge() 1239 node->name, edge); qcom_smd_parse_edge() 1245 edge->irq = irq; qcom_smd_parse_edge() 1247 key = "qcom,smd-edge"; qcom_smd_parse_edge() 1248 ret = of_property_read_u32(node, key, &edge->edge_id); qcom_smd_parse_edge() 1250 dev_err(dev, "edge missing %s property\n", key); qcom_smd_parse_edge() 1254 edge->remote_pid = QCOM_SMEM_HOST_ANY; qcom_smd_parse_edge() 1256 of_property_read_u32(node, key, &edge->remote_pid); qcom_smd_parse_edge() 1264 edge->ipc_regmap = syscon_node_to_regmap(syscon_np); qcom_smd_parse_edge() 1265 if (IS_ERR(edge->ipc_regmap)) qcom_smd_parse_edge() 1266 return PTR_ERR(edge->ipc_regmap); qcom_smd_parse_edge() 1269 ret = of_property_read_u32_index(node, key, 1, &edge->ipc_offset); qcom_smd_parse_edge() 1275 ret = of_property_read_u32_index(node, key, 2, &edge->ipc_bit); qcom_smd_parse_edge() 1286 struct qcom_smd_edge *edge; qcom_smd_probe() local 1309 edge = &smd->edges[i++]; qcom_smd_probe() 1310 edge->smd = smd; qcom_smd_probe() 1312 ret = qcom_smd_parse_edge(&pdev->dev, node, edge); qcom_smd_probe() 1316 edge->need_rescan = true; qcom_smd_probe() 1317 schedule_work(&edge->work); qcom_smd_probe() 1326 * Shut down all smd clients by making sure that each edge stops processing 1332 struct qcom_smd_edge *edge; qcom_smd_remove() local 1337 edge = &smd->edges[i]; qcom_smd_remove() 1339 disable_irq(edge->irq); qcom_smd_remove() 1340 cancel_work_sync(&edge->work); qcom_smd_remove() 1342 list_for_each_entry(channel, &edge->channels, list) { qcom_smd_remove() 1215 qcom_smd_parse_edge(struct device *dev, struct device_node *node, struct qcom_smd_edge *edge) qcom_smd_parse_edge() argument
|
/linux-4.4.14/arch/sparc/include/asm/ |
H A D | sunbpp.h | 69 #define P_DS_IRQ_EN 0x0200 /* RW Always on rising edge */ 70 #define P_ACK_IRQ_EN 0x0100 /* RW Always on rising edge */ 71 #define P_BUSY_IRP 0x0080 /* RW 1= rising edge */ 73 #define P_PE_IRP 0x0020 /* RW 1= rising edge */ 75 #define P_SLCT_IRP 0x0008 /* RW 1= rising edge */ 77 #define P_ERR_IRP 0x0002 /* RW1 1= rising edge */
|
/linux-4.4.14/arch/avr32/mach-at32ap/include/mach/ |
H A D | smc.h | 67 * 0: Data is sampled on rising edge of NCS 68 * 1: Data is sampled on rising edge of NRD 73 * 0: Data is driven on falling edge of NCS 74 * 1: Data is driven on falling edge of NWR 94 * the rising edge of the read controlling signal
|
/linux-4.4.14/net/ipv4/ |
H A D | tcp_vegas.h | 9 u32 beg_snd_nxt; /* right edge during last RTT */ 10 u32 beg_snd_una; /* left edge during last RTT */
|
/linux-4.4.14/include/linux/mfd/pcf50633/ |
H A D | core.h | 174 PCF50633_INT2_ONKEYR = 0x01, /* ONKEY rising edge */ 175 PCF50633_INT2_ONKEYF = 0x02, /* ONKEY falling edge */ 176 PCF50633_INT2_EXTON1R = 0x04, /* EXTON1 rising edge */ 177 PCF50633_INT2_EXTON1F = 0x08, /* EXTON1 falling edge */ 178 PCF50633_INT2_EXTON2R = 0x10, /* EXTON2 rising edge */ 179 PCF50633_INT2_EXTON2F = 0x20, /* EXTON2 falling edge */ 180 PCF50633_INT2_EXTON3R = 0x40, /* EXTON3 rising edge */ 181 PCF50633_INT2_EXTON3F = 0x80, /* EXTON3 falling edge */
|
/linux-4.4.14/arch/arm/mach-pxa/include/mach/ |
H A D | regs-rtc.h | 20 #define RTSR_HZ (1 << 1) /* HZ rising-edge detected */
|
/linux-4.4.14/drivers/power/reset/ |
H A D | gpio-poweroff.c | 32 /* drive it active, also inactive->active edge */ gpio_poweroff_do_poweroff() 35 /* drive inactive, also active->inactive edge */ gpio_poweroff_do_poweroff() 39 /* drive it active, also inactive->active edge */ gpio_poweroff_do_poweroff()
|
H A D | gpio-restart.c | 40 /* drive it active, also inactive->active edge */ gpio_restart_notify() 44 /* drive inactive, also active->inactive edge */ gpio_restart_notify() 48 /* drive it active, also inactive->active edge */ gpio_restart_notify()
|
/linux-4.4.14/arch/arm/boot/dts/ |
H A D | st-pincfg.h | 48 * single-edge data non inverted clock, retime data with clk 53 * single-edge data inverted clock, retime data with clk 58 * double-edge data, retime data with clk
|
/linux-4.4.14/drivers/pps/ |
H A D | kc.c | 54 if (bind_args->edge == 0) pps_kc_bind() 70 pps_kc_hardpps_mode = bind_args->edge; pps_kc_bind() 74 "edge=0x%x\n", bind_args->edge); pps_kc_bind() 108 * @event: PPS event edge
|
H A D | pps.c | 217 if ((bind_args.edge & ~pps->info.mode) != 0) { pps_cdev_ioctl() 219 bind_args.edge); pps_cdev_ioctl() 225 (bind_args.edge & ~PPS_CAPTUREBOTH) != 0 || pps_cdev_ioctl() 228 " parameters (%x)\n", bind_args.edge); pps_cdev_ioctl()
|
/linux-4.4.14/drivers/media/pci/cobalt/ |
H A D | cobalt-irq.c | 152 u32 edge = cobalt_read_bar1(cobalt, COBALT_SYS_STAT_EDGE); cobalt_irq_handler() local 157 cobalt_write_bar1(cobalt, COBALT_SYS_STAT_MASK, mask & ~edge); cobalt_irq_handler() 158 cobalt_write_bar1(cobalt, COBALT_SYS_STAT_EDGE, edge); cobalt_irq_handler() 170 edge &= ~dma_fifo_mask; cobalt_irq_handler() 172 mask & ~edge); cobalt_irq_handler() 177 if (edge & s->adv_irq_mask) cobalt_irq_handler() 179 if ((edge & mask & dma_fifo_mask) && vb2_is_streaming(&s->q)) { cobalt_irq_handler() 187 if (edge & mask & (COBALT_SYSSTAT_VI0_INT1_MSK | cobalt_irq_handler() 194 if (edge & mask & (COBALT_SYSSTAT_VI0_INT2_MSK | cobalt_irq_handler() 200 if (edge & mask & COBALT_SYSSTAT_VOHSMA_INT1_MSK) cobalt_irq_handler() 204 if (!(edge & mask) && !dma_interrupt) cobalt_irq_handler()
|
H A D | m00233_video_measure_memmap_package.h | 28 /* The vertical counter starts on rising edge of vsync */ 33 /* The horizontal counter starts on rising edge of hsync. */ 41 /* falling and rising edge of hsync. Must be non-zero. */
|
/linux-4.4.14/drivers/gpio/ |
H A D | gpio-mxc.c | 176 int edge; gpio_set_irq_type() local 182 edge = GPIO_INT_RISE_EDGE; gpio_set_irq_type() 185 edge = GPIO_INT_FALL_EDGE; gpio_set_irq_type() 189 edge = GPIO_INT_BOTH_EDGES; gpio_set_irq_type() 193 edge = GPIO_INT_LOW_LEV; gpio_set_irq_type() 196 edge = GPIO_INT_HIGH_LEV; gpio_set_irq_type() 203 edge = GPIO_INT_LOW_LEV; gpio_set_irq_type() 206 edge = GPIO_INT_HIGH_LEV; gpio_set_irq_type() 214 if (edge == GPIO_INT_BOTH_EDGES) gpio_set_irq_type() 222 if (edge != GPIO_INT_BOTH_EDGES) { gpio_set_irq_type() 226 writel(val | (edge << (bit << 1)), reg); gpio_set_irq_type() 238 int edge; mxc_flip_edge() local 243 edge = (val >> (bit << 1)) & 3; mxc_flip_edge() 245 if (edge == GPIO_INT_HIGH_LEV) { mxc_flip_edge() 246 edge = GPIO_INT_LOW_LEV; mxc_flip_edge() 248 } else if (edge == GPIO_INT_LOW_LEV) { mxc_flip_edge() 249 edge = GPIO_INT_HIGH_LEV; mxc_flip_edge() 253 gpio, edge); mxc_flip_edge() 256 writel(val | (edge << (bit << 1)), reg); mxc_flip_edge()
|
H A D | gpio-mxs.c | 91 int edge; mxs_gpio_set_irq_type() local 98 edge = GPIO_INT_FALL_EDGE; mxs_gpio_set_irq_type() 100 edge = GPIO_INT_RISE_EDGE; mxs_gpio_set_irq_type() 104 edge = GPIO_INT_RISE_EDGE; mxs_gpio_set_irq_type() 107 edge = GPIO_INT_FALL_EDGE; mxs_gpio_set_irq_type() 110 edge = GPIO_INT_LOW_LEV; mxs_gpio_set_irq_type() 113 edge = GPIO_INT_HIGH_LEV; mxs_gpio_set_irq_type() 119 /* set level or edge */ mxs_gpio_set_irq_type() 121 if (edge & GPIO_INT_LEV_MASK) mxs_gpio_set_irq_type() 128 if (edge & GPIO_INT_POL_MASK) mxs_gpio_set_irq_type() 141 u32 bit, val, edge; mxs_flip_edge() local 148 edge = val & bit; mxs_flip_edge() 150 if (edge) mxs_flip_edge()
|
H A D | gpio-stp-xway.c | 84 u32 edge; /* rising or falling edge triggered shift register */ member in struct:xway_stp 162 /* apply edge trigger settings for the shift register */ xway_stp_hw_init() 164 chip->edge, XWAY_STP_CON0); xway_stp_hw_init() 250 /* check which edge trigger we should use, default to a falling edge */ xway_stp_probe() 252 chip->edge = XWAY_STP_FALLING; xway_stp_probe()
|
H A D | gpio-sa1100.c | 69 * SA1100 GPIO edge detection for IRQs: 236 /* clear all GPIO edge detects */ sa1100_init_gpio() 248 * Install handlers for GPIO 0-10 edge detect interrupts sa1100_init_gpio() 262 * Install handler for GPIO 11-27 edge detect interrupts sa1100_init_gpio()
|
H A D | gpio-intel-mid.c | 58 GRER, /* rising edge detect */ 59 GFER, /* falling edge detect */ 60 GEDR, /* edge detect result */ 320 /* Clear before handling so we can't lose an edge */ intel_mid_irq_handler() 336 /* Clear the rising-edge detect register */ intel_mid_irq_init_hw() 339 /* Clear the falling-edge detect register */ intel_mid_irq_init_hw() 342 /* Clear the edge detect status register */ intel_mid_irq_init_hw()
|
H A D | gpio-pl061.c | 135 "trying to configure line %d for both level and edge " pl061_irq_type() 151 /* Disable edge detection */ pl061_irq_type() 179 /* Select edge */ pl061_irq_type() 185 dev_dbg(gc->dev, "line %d: IRQ on %s edge\n", pl061_irq_type() 254 * pl061_irq_ack() - ACK an edge IRQ 257 * This gets called from the edge IRQ handler to ACK the edge IRQ
|
H A D | gpio-grgpio.c | 138 u32 edge; grgpio_irq_set_type() local 143 edge = 0; grgpio_irq_set_type() 147 edge = 0; grgpio_irq_set_type() 151 edge = mask; grgpio_irq_set_type() 155 edge = mask; grgpio_irq_set_type() 167 priv->bgc.write_reg(priv->regs + GRGPIO_IEDGE, iedge | edge); grgpio_irq_set_type()
|
H A D | gpio-mvebu.c | 26 * turns the edge mask and level mask registers into CPU0 edge 27 * mask/level mask registers, and adds CPU1 edge mask/level mask 30 * the normal cause/edge mask/level mask registers when the global 31 * interrupts are used, but adds per-CPU cause/edge mask/level mask 61 /* The MV78200 has per-CPU registers for edge mask and level mask */ 375 * Both-edge handlers: Similar to regular Edge handlers, but also swaps 540 seq_puts(s, " edge "); mvebu_gpio_dbg_show()
|
H A D | gpio-stmpe.c | 268 edge_det ? "edge-asserted" : "edge-inactive", stmpe_dbg_show_one() 270 rise ? " rising-edge-detection" : "", stmpe_dbg_show_one() 271 fall ? " falling-edge-detection" : ""); stmpe_dbg_show_one()
|
H A D | gpio-ep93xx.c | 124 gpio_int_type2[port] ^= port_mask; /* switch edge direction */ ep93xx_gpio_irq_ack() 138 gpio_int_type2[port] ^= port_mask; /* switch edge direction */ ep93xx_gpio_irq_mask_ack() 166 * edge (1) triggered, while gpio_int_type2 controls whether it
|
H A D | gpio-pxa.c | 60 #define ED_MASK_OFFSET 0x9C /* GPIO edge detection for AP side */ 343 /* Update only those GRERx and GFERx edge detection register bits if those 398 pr_debug("%s: IRQ%d (GPIO%d) - edge%s%s\n", __func__, d->irq, gpio, pxa_gpio_irq_type() 631 /* clear all GPIO edge detects */ for_each_gpio_chip() 636 /* unmask GPIO edge detect for AP side */ for_each_gpio_chip()
|
H A D | gpio-tz1090.c | 285 /* set polarity to trigger on next edge, whether rising or falling */ tz1090_gpio_irq_next_edge() 294 * input value so that the next edge triggers an interrupt. tz1090_gpio_irq_next_edge() 398 /* Toggle edge for pin with both edges triggering enabled */ tz1090_gpio_irq_handler() 471 /* Set up a generic irq chip with 2 chip types (level and edge) */ tz1090_gpio_bank_probe() 499 /* edge chip type */ tz1090_gpio_bank_probe()
|
H A D | gpio-lynxpoint.c | 164 /* set both TRIG_SEL and INV bits to 0 for rising edge */ lp_irq_type() 168 /* TRIG_SEL bit 0, INV bit 1 for falling edge */ lp_irq_type() 256 /* Clear before handling so we don't lose an edge */ lp_gpio_irq_handler()
|
H A D | gpio-rcar.c | 120 /* Configure edge or level trigger in EDGLEVEL */ gpio_rcar_config_interrupt_input_mode() 123 /* Select one edge or both edges in BOTHEDGE */ gpio_rcar_config_interrupt_input_mode() 130 /* Write INTCLR in case of edge trigger */ gpio_rcar_config_interrupt_input_mode()
|
H A D | gpiolib-sysfs.c | 45 * /edge 53 * /edge configuration 289 static DEVICE_ATTR_RW(edge); 307 /* reconfigure poll(2) support if enabled on one edge only */ gpio_sysfs_set_active_low()
|
/linux-4.4.14/arch/m68k/coldfire/ |
H A D | intc-5272.c | 34 * Note that the external interrupts are edge triggered (unlike the 142 * Simple flow handler to deal with the external edge triggered interrupts. 163 int irq, edge; init_IRQ() local 173 edge = 0; init_IRQ() 175 edge = intc_irqmap[irq - MCFINT_VECBASE].ack; init_IRQ() 176 if (edge) { init_IRQ()
|
H A D | intc-2.c | 11 * ColdFire parts. They can be configured as level or edge triggered. 93 * if they are in edge triggered mode, but there is no harm in doing it
|
/linux-4.4.14/drivers/staging/sm750fb/ |
H A D | ddk750_sii164.c | 74 * 0 = Input data is falling edge latched (falling edge 75 * latched first in dual edge mode) 76 * 1 = Input data is rising edge latched (rising edge 77 * latched first in dual edge mode) 82 * 0 = Input data is single edge latched 83 * 1 = Input data is dual edge latched 144 /* Select the edge */ sii164InitChip()
|
/linux-4.4.14/drivers/spi/ |
H A D | spi-bitbang-txrx.h | 56 /* setup MSB (to slave) on trailing edge */ bitbang_txrx_be_cpha0() 68 /* sample MSB (from slave) on leading edge */ bitbang_txrx_be_cpha0() 88 /* setup MSB (to slave) on leading edge */ bitbang_txrx_be_cpha1() 101 /* sample MSB (from slave) on trailing edge */ bitbang_txrx_be_cpha1()
|
H A D | spi-nuc900.c | 223 static void nuc900_tx_edge(struct nuc900_spi *hw, unsigned int edge) nuc900_tx_edge() argument 232 if (edge) nuc900_tx_edge() 241 static void nuc900_rx_edge(struct nuc900_spi *hw, unsigned int edge) nuc900_rx_edge() argument 250 if (edge) nuc900_rx_edge()
|
H A D | spi-falcon.c | 54 /* SCK Rise-edge Position */ 60 /* SCK Fall-edge Position */
|
/linux-4.4.14/drivers/atm/ |
H A D | zeprom.h | 16 #define ZEPROM_SK 0x80000000 /* strobe (probably on raising edge) */
|
H A D | nicstarmac.c | 31 /* Write Data To EEProm from SI line on rising edge of CLK */ 32 /* Read Data From EEProm on falling edge of CLK */ 137 /* Data clocked out of eeprom on falling edge of clock */
|
/linux-4.4.14/drivers/media/pci/saa7134/ |
H A D | saa7134-reg.h | 115 #define SAA7134_IRQ2_INTE_GPIO23_N (1 << 17) /* negative edge */ 116 #define SAA7134_IRQ2_INTE_GPIO23_P (1 << 16) /* positive edge */ 117 #define SAA7134_IRQ2_INTE_GPIO22_N (1 << 15) /* negative edge */ 118 #define SAA7134_IRQ2_INTE_GPIO22_P (1 << 14) /* positive edge */ 119 #define SAA7134_IRQ2_INTE_GPIO18_N (1 << 13) /* negative edge */ 120 #define SAA7134_IRQ2_INTE_GPIO18_P (1 << 12) /* positive edge */ 121 #define SAA7134_IRQ2_INTE_GPIO16_N (1 << 11) /* negative edge */ 122 #define SAA7134_IRQ2_INTE_GPIO16_P (1 << 10) /* positive edge */
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
H A D | s5h1420.h | 38 u8 cdclk_polarity:1; /* 1 == falling edge, 0 == raising edge */
|
H A D | m88ds3103.h | 33 * @ts_clk_pol: TS clk polarity. 1-active at falling edge; 0-active at rising 34 * edge. 119 * Default: 0. 1-active at falling edge; 0-active at rising edge.
|
H A D | atbm8830.h | 46 /* Decoder sample TS data at rising edge of clock */
|
H A D | lgs8gxx.h | 69 /*Sample IF data at falling edge of IF_CLK*/
|
/linux-4.4.14/arch/m68k/include/asm/ |
H A D | mcftimer.h | 34 #define MCFTIMER_TMR_ANYCE 0x00c0 /* Capture any edge */ 36 #define MCFTIMER_TMR_RISECE 0x0040 /* Capture rising edge */
|
/linux-4.4.14/arch/arm/mach-pxa/ |
H A D | reset.c | 64 /* rising edge or drive high */ do_gpio_reset() 67 /* falling edge */ do_gpio_reset()
|
/linux-4.4.14/arch/avr32/mach-at32ap/ |
H A D | extint.c | 94 u32 mode, edge, level; eic_set_irq_type() local 101 edge = eic_readl(eic, EDGE); eic_set_irq_type() 115 edge |= 1 << i; eic_set_irq_type() 119 edge &= ~(1 << i); eic_set_irq_type() 126 eic_writel(eic, EDGE, edge); eic_set_irq_type()
|
/linux-4.4.14/drivers/parisc/ |
H A D | eisa.c | 22 * set an edge trigger level. This may be done on the palo command line 142 /* irq 13,8,2,1,0 must be edge */ 143 static unsigned int eisa_irq_level __read_mostly; /* default to edge triggered */ 285 EISA_DBG("EISA edge/level %04x\n", eisa_irq_level); init_eisa_pic() 287 eisa_out8(eisa_irq_level&0xff, 0x4d0); /* Set all irq's to edge */ init_eisa_pic() 292 EISA_DBG("pic0 edge/level %02x\n", eisa_in8(0x4d0)); init_eisa_pic() 293 EISA_DBG("pic1 edge/level %02x\n", eisa_in8(0x4d1)); init_eisa_pic() 418 "IRQ %d polarity configured twice (last to edge)\n", eisa_make_irq_edge() 443 EISA_DBG("setting IRQ %d to edge-triggered mode\n", val); eisa_irq_setup()
|
/linux-4.4.14/drivers/clk/ |
H A D | clk-axi-clkgen.c | 186 unsigned int *high, unsigned int *edge, unsigned int *nocount) axi_clkgen_calc_clk_params() 194 *edge = divider % 2; axi_clkgen_calc_clk_params() 364 unsigned int edge; axi_clkgen_set_rate() local 380 axi_clkgen_calc_clk_params(dout, &low, &high, &edge, &nocount); axi_clkgen_set_rate() 384 (edge << 7) | (nocount << 6), 0x03ff); axi_clkgen_set_rate() 386 axi_clkgen_calc_clk_params(d, &low, &high, &edge, &nocount); axi_clkgen_set_rate() 388 (edge << 13) | (nocount << 12) | (high << 6) | low, 0x3fff); axi_clkgen_set_rate() 390 axi_clkgen_calc_clk_params(m, &low, &high, &edge, &nocount); axi_clkgen_set_rate() 394 (edge << 7) | (nocount << 6), 0x03ff); axi_clkgen_set_rate() 185 axi_clkgen_calc_clk_params(unsigned int divider, unsigned int *low, unsigned int *high, unsigned int *edge, unsigned int *nocount) axi_clkgen_calc_clk_params() argument
|
/linux-4.4.14/sound/drivers/ |
H A D | portman2x4.c | 298 /* Make sure clocking edge is down before starting... */ portman_read_midi() 299 portman_write_data(pm, 0); /* Make sure edge is down. */ portman_read_midi() 322 portman_write_data(pm, 1); /* Cause rising edge, which shifts data. */ portman_read_midi() 325 portman_write_data(pm, 0); /* Cause falling edge while data settles. */ portman_read_midi() 327 portman_write_data(pm, 1); /* Cause rising edge, which shifts data. */ portman_read_midi() 330 portman_write_data(pm, 0); /* Cause falling edge while data settles. */ portman_read_midi() 332 portman_write_data(pm, 1); /* Cause rising edge, which shifts data. */ portman_read_midi() 335 portman_write_data(pm, 0); /* Cause falling edge while data settles. */ portman_read_midi() 337 portman_write_data(pm, 1); /* Cause rising edge, which shifts data. */ portman_read_midi() 340 portman_write_data(pm, 0); /* Cause falling edge while data settles. */ portman_read_midi() 342 portman_write_data(pm, 1); /* Cause rising edge, which shifts data. */ portman_read_midi() 345 portman_write_data(pm, 0); /* Cause falling edge while data settles. */ portman_read_midi() 347 portman_write_data(pm, 1); /* Cause rising edge, which shifts data. */ portman_read_midi() 350 portman_write_data(pm, 0); /* Cause falling edge while data settles. */ portman_read_midi() 352 portman_write_data(pm, 1); /* Cause rising edge, which shifts data. */ portman_read_midi() 355 portman_write_data(pm, 0); /* Cause falling edge while data settles. */ portman_read_midi() 357 portman_write_data(pm, 1); /* Cause rising edge, which shifts data. */ portman_read_midi()
|
/linux-4.4.14/include/linux/usb/ |
H A D | isp116x.h | 16 /* INT edge or level triggered */
|
H A D | isp1362.h | 18 /* INT edge or level triggered */
|
/linux-4.4.14/arch/score/include/asm/ |
H A D | scoreregs.h | 39 /* bit 8..9 External input active edge selection */
|
/linux-4.4.14/arch/arm/mach-omap1/ |
H A D | fpga.c | 126 * edge-sensitive; the touchscreen is level-sensitive. The edge-sensitive 128 * status register from the FPGA. The edge-sensitive interrupt inputs 166 * edge-sensitive, so we won't mask them. omap1510_fpga_init_irq()
|
H A D | ams-delta-fiq.c | 67 * OMAP GPIO edge interrupts default to, deferred_fiq() 110 * switch to edge triggered interrupt type manually. ams_delta_init_fiq()
|
/linux-4.4.14/sound/soc/davinci/ |
H A D | davinci-i2s.c | 350 * 1 - sampled on rising edge of CLKR davinci_i2s_set_dai_fmt() 351 * valid on rising edge davinci_i2s_set_dai_fmt() 353 * 1 - clocked on falling edge of CLKX davinci_i2s_set_dai_fmt() 354 * valid on rising edge davinci_i2s_set_dai_fmt() 362 * 0 - sampled on falling edge of CLKR davinci_i2s_set_dai_fmt() 363 * valid on falling edge davinci_i2s_set_dai_fmt() 365 * 0 - clocked on rising edge of CLKX davinci_i2s_set_dai_fmt() 366 * valid on falling edge davinci_i2s_set_dai_fmt() 374 * 1 - sampled on rising edge of CLKR davinci_i2s_set_dai_fmt() 375 * valid on rising edge davinci_i2s_set_dai_fmt() 377 * 1 - clocked on falling edge of CLKX davinci_i2s_set_dai_fmt() 378 * valid on rising edge davinci_i2s_set_dai_fmt() 387 * 0 - sampled on falling edge of CLKR davinci_i2s_set_dai_fmt() 388 * valid on falling edge davinci_i2s_set_dai_fmt() 390 * 0 - clocked on rising edge of CLKX davinci_i2s_set_dai_fmt() 391 * valid on falling edge davinci_i2s_set_dai_fmt()
|
/linux-4.4.14/drivers/gpu/drm/ast/ |
H A D | ast_dp501.c | 330 /* multi-pins for DVO single-edge */ ast_init_dvo() 335 /* multi-pins for DVO single-edge */ ast_init_dvo() 340 /* multi-pins for DVO single-edge */ ast_init_dvo() 346 /* multi-pins for DVO single-edge */ ast_init_dvo() 351 /* multi-pins for DVO single-edge */ ast_init_dvo() 356 /* multi-pins for DVO single-edge */ ast_init_dvo() 361 /* multi-pins for DVO single-edge */ ast_init_dvo() 366 /* multi-pins for DVO single-edge */ ast_init_dvo()
|
/linux-4.4.14/include/video/ |
H A D | display_timing.h | 24 /* drive data on pos. edge */ 26 /* drive data on neg. edge */
|
H A D | sh_mobile_lcdc.h | 132 #define LCDC_FLAGS_DWPOL (1 << 0) /* Rising edge dot clock data latch */
|
/linux-4.4.14/include/media/ |
H A D | tvp7002.h | 34 * 0 - Data clocked out on rising edge of DATACLK signal 35 * 1 - Data clocked out on falling edge of DATACLK signal
|
/linux-4.4.14/include/sound/ |
H A D | soc-dai.h | 57 * - "normal" polarity means signal is available at rising edge of BCLK 58 * - "inverted" polarity means signal is available at falling edge of BCLK 62 * with falling FSYNC edge, right channel starts with rising FSYNC edge. 64 * Left channel starts with rising FSYNC edge, right channel starts with 65 * falling FSYNC edge. 66 * - DSP A/B: Frame starts with rising FSYNC edge. 67 * - AC97: Frame starts with rising FSYNC edge.
|
H A D | cs8427.h | 109 #define CS8427_SISPOL (1<<1) /* ICLK clock polarity, 0 = rising edge of ISCLK, 1 = falling edge of ISCLK */ 122 #define CS8427_SOSPOL (1<<1) /* OSCLK clock polarity, 0 = rising edge of ISCLK, 1 = falling edge of ISCLK */
|
/linux-4.4.14/arch/powerpc/sysdev/ |
H A D | xilinx_intc.c | 18 * irq lines). Therefore, this driver does not attempt to handle edge 49 /* The following table allows the interrupt type, edge or level, 70 * used for level and edge type interrupts. 72 * IRQ Chip common (across level and edge) operations 113 * IRQ Chip edge operations 159 * interrupt number, the 2nd being the interrupt type, edge or level xilinx_intc_xlate()
|
H A D | i8259.c | 159 .name = "8259 edge control", 241 outb(0x04, 0x21); /* edge tiggered, Cascade (slave) on IRQ2 */ i8259_init() 247 outb(0x02, 0xA1); /* edge triggered, Cascade (slave) on IRQ2 */ i8259_init()
|
/linux-4.4.14/fs/btrfs/ |
H A D | relocation.c | 272 struct backref_edge *edge; alloc_backref_edge() local 274 edge = kzalloc(sizeof(*edge), GFP_NOFS); alloc_backref_edge() 275 if (edge) alloc_backref_edge() 277 return edge; alloc_backref_edge() 281 struct backref_edge *edge) free_backref_edge() 283 if (edge) { free_backref_edge() 285 kfree(edge); free_backref_edge() 350 struct backref_edge *edge; walk_up_backref() local 354 edge = list_entry(node->upper.next, walk_up_backref() 356 edges[idx++] = edge; walk_up_backref() 357 node = edge->node[UPPER]; walk_up_backref() 370 struct backref_edge *edge; walk_down_backref() local 375 edge = edges[idx - 1]; walk_down_backref() 376 lower = edge->node[LOWER]; walk_down_backref() 377 if (list_is_last(&edge->list[LOWER], &lower->upper)) { walk_down_backref() 381 edge = list_entry(edge->list[LOWER].next, walk_down_backref() 383 edges[idx - 1] = edge; walk_down_backref() 385 return edge->node[UPPER]; walk_down_backref() 428 struct backref_edge *edge; remove_backref_node() local 435 edge = list_entry(node->upper.next, struct backref_edge, remove_backref_node() 437 upper = edge->node[UPPER]; remove_backref_node() 438 list_del(&edge->list[LOWER]); remove_backref_node() 439 list_del(&edge->list[UPPER]); remove_backref_node() 440 free_backref_edge(cache, edge); remove_backref_node() 693 struct backref_edge *edge; local 751 edge = list_entry(cur->upper.next, struct backref_edge, 753 ASSERT(list_empty(&edge->list[UPPER])); 754 exist = edge->node[UPPER]; 760 list_add_tail(&edge->list[UPPER], &list); 849 edge = alloc_backref_edge(cache); 850 if (!edge) { 858 free_backref_edge(cache, edge); 868 list_add_tail(&edge->list[UPPER], &list); 873 INIT_LIST_HEAD(&edge->list[UPPER]); 875 list_add_tail(&edge->list[LOWER], &cur->upper); 876 edge->node[LOWER] = cur; 877 edge->node[UPPER] = upper; 940 edge = alloc_backref_edge(cache); 941 if (!edge) { 951 free_backref_edge(cache, edge); 979 list_add_tail(&edge->list[UPPER], 984 INIT_LIST_HEAD(&edge->list[UPPER]); 990 INIT_LIST_HEAD(&edge->list[UPPER]); 994 list_add_tail(&edge->list[LOWER], &lower->upper); 995 edge->node[LOWER] = lower; 996 edge->node[UPPER] = upper; 1023 edge = list_entry(list.next, struct backref_edge, list[UPPER]); 1024 list_del_init(&edge->list[UPPER]); 1025 cur = edge->node[UPPER]; 1043 list_for_each_entry(edge, &node->upper, list[LOWER]) 1044 list_add_tail(&edge->list[UPPER], &list); 1047 edge = list_entry(list.next, struct backref_edge, list[UPPER]); 1048 list_del_init(&edge->list[UPPER]); 1049 upper = edge->node[UPPER]; 1051 list_del(&edge->list[LOWER]); 1052 lower = edge->node[LOWER]; 1053 free_backref_edge(cache, edge); 1065 list_add_tail(&edge->list[UPPER], &upper->lower); 1092 list_add_tail(&edge->list[UPPER], &upper->lower); 1094 list_for_each_entry(edge, &upper->upper, list[LOWER]) 1095 list_add_tail(&edge->list[UPPER], &list); 1114 edge = list_entry(upper->lower.next, 1116 list_del(&edge->list[UPPER]); 1117 list_del(&edge->list[LOWER]); 1118 lower = edge->node[LOWER]; 1119 free_backref_edge(cache, edge); 1143 edge = list_first_entry(&list, struct backref_edge, 1145 list_del(&edge->list[UPPER]); 1146 list_del(&edge->list[LOWER]); 1147 lower = edge->node[LOWER]; 1148 upper = edge->node[UPPER]; 1149 free_backref_edge(cache, edge); 1163 list_for_each_entry(edge, &upper->upper, list[LOWER]) 1164 list_add_tail(&edge->list[UPPER], &list); 1195 struct backref_edge *edge; clone_backref_node() local 1235 list_for_each_entry(edge, &node->lower, list[UPPER]) { clone_backref_node() 1241 new_edge->node[LOWER] = edge->node[LOWER]; clone_backref_node() 2564 struct backref_edge *edge; calcu_metadata_size() local 2582 edge = list_entry(next->upper.next, calcu_metadata_size() 2584 edges[index++] = edge; calcu_metadata_size() 2585 next = edge->node[UPPER]; calcu_metadata_size() 2643 struct backref_edge *edge; do_relocation() local 2658 list_for_each_entry(edge, &node->upper, list[LOWER]) { do_relocation() 2661 upper = edge->node[UPPER]; do_relocation() 2838 struct backref_edge *edge; update_processed_blocks() local 2853 edge = list_entry(next->upper.next, update_processed_blocks() 2855 edges[index++] = edge; update_processed_blocks() 2856 next = edge->node[UPPER]; update_processed_blocks() 280 free_backref_edge(struct backref_cache *cache, struct backref_edge *edge) free_backref_edge() argument
|
/linux-4.4.14/arch/sparc/kernel/ |
H A D | visemul.c | 78 /* 000000000 - Eight 8-bit edge boundary processing */ 81 /* 000000001 - Eight 8-bit edge boundary processing, no CC */ 84 /* 000000010 - Eight 8-bit edge boundary processing, little-endian */ 87 /* 000000011 - Eight 8-bit edge boundary processing, little-endian, no CC */ 90 /* 000000100 - Four 16-bit edge boundary processing */ 93 /* 000000101 - Four 16-bit edge boundary processing, no CC */ 96 /* 000000110 - Four 16-bit edge boundary processing, little-endian */ 99 /* 000000111 - Four 16-bit edge boundary processing, little-endian, no CC */ 102 /* 000001000 - Two 32-bit edge boundary processing */ 105 /* 000001001 - Two 32-bit edge boundary processing, no CC */ 108 /* 000001010 - Two 32-bit edge boundary processing, little-endian */ 111 /* 000001011 - Two 32-bit edge boundary processing, little-endian, no CC */ 293 static void edge(struct pt_regs *regs, unsigned int insn, unsigned int opf) edge() function 870 edge(regs, insn, opf); vis_emul()
|
/linux-4.4.14/arch/mips/sgi-ip32/ |
H A D | ip32-irq.c | 79 * 22 -> 30 RE empty edge (E) 80 * 23 -> 31 RE full edge (E) 81 * 24 -> 32 RE idle edge (E) 291 /* edge triggered */ mask_and_ack_maceisa_irq() 361 /* change this to loop over all edge-triggered irqs, exception masked out ones */ ip32_irq0() 479 "edge"); arch_init_irq() 488 "edge"); arch_init_irq()
|
/linux-4.4.14/drivers/staging/olpc_dcon/ |
H A D | olpc_dcon_xo_1.c | 82 /* Select edge level for interrupt (in PIC) */ dcon_init_xo_1() 118 /* Clear the negative edge status for GPIO7 and GPIO12 */ dcon_init_xo_1() 194 /* Clear the negative edge status for GPIO7 */ dcon_read_status_xo_1()
|
/linux-4.4.14/drivers/media/rc/img-ir/ |
H A D | img-ir-raw.c | 41 /* report the edge to the IR raw decoders */ img_ir_refresh_raw() 94 /* clear and enable edge interrupts */ img_ir_setup_raw() 144 /* switch off and disable raw (edge) interrupts */ img_ir_remove_raw()
|
H A D | img-ir-core.c | 38 /* hand off edge interrupts to raw decode handler */ img_ir_isr()
|
/linux-4.4.14/sound/pci/ice1712/ |
H A D | delta.h | 71 /* (writing on rising edge - 0->1) */ 108 /* (writing on rising edge - 0->1 */ 124 /* (clocking on rising edge - 0->1) */
|
/linux-4.4.14/drivers/staging/comedi/drivers/ |
H A D | addi_apci_1032.c | 66 * - COMEDI_DIGITAL_TRIG_ENABLE_EDGES = OR (edge) interrupts 69 * data[4] : rising-edge/high level channels 70 * data[5] : falling-edge/low level channels 94 unsigned int mode1; /* rising-edge/high level channels */ 95 unsigned int mode2; /* falling-edge/low level channels */ 96 unsigned int ctrl; /* interrupt mode OR (edge) . AND (level) */
|
H A D | plx9052.h | 36 #define PLX9052_INTCSR_LI1SEL (1 << 8) /* LI1 edge */ 37 #define PLX9052_INTCSR_LI2SEL (1 << 9) /* LI2 edge */
|
H A D | pcmmio.c | 33 * (with edge-triggered interrupt support) 43 * are basically edge-triggered interrupts for any configuration of the 48 * A few words about edge-detection IRQ support (commands on DIO): 50 * To use edge-detection IRQ support for the DIO subdevice, pass the IRQ 55 * comedi_command in order to use edge-triggered interrupts for DIO. 58 * time an edge is detected on the specified DIO line(s), and the data 65 * To set the polarity of the edge-detection interrupts pass a nonzero value 66 * for either CR_RANGE or CR_AREF for edge-up polarity, or a zero 67 * value for both CR_RANGE and CR_AREF if you want edge-down polarity. 71 * [1] - IRQ (optional -- for edge-detect interrupt support only,
|
H A D | ni_6527.c | 292 /* preserve rising-edge detection channels */ ni6527_set_edge_detection() 296 /* preserve falling-edge detection channels */ ni6527_set_edge_detection() 301 /* update rising-edge detection channels */ ni6527_set_edge_detection() 304 /* update falling-edge detection channels */ ni6527_set_edge_detection() 371 /* disable edge detection */ ni6527_reset()
|
H A D | addi_apci_1564.c | 118 unsigned int mode1; /* riding-edge/high level channels */ 119 unsigned int mode2; /* falling-edge/low level channels */ 120 unsigned int ctrl; /* interrupt mode OR (edge) . AND (level) */ 279 * COMEDI_DIGITAL_TRIG_ENABLE_EDGES = OR (edge) interrupts 282 * data[4] : rising-edge/high level channels 283 * data[5] : falling-edge/low level channels
|
H A D | ni_65xx.c | 298 /* updates edge detection for base_chan to base_chan+31 */ ni_65xx_update_edge_detection() 347 /* clear edge detection for channels 0 to 31 */ ni_65xx_disable_edge_detection() 349 /* clear edge detection for channels 32 to 63 */ ni_65xx_disable_edge_detection() 351 /* clear edge detection for channels 64 to 95 */ ni_65xx_disable_edge_detection() 579 /* update edge detection for channels 0 to 31 */ ni_65xx_intr_insn_config() 581 /* clear edge detection for channels 32 to 63 */ ni_65xx_intr_insn_config() 583 /* clear edge detection for channels 64 to 95 */ ni_65xx_intr_insn_config() 597 * update edge detection for channels data[3] ni_65xx_intr_insn_config()
|
H A D | pcmuio.c | 32 * basis). Also, each chip supports edge-triggered interrupts for the first 45 * To use edge-detection IRQ support, pass the IRQs of both ASICS (for the 48 * edge is triggered, and the data values will be two sample_t's, which 54 * To set the polarity of the edge-detection interrupts pass a nonzero value 55 * for either CR_RANGE or CR_AREF for edge-up polarity, or a zero value for 56 * both CR_RANGE and CR_AREF if you want edge-down polarity. 60 * On subdev 0, the first 24 channels channels are edge-detect channels. 62 * In the 96-channel board you have the following channels that can do edge
|
H A D | amplc_pc236.c | 36 * a rising edge on port C bit 3 acts as an external trigger, which can be
|
H A D | amplc_pci230.c | 100 * TRIG_EXT is not supported. The trigger is a rising edge 107 * convert_arg == (CR_EDGE | 0) => rising edge 108 * convert_arg == (CR_EDGE | CR_INVERT | 0) => falling edge 109 * convert_arg == 0 => falling edge (backwards compatibility) 110 * convert_arg == 1 => rising edge (backwards compatibility) 152 * input (PCI230+ pin 25). Triggering will be on the rising edge 254 #define PCI230P2_DAC_TRIG_EXTP (2 << 2) /* EXTTRIG +ve edge trigger */ 255 #define PCI230P2_DAC_TRIG_EXTN (3 << 2) /* EXTTRIG -ve edge trigger */ 256 #define PCI230P2_DAC_TRIG_Z2CT0 (4 << 2) /* CT0-OUT +ve edge trigger */ 257 #define PCI230P2_DAC_TRIG_Z2CT1 (5 << 2) /* CT1-OUT +ve edge trigger */ 258 #define PCI230P2_DAC_TRIG_Z2CT2 (6 << 2) /* CT2-OUT +ve edge trigger */ 309 #define PCI230_ADC_TRIG_EXTP (2 << 0) /* EXTTRIG +ve edge trigger */ 310 #define PCI230_ADC_TRIG_EXTN (3 << 0) /* EXTTRIG -ve edge trigger */ 311 #define PCI230_ADC_TRIG_Z2CT0 (4 << 0) /* CT0-OUT +ve edge trigger */ 312 #define PCI230_ADC_TRIG_Z2CT1 (5 << 0) /* CT1-OUT +ve edge trigger */ 313 #define PCI230_ADC_TRIG_Z2CT2 (6 << 0) /* CT2-OUT +ve edge trigger */ 1235 /* +ve edge */ pci230_ao_start() 1238 /* -ve edge */ pci230_ao_start() 1597 * => trigger on +ve edge. pci230_ai_cmdtest() 1599 * => trigger on -ve edge. pci230_ai_cmdtest() 1623 * convert_arg == 0 => trigger on -ve edge. pci230_ai_cmdtest() 1624 * convert_arg == 1 => trigger on +ve edge. pci230_ai_cmdtest() 1885 /* Trigger on +ve edge. */ pci230_ai_start() 1888 /* Trigger on -ve edge. */ pci230_ai_start() 1894 /* Trigger on +ve edge. */ pci230_ai_start() 1897 /* Trigger on -ve edge. */ pci230_ai_start() 1957 * Monostable CT0 triggered by rising edge on pci230_ai_start() 1958 * inverted output of CT1 (falling edge on CT1). pci230_ai_start() 2227 * rising edge on the trigger (gate) input of CT0 will pci230_ai_cmd()
|
H A D | s526.c | 67 #define S526_DIO_CTRL_DIO3_NEG BIT(15) /* irq on DIO3 neg/pos edge */ 68 #define S526_DIO_CTRL_DIO2_NEG BIT(14) /* irq on DIO2 neg/pos edge */ 69 #define S526_DIO_CTRL_DIO1_NEG BIT(13) /* irq on DIO1 neg/pos edge */ 70 #define S526_DIO_CTRL_DIO0_NEG BIT(12) /* irq on DIO0 neg/pos edge */ 73 #define S526_DIO_CTRL_GRP2_NEG BIT(8) /* irq on DIO[4-7] neg/pos edge */
|
H A D | addi_apci_1500.c | 450 * COMEDI_DIGITAL_TRIG_ENABLE_EDGES = edge interrupts 453 * data[4] : rising-edge/high level channels 454 * data[5] : falling-edge/low level channels 492 pt |= chan_mask; /* enable edge detection */ apci1500_di_cfg_trig() 493 pp |= hi_mask; /* rising-edge channels */ apci1500_di_cfg_trig() 494 pp &= ~lo_mask; /* falling-edge channels */ apci1500_di_cfg_trig() 508 * for edge detection. apci1500_di_cfg_trig()
|
H A D | amplc_pci236.c | 38 * scan_begin_src=TRIG_EXT, a rising edge on port C bit 3 acts as an
|
H A D | cb_pcidas.c | 53 * start_arg == CR_EDGE => Rising edge 54 * start_arg == CR_EDGE | CR_INVERT => Falling edge 55 * For the other boards the trigger will be done on rising edge 115 #define PCIDAS_AI_PACER_EXTN PCIDAS_AI_PACER(2) /* ext. falling edge */ 116 #define PCIDAS_AI_PACER_EXTP PCIDAS_AI_PACER(3) /* ext. rising edge */ 128 #define PCIDAS_TRIG_MODE BIT(3) /* edge/level trigerred (1602 only) */ 148 #define PCIDAS_AO_PACER_EXTN PCIDAS_AO_PACER(2) /* ext. falling edge */ 149 #define PCIDAS_AO_PACER_EXTP PCIDAS_AO_PACER(3) /* ext. rising edge */
|
H A D | z8536.h | 190 * 1 1 0 One-to-zero transition (falling-edge) 191 * 1 1 1 Zero-to-one transition (rising-edge)
|
H A D | adv_pci_dio.c | 73 #define PCI1730_3_INT_RF 0x0c /* R/W: set falling/raising edge for 89 #define PCI1736_3_INT_RF 0x0c /* R/W: set falling/raising edge for 183 #define CMD_EdgeIDICounters 0x2c /* Set IDI up counters count edge (bit=0 396 unsigned char IDICntEdge; /* counter's count edge value 708 omb[2] = CMD_EdgeIDICounters; /* set IDI up counters count edge */ pci1760_reset() 749 /* set rising edge trigger */ pci_dio_reset() 772 /* set rising edge trigger */ pci_dio_reset()
|
/linux-4.4.14/drivers/media/platform/omap3isp/ |
H A D | omap3isp.h | 40 * 0 - Sample on rising edge, 1 - Sample on falling edge
|
/linux-4.4.14/arch/x86/kvm/ |
H A D | ioapic.c | 179 int edge, ret; ioapic_set_irq() local 182 edge = (entry.fields.trig_mode == IOAPIC_EDGE_TRIG); ioapic_set_irq() 191 * Return 0 for coalesced interrupts; for edge-triggered interrupts, ioapic_set_irq() 192 * this only happens if a previous edge has not been delivered due ioapic_set_irq() 196 * RTC is special: it is edge-triggered, but userspace likes to know ioapic_set_irq() 209 if (edge) ioapic_set_irq() 211 if ((edge && old_irr == ioapic->irr) || ioapic_set_irq() 212 (!edge && entry.fields.remote_irr)) { ioapic_set_irq()
|
H A D | irq.h | 42 u8 last_irr; /* edge detection */ 56 u8 elcr; /* PIIX edge/trigger selection */
|
/linux-4.4.14/drivers/char/ |
H A D | nsc_gpio.c | 34 (config & 16) ? "LEVEL" : "EDGE",/* level/edge input */ nsc_gpio_dump() 35 (config & 32) ? "HI" : "LO", /* trigger on rise/fall edge */ nsc_gpio_dump()
|
/linux-4.4.14/arch/frv/kernel/ |
H A D | irq.c | 125 * - timers all falling-edge init_IRQ() 126 * - ERR0 is rising-edge init_IRQ()
|
H A D | irq-mb93093.c | 120 /* all PIC inputs are all set to be edge triggered */ fpga_init()
|
H A D | irq-mb93091.c | 142 * NMI button (15) which is fixed at falling-edge fpga_init()
|
/linux-4.4.14/tools/testing/selftests/timers/ |
H A D | set-2038.c | 6 * NOTE: This is a meta-test which sets the time to edge cases then 129 /* Test rollover behavior 32bit edge */ main()
|
/linux-4.4.14/drivers/mfd/ |
H A D | asic3.c | 129 u16 edge; asic3_irq_flip_edge() local 133 edge = asic3_read_register(asic, asic3_irq_flip_edge() 135 edge ^= bit; asic3_irq_flip_edge() 137 base + ASIC3_GPIO_EDGE_TRIGGER, edge); asic3_irq_flip_edge() 303 u16 trigger, level, edge, bit; asic3_gpio_irq_type() local 313 edge = asic3_read_register(asic, asic3_gpio_irq_type() 321 edge |= bit; asic3_gpio_irq_type() 324 edge &= ~bit; asic3_gpio_irq_type() 328 edge &= ~bit; asic3_gpio_irq_type() 330 edge |= bit; asic3_gpio_irq_type() 349 edge); asic3_gpio_irq_type()
|
H A D | wm8994-irq.c | 203 /* use a GPIO for edge triggered controllers */ wm8994_irq_init() 240 "WM8994 edge", wm8994); wm8994_irq_init()
|
H A D | pm8921-core.c | 43 #define PM_IRQF_MASK_FE 0x02 /* mask falling edge */ 44 #define PM_IRQF_MASK_RE 0x04 /* mask rising edge */
|
/linux-4.4.14/arch/mn10300/include/asm/ |
H A D | timer-regs.h | 352 #define TM6MD_SRC_TM6IOB_SINGLE 0x0007 /* - TM6IOB pin input (single edge) */ 380 #define TM6MDA_MODE_CAP_S_EDGE 0x80 /* - capture, single edge mode */ 381 #define TM6MDA_MODE_CAP_D_EDGE 0xc0 /* - capture, double edge mode */ 382 #define TM6MDA_EDGE 0x20 /* compare A edge select */ 383 #define TM6MDA_EDGE_FALLING 0x00 /* capture on falling edge */ 384 #define TM6MDA_EDGE_RISING 0x20 /* capture on rising edge */ 400 #define TM6MDB_MODE_CAP_S_EDGE 0x80 /* - capture, single edge mode */ 401 #define TM6MDB_MODE_CAP_D_EDGE 0xc0 /* - capture, double edge mode */ 402 #define TM6MDB_EDGE 0x20 /* compare B edge select */ 403 #define TM6MDB_EDGE_FALLING 0x00 /* capture on falling edge */ 404 #define TM6MDB_EDGE_RISING 0x20 /* capture on rising edge */
|
/linux-4.4.14/drivers/usb/isp1760/ |
H A D | isp1760-core.h | 39 #define ISP1760_FLAG_INTR_EDGE_TRIG 0x00000100 /* Interrupt edge triggered */
|
/linux-4.4.14/drivers/pps/clients/ |
H A D | pps_parport.c | 49 " zero turns clear edge capture off entirely"); 79 /* clear edge capture disabled */ parport_irq() 82 /* try capture the clear edge */ parport_irq() 115 dev_err(dev->pps->dev, "disabled clear edge capture after %d" parport_irq()
|
H A D | pps-gpio.c | 120 if (of_get_property(np, "assert-falling-edge", NULL)) pps_gpio_probe()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | arb.c | 138 + 1 /* 2 edge sync. may be very close to edge so nv10_calc_arb() 144 mclks = 1 /* 2 edge sync. may be very close to edge so nv10_calc_arb()
|
/linux-4.4.14/arch/unicore32/kernel/ |
H A D | irq.c | 34 * PKUnity GPIO edge detection for IRQs: 139 * GPIO0-27 edge IRQs need to be handled specially. 306 /* clear all GPIO edge detects */ init_IRQ() 339 * Install handler for GPIO 0-27 edge detect interrupts init_IRQ()
|
/linux-4.4.14/arch/x86/kernel/apic/ |
H A D | msi.c | 134 .handler_name = "edge", 165 .handler_name = "edge", 203 handle_edge_irq, arg->dmar_data, "edge"); dmar_msi_init() 294 handle_edge_irq, arg->hpet_data, "edge"); hpet_msi_init()
|
H A D | io_apic.c | 506 * mode to edge and then back to level, with RTE being masked during this. 518 * Mask the entry and change the trigger mode to edge. __eoi_ioapic_pin() 776 /* ISA interrupts are always active high edge triggered, 782 /* EISA interrupts are always polarity zero and can be edge or level 846 * Determine IRQ trigger mode (edge or level sensitive): irq_trigger() 932 __irq_set_handler(irq, hdl, 0, fasteoi ? "fasteoi" : "edge"); mp_register_handler() 1214 * nonexistent IRQs are edge default 1263 entry.trigger == IOAPIC_LEVEL ? "level" : "edge ", io_apic_print_entries() 1660 * Starting up a edge-triggered IO-APIC interrupt is 1661 * nasty - we need to make sure that we get the edge. 1666 * an edge even if it isn't on the 8259A... 1779 * erroneously delivered as edge-triggered one but the respective IRR ioapic_ack_level() 1788 * by setting the trigger mode to edge and then to level when the edge ioapic_ack_level() 1791 * operation to prevent an edge-triggered interrupt escaping meanwhile. ioapic_ack_level() 1798 * level-triggered io-apic interrupt will be seen as an edge ioapic_ack_level() 1804 * we use the above logic (mask+edge followed by unmask+level) from ioapic_ack_level() 1819 * mask+edge followed by unnask+level logic) manually when the ioapic_ack_level() 1820 * level triggered interrupt is seen as the edge triggered interrupt ioapic_ack_level() 1950 "edge"); lapic_register_intr() 2109 * for edge trigger, it's already unmasked, check_timer() 2204 * interrupt, that is edge-triggered and unmasked by default. We
|
H A D | htirq.c | 100 handle_edge_irq, ht_cfg, "edge"); htirq_domain_alloc()
|
/linux-4.4.14/kernel/irq/ |
H A D | migration.c | 37 * but in a edge trigger case, we might be setting rte irq_move_masked_irq()
|
/linux-4.4.14/include/linux/platform_data/ |
H A D | shmob_drm.h | 78 #define SHMOB_DRM_IFACE_FL_DWPOL (1 << 0) /* Rising edge dot clock data latch */
|
H A D | video-pxafb.h | 28 * bit 19 : for pixel clock edge 137 * LCCR3_PixRsEdg or LCCR3_PixFlEdg Pixel clock edge type
|
/linux-4.4.14/arch/sh/drivers/pci/ |
H A D | fixups-sdk7786.c | 21 * (the horizontal edge connector) will disable slot 3 entirely.
|
/linux-4.4.14/arch/arm/plat-pxa/ |
H A D | mfp.c | 174 int pin, af, drv, lpm, edge, pull; mfp_config() local 183 edge = MFP_LPM_EDGE(c); mfp_config() 193 p->mfpr_run = tmp | mfpr_lpm[lpm] | mfpr_edge[edge]; mfp_config() 196 p->mfpr_lpm = tmp | mfpr_lpm[lpm] | mfpr_edge[edge]; mfp_config()
|
/linux-4.4.14/arch/arm/mach-lpc32xx/ |
H A D | irq.c | 259 /* Activation type, edge or level */ __lpc32xx_set_irq_type() 284 /* Rising edge sensitive */ lpc32xx_set_irq_type() 290 /* Falling edge sensitive */ lpc32xx_set_irq_type() 451 * Default wake activation polarities, all pin sources are low edge lpc32xx_init_irq()
|
/linux-4.4.14/sound/soc/codecs/ |
H A D | l3.c | 28 * the rising edge of the clock.
|
/linux-4.4.14/include/linux/ |
H A D | i2c-smbus.h | 30 * @alert_edge_triggered: whether the alert interrupt is edge (1) or level (0)
|
H A D | lis3lv02d.h | 85 unsigned char irq_flags1; /* Additional irq edge / level flags */ 86 unsigned char irq_flags2; /* Additional irq edge / level flags */
|
H A D | wm97xx.h | 75 #define WM9712_MASK_EDGE 0x0080 /* rising/falling edge on pin delays sample */ 76 #define WM9712_MASK_SYNC 0x00c0 /* rising/falling edge on mask initiates sample */ 93 #define WM9705_MASK_EDGE 0x0020 /* rising/falling edge on pin delays sample */ 94 #define WM9705_MASK_SYNC 0x0030 /* rising/falling edge on mask initiates sample */
|
H A D | atmel_tc.h | 162 #define ATMEL_TC_ETRGEDG (3 << 8) /* external trigger edge */ 169 #define ATMEL_TC_LDRA (3 << 16) /* RA loading edge (of TIOA) */ 174 #define ATMEL_TC_LDRB (3 << 18) /* RB loading edge (of TIOA) */ 183 #define ATMEL_TC_EEVTEDG (3 << 8) /* external event edge */
|
H A D | lp.h | 85 #define LP_PSTROBE 0x01 /* short high output on raising edge */
|
H A D | ioc4.h | 106 uint32_t edge:8; /* Edge/level mode */ member in struct:ioc4_misc_regs::ioc4_gpcr::__anon12449
|
/linux-4.4.14/arch/x86/platform/olpc/ |
H A D | olpc-xo1-sci.c | 109 * the edge detector hookup on the gpio inputs on the geode is detect_lid_state() 111 * for details, but in a nutshell: we don't use the edge detect_lid_state() 113 * edge detectors turned off, we still get an edge event on a detect_lid_state() 114 * positive edge transition. to take advantage of this, we use the detect_lid_state() 115 * front-end inverter to ensure that that's the edge we're always detect_lid_state() 411 /* Clear edge detection and event enable for now */ setup_lid_events()
|
/linux-4.4.14/arch/mips/lantiq/ |
H A D | irq.c | 131 int edge = 0; ltq_eiu_settype() local 138 edge = 1; ltq_eiu_settype() 142 edge = 1; ltq_eiu_settype() 146 edge = 1; ltq_eiu_settype() 160 if (edge) ltq_eiu_settype()
|
/linux-4.4.14/drivers/staging/iio/gyro/ |
H A D | adis16060_core.c | 66 * conversion process on the falling edge of MSEL1 and adis16060_spi_read() 68 * the 6th falling edge of SCLK adis16060_spi_read()
|
/linux-4.4.14/drivers/irqchip/ |
H A D | irq-or1k-pic.c | 81 .name = "or1k-PIC-edge", 181 IRQCHIP_DECLARE(or1k_pic_edge, "opencores,or1k-pic-edge", or1k_pic_edge_init);
|
H A D | irq-vt8500.c | 88 u8 edge, dctr; vt8500_irq_mask() local 91 edge = readb(base + VT8500_ICDC + d->hwirq) & VT8500_EDGE; vt8500_irq_mask() 92 if (edge) { vt8500_irq_mask()
|
H A D | irq-metag-ext.c | 174 * Clear down an edge interrupt in the status register. 183 * NOTE - this only works for edge triggered interrupts. meta_intc_ack_irq() 323 * meta_intc_unmask_edge_irq_nomask() - unmask an edge irq by revectoring 330 * The retriggering done by this function is specific to edge interrupts. 398 * handler depending on whether the irq is edge or level sensitive (the polarity 535 /* public edge/level irq chips which SoCs can override */ 566 * edge/level flow type. These registers will have been set when the irq type is
|
/linux-4.4.14/drivers/leds/ |
H A D | leds-lt3593.c | 43 * level on the first falling edge on the control pin. Each following lt3593_led_work() 44 * falling edge decreases the current level by 625uA. Up to 32 pulses lt3593_led_work()
|
/linux-4.4.14/drivers/media/pci/mantis/ |
H A D | mantis_ca.c | 99 mmwrite(0xda, MANTIS_PCMCIA_RESET); /* Leading edge assert */ mantis_ca_slot_reset() 101 mmwrite(0x00, MANTIS_PCMCIA_RESET); /* Trailing edge deassert */ mantis_ca_slot_reset()
|
/linux-4.4.14/drivers/media/platform/ |
H A D | via-camera.h | 61 #define VCR_CI_HRLE 0x10000000 /* Positive edge of HREF */ 62 #define VCR_CI_VRLE 0x20000000 /* Positive edge of VREF */
|
/linux-4.4.14/drivers/pinctrl/ |
H A D | pinctrl-coh901.c | 417 /* High now, let's trigger on falling edge next then */ u300_toggle_trigger() 419 dev_dbg(gpio->dev, "next IRQ on falling edge on pin %d\n", u300_toggle_trigger() 422 /* Low now, let's trigger on rising edge next then */ u300_toggle_trigger() 424 dev_dbg(gpio->dev, "next IRQ on rising edge on pin %d\n", u300_toggle_trigger() 445 "trigger on both rising and falling edge on pin %d\n", u300_gpio_irq_type() 450 dev_dbg(gpio->dev, "trigger on rising edge on pin %d\n", u300_gpio_irq_type() 456 dev_dbg(gpio->dev, "trigger on falling edge on pin %d\n", u300_gpio_irq_type() 535 * Triggering IRQ on both rising and falling edge u300_gpio_irq_handler()
|
H A D | pinctrl-st.c | 275 * Software uses a virtual register (EDGE_CONF) for edge trigger configuration 287 * A pin can have one of following the values in its edge configuration field. 292 * 0000 - No edge IRQ. 293 * 0001 - Falling edge IRQ. 294 * 0010 - Rising edge IRQ. 295 * 0011 - Rising and Falling edge IRQ. 1388 * As edge triggers are not supported at hardware level, it is supported by 1391 * Steps for detection raising edge interrupt in software. 1408 * falling edge is also detected int the same way. 1436 /* edge detection. */ __gpio_irq_handler()
|
/linux-4.4.14/arch/microblaze/kernel/cpu/ |
H A D | cpuinfo-static.c | 107 ci->irq_edge = fcpu(cpu, "xlnx,interrupt-is-edge"); set_cpuinfo_static() 108 ci->irq_positive = fcpu(cpu, "xlnx,edge-is-positive"); set_cpuinfo_static()
|
/linux-4.4.14/arch/microblaze/kernel/ |
H A D | intc.c | 123 handle_edge_irq, "edge"); xintc_map() 162 pr_info("%s: num_irq=%d, edge=0x%x\n", xilinx_intc_of_init()
|
/linux-4.4.14/arch/mips/mti-malta/ |
H A D | malta-time.c | 84 /* Start counter exactly on falling edge of update flag. */ estimate_frequencies() 95 /* Read counter exactly on falling edge of update flag. */ estimate_frequencies()
|
/linux-4.4.14/arch/mn10300/proc-mn103e010/include/proc/ |
H A D | dmactl-regs.h | 60 #define DMxCTR_RQM_FALLEDGE 0x00000000 /* - falling edge */ 61 #define DMxCTR_RQM_RISEEDGE 0x00020000 /* - rising edge */
|
/linux-4.4.14/arch/mn10300/proc-mn2ws0050/include/proc/ |
H A D | dmactl-regs.h | 61 #define DMxCTR_RQM_FALLEDGE 0x00000000 /* - falling edge */ 62 #define DMxCTR_RQM_RISEEDGE 0x00020000 /* - rising edge */
|
/linux-4.4.14/arch/m32r/include/asm/m32104ut/ |
H A D | m32104ut_pld.h | 98 #define PLD_ICUCR_ISMOD00 (0x0000) /* Low edge */ 100 #define PLD_ICUCR_ISMOD02 (0x0020) /* High edge */
|
/linux-4.4.14/arch/blackfin/include/asm/ |
H A D | bfin_sport3.h | 36 #define SPORT_CTL_CKRE 0x00001000 /* Clock rising edge select */ 43 #define SPORT_CTL_FSED 0x00080000 /* External frame sync edge select */
|
H A D | gpio.h | 115 unsigned short edge; member in struct:gpio_port_t 154 unsigned short edge; member in struct:gpio_port_s
|
/linux-4.4.14/drivers/staging/iio/resolver/ |
H A D | ad2s90.c | 86 /* need 600ns between CS and the first falling edge of SCLK */ ad2s90_probe()
|
/linux-4.4.14/arch/powerpc/platforms/cell/ |
H A D | interrupt.h | 73 /* Which bits in IIC_ISR are edge sensitive */
|
H A D | spider-pic.c | 103 /* Reset edge detection logic if necessary spider_ack_irq() 108 /* Only interrupts 47 to 50 can be set to edge */ spider_ack_irq() 112 /* Perform the clear of the edge logic */ spider_ack_irq()
|
/linux-4.4.14/arch/arm/mach-sa1100/ |
H A D | pleb.c | 42 #if 0 /* Autoprobe instead, to get rising/falling edge characteristic right */
|
/linux-4.4.14/drivers/clocksource/ |
H A D | asm9260_timer.c | 45 * next positive edge of PCLK. The counters remain reset until TCR[1] is 102 #define BM_CTCR_TM 0 /* Timer mode. Every rising PCLK edge. */ 214 /* make sure all timers use every rising PCLK edge. */ asm9260_timer_init()
|
/linux-4.4.14/include/trace/events/ |
H A D | kvm.h | 112 (__entry->e & (1<<15)) ? "level" : "edge", 133 (__entry->e & (1<<15)) ? "level" : "edge", 155 (__entry->data & (1<<15)) ? "level" : "edge",
|
/linux-4.4.14/arch/m32r/platforms/m32700ut/ |
H A D | setup.c | 263 lanpld_icu_data[irq2lanpldirq(M32700UT_LAN_IRQ_LAN)].icucr = PLD_ICUCR_IEN|PLD_ICUCR_ISMOD02; /* "H" edge sense */ init_IRQ() 326 pld_icu_data[irq2pldirq(PLD_IRQ_CFC_INSERT)].icucr = PLD_ICUCR_IEN|PLD_ICUCR_ISMOD00; /* 'L' edge sense */ init_IRQ() 332 pld_icu_data[irq2pldirq(PLD_IRQ_CFC_EJECT)].icucr = PLD_ICUCR_IEN|PLD_ICUCR_ISMOD02; /* 'H' edge sense */ init_IRQ()
|
/linux-4.4.14/arch/m32r/platforms/opsput/ |
H A D | setup.c | 263 lanpld_icu_data[irq2lanpldirq(OPSPUT_LAN_IRQ_LAN)].icucr = PLD_ICUCR_IEN|PLD_ICUCR_ISMOD02; /* "H" edge sense */ init_IRQ() 326 pld_icu_data[irq2pldirq(PLD_IRQ_CFC_INSERT)].icucr = PLD_ICUCR_IEN|PLD_ICUCR_ISMOD00; /* 'L' edge sense */ init_IRQ() 332 pld_icu_data[irq2pldirq(PLD_IRQ_CFC_EJECT)].icucr = PLD_ICUCR_IEN|PLD_ICUCR_ISMOD02; /* 'H' edge sense */ init_IRQ()
|
/linux-4.4.14/drivers/pinctrl/qcom/ |
H A D | pinctrl-msm.c | 51 * @dual_edge_irqs: Bitmap of irqs that need sw emulated dual edge 523 /* For dual-edge interrupts in software, since some hardware has no 527 * settings of both-edge irq lines to try and catch the next edge. 530 * - the status bit goes high, indicating that an edge was caught, or 563 dev_err(pctrl->dev, "dual-edge irq failed to stabilize, %#08x != %#08x\n", msm_gpio_update_dual_edge_pos()
|
/linux-4.4.14/drivers/net/wireless/ath/ath5k/ |
H A D | eeprom.c | 1652 rep[j].edge = (val >> 8) & pmask; ath5k_eeprom_read_ctl_info() 1654 rep[j + 1].edge = val & pmask; ath5k_eeprom_read_ctl_info() 1677 rep[0].edge = (val >> 2) & pmask; ath5k_eeprom_read_ctl_info() 1678 rep[1].edge = (val << 4) & pmask; ath5k_eeprom_read_ctl_info() 1681 rep[1].edge |= (val >> 12) & 0xf; ath5k_eeprom_read_ctl_info() 1682 rep[2].edge = (val >> 6) & pmask; ath5k_eeprom_read_ctl_info() 1683 rep[3].edge = val & pmask; ath5k_eeprom_read_ctl_info() 1686 rep[4].edge = (val >> 10) & pmask; ath5k_eeprom_read_ctl_info() 1687 rep[5].edge = (val >> 4) & pmask; ath5k_eeprom_read_ctl_info() 1688 rep[6].edge = (val << 2) & pmask; ath5k_eeprom_read_ctl_info() 1691 rep[6].edge |= (val >> 14) & 0x3; ath5k_eeprom_read_ctl_info() 1692 rep[7].edge = (val >> 8) & pmask; ath5k_eeprom_read_ctl_info()
|
/linux-4.4.14/drivers/staging/speakup/ |
H A D | i18n.c | 303 [MSG_FUNCNAME_GOTO_BOTTOM] = "go to bottom edge", 304 [MSG_FUNCNAME_GOTO_LEFT] = "go to left edge", 305 [MSG_FUNCNAME_GOTO_RIGHT] = "go to right edge", 306 [MSG_FUNCNAME_GOTO_TOP] = "go to top edge",
|
H A D | selection.c | 40 /* does screen address p correspond to character at LH/RH edge of screen? */ atedge()
|
/linux-4.4.14/drivers/gpu/drm/omapdrm/ |
H A D | tcm-sita.h | 67 u16 edge; member in struct:neighbor_stats
|
H A D | tcm-sita.c | 620 me.neighs = me.n.edge + me.n.busy; update_candidate() 681 stat->edge++; get_neighbor_stats() 686 stat->edge++; get_neighbor_stats() 694 stat->edge++; get_neighbor_stats() 699 stat->edge++; get_neighbor_stats()
|
/linux-4.4.14/drivers/parport/ |
H A D | parport_atari.c | 188 /* MFP port I0 interrupt on high->low edge. */ parport_atari_init()
|
/linux-4.4.14/drivers/pcmcia/ |
H A D | sa1100_generic.c | 123 * socket controller and reset GPIO edge detection.
|
/linux-4.4.14/drivers/platform/mips/ |
H A D | acpi_init.c | 126 /* GPM3 config falling edge trigger */ acpi_registers_setup()
|
/linux-4.4.14/arch/xtensa/kernel/ |
H A D | irq.c | 104 handle_edge_irq, "edge"); xtensa_irq_map()
|
/linux-4.4.14/arch/mips/kernel/ |
H A D | irq-msc01.c | 137 "edge"); init_msc_irqs()
|
H A D | irq_txx9.c | 107 /* clear edge detection */ txx9_irq_mask_ack()
|
/linux-4.4.14/arch/mips/loongson32/common/ |
H A D | irq.c | 127 /* set DMA0, DMA1 and DMA2 to edge trigger */ ls1x_irq_init()
|
/linux-4.4.14/arch/ia64/kernel/ |
H A D | msi_ia64.c | 200 handle_edge_irq, "edge"); dmar_alloc_hwirq()
|
H A D | iosapic.c | 14 * handlers for edge and level triggered 433 * Handlers for edge-triggered interrupts. 459 .name = "IO-SAPIC-edge", 491 * shared vectors for edge-triggered interrupts are not iosapic_find_sharable_irq() 774 gsi, (trigger == IOSAPIC_EDGE ? "edge" : "level"), iosapic_register_intr() 834 gsi, (trigger == IOSAPIC_EDGE ? "edge" : "level"), iosapic_unregister_intr() 906 int_type, gsi, (trigger == IOSAPIC_EDGE ? "edge" : "level"), iosapic_register_platform_intr() 930 isa_irq, gsi, trigger == IOSAPIC_EDGE ? "edge" : "level", iosapic_override_isa_irq()
|
/linux-4.4.14/arch/arm/mach-footbridge/ |
H A D | netwinder-hw.c | 195 * Keyboard IRQ 1, active high, edge trigger wb977_init_keyboard() 201 * Mouse IRQ 5, active high, edge trigger wb977_init_keyboard() 230 * IRDA IRQ 6, active high, edge trigger wb977_init_irda() 279 * GP10 (Orage button) IRQ 10, active high, edge trigger wb977_init_gpio()
|
H A D | common.c | 213 * see an edge transition). Finally, TIMER4 is footbridge_restart()
|
/linux-4.4.14/sound/soc/fsl/ |
H A D | imx-ssi.c | 97 /* data on rising edge of bclk, frame low 1clk before data */ imx_ssi_set_dai_fmt() 107 /* data on rising edge of bclk, frame high with data */ imx_ssi_set_dai_fmt() 111 /* data on rising edge of bclk, frame high with data */ imx_ssi_set_dai_fmt() 115 /* data on rising edge of bclk, frame high 1clk before data */ imx_ssi_set_dai_fmt()
|
/linux-4.4.14/drivers/pps/generators/ |
H A D | pps_gen_parport.c | 104 /* busy loop until the time is right for an assert edge */ hrtimer_event() 113 /* busy loop until the time is right for a clear edge */ hrtimer_event()
|
/linux-4.4.14/drivers/i2c/ |
H A D | i2c-smbus.c | 161 setup->alert_edge_triggered ? "edge" : "level"); smbalert_probe() 202 * edge triggered in order to hand it to the workqueue correctly.
|
/linux-4.4.14/drivers/media/pci/cx18/ |
H A D | cx18-av-firmware.c | 160 /* 0xC4000914[7]: 0 = Philips mode, 1 = Sony mode (1st SCK rising edge cx18_av_loadfw() 167 /* 0xC4000918[7]: 0 = Philips mode, 1 = Sony mode (1st SCK rising edge cx18_av_loadfw()
|
/linux-4.4.14/drivers/input/touchscreen/ |
H A D | egalax_ts.c | 122 /* wake up controller by an falling edge of interrupt gpio. */ egalax_wake_up_device() 144 /* wake up controller via an falling edge on IRQ gpio. */ egalax_wake_up_device()
|
H A D | wm9705.c | 96 * 2 = Edge triggered, edge on pin delays conversion by delay param (above) 97 * 3 = Edge triggered, edge on pin starts conversion after delay param
|
H A D | wm9712.c | 104 * 2 = Edge triggered, edge on pin delays conversion by delay param (above) 105 * 3 = Edge triggered, edge on pin starts conversion after delay param
|
/linux-4.4.14/arch/x86/include/uapi/asm/ |
H A D | kvm.h | 61 __u8 last_irr; /* edge detection */ 75 __u8 elcr; /* PIIX edge/trigger selection */
|
/linux-4.4.14/include/linux/amba/ |
H A D | pl022.h | 140 * @SSP_CLK_FIRST_EDGE: Receive data on first edge transition (actual direction depends on polarity) 141 * @SSP_CLK_SECOND_EDGE: Receive data on second edge transition (actual direction depends on polarity)
|
/linux-4.4.14/arch/mn10300/kernel/ |
H A D | irq.c | 178 * MN10300 PIC edge-triggered IRQ handling. 236 * and we can use handle_level_irq() for edge-triggered init_IRQ()
|
/linux-4.4.14/arch/m32r/include/asm/m32700ut/ |
H A D | m32700ut_pld.h | 172 #define PLD_ICUCR_ISMOD00 (0x0000) /* Low edge */ 174 #define PLD_ICUCR_ISMOD02 (0x0020) /* High edge */
|
/linux-4.4.14/arch/m32r/include/asm/opsput/ |
H A D | opsput_pld.h | 168 #define PLD_ICUCR_ISMOD00 (0x0000) /* Low edge */ 170 #define PLD_ICUCR_ISMOD02 (0x0020) /* High edge */
|
/linux-4.4.14/arch/blackfin/kernel/ |
H A D | bfin_gpio.c | 370 SET_GPIO(edge) /* set_gpio_edge() */ 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; bfin_gpio_pm_hibernate_suspend() 622 gpio_array[bank]->edge = gpio_bank_saved[bank].edge; bfin_gpio_pm_hibernate_restore()
|
/linux-4.4.14/kernel/bpf/ |
H A D | verifier.c | 28 * - if loop is present (detected via back-edge) 1409 * 10 if edge e is already labelled 1410 * 11 continue with the next edge 1413 * 14 label e as tree-edge 1418 * 19 label e as back-edge 1421 * 22 label e as forward- or cross-edge 1427 * 0x11 - discovered and fall-through edge labelled 1448 * e - edge 1468 /* tree-edge */ push_insn() 1476 verbose("back-edge from insn %d to %d\n", t, w); push_insn() 1479 /* forward- or cross-edge */ push_insn() 1489 * loop == back-edge in directed graph 1533 /* unconditional jump with single edge */ check_cfg() 1561 * fall-through edge check_cfg()
|
/linux-4.4.14/arch/m68k/mac/ |
H A D | via.c | 86 * disabled /NMRQ line low, the falling edge immediately triggers a CA1 263 * CA1 (SLOTS IRQ), CB1 (ASC IRQ): negative edge trigger. via_init() 265 * Macs with ESP SCSI have a negative edge triggered SCSI interrupt. via_init() 272 /* CA2 (SCSI DRQ), CB2 (SCSI IRQ): indep. input, pos. edge */ via_init() 275 /* CA2 (SCSI DRQ), CB2 (SCSI IRQ): indep. input, neg. edge */ via_init()
|
/linux-4.4.14/arch/mips/cavium-octeon/ |
H A D | octeon-irq.c | 1058 bool edge = false; octeon_irq_ciu_is_edge() local 1066 edge = true; octeon_irq_ciu_is_edge() 1074 edge = true; octeon_irq_ciu_is_edge() 1079 return edge; octeon_irq_ciu_is_edge() 1872 bool edge = false; octeon_irq_ciu2_is_edge() local 1879 edge = true; octeon_irq_ciu2_is_edge() 1888 edge = true; octeon_irq_ciu2_is_edge() 1893 return edge; octeon_irq_ciu2_is_edge() 2146 case 1: /* official value for edge triggering. */ octeon_irq_cib_xlat() 2220 /* If edge, acknowledge the bit we will be sending. */ octeon_irq_cib_handler()
|
/linux-4.4.14/drivers/video/fbdev/kyro/ |
H A D | STG4000OverlayDevice.c | 425 * lowest to the next lowest 128 bit boundary, and the right hand edge SetOverlayViewPort() 495 * we must align the right hand edge to the next 32 SetOverlayViewPort() 504 * we must align the right hand edge to the next SetOverlayViewPort()
|
/linux-4.4.14/arch/arc/plat-axs10x/ |
H A D | axs10x.c | 329 unsigned int pad:17, noupd:1, bypass:1, edge:1, high:6, low:6; member in struct:pll_reg::__anon156 331 unsigned int low:6, high:6, edge:1, bypass:1, noupd:1, pad:17; 367 div.edge = (id%2 == 0) ? 0 : 1; /* 0 = rising */ encode_div()
|
/linux-4.4.14/drivers/scsi/ |
H A D | pas16.h | 66 * the next rising edge will
|
/linux-4.4.14/drivers/rtc/ |
H A D | rtc-pl030.c | 77 * edge of the 1Hz clock, we must write the time one second
|
/linux-4.4.14/drivers/scsi/sym53c8xx_2/ |
H A D | sym_defs.h | 341 #define XCLKH_DT 0x08 /* Extra clock of data hold on DT edge */ 342 #define XCLKH_ST 0x04 /* Extra clock of data hold on ST edge */ 343 #define XCLKS_DT 0x02 /* Extra clock of data set on DT edge */ 344 #define XCLKS_ST 0x01 /* Extra clock of data set on ST edge */
|
/linux-4.4.14/drivers/md/persistent-data/ |
H A D | dm-space-map.h | 66 * You can register one threshold callback which is edge-triggered
|
/linux-4.4.14/drivers/input/joystick/ |
H A D | sidewinder.c | 159 } while (!(~v & u & 0x10) && (bitout > 0)); /* Wait for first falling edge on clock */ sw_read_packet() 173 if ((~u & v & 0x10) && (bitout > 0)) { /* Rising edge on clock - data bit */ sw_read_packet() 180 if (kick && (~v & u & 0x01)) { /* Falling edge on axis 0 */ sw_read_packet() 182 kick = 0; /* Don't schedule next time on falling edge */ sw_read_packet()
|
/linux-4.4.14/drivers/input/serio/ |
H A D | ams_delta_serio.c | 165 * at FIQ level, switch back from edge to simple interrupt handler ams_delta_serio_init()
|
/linux-4.4.14/drivers/media/usb/stkwebcam/ |
H A D | stk-sensor.c | 136 #define COM10_VS_LEAD 0x04 /* VSYNC on clock leading edge */ 155 #define REG_HSYST 0x30 /* HSYNC rising edge delay */ 156 #define REG_HSYEN 0x31 /* HSYNC falling edge delay */ 479 * a mystery "edge offset" value in the top two bits of href. stk_sensor_set_hw()
|
/linux-4.4.14/drivers/acpi/acpica/ |
H A D | evxface.c | 737 * edge- or level-triggered interrupt. 826 "GPE type mismatch (level/edge)")); acpi_ev_install_gpe_handler() 863 * edge- or level-triggered interrupt. 899 * edge- or level-triggered interrupt. ACPI_EXPORT_SYMBOL()
|
/linux-4.4.14/arch/x86/include/asm/ |
H A D | io_apic.h | 76 trigger : 1, /* 0: edge, 1: level */
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
H A D | perf_event_knc.c | 276 PMU_FORMAT_ATTR(edge, "config:18" );
|
H A D | perf_event_p6.c | 185 PMU_FORMAT_ATTR(edge, "config:18" );
|
/linux-4.4.14/include/uapi/linux/ |
H A D | pps.h | 119 int edge; /* selected event type */ member in struct:pps_bind_args
|
/linux-4.4.14/arch/mips/alchemy/common/ |
H A D | time.c | 106 * edge is detected, hence the timeouts). alchemy_time_init()
|
/linux-4.4.14/arch/mips/pmcs-msp71xx/ |
H A D | msp_irq_cic.c | 120 * (since these can be edge sensitive) but it doesn't msp_cic_irq_ack()
|
/linux-4.4.14/arch/mips/txx9/generic/ |
H A D | irq_tx4939.c | 97 /* clear edge detection */ tx4939_irq_mask_ack()
|
/linux-4.4.14/include/linux/mfd/arizona/ |
H A D | pdata.h | 185 /** GPIO for primary IRQ (used for edge triggered emulation) */
|
/linux-4.4.14/drivers/pwm/ |
H A D | pwm-bcm-kona.c | 34 * a subsequent rising edge of the trigger bit. 39 * 4) If the smooth bit is set on the rising edge of the trigger bit, output
|
/linux-4.4.14/drivers/i2c/busses/ |
H A D | i2c-uniphier.c | 63 * This hardware uses edge triggered interrupt. Do not touch the uniphier_i2c_interrupt() 65 * interrupt edge. Just send a complete signal and return. uniphier_i2c_interrupt()
|
/linux-4.4.14/drivers/media/i2c/ |
H A D | ov9650.c | 94 #define COM10_VS_LEAD 0x04 /* VSYNC on clock leading edge */ 123 #define REG_HSYST 0x30 /* HSYNC rising edge delay LSB*/ 124 #define REG_HSYEN 0x31 /* HSYNC falling edge delay LSB*/ 733 u8 com14, edge; ov965x_set_sharpness() local 739 ret = ov965x_read(ov965x->client, REG_EDGE, &edge); ov965x_set_sharpness() 754 edge &= ~EDGE_FACTOR_MASK; ov965x_set_sharpness() 755 edge |= ((u8)value & 0x0f); ov965x_set_sharpness() 757 return ov965x_write(ov965x->client, REG_EDGE, edge); ov965x_set_sharpness()
|
/linux-4.4.14/drivers/media/platform/marvell-ccic/ |
H A D | mcam-core.h | 340 #define C0_VEDGE_CTRL 0x00800000 /* Detect falling edge of VSYNC */ 343 #define C0_VCLK_LOW 0x04000000 /* VCLK on falling edge */
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tx.c | 289 /* fill sq edge with nops to avoid wqe wrap around */ mlx5e_sq_xmit() 290 while ((sq->pc & wq->sz_m1) > sq->edge) mlx5e_sq_xmit()
|
/linux-4.4.14/drivers/net/wireless/zd1211rw/ |
H A D | zd_rf_al2230.c | 194 /* improve band edge for AL2230S */ zd1211_al2230_init_hw() 311 /* related to 6M band edge patching, happens unconditionally */ zd1211b_al2230_init_hw()
|