/drivers/gpio/ |
D | gpio-mxc.c | 175 int edge; in gpio_set_irq_type() local 181 edge = GPIO_INT_RISE_EDGE; in gpio_set_irq_type() 184 edge = GPIO_INT_FALL_EDGE; in gpio_set_irq_type() 188 edge = GPIO_INT_BOTH_EDGES; in gpio_set_irq_type() 192 edge = GPIO_INT_LOW_LEV; in gpio_set_irq_type() 195 edge = GPIO_INT_HIGH_LEV; in gpio_set_irq_type() 202 edge = GPIO_INT_LOW_LEV; in gpio_set_irq_type() 205 edge = GPIO_INT_HIGH_LEV; in gpio_set_irq_type() 213 if (edge == GPIO_INT_BOTH_EDGES) in gpio_set_irq_type() 221 if (edge != GPIO_INT_BOTH_EDGES) { in gpio_set_irq_type() [all …]
|
D | gpio-mxs.c | 91 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 …]
|
D | gpio-grgpio.c | 143 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()
|
D | gpio-stp-xway.c | 84 u32 edge; /* rising or falling edge triggered shift register */ member 164 chip->edge, XWAY_STP_CON0); in xway_stp_hw_init() 261 chip->edge = XWAY_STP_FALLING; in xway_stp_probe()
|
D | gpiolib.c | 514 static DEVICE_ATTR(edge, 0644, gpio_edge_show, gpio_edge_store);
|
/drivers/clk/ |
D | clk-axi-clkgen.c | 135 unsigned int *high, unsigned int *edge, unsigned int *nocount) in axi_clkgen_calc_clk_params() argument 143 *edge = divider % 2; in axi_clkgen_calc_clk_params() 171 unsigned int edge; in axi_clkgen_set_rate() local 189 axi_clkgen_calc_clk_params(dout, &low, &high, &edge, &nocount); in axi_clkgen_set_rate() 193 (edge << 7) | (nocount << 6)); in axi_clkgen_set_rate() 195 axi_clkgen_calc_clk_params(d, &low, &high, &edge, &nocount); in axi_clkgen_set_rate() 197 (edge << 13) | (nocount << 12) | (high << 6) | low); in axi_clkgen_set_rate() 199 axi_clkgen_calc_clk_params(m, &low, &high, &edge, &nocount); in axi_clkgen_set_rate() 203 (edge << 7) | (nocount << 6)); in axi_clkgen_set_rate()
|
/drivers/pps/ |
D | kc.c | 54 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()
|
D | pps.c | 217 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()
|
/drivers/staging/speakup/ |
D | DefaultKeyAssignments | 18 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)
|
/drivers/video/msm/ |
D | mdp_ppp.c | 46 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 …]
|
/drivers/mfd/ |
D | asic3.c | 129 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 …]
|
/drivers/irqchip/ |
D | irq-vt8500.c | 89 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()
|
/drivers/spi/ |
D | spi-nuc900.c | 241 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()
|
D | spi-sh-msiof.c | 175 int edge; in sh_msiof_spi_set_pin_regs() local 192 edge = cpol ^ !cpha; in sh_msiof_spi_set_pin_regs() 194 tmp |= edge << 27; /* TEDG */ in sh_msiof_spi_set_pin_regs() 195 tmp |= edge << 26; /* REDG */ in sh_msiof_spi_set_pin_regs()
|
/drivers/net/wireless/ath/ath5k/ |
D | eeprom.c | 1652 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 …]
|
D | eeprom.h | 363 u16 edge; /* in half dBm */ member
|
/drivers/gpu/drm/omapdrm/ |
D | tcm-sita.c | 620 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()
|
D | tcm-sita.h | 67 u16 edge; member
|
/drivers/net/wireless/ath/ath9k/ |
D | ar9003_eeprom.c | 4890 int edge, in ar9003_hw_get_direct_edge_power() argument 4897 return CTL_EDGE_TPOWER(ctl_2g[idx].ctlEdges[edge]); in ar9003_hw_get_direct_edge_power() 4899 return CTL_EDGE_TPOWER(ctl_5g[idx].ctlEdges[edge]); in ar9003_hw_get_direct_edge_power() 4904 unsigned int edge, in ar9003_hw_get_indirect_edge_power() argument 4916 if (ath9k_hw_fbin2freq(ctl_freqbin[edge - 1], 1) < freq && in ar9003_hw_get_indirect_edge_power() 4917 CTL_EDGE_FLAGS(ctl_2g[idx].ctlEdges[edge - 1])) in ar9003_hw_get_indirect_edge_power() 4918 return CTL_EDGE_TPOWER(ctl_2g[idx].ctlEdges[edge - 1]); in ar9003_hw_get_indirect_edge_power() 4920 if (ath9k_hw_fbin2freq(ctl_freqbin[edge - 1], 0) < freq && in ar9003_hw_get_indirect_edge_power() 4921 CTL_EDGE_FLAGS(ctl_5g[idx].ctlEdges[edge - 1])) in ar9003_hw_get_indirect_edge_power() 4922 return CTL_EDGE_TPOWER(ctl_5g[idx].ctlEdges[edge - 1]); in ar9003_hw_get_indirect_edge_power() [all …]
|
/drivers/media/i2c/ |
D | ov9650.c | 733 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()
|
/drivers/media/dvb-frontends/ |
D | lgdt3305.c | 240 enum lgdt3305_tp_clock_edge edge, in lgdt3305_mpeg_mode_polarity() argument 246 lg_dbg("edge = %d, valid = %d\n", edge, valid); in lgdt3305_mpeg_mode_polarity() 254 if (edge) in lgdt3305_mpeg_mode_polarity()
|
/drivers/hwmon/ |
D | dme1737.c | 377 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()
|
/drivers/gpu/drm/nouveau/core/engine/graph/fuc/ |
D | hubnvc0.fuc | 241 // fifo level triggered, rest edge
|
D | hubnve0.fuc | 191 // fifo level triggered, rest edge
|
/drivers/staging/wlags49_h2/ |
D | README.wlags49 | 445 * Transmit/Receive LED (closer to the edge of the adapter)
|