Home
last modified time | relevance | path

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

12

/drivers/rpmsg/
Dqcom_smd.c163 struct qcom_smd_edge *edge; member
200 struct qcom_smd_edge *edge; member
372 struct qcom_smd_edge *edge = channel->edge; in qcom_smd_signal_channel() local
374 if (edge->mbox_chan) { in qcom_smd_signal_channel()
380 mbox_send_message(edge->mbox_chan, NULL); in qcom_smd_signal_channel()
381 mbox_client_txdone(edge->mbox_chan, 0); in qcom_smd_signal_channel()
383 regmap_write(edge->ipc_regmap, edge->ipc_offset, BIT(edge->ipc_bit)); in qcom_smd_signal_channel()
444 struct qcom_smd_edge *edge = channel->edge; in qcom_smd_channel_set_state() local
450 dev_dbg(&edge->dev, "set_state(%s, %d)\n", channel->name, state); in qcom_smd_channel_set_state()
644 struct qcom_smd_edge *edge = data; in qcom_smd_edge_intr() local
[all …]
/drivers/media/rc/
Dgpio-ir-tx.c73 ktime_t edge; in gpio_ir_tx_unmodulated() local
78 edge = ktime_get(); in gpio_ir_tx_unmodulated()
83 edge = ktime_add_us(edge, txbuf[i]); in gpio_ir_tx_unmodulated()
84 delay_until(edge); in gpio_ir_tx_unmodulated()
93 ktime_t edge; in gpio_ir_tx_modulated() local
110 edge = ktime_get(); in gpio_ir_tx_modulated()
115 edge = ktime_add_us(edge, txbuf[i]); in gpio_ir_tx_modulated()
116 delay_until(edge); in gpio_ir_tx_modulated()
119 ktime_t last = ktime_add_us(edge, txbuf[i]); in gpio_ir_tx_modulated()
123 edge = ktime_add_ns(edge, pulse); in gpio_ir_tx_modulated()
[all …]
Dserial_ir.c36 void (*send_pulse)(unsigned int length, ktime_t edge);
59 static void send_pulse_irdeo(unsigned int length, ktime_t edge);
62 static void send_pulse_homebrew(unsigned int length, ktime_t edge);
214 static void send_pulse_homebrew_softcarrier(unsigned int length, ktime_t edge) in send_pulse_homebrew_softcarrier() argument
216 ktime_t now, target = ktime_add_us(edge, length); in send_pulse_homebrew_softcarrier()
235 edge = ktime_add_ns(edge, pulse); in send_pulse_homebrew_softcarrier()
236 delta = ktime_to_ns(ktime_sub(edge, now)); in send_pulse_homebrew_softcarrier()
243 edge = ktime_add_ns(edge, space); in send_pulse_homebrew_softcarrier()
244 delta = ktime_to_ns(ktime_sub(edge, now)); in send_pulse_homebrew_softcarrier()
250 static void send_pulse_homebrew(unsigned int length, ktime_t edge) in send_pulse_homebrew() argument
[all …]
Dpwm-ir-tx.c57 ktime_t edge; in pwm_ir_tx() local
65 edge = ktime_get(); in pwm_ir_tx()
73 edge = ktime_add_us(edge, txbuf[i]); in pwm_ir_tx()
74 delta = ktime_us_delta(edge, ktime_get()); in pwm_ir_tx()
/drivers/gpio/
Dgpio-mxc.c179 int edge; in gpio_set_irq_type() local
185 edge = GPIO_INT_RISE_EDGE; in gpio_set_irq_type()
188 edge = GPIO_INT_FALL_EDGE; in gpio_set_irq_type()
192 edge = GPIO_INT_BOTH_EDGES; in gpio_set_irq_type()
196 edge = GPIO_INT_LOW_LEV; in gpio_set_irq_type()
199 edge = GPIO_INT_HIGH_LEV; in gpio_set_irq_type()
206 edge = GPIO_INT_LOW_LEV; in gpio_set_irq_type()
209 edge = GPIO_INT_HIGH_LEV; in gpio_set_irq_type()
217 if (edge == GPIO_INT_BOTH_EDGES) in gpio_set_irq_type()
225 if (edge != GPIO_INT_BOTH_EDGES) { in gpio_set_irq_type()
[all …]
Dgpio-mxs.c78 int edge; in mxs_gpio_set_irq_type() local
89 edge = GPIO_INT_FALL_EDGE; in mxs_gpio_set_irq_type()
91 edge = GPIO_INT_RISE_EDGE; in mxs_gpio_set_irq_type()
95 edge = GPIO_INT_RISE_EDGE; in mxs_gpio_set_irq_type()
98 edge = GPIO_INT_FALL_EDGE; in mxs_gpio_set_irq_type()
101 edge = GPIO_INT_LOW_LEV; in mxs_gpio_set_irq_type()
104 edge = GPIO_INT_HIGH_LEV; in mxs_gpio_set_irq_type()
112 if (edge & GPIO_INT_LEV_MASK) { in mxs_gpio_set_irq_type()
122 if (edge & GPIO_INT_POL_MASK) in mxs_gpio_set_irq_type()
134 u32 bit, val, edge; in mxs_flip_edge() local
[all …]
Dgpio-grgpio.c125 u32 edge; in grgpio_irq_set_type() local
130 edge = 0; in grgpio_irq_set_type()
134 edge = 0; in grgpio_irq_set_type()
138 edge = mask; in grgpio_irq_set_type()
142 edge = mask; in grgpio_irq_set_type()
154 priv->gc.write_reg(priv->regs + GRGPIO_IEDGE, iedge | edge); in grgpio_irq_set_type()
Dgpio-stp-xway.c82 u32 edge; /* rising or falling edge triggered shift register */ member
177 chip->edge, XWAY_STP_CON0); in xway_stp_hw_init()
296 chip->edge = XWAY_STP_FALLING; in xway_stp_probe()
/drivers/media/pci/cobalt/
Dcobalt-irq.c140 u32 edge = cobalt_read_bar1(cobalt, COBALT_SYS_STAT_EDGE); in cobalt_irq_handler() local
145 cobalt_write_bar1(cobalt, COBALT_SYS_STAT_MASK, mask & ~edge); in cobalt_irq_handler()
146 cobalt_write_bar1(cobalt, COBALT_SYS_STAT_EDGE, edge); in cobalt_irq_handler()
158 edge &= ~dma_fifo_mask; in cobalt_irq_handler()
160 mask & ~edge); in cobalt_irq_handler()
165 if (edge & s->adv_irq_mask) in cobalt_irq_handler()
167 if ((edge & mask & dma_fifo_mask) && vb2_is_streaming(&s->q)) { in cobalt_irq_handler()
175 if (edge & mask & (COBALT_SYSSTAT_VI0_INT1_MSK | in cobalt_irq_handler()
182 if (edge & mask & (COBALT_SYSSTAT_VI0_INT2_MSK | in cobalt_irq_handler()
188 if (edge & mask & COBALT_SYSSTAT_VOHSMA_INT1_MSK) in cobalt_irq_handler()
[all …]
/drivers/remoteproc/
Dqcom_common.c41 glink->edge = qcom_glink_smem_register(glink->dev, glink->node); in glink_subdev_start()
43 return PTR_ERR_OR_ZERO(glink->edge); in glink_subdev_start()
50 qcom_glink_smem_unregister(glink->edge); in glink_subdev_stop()
51 glink->edge = NULL; in glink_subdev_stop()
152 smd->edge = qcom_smd_register_edge(smd->dev, smd->node); in smd_subdev_start()
154 return PTR_ERR_OR_ZERO(smd->edge); in smd_subdev_start()
161 qcom_smd_unregister_edge(smd->edge); in smd_subdev_stop()
162 smd->edge = NULL; in smd_subdev_stop()
Dqcom_common.h18 struct qcom_glink *edge; member
26 struct qcom_smd_edge *edge; member
/drivers/irqchip/
Dirq-lpc32xx.c75 bool high, edge; in lpc32xx_irq_set_type() local
79 edge = true; in lpc32xx_irq_set_type()
83 edge = true; in lpc32xx_irq_set_type()
87 edge = false; in lpc32xx_irq_set_type()
91 edge = false; in lpc32xx_irq_set_type()
109 if (edge) { in lpc32xx_irq_set_type()
Dirq-vt8500.c75 u8 edge, dctr; in vt8500_irq_mask() local
78 edge = readb(base + VT8500_ICDC + d->hwirq) & VT8500_EDGE; in vt8500_irq_mask()
79 if (edge) { in vt8500_irq_mask()
/drivers/clk/
Dclk-axi-clkgen.c166 unsigned int edge; member
188 params->edge = divider % 2; in axi_clkgen_calc_clk_params()
195 params->edge = divider % 2; in axi_clkgen_calc_clk_params()
198 if (params->edge == 0) { in axi_clkgen_calc_clk_params()
203 if (params->edge == 0 || frac_divider == 1) in axi_clkgen_calc_clk_params()
205 if (((params->edge == 0) ^ (frac_divider == 1)) || in axi_clkgen_calc_clk_params()
209 params->frac_phase = params->edge * 4 + frac_divider / 2; in axi_clkgen_calc_clk_params()
310 (params->frac_wf_r << 10) | (params->edge << 7) | in axi_clkgen_set_div()
350 (params.edge << 13) | (params.nocount << 12) | in axi_clkgen_set_rate()
/drivers/pps/
Dkc.c41 if (bind_args->edge == 0) in pps_kc_bind()
57 pps_kc_hardpps_mode = bind_args->edge; in pps_kc_bind()
61 "edge=0x%x\n", bind_args->edge); in pps_kc_bind()
Dpps.c220 if ((bind_args.edge & ~pps->info.mode) != 0) { in pps_cdev_ioctl()
222 bind_args.edge); in pps_cdev_ioctl()
228 (bind_args.edge & ~PPS_CAPTUREBOTH) != 0 || in pps_cdev_ioctl()
231 " parameters (%x)\n", bind_args.edge); in pps_cdev_ioctl()
/drivers/counter/
Dmicrochip-tcb-capture.c220 u32 edge = ATMEL_TC_ETRGEDG_NONE; in mchp_tc_count_action_set() local
228 edge = ATMEL_TC_ETRGEDG_NONE; in mchp_tc_count_action_set()
231 edge = ATMEL_TC_ETRGEDG_RISING; in mchp_tc_count_action_set()
234 edge = ATMEL_TC_ETRGEDG_FALLING; in mchp_tc_count_action_set()
237 edge = ATMEL_TC_ETRGEDG_BOTH; in mchp_tc_count_action_set()
243 ATMEL_TC_ETRGEDG, edge); in mchp_tc_count_action_set()
/drivers/accessibility/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)
/drivers/mfd/
Dasic3.c127 u16 edge; in asic3_irq_flip_edge() local
131 edge = asic3_read_register(asic, in asic3_irq_flip_edge()
133 edge ^= bit; in asic3_irq_flip_edge()
135 base + ASIC3_GPIO_EDGE_TRIGGER, edge); in asic3_irq_flip_edge()
300 u16 trigger, level, edge, bit; in asic3_gpio_irq_type() local
310 edge = asic3_read_register(asic, in asic3_gpio_irq_type()
318 edge |= bit; in asic3_gpio_irq_type()
321 edge &= ~bit; in asic3_gpio_irq_type()
325 edge &= ~bit; in asic3_gpio_irq_type()
327 edge |= bit; in asic3_gpio_irq_type()
[all …]
/drivers/staging/media/atomisp/pci/css_2401_system/host/
Disys_irq_private.h36 state->edge = isys_irqc_reg_load(isys_irqc_id, ISYS_IRQ_EDGE_REG_IDX); in isys_irqc_state_get()
58 state->status, state->edge, state->mask, state->enable, state->level_no); in isys_irqc_state_dump()
Disys_irq_local.h26 hrt_data edge; member
/drivers/net/wireless/ath/ath5k/
Deeprom.c1655 rep[j].edge = (val >> 8) & pmask; in ath5k_eeprom_read_ctl_info()
1657 rep[j + 1].edge = val & pmask; in ath5k_eeprom_read_ctl_info()
1680 rep[0].edge = (val >> 2) & pmask; in ath5k_eeprom_read_ctl_info()
1681 rep[1].edge = (val << 4) & pmask; in ath5k_eeprom_read_ctl_info()
1684 rep[1].edge |= (val >> 12) & 0xf; in ath5k_eeprom_read_ctl_info()
1685 rep[2].edge = (val >> 6) & pmask; in ath5k_eeprom_read_ctl_info()
1686 rep[3].edge = val & pmask; in ath5k_eeprom_read_ctl_info()
1689 rep[4].edge = (val >> 10) & pmask; in ath5k_eeprom_read_ctl_info()
1690 rep[5].edge = (val >> 4) & pmask; in ath5k_eeprom_read_ctl_info()
1691 rep[6].edge = (val << 2) & pmask; in ath5k_eeprom_read_ctl_info()
[all …]
/drivers/net/wireless/ath/ath9k/
Dar9003_eeprom.c5143 int edge, in ar9003_hw_get_direct_edge_power() argument
5150 return CTL_EDGE_TPOWER(ctl_2g[idx].ctlEdges[edge]); in ar9003_hw_get_direct_edge_power()
5152 return CTL_EDGE_TPOWER(ctl_5g[idx].ctlEdges[edge]); in ar9003_hw_get_direct_edge_power()
5157 unsigned int edge, in ar9003_hw_get_indirect_edge_power() argument
5169 if (ath9k_hw_fbin2freq(ctl_freqbin[edge - 1], 1) < freq && in ar9003_hw_get_indirect_edge_power()
5170 CTL_EDGE_FLAGS(ctl_2g[idx].ctlEdges[edge - 1])) in ar9003_hw_get_indirect_edge_power()
5171 return CTL_EDGE_TPOWER(ctl_2g[idx].ctlEdges[edge - 1]); in ar9003_hw_get_indirect_edge_power()
5173 if (ath9k_hw_fbin2freq(ctl_freqbin[edge - 1], 0) < freq && in ar9003_hw_get_indirect_edge_power()
5174 CTL_EDGE_FLAGS(ctl_5g[idx].ctlEdges[edge - 1])) in ar9003_hw_get_indirect_edge_power()
5175 return CTL_EDGE_TPOWER(ctl_5g[idx].ctlEdges[edge - 1]); in ar9003_hw_get_indirect_edge_power()
[all …]
/drivers/staging/gasket/
DKconfig19 https://cloud.google.com/edge-tpu/ for more information.
/drivers/media/i2c/
Dov9650.c734 u8 com14, edge; in ov965x_set_sharpness() local
740 ret = ov965x_read(ov965x, REG_EDGE, &edge); in ov965x_set_sharpness()
755 edge &= ~EDGE_FACTOR_MASK; in ov965x_set_sharpness()
756 edge |= ((u8)value & 0x0f); in ov965x_set_sharpness()
758 return ov965x_write(ov965x, REG_EDGE, edge); in ov965x_set_sharpness()

12