Home
last modified time | relevance | path

Searched full:rchan (Results 1 – 25 of 38) sorted by relevance

12

/openbmc/linux/drivers/dma/sh/
H A Drcar-dmac.c866 struct rcar_dmac_chan *rchan = to_rcar_dmac_chan(chan); in rcar_dmac_chan_pause() local
868 spin_lock_irqsave(&rchan->lock, flags); in rcar_dmac_chan_pause()
869 rcar_dmac_clear_chcr_de(rchan); in rcar_dmac_chan_pause()
870 spin_unlock_irqrestore(&rchan->lock, flags); in rcar_dmac_chan_pause()
1056 struct rcar_dmac_chan *rchan = to_rcar_dmac_chan(chan); in rcar_dmac_alloc_chan_resources() local
1059 INIT_LIST_HEAD(&rchan->desc.chunks_free); in rcar_dmac_alloc_chan_resources()
1060 INIT_LIST_HEAD(&rchan->desc.pages); in rcar_dmac_alloc_chan_resources()
1063 ret = rcar_dmac_xfer_chunk_alloc(rchan, GFP_KERNEL); in rcar_dmac_alloc_chan_resources()
1067 ret = rcar_dmac_desc_alloc(rchan, GFP_KERNEL); in rcar_dmac_alloc_chan_resources()
1076 struct rcar_dmac_chan *rchan = to_rcar_dmac_chan(chan); in rcar_dmac_free_chan_resources() local
[all …]
/openbmc/linux/include/linux/
H A Drelay.h27 * Tracks changes to rchan/rchan_buf structs
41 struct rchan *chan; /* associated channel */
59 struct rchan struct
156 struct rchan *relay_open(const char *base_filename,
162 extern int relay_late_setup_files(struct rchan *chan,
165 extern void relay_close(struct rchan *chan);
166 extern void relay_flush(struct rchan *chan);
167 extern void relay_subbufs_consumed(struct rchan *chan,
170 extern void relay_reset(struct rchan *chan);
189 static inline void relay_write(struct rchan *chan, in relay_write()
[all …]
H A Dblktrace_api.h18 struct rchan *rchan; member
/openbmc/linux/drivers/dma/ti/
H A Dk3-udma.c289 struct udma_rchan *rchan; member
382 if (!uc->rchan) in udma_rchanrt_read()
384 return udma_read(uc->rchan->reg_rt, reg); in udma_rchanrt_read()
389 if (!uc->rchan) in udma_rchanrt_write()
391 udma_write(uc->rchan->reg_rt, reg, val); in udma_rchanrt_write()
397 if (!uc->rchan) in udma_rchanrt_update_bits()
399 udma_update_bits(uc->rchan->reg_rt, reg, mask, val); in udma_rchanrt_update_bits()
484 dev_dbg(dev, "RCHAN State data:\n"); in udma_dump_chan_stdata()
610 if (uc->rchan) in udma_is_chan_running()
733 if (uc->rchan) { in udma_reset_rings()
[all …]
H A Dk3-udma-private.c113 XUDMA_GET_PUT_RESOURCE(rchan);
140 XUDMA_GET_RESOURCE_ID(rchan);
161 XUDMA_RT_IO_FUNCTIONS(rchan);
H A Dk3-udma.h155 u32 xudma_rchanrt_read(struct udma_rchan *rchan, int reg);
156 void xudma_rchanrt_write(struct udma_rchan *rchan, int reg, u32 val);
H A Dk3-udma-glue.c618 * TODO: we can't support rxcq_qnum/RCHAN[a]_RCQ cfg with current sysfw in k3_udma_glue_cfg_rx_chn()
636 dev_err(rx_chn->common.dev, "rchan%d cfg failed %d\n", in k3_udma_glue_cfg_rx_chn()
920 dev_set_name(&rx_chn->common.chan_dev, "rchan%d-0x%04x", in k3_udma_glue_request_rx_chn_priv()
983 dev_err(dev, "Failed to cfg rchan %d\n", ret); in k3_udma_glue_request_rx_chn_priv()
/openbmc/linux/drivers/net/wwan/t7xx/
H A Dt7xx_port_trace.c55 struct rchan *relaych = port->log.relaych; in t7xx_trace_port_uninit()
66 struct rchan *relaych = port->log.relaych; in t7xx_trace_port_recv_skb()
78 struct rchan *relaych = port->log.relaych; in t7xx_port_trace_md_state_notify()
H A Dt7xx_port.h133 struct rchan *relaych;
/openbmc/linux/kernel/
H A Drelay.c147 static struct rchan_buf *relay_create_buf(struct rchan *chan) in relay_create_buf()
184 struct rchan *chan = container_of(kref, struct rchan, kref); in relay_destroy_channel()
195 struct rchan *chan = buf->chan; in relay_destroy_buf()
319 void relay_reset(struct rchan *chan) in relay_reset()
347 static struct dentry *relay_create_buf_file(struct rchan *chan, in relay_create_buf_file()
376 static struct rchan_buf *relay_open_buf(struct rchan *chan, unsigned int cpu) in relay_open_buf()
435 struct rchan *chan; in relay_prepare_cpu()
474 struct rchan *relay_open(const char *base_filename, in relay_open()
482 struct rchan *chan; in relay_open()
492 chan = kzalloc(sizeof(struct rchan), GFP_KERNEL); in relay_open()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/dma/ti/
H A Dk3-udma.yaml95 ti,sci-rm-range-rchan:
97 Array of UDMA rchan resource subtypes for resource allocation for this
123 - ti,sci-rm-range-rchan
174 ti,sci-rm-range-rchan = <0x4>, /* RX_HCHAN */
H A Dk3-pktdma.yaml81 ti,sci-rm-range-rchan:
113 - ti,sci-rm-range-rchan
159 ti,sci-rm-range-rchan = <0x29>, /* UNMAPPED_RX_CHAN */
H A Dk3-bcdma.yaml108 ti,sci-rm-range-rchan:
127 - ti,sci-rm-range-rchan
232 ti,sci-rm-range-rchan = <0x21>; /* SPLIT_TR_RX_CHAN */
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dspectral.h31 struct rchan *rfs_scan; /* relay(fs) channel for spectral scan */
/openbmc/linux/drivers/net/wwan/iosm/
H A Diosm_ipc_trace.h38 struct rchan *ipc_rchan;
/openbmc/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_log.h63 struct rchan *channel;
/openbmc/linux/kernel/trace/
H A Dblktrace.c92 if (!bt->rchan) in trace_note()
95 t = relay_reserve(bt->rchan, sizeof(*t) + len + cgid_len); in trace_note()
276 t = relay_reserve(bt->rchan, sizeof(*t) + pdu_len + cgid_len); in __blk_add_trace()
316 relay_close(bt->rchan); in blk_trace_free()
375 relay_flush(bt->rchan); in blk_trace_stop()
591 bt->rchan = relay_open("trace", dir, buts->buf_size, in do_blk_trace_setup()
593 if (!bt->rchan) in do_blk_trace_setup()
/openbmc/qemu/audio/
H A Dsndioaudio.c388 req.rchan = as->nchannels; in sndio_init()
404 nch = (mode == SIO_PLAY) ? self->par.pchan : self->par.rchan; in sndio_init()
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dcommon-spectral.h100 struct rchan *rfs_chan_spec_scan;
/openbmc/linux/include/linux/soc/ti/
H A Dti_sci_protocol.h325 * If the dst_thread is mapped to UDMA rchan, the corresponding channel's
330 * If the dst_thread is mapped to UDMA rchan, the corresponding channel's
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmt7996.h238 struct rchan *relay_fwlog;
/openbmc/linux/arch/arm64/boot/dts/ti/
H A Dk3-am62a-main.dtsi111 ti,sci-rm-range-rchan = <0x21>; /* SPLIT_TR_RX_CHAN */
134 ti,sci-rm-range-rchan = <0x29>, /* UNMAPPED_RX_CHAN */
H A Dk3-am65-mcu.dtsi228 ti,sci-rm-range-rchan = <0xb>, /* RX_HCHAN */
H A Dk3-am62-main.dtsi130 ti,sci-rm-range-rchan = <0x21>; /* SPLIT_TR_RX_CHAN */
154 ti,sci-rm-range-rchan = <0x29>, /* UNMAPPED_RX_CHAN */
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmt7915.h300 struct rchan *relay_fwlog;

12