Searched refs:edges (Results 1 - 72 of 72) sorted by relevance

/linux-4.1.27/drivers/iio/humidity/
H A Ddht11.c46 * Note that when reading the sensor actually 84 edges are detected, but
73 struct {s64 ts; int value; } edges[DHT11_EDGES_PER_READ]; member in struct:dht11
98 t = dht11->edges[i].ts - dht11->edges[i-1].ts; dht11_decode()
113 t = dht11->edges[offset + 2*i + 2].ts - dht11_decode()
114 dht11->edges[offset + 2*i + 1].ts; dht11_decode()
115 if (!dht11->edges[offset + 2*i + 1].value) dht11_decode()
148 * IRQ handler called on GPIO edges
157 dht11->edges[dht11->num_edges].ts = iio_get_time_ns(); dht11_handle_irq()
158 dht11->edges[dht11->num_edges++].value = dht11_handle_irq()
201 "Only %d signal edges detected\n", dht11_read_raw()
/linux-4.1.27/drivers/media/rc/img-ir/
H A Dimg-ir-raw.c12 * signal edges are reported and decoded by generic software decoders.
66 * The raw decoders expect to get a final sample even if there are no edges, in
67 * order to be assured of the final space. If there are no edges for a certain
80 * for double edges. img_ir_echo_timer()
/linux-4.1.27/arch/arm/mach-netx/
H A Dgeneric.c101 DEBUG_IRQ("rising edges\n"); netx_hif_irq_type()
105 DEBUG_IRQ("falling edges\n"); netx_hif_irq_type()
/linux-4.1.27/drivers/net/wireless/ath/carl9170/
H A Dphy.c1074 /* check if we hit one of the edges */ carl9170_interpolate_s32()
1218 u32 freq, struct ar9170_calctl_edges edges[]) carl9170_get_max_edge_power()
1229 if (edges[i].channel == 0xff) carl9170_get_max_edge_power()
1231 if (f == edges[i].channel) { carl9170_get_max_edge_power()
1233 rc = edges[i].power_flags & ~AR9170_CALCTL_EDGE_FLAGS; carl9170_get_max_edge_power()
1236 if (i > 0 && f < edges[i].channel) { carl9170_get_max_edge_power()
1237 if (f > edges[i - 1].channel && carl9170_get_max_edge_power()
1238 edges[i - 1].power_flags & carl9170_get_max_edge_power()
1241 rc = edges[i - 1].power_flags & carl9170_get_max_edge_power()
1249 if (f > edges[i - 1].channel && carl9170_get_max_edge_power()
1250 edges[i - 1].power_flags & AR9170_CALCTL_EDGE_FLAGS) { carl9170_get_max_edge_power()
1252 rc = edges[i - 1].power_flags & carl9170_get_max_edge_power()
1260 enum carl9170_bw bw, struct ar9170_calctl_edges edges[]) carl9170_get_heavy_clip()
1275 if (edges[i].channel == 0xff) carl9170_get_heavy_clip()
1277 if (f == edges[i].channel) { carl9170_get_heavy_clip()
1278 if (!(edges[i].power_flags & AR9170_CALCTL_EDGE_FLAGS)) carl9170_get_heavy_clip()
1361 * from the 11G edges array carl9170_calc_ctl()
1217 carl9170_get_max_edge_power(struct ar9170 *ar, u32 freq, struct ar9170_calctl_edges edges[]) carl9170_get_max_edge_power() argument
1259 carl9170_get_heavy_clip(struct ar9170 *ar, u32 freq, enum carl9170_bw bw, struct ar9170_calctl_edges edges[]) carl9170_get_heavy_clip() argument
/linux-4.1.27/include/linux/platform_data/
H A Di2c-s3c2410.h28 * @sda_delay: The delay (in ns) applied to SDA edges.
/linux-4.1.27/scripts/
H A Dheaderdep.pl183 print "\t/* edges */\n";
/linux-4.1.27/tools/testing/selftests/timers/
H A Dset-2038.c115 /* Now test behavior near edges */ main()
/linux-4.1.27/drivers/mmc/host/
H A Dmmci.h33 * 8bit wide buses, hardware flow contronl, negative edges and clock inversion
H A Dmmci.c1253 * edges while monitoring DAT0 for busy completion. mmci_irq()
/linux-4.1.27/drivers/media/rc/
H A Dmeson-ir.c165 /* IRQ on rising and falling edges */ meson_ir_probe()
H A Dttusbir.c120 * bit 1 is, so we don't have unexpected edges.
/linux-4.1.27/drivers/gpio/
H A Dgpio-sa1100.c203 * Set the appropriate edges for wakeup. sa1100_gpio_suspend()
H A Dgpio-davinci.c556 /* default trigger: both edges */ davinci_gpio_irq_setup()
H A Dgpio-pxa.c367 /* Don't mess with enabled GPIOs using preconfigured edges or pxa_gpio_irq_type()
H A Dgpio-rcar.c123 /* Select one edge or both edges in BOTHEDGE */ gpio_rcar_config_interrupt_input_mode()
H A Dgpio-tegra.c292 * miss edges tegra_gpio_irq_handler()
H A Dgpio-twl4030.c43 * GPIO can trigger interrupts on either or both edges.
H A Dgpio-tz1090.c398 /* Toggle edge for pin with both edges triggering enabled */ tz1090_gpio_irq_handler()
H A Dgpio-omap.c1252 * Only edges can generate a wakeup event to the PRCM. omap_gpio_runtime_suspend()
/linux-4.1.27/drivers/pinctrl/qcom/
H A Dpinctrl-msm.h62 * Should be 2 for SoCs that can detect both edges in hardware,
H A Dpinctrl-msm.c662 * For hw without possibility of detecting both edges msm_gpio_irq_set_type()
/linux-4.1.27/include/linux/
H A Dlis3lv02d.h45 * Irq_flags can be used to enable interrupt detection on the both edges.
/linux-4.1.27/drivers/media/pci/cx23885/
H A Dcx23885-input.c176 * falling edges are detected as rising edges; etc. cx23885_input_ir_start()
H A Dcx23888-ir.c980 s = "rising & falling edges"; cx23888_ir_log_status()
/linux-4.1.27/drivers/usb/phy/
H A Dphy-gpio-vbus-usb.c47 * This driver relies on "both edges" triggering. VBUS has 100 msec to
53 * edges might be workable.
/linux-4.1.27/fs/btrfs/
H A Drelocation.c347 struct backref_edge *edges[], walk_up_backref()
356 edges[idx++] = edge; walk_up_backref()
367 static struct backref_node *walk_down_backref(struct backref_edge *edges[], walk_down_backref() argument
375 edge = edges[idx - 1]; walk_down_backref()
383 edges[idx - 1] = edge; walk_down_backref()
1162 /* Add this guy's upper edges to the list to proces */
2462 struct backref_edge *edges[]) select_reloc_root()
2471 next = walk_up_backref(next, edges, &index); select_reloc_root()
2497 next = walk_down_backref(edges, &index); select_reloc_root()
2510 next = edges[index]->node[UPPER]; select_reloc_root()
2528 struct backref_edge *edges[BTRFS_MAX_LEVEL - 1]; select_one_root() local
2534 next = walk_up_backref(next, edges, &index); select_one_root()
2548 next = walk_down_backref(edges, &index); select_one_root()
2564 struct backref_edge *edges[BTRFS_MAX_LEVEL - 1]; calcu_metadata_size() local
2583 edges[index++] = edge; calcu_metadata_size()
2586 next = walk_down_backref(edges, &index); calcu_metadata_size()
2643 struct backref_edge *edges[BTRFS_MAX_LEVEL - 1]; do_relocation() local
2661 root = select_reloc_root(trans, rc, upper, edges); do_relocation()
2835 struct backref_edge *edges[BTRFS_MAX_LEVEL - 1]; update_processed_blocks() local
2851 edges[index++] = edge; update_processed_blocks()
2854 next = walk_down_backref(edges, &index); update_processed_blocks()
346 walk_up_backref(struct backref_node *node, struct backref_edge *edges[], int *index) walk_up_backref() argument
2459 select_reloc_root(struct btrfs_trans_handle *trans, struct reloc_control *rc, struct backref_node *node, struct backref_edge *edges[]) select_reloc_root() argument
/linux-4.1.27/drivers/media/pci/saa7134/
H A Dsaa7134-input.c648 mask_keydown = 0x0040000; /* Enable GPIO18 line on both edges */ saa7134_input_init1()
758 mask_keydown = 0x0040000; /* Enable GPIO18 line on both edges */ saa7134_input_init1()
780 mask_keydown = 0x0040000; /* Enable GPIO18 line on both edges */ saa7134_input_init1()
827 mask_keydown = 0x0040000; /* Enable GPIO18 line on both edges */ saa7134_input_init1()
/linux-4.1.27/drivers/input/misc/
H A Ddm355evm_keys.c101 * on falling edges and not worry about enabling/disabling the IRQ in
H A Dad714x.c686 * End points are detected on the 4 edges of the touchpad sensor. The
/linux-4.1.27/arch/tile/kernel/
H A Dirq.c234 * whenever a bit is high, not just at edges. tile_irq_activate()
H A Dhardwall.c300 /* First include the top and bottom edges */ hardwall_protect_rectangle()
308 /* Then the left and right edges */ hardwall_protect_rectangle()
/linux-4.1.27/arch/unicore32/kernel/
H A Dirq.c254 * Set the appropriate edges for wakeup. puv3_irq_suspend()
/linux-4.1.27/drivers/gpu/drm/tilcdc/
H A Dtilcdc_slave.c83 * edges and add HSKEW offset to let the slave encoder fix it up. slave_encoder_fixup()
/linux-4.1.27/drivers/gpu/drm/omapdrm/
H A Dtcm-sita.c678 /* process top & bottom edges */ get_neighbor_stats()
691 /* process left & right edges */ get_neighbor_stats()
/linux-4.1.27/arch/mips/alchemy/common/
H A Dirq.c335 * both edges at once, or if we do, that we don't care. au1x_ic0_ack()
349 * both edges at once, or if we do, that we don't care. au1x_ic1_ack()
/linux-4.1.27/drivers/staging/comedi/drivers/
H A Daddi_apci_1032.c48 * - reacts to rising or falling edges
H A Daddi_apci_1564.c255 * - reacts to rising or falling edges
H A Dpcmmio.c61 * edges detected from your channel list. Note that the bits positions
H A Dpcmuio.c50 * the mask of channels that had edges detected from your channel list. Note
H A Ds626.h226 #define S626_LP_RDCAPFLG(x) (0x0048 + (x) * 0x10) /* R: edges captured */
/linux-4.1.27/drivers/pcmcia/
H A Dat91_cf.c279 /* must be a GPIO; ergo must trigger on both edges */ at91_cf_probe()
/linux-4.1.27/drivers/input/keyboard/
H A Dbcm-keypad.c254 /* Trigger on both edges */ bcm_kp_matrix_key_parse_dt()
/linux-4.1.27/drivers/video/fbdev/kyro/
H A DSTG4000OverlayDevice.c427 * PMX1) as the left and right hand edges are aligned to these SetOverlayViewPort()
/linux-4.1.27/drivers/staging/comedi/
H A Dcomedi.h313 * COMEDI_DIGITAL_TRIG_ENABLE_EDGES left-shift rising-edges falling-edges
/linux-4.1.27/kernel/bpf/
H A Dverifier.c1275 * 9 for all edges e in G.adjacentEdges(t) do
1295 * 0x12 - discovered and fall-through and branch edges labelled
1413 /* conditional jump with two edges */ check_cfg()
/linux-4.1.27/drivers/net/wireless/ath/ath5k/
H A Deeprom.h360 /* Power edges for conformance test limits */
/linux-4.1.27/fs/reiserfs/
H A Ditem_ops.c587 /* sum of entry sizes between from-th and to-th entries including both edges */ direntry_part_size()
/linux-4.1.27/drivers/pinctrl/
H A Dpinctrl-coh901.c458 * The GPIO block can only trigger on falling OR rising edges, u300_gpio_irq_type()
H A Dpinctrl-u300.c172 * edges of the silicon, finger by finger. LTCORNER upper left is pad 0.
H A Dpinctrl-at91.c1398 * First implementation always triggers on rising and falling edges
H A Dpinctrl-st.c1442 /* check if we are detecting fake edges ... */ __gpio_irq_handler()
/linux-4.1.27/include/video/
H A Domapdss.h366 /* Pixel clock edges to drive HSYNC and VSYNC signals */
/linux-4.1.27/arch/mn10300/include/asm/
H A Dtimer-regs.h351 /* #define TM6MD_SRC_TM6IOB_BOTH 0x0006 */ /* - TM6IOB pin input (both edges) */
/linux-4.1.27/drivers/pinctrl/nomadik/
H A Dpinctrl-nomadik.c258 /* Keep track of configured edges */
682 /* we must individually set/clear the two edges */ __nmk_gpio_irq_modify()
/linux-4.1.27/drivers/media/i2c/cx25840/
H A Dcx25840-ir.c1078 s = "rising & falling edges"; cx25840_ir_log_status()
/linux-4.1.27/drivers/media/i2c/soc_camera/
H A Drj54n1cb0c.c549 /* arbitrary minimum width and height, edges unimportant */ rj54n1_s_crop()
/linux-4.1.27/arch/x86/mm/
H A Dmpx.c846 * 2. not at the edges of the mapping, even if full aligned mpx_unmap_tables()
/linux-4.1.27/arch/alpha/kernel/
H A Derr_marvel.c145 "Two extra rising edges", marvel_print_po7_uncrr_sym()
/linux-4.1.27/drivers/net/wan/
H A Dz85230.c1705 * thing can only DMA within a 64K block not across the edges of it.
/linux-4.1.27/drivers/net/wimax/i2400m/
H A Drx.c973 * be trimmed in the edges so that the beginning is the space for eth
/linux-4.1.27/drivers/net/ethernet/sun/
H A Dsungem.h625 * is transferred on the management interface, both edges have to be
/linux-4.1.27/drivers/net/wireless/iwlegacy/
H A D4965.h377 * edges of the sub band. The target channel may be "outside" of the
/linux-4.1.27/drivers/gpu/drm/i915/
H A Dintel_drv.h282 * and get clipped at the edges. */
/linux-4.1.27/net/sched/
H A Dsch_cbq.c715 * (now - last) is total time between packet right edges. cbq_update()
/linux-4.1.27/fs/ext4/
H A Dextents.c4805 /* Preallocate the range including the unaligned edges */ ext4_zero_range()
4817 /* Zero range excluding the unaligned edges */ ext4_zero_range()
4872 /* Zero out partial block at the edges of the range */ ext4_zero_range()
/linux-4.1.27/fs/ocfs2/
H A Dfile.c1542 * If both edges are on a cluster boundary then there's no ocfs2_zero_partial_clusters()
H A Dalloc.c5514 * 3) Range is in the middle of the extent rec (no shared edges) ocfs2_remove_extent()
/linux-4.1.27/fs/xfs/
H A Dxfs_bmap_util.c1219 * actually need to zero the extent edges. Otherwise xfs_bunmapi xfs_free_file_space()
/linux-4.1.27/drivers/i2c/
H A Di2c-core.c567 * By this time SCL is high, as we need to give 9 falling-rising edges i2c_generic_recovery()
/linux-4.1.27/sound/sparc/
H A Ddbri.c915 * "If transmission on edges 0 or 1 is desired, then cycle n link_time_slot()
/linux-4.1.27/drivers/tty/
H A Dsynclink.c5033 * <9..8> 00 DPLL Resync on rising and falling edges (RW) usc_set_sdlc_mode()
6030 * <9..8> 00 DPLL Resync on rising and falling edges (RW) usc_set_async_mode()
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
H A Dar9003_eeprom.c5099 * Leave loop - no more affecting edges possible in ar9003_hw_get_max_edge_power()

Completed in 2655 milliseconds