Searched refs:direction (Results 26 - 50 of 916) sorted by relevance

1234567891011>>

/linux-master/drivers/gpu/host1x/
H A Djob.h11 #include <linux/dma-direction.h>
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb.c56 * @direction: Configuring either Tx or Rx
64 int max_frame, u8 direction)
85 p = &dcb_config->tc_config[i].path[direction];
86 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id];
107 p = &dcb_config->tc_config[i].path[direction];
108 bw_percent = dcb_config->bw_percentage[direction][p->bwg_id];
140 if (direction == DCB_TX_CONFIG) {
173 void ixgbe_dcb_unpack_refill(struct ixgbe_dcb_config *cfg, int direction, argument
180 refill[tc] = tc_config[tc].path[direction].data_credits_refill;
192 void ixgbe_dcb_unpack_bwgid(struct ixgbe_dcb_config *cfg, int direction, argument
62 ixgbe_dcb_calculate_tc_credits(struct ixgbe_hw *hw, struct ixgbe_dcb_config *dcb_config, int max_frame, u8 direction) argument
202 ixgbe_dcb_unpack_prio(struct ixgbe_dcb_config *cfg, int direction, u8 *ptype) argument
212 ixgbe_dcb_get_tc_from_up(struct ixgbe_dcb_config *cfg, int direction, u8 up) argument
235 ixgbe_dcb_unpack_map(struct ixgbe_dcb_config *cfg, int direction, u8 *map) argument
[all...]
/linux-master/tools/testing/selftests/net/forwarding/
H A Dmirror_gre.sh65 local direction=$1; shift
68 case "$direction" in
77 mirror_install $swp1 $direction $tundev "matchall $tcflags"
83 mirror_uninstall $swp1 $direction
85 log_test "$direction $what: envelope MAC ($tcflags)"
/linux-master/kernel/dma/
H A Ddebug.c59 * @direction: enum dma_data_direction
74 int direction; member in struct:dma_debug_entry
319 entry->direction == ref->direction ? ++match_lvl : 0;
489 if (entry->direction == DMA_TO_DEVICE)
507 if (entry->direction == DMA_TO_DEVICE)
542 &cln, dir2name[entry->direction],
575 &cln, dir2name[entry->direction],
871 dir2name[entry->direction], type2name[entry->type]);
1027 if (ref->direction !
1209 debug_dma_map_page(struct device *dev, struct page *page, size_t offset, size_t size, int direction, dma_addr_t dma_addr, unsigned long attrs) argument
1283 debug_dma_unmap_page(struct device *dev, dma_addr_t dma_addr, size_t size, int direction) argument
1299 debug_dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, int mapped_ents, int direction, unsigned long attrs) argument
1450 debug_dma_map_resource(struct device *dev, phys_addr_t addr, size_t size, int direction, dma_addr_t dma_addr, unsigned long attrs) argument
1475 debug_dma_unmap_resource(struct device *dev, dma_addr_t dma_addr, size_t size, int direction) argument
1492 debug_dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, size_t size, int direction) argument
1510 debug_dma_sync_single_for_device(struct device *dev, dma_addr_t dma_handle, size_t size, int direction) argument
1529 debug_dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, int direction) argument
1561 debug_dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, int direction) argument
[all...]
/linux-master/sound/soc/sof/
H A Dcompress.c71 sof_set_transferred_bytes(sstream, spcm->stream[cstream->direction].posn.host_posn,
75 schedule_work(&spcm->stream[cstream->direction].period_elapsed_work);
84 int dir = cstream->direction;
114 dir = cstream->direction;
147 stream.comp_id = spcm->stream[cstream->direction].comp_id;
149 if (spcm->prepared[cstream->direction]) {
152 spcm->prepared[cstream->direction] = false;
155 cancel_work_sync(&spcm->stream[cstream->direction].period_elapsed_work);
156 spcm->stream[cstream->direction].cstream = NULL;
216 pcm->comp_id = spcm->stream[cstream->direction]
[all...]
/linux-master/sound/pci/hda/
H A Dhda_local.h44 #define HDA_CODEC_VOLUME_IDX(xname, xcidx, nid, xindex, direction) \
45 HDA_CODEC_VOLUME_MONO_IDX(xname, xcidx, nid, 3, xindex, direction, 0)
47 #define HDA_CODEC_VOLUME_MONO(xname, nid, channel, xindex, direction) \
48 HDA_CODEC_VOLUME_MONO_IDX(xname, 0, nid, channel, xindex, direction, 0)
50 #define HDA_CODEC_VOLUME(xname, nid, xindex, direction) \
51 HDA_CODEC_VOLUME_MONO(xname, nid, 3, xindex, direction)
53 #define HDA_CODEC_VOLUME_MIN_MUTE(xname, nid, xindex, direction) \
54 HDA_CODEC_VOLUME_MONO_IDX(xname, 0, nid, 3, xindex, direction, \
57 #define HDA_CODEC_MUTE_MONO_IDX(xname, xcidx, nid, channel, xindex, direction) \
63 .private_value = HDA_COMPOSE_AMP_VAL(nid, channel, xindex, direction) }
[all...]
/linux-master/net/netfilter/
H A Dxt_connbytes.c43 switch (sinfo->direction) {
57 switch (sinfo->direction) {
71 switch (sinfo->direction) {
108 if (sinfo->direction != XT_CONNBYTES_DIR_ORIGINAL &&
109 sinfo->direction != XT_CONNBYTES_DIR_REPLY &&
110 sinfo->direction != XT_CONNBYTES_DIR_BOTH)
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dktls.c49 enum tls_offload_ctx_dir direction,
60 if (direction == TLS_OFFLOAD_CTX_DIR_TX)
70 enum tls_offload_ctx_dir direction)
72 if (direction == TLS_OFFLOAD_CTX_DIR_TX)
80 enum tls_offload_ctx_dir direction)
82 if (unlikely(direction != TLS_OFFLOAD_CTX_DIR_RX))
48 mlx5e_ktls_add(struct net_device *netdev, struct sock *sk, enum tls_offload_ctx_dir direction, struct tls_crypto_info *crypto_info, u32 start_offload_tcp_sn) argument
68 mlx5e_ktls_del(struct net_device *netdev, struct tls_context *tls_ctx, enum tls_offload_ctx_dir direction) argument
78 mlx5e_ktls_resync(struct net_device *netdev, struct sock *sk, u32 seq, u8 *rcd_sn, enum tls_offload_ctx_dir direction) argument
/linux-master/drivers/usb/core/
H A Dendpoint.c106 char *direction; local
109 direction = "both";
111 direction = "in";
113 direction = "out";
114 return sprintf(buf, "%s\n", direction);
116 static DEVICE_ATTR_RO(direction);
/linux-master/drivers/net/ipa/
H A Dgsi_trans.h12 #include <linux/dma-direction.h>
41 * @direction: DMA transfer direction (DMA_NONE for commands)
66 enum dma_data_direction direction; member in struct:gsi_trans
150 * @direction: DMA direction for entire SGL (or DMA_NONE)
157 enum dma_data_direction direction);
/linux-master/include/soc/fsl/qe/
H A Dqmc.h92 int qmc_chan_start(struct qmc_chan *chan, int direction);
93 int qmc_chan_stop(struct qmc_chan *chan, int direction);
94 int qmc_chan_reset(struct qmc_chan *chan, int direction);
/linux-master/arch/powerpc/mm/
H A Ddma-noncoherent.c22 static void __dma_sync(void *vaddr, size_t size, int direction) argument
27 switch (direction) {
60 unsigned long offset, size_t size, int direction)
74 __dma_sync((void *)start, seg_size, direction);
59 __dma_sync_page_highmem(struct page *page, unsigned long offset, size_t size, int direction) argument
/linux-master/drivers/net/wireless/quantenna/qtnfmac/
H A Dshm_ipc.h33 enum qtnf_shm_ipc_direction direction; member in struct:qtnf_shm_ipc
52 enum qtnf_shm_ipc_direction direction,
H A Dshm_ipc.c81 enum qtnf_shm_ipc_direction direction,
92 ipc->direction = direction;
101 switch (direction) {
80 qtnf_shm_ipc_init(struct qtnf_shm_ipc *ipc, enum qtnf_shm_ipc_direction direction, struct qtnf_shm_ipc_region __iomem *shm_region, struct workqueue_struct *workqueue, const struct qtnf_shm_ipc_int *interrupt, const struct qtnf_shm_ipc_rx_callback *rx_callback) argument
/linux-master/sound/firewire/
H A Dpackets-buffer.c19 * @direction: %DMA_TO_DEVICE or %DMA_FROM_DEVICE
23 enum dma_data_direction direction)
45 pages, direction);
21 iso_packets_buffer_init(struct iso_packets_buffer *b, struct fw_unit *unit, unsigned int count, unsigned int packet_size, enum dma_data_direction direction) argument
/linux-master/drivers/gpio/
H A Dgpio-reg.c3 * gpio-reg: single register individually fixed-direction GPIOs
24 u32 direction; member in struct:gpio_reg
37 return r->direction & BIT(offset) ? GPIO_LINE_DIRECTION_IN :
46 if (r->direction & BIT(offset))
57 return r->direction & BIT(offset) ? 0 : -ENOTSUPP;
82 if (r->direction & mask) {
124 * @direction: bitmask of fixed direction, one per GPIO signal, 1 = in
140 int base, int num, const char *label, u32 direction, u32 def_out,
168 r->direction
139 gpio_reg_init(struct device *dev, void __iomem *reg, int base, int num, const char *label, u32 direction, u32 def_out, const char *const *names, struct irq_domain *irqdom, const int *irqs) argument
[all...]
/linux-master/arch/arm/mach-omap1/
H A Dgpio15xx.c35 .direction = OMAP_MPUIO_IO_CNTL,
76 .direction = OMAP1510_GPIO_DIR_CONTROL,
/linux-master/arch/powerpc/kernel/
H A Ddma-iommu.c101 enum dma_data_direction direction,
105 size, dma_get_mask(dev), direction, attrs);
110 size_t size, enum dma_data_direction direction,
113 iommu_unmap_page(get_iommu_table_base(dev), dma_handle, size, direction, local
119 int nelems, enum dma_data_direction direction,
123 dma_get_mask(dev), direction, attrs);
127 int nelems, enum dma_data_direction direction,
131 direction, attrs); local
99 dma_iommu_map_page(struct device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction direction, unsigned long attrs) argument
109 dma_iommu_unmap_page(struct device *dev, dma_addr_t dma_handle, size_t size, enum dma_data_direction direction, unsigned long attrs) argument
118 dma_iommu_map_sg(struct device *dev, struct scatterlist *sglist, int nelems, enum dma_data_direction direction, unsigned long attrs) argument
126 dma_iommu_unmap_sg(struct device *dev, struct scatterlist *sglist, int nelems, enum dma_data_direction direction, unsigned long attrs) argument
/linux-master/arch/powerpc/include/asm/
H A Diommu.h40 * When called with direction==DMA_NONE, it is equal to clear().
46 enum dma_data_direction direction,
50 * Exchanges existing TCE with new TCE plus direction bits;
51 * returns old TCE and DMA direction mask.
57 enum dma_data_direction *direction);
213 enum dma_data_direction *direction);
217 enum dma_data_direction *direction);
254 enum dma_data_direction direction,
259 enum dma_data_direction direction,
270 enum dma_data_direction direction,
[all...]
/linux-master/sound/soc/sof/intel/
H A Dhda-pcm.c216 int direction = substream->stream; local
236 if (hda_always_enable_dmi_l1 && direction == SNDRV_PCM_STREAM_CAPTURE)
240 direction == SNDRV_PCM_STREAM_PLAYBACK ||
244 dsp_stream = hda_dsp_stream_get(sdev, direction, flags);
277 if (spcm->stream[direction].dsp_max_burst_size_in_ms)
280 spcm->stream[direction].dsp_max_burst_size_in_ms * USEC_PER_MSEC * 2,
300 int direction = substream->stream; local
303 ret = hda_dsp_stream_put(sdev, direction, hstream->stream_tag);
/linux-master/drivers/dma/dw/
H A Ddw.c17 u32 cfghi = is_slave_direction(dwc->direction) ? 0 : DWC_CFGH_FIFO_MODE;
70 u8 smsize = (dwc->direction == DMA_DEV_TO_MEM) ? sconfig->src_maxburst : 0;
71 u8 dmsize = (dwc->direction == DMA_MEM_TO_DEV) ? sconfig->dst_maxburst : 0;
74 u8 dms = (dwc->direction == DMA_MEM_TO_DEV) ? p_master : m_master;
75 u8 sms = (dwc->direction == DMA_DEV_TO_MEM) ? p_master : m_master;
/linux-master/drivers/dma-buf/
H A Dudmabuf.c87 enum dma_data_direction direction)
101 ret = dma_map_sgtable(dev, sg, direction, 0);
113 enum dma_data_direction direction)
115 dma_unmap_sgtable(dev, sg, direction, 0);
121 enum dma_data_direction direction)
123 return get_sg_table(at->dev, at->dmabuf, direction);
128 enum dma_data_direction direction)
130 return put_sg_table(at->dev, sg, direction);
149 enum dma_data_direction direction)
156 ubuf->sg = get_sg_table(dev, buf, direction);
86 get_sg_table(struct device *dev, struct dma_buf *buf, enum dma_data_direction direction) argument
112 put_sg_table(struct device *dev, struct sg_table *sg, enum dma_data_direction direction) argument
120 map_udmabuf(struct dma_buf_attachment *at, enum dma_data_direction direction) argument
126 unmap_udmabuf(struct dma_buf_attachment *at, struct sg_table *sg, enum dma_data_direction direction) argument
148 begin_cpu_udmabuf(struct dma_buf *buf, enum dma_data_direction direction) argument
169 end_cpu_udmabuf(struct dma_buf *buf, enum dma_data_direction direction) argument
[all...]
H A Ddma-buf.c445 enum dma_data_direction direction; local
460 direction = DMA_FROM_DEVICE;
463 direction = DMA_TO_DEVICE;
466 direction = DMA_BIDIRECTIONAL;
473 ret = dma_buf_end_cpu_access(dmabuf, direction);
475 ret = dma_buf_begin_cpu_access(dmabuf, direction);
778 enum dma_data_direction direction)
783 sg_table = attach->dmabuf->ops->map_dma_buf(attach, direction);
793 direction);
984 enum dma_data_direction direction)
777 __map_dma_buf(struct dma_buf_attachment *attach, enum dma_data_direction direction) argument
982 __unmap_dma_buf(struct dma_buf_attachment *attach, struct sg_table *sg_table, enum dma_data_direction direction) argument
1098 dma_buf_map_attachment(struct dma_buf_attachment *attach, enum dma_data_direction direction) argument
1175 dma_buf_map_attachment_unlocked(struct dma_buf_attachment *attach, enum dma_data_direction direction) argument
1203 dma_buf_unmap_attachment(struct dma_buf_attachment *attach, struct sg_table *sg_table, enum dma_data_direction direction) argument
1235 dma_buf_unmap_attachment_unlocked(struct dma_buf_attachment *attach, struct sg_table *sg_table, enum dma_data_direction direction) argument
1355 __dma_buf_begin_cpu_access(struct dma_buf *dmabuf, enum dma_data_direction direction) argument
1391 dma_buf_begin_cpu_access(struct dma_buf *dmabuf, enum dma_data_direction direction) argument
1427 dma_buf_end_cpu_access(struct dma_buf *dmabuf, enum dma_data_direction direction) argument
[all...]
/linux-master/drivers/misc/bcm-vk/
H A Dbcm_vk_sg.c37 int direction,
72 dma->direction = direction;
77 direction == DMA_FROM_DEVICE,
110 dma->direction);
124 dma->direction);
243 dma_unmap_page(dev, addr, size, dma->direction);
35 bcm_vk_dma_alloc(struct device *dev, struct bcm_vk_dma *dma, int direction, struct _vk_data *vkdata) argument
/linux-master/drivers/spi/
H A Dinternals.h16 #include <linux/dma-direction.h>

Completed in 221 milliseconds

1234567891011>>