Home
last modified time | relevance | path

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

12345678910>>...13

/linux-6.12.1/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 …]
/linux-6.12.1/net/unix/
Dgarbage.c104 static struct unix_vertex *unix_edge_successor(struct unix_edge *edge) in unix_edge_successor() argument
109 if (edge->successor->listener) in unix_edge_successor()
110 return unix_sk(edge->successor->listener)->vertex; in unix_edge_successor()
112 return edge->successor->vertex; in unix_edge_successor()
140 static void unix_add_edge(struct scm_fp_list *fpl, struct unix_edge *edge) in unix_add_edge() argument
142 struct unix_vertex *vertex = edge->predecessor->vertex; in unix_add_edge()
152 edge->predecessor->vertex = vertex; in unix_add_edge()
156 list_add_tail(&edge->vertex_entry, &vertex->edges); in unix_add_edge()
158 unix_update_graph(unix_edge_successor(edge)); in unix_add_edge()
161 static void unix_del_edge(struct scm_fp_list *fpl, struct unix_edge *edge) in unix_del_edge() argument
[all …]
/linux-6.12.1/drivers/media/rc/
Dgpio-ir-tx.c78 ktime_t edge; in gpio_ir_tx_unmodulated() local
83 edge = ktime_get(); in gpio_ir_tx_unmodulated()
88 edge = ktime_add_us(edge, txbuf[i]); in gpio_ir_tx_unmodulated()
89 delay_until(edge); in gpio_ir_tx_unmodulated()
98 ktime_t edge; in gpio_ir_tx_modulated() local
115 edge = ktime_get(); in gpio_ir_tx_modulated()
120 edge = ktime_add_us(edge, txbuf[i]); in gpio_ir_tx_modulated()
121 delay_until(edge); in gpio_ir_tx_modulated()
124 ktime_t last = ktime_add_us(edge, txbuf[i]); in gpio_ir_tx_modulated()
128 edge = ktime_add_ns(edge, pulse); in gpio_ir_tx_modulated()
[all …]
Dserial_ir.c37 void (*send_pulse)(unsigned int length, ktime_t edge);
60 static void send_pulse_irdeo(unsigned int length, ktime_t edge);
63 static void send_pulse_homebrew(unsigned int length, ktime_t edge);
215 static void send_pulse_homebrew_softcarrier(unsigned int length, ktime_t edge) in send_pulse_homebrew_softcarrier() argument
217 ktime_t now, target = ktime_add_us(edge, length); in send_pulse_homebrew_softcarrier()
236 edge = ktime_add_ns(edge, pulse); in send_pulse_homebrew_softcarrier()
237 delta = ktime_to_ns(ktime_sub(edge, now)); in send_pulse_homebrew_softcarrier()
244 edge = ktime_add_ns(edge, space); in send_pulse_homebrew_softcarrier()
245 delta = ktime_to_ns(ktime_sub(edge, now)); in send_pulse_homebrew_softcarrier()
251 static void send_pulse_homebrew(unsigned int length, ktime_t edge) in send_pulse_homebrew() argument
[all …]
Dpwm-ir-tx.c67 ktime_t edge; in pwm_ir_tx_sleep() local
75 edge = ktime_get(); in pwm_ir_tx_sleep()
81 edge = ktime_add_us(edge, txbuf[i]); in pwm_ir_tx_sleep()
82 delta = ktime_us_delta(edge, ktime_get()); in pwm_ir_tx_sleep()
/linux-6.12.1/drivers/soc/qcom/
Drpm-proc.c12 struct qcom_smd_edge *edge = NULL; in rpm_proc_probe() local
19 edge = qcom_smd_register_edge(dev, edge_node); in rpm_proc_probe()
21 if (IS_ERR(edge)) in rpm_proc_probe()
22 return dev_err_probe(dev, PTR_ERR(edge), in rpm_proc_probe()
32 platform_set_drvdata(pdev, edge); in rpm_proc_probe()
35 if (edge) in rpm_proc_probe()
36 qcom_smd_unregister_edge(edge); in rpm_proc_probe()
42 struct qcom_smd_edge *edge = platform_get_drvdata(pdev); in rpm_proc_remove() local
44 if (edge) in rpm_proc_remove()
45 qcom_smd_unregister_edge(edge); in rpm_proc_remove()
/linux-6.12.1/Documentation/gpu/dp-mst/
Dtopology-figure-3.dot6 edge [dir=none];
9 edge [dir=""];
13 edge [style=dashed];
20 edge [style=""];
29 edge [color=grey];
32 edge [color=""];
35 edge [style=dashed;dir=back];
40 edge [color=grey];
Dtopology-figure-2.dot10 edge [style=dashed];
18 edge [style=""];
27 edge [color=red];
30 edge [color=""];
33 edge [style=dashed;dir=back];
37 edge [color=red];
/linux-6.12.1/Documentation/devicetree/bindings/net/
Dmscc-phy-vsc8531.txt7 with the 'edge-slowdown' property.
9 - vsc8531,edge-slowdown : % the edge should be slowed down relative to
10 the fastest possible edge time.
13 drive strength will affect the edge rate of
17 and in effect slow down the edge rate if
19 To adjust the edge-slowdown, the 'vddmac'
21 supported edge-slowdown values for a given
69 vsc8531,edge-slowdown = <7>;
/linux-6.12.1/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 …]
/linux-6.12.1/Documentation/devicetree/bindings/gpio/
Dcavium-octeon-gpio.txt21 1 - edge triggered on the rising edge.
22 2 - edge triggered on the falling edge
37 * 2) Triggering (1 - edge rising
38 * 2 - edge falling
/linux-6.12.1/drivers/gpio/
Dgpio-mxc.c167 int edge; in gpio_set_irq_type() local
173 edge = GPIO_INT_RISE_EDGE; in gpio_set_irq_type()
176 edge = GPIO_INT_FALL_EDGE; in gpio_set_irq_type()
180 edge = GPIO_INT_BOTH_EDGES; in gpio_set_irq_type()
184 edge = GPIO_INT_LOW_LEV; in gpio_set_irq_type()
187 edge = GPIO_INT_HIGH_LEV; in gpio_set_irq_type()
194 edge = GPIO_INT_LOW_LEV; in gpio_set_irq_type()
197 edge = GPIO_INT_HIGH_LEV; in gpio_set_irq_type()
207 if (edge == GPIO_INT_BOTH_EDGES) in gpio_set_irq_type()
215 if (edge != GPIO_INT_BOTH_EDGES) { in gpio_set_irq_type()
[all …]
Dgpio-mxs.c72 int edge; in mxs_gpio_set_irq_type() local
83 edge = GPIO_INT_FALL_EDGE; in mxs_gpio_set_irq_type()
85 edge = GPIO_INT_RISE_EDGE; in mxs_gpio_set_irq_type()
89 edge = GPIO_INT_RISE_EDGE; in mxs_gpio_set_irq_type()
92 edge = GPIO_INT_FALL_EDGE; in mxs_gpio_set_irq_type()
95 edge = GPIO_INT_LOW_LEV; in mxs_gpio_set_irq_type()
98 edge = GPIO_INT_HIGH_LEV; in mxs_gpio_set_irq_type()
106 if (edge & GPIO_INT_LEV_MASK) { in mxs_gpio_set_irq_type()
116 if (edge & GPIO_INT_POL_MASK) in mxs_gpio_set_irq_type()
128 u32 bit, val, edge; in mxs_flip_edge() local
[all …]
/linux-6.12.1/fs/btrfs/
Dbackref.c3070 struct btrfs_backref_edge *edge; in btrfs_backref_alloc_edge() local
3072 edge = kzalloc(sizeof(*edge), GFP_NOFS); in btrfs_backref_alloc_edge()
3073 if (edge) in btrfs_backref_alloc_edge()
3075 return edge; in btrfs_backref_alloc_edge()
3079 struct btrfs_backref_edge *edge) in btrfs_backref_free_edge() argument
3081 if (edge) { in btrfs_backref_free_edge()
3083 kfree(edge); in btrfs_backref_free_edge()
3135 struct btrfs_backref_edge *edge; in btrfs_backref_cleanup_node() local
3142 edge = list_entry(node->upper.next, struct btrfs_backref_edge, in btrfs_backref_cleanup_node()
3144 upper = edge->node[UPPER]; in btrfs_backref_cleanup_node()
[all …]
/linux-6.12.1/Documentation/userspace-api/gpio/
Dgpio-v2-line-event-read.rst12 GPIO_V2_LINE_EVENT_READ - Read edge detection events for lines from a request.
36 Read edge detection events for lines from a request.
40 both. Edge events are then generated whenever edge interrupts are detected on
44 to active transition is a rising edge. If ``GPIO_V2_LINE_FLAG_ACTIVE_LOW`` is
46 ``GPIO_V2_LINE_FLAG_EDGE_RISING`` then corresponds to a falling physical edge.
48 The kernel captures and timestamps edge events as close as possible to their
71 Changing the edge detection flags using gpio-v2-line-set-config-ioctl.rst
Dgpio-lineevent-data-read.rst16 GPIO_LINEEVENT_DATA_READ - Read edge detection events from a line event.
40 Read edge detection events for a line from a line event.
44 both. Edge events are then generated whenever edge interrupts are detected on
48 to active transition is a rising edge. If ``GPIOHANDLE_REQUEST_ACTIVE_LOW`` is
50 ``GPIOEVENT_REQUEST_RISING_EDGE`` then corresponds to a falling physical edge.
52 The kernel captures and timestamps edge events as close as possible to their
/linux-6.12.1/drivers/irqchip/
Dirq-lpc32xx.c76 bool high, edge; in lpc32xx_irq_set_type() local
80 edge = true; in lpc32xx_irq_set_type()
84 edge = true; in lpc32xx_irq_set_type()
88 edge = false; in lpc32xx_irq_set_type()
92 edge = false; in lpc32xx_irq_set_type()
110 if (edge) { in lpc32xx_irq_set_type()
/linux-6.12.1/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()
/linux-6.12.1/drivers/clk/
Dclk-axi-clkgen.c184 unsigned int edge; member
206 params->edge = divider % 2; in axi_clkgen_calc_clk_params()
213 params->edge = divider % 2; in axi_clkgen_calc_clk_params()
216 if (params->edge == 0) { in axi_clkgen_calc_clk_params()
221 if (params->edge == 0 || frac_divider == 1) in axi_clkgen_calc_clk_params()
223 if (((params->edge == 0) ^ (frac_divider == 1)) || in axi_clkgen_calc_clk_params()
227 params->frac_phase = params->edge * 4 + frac_divider / 2; in axi_clkgen_calc_clk_params()
328 (params->frac_wf_r << 10) | (params->edge << 7) | in axi_clkgen_set_div()
369 (params.edge << 13) | (params.nocount << 12) | in axi_clkgen_set_rate()
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-bus-coresight-devices-tpdm66 (RW) Set/Get the index number of the edge detection for the DSB
67 subunit TPDM. Since there are at most 256 edge detections, this
75 Write a data to control the edge detection corresponding to
78 number of the edge detection which needs to be controlled.
81 0 - Rising edge detection
82 1 - Falling edge detection
83 2 - Rising and falling edge detection (toggle detection)
91 Write a data to mask the edge detection corresponding to the index
93 be written first to configure the index number of the edge detection
103 Read a set of the edge control value of the DSB in TPDM.
[all …]
/linux-6.12.1/drivers/remoteproc/
Dqcom_common.c203 glink->edge = qcom_glink_smem_register(glink->dev, glink->node); in glink_subdev_start()
205 return PTR_ERR_OR_ZERO(glink->edge); in glink_subdev_start()
212 qcom_glink_smem_unregister(glink->edge); in glink_subdev_stop()
213 glink->edge = NULL; in glink_subdev_stop()
314 smd->edge = qcom_smd_register_edge(smd->dev, smd->node); in smd_subdev_start()
316 return PTR_ERR_OR_ZERO(smd->edge); in smd_subdev_start()
323 qcom_smd_unregister_edge(smd->edge); in smd_subdev_stop()
324 smd->edge = NULL; in smd_subdev_stop()
/linux-6.12.1/drivers/counter/
Dmicrochip-tcb-capture.c209 u32 edge = ATMEL_TC_ETRGEDG_NONE; in mchp_tc_count_action_write() local
217 edge = ATMEL_TC_ETRGEDG_NONE; in mchp_tc_count_action_write()
220 edge = ATMEL_TC_ETRGEDG_RISING; in mchp_tc_count_action_write()
223 edge = ATMEL_TC_ETRGEDG_FALLING; in mchp_tc_count_action_write()
226 edge = ATMEL_TC_ETRGEDG_BOTH; in mchp_tc_count_action_write()
235 ATMEL_TC_ETRGEDG, edge); in mchp_tc_count_action_write()
/linux-6.12.1/arch/m68k/coldfire/
Dintc-5272.c163 int irq, edge; in init_IRQ() local
173 edge = 0; in init_IRQ()
175 edge = intc_irqmap[irq - MCFINT_VECBASE].ack; in init_IRQ()
176 if (edge) { in init_IRQ()
/linux-6.12.1/include/linux/rpmsg/
Dqcom_smd.h14 void qcom_smd_unregister_edge(struct qcom_smd_edge *edge);
25 static inline void qcom_smd_unregister_edge(struct qcom_smd_edge *edge) in qcom_smd_unregister_edge() argument
/linux-6.12.1/arch/arm64/boot/dts/rockchip/
Drk3399-khadas-edge.dts8 #include "rk3399-khadas-edge.dtsi"
12 compatible = "khadas,edge", "rockchip,rk3399";

12345678910>>...13