Searched refs:direction (Results 101 - 125 of 916) sorted by relevance

1234567891011>>

/linux-master/drivers/dma/
H A Dls2x-apb-dma.c99 * @direction: transfer direction, to or from device.
108 enum dma_transfer_direction direction; member in struct:ls2x_dma_desc
227 if (lchan->sconfig.direction == DMA_MEM_TO_DEV) {
245 if (desc->direction == DMA_MEM_TO_DEV) {
314 * @direction: DMA direction
322 u32 sg_len, enum dma_transfer_direction direction,
331 if (unlikely(!sg_len || !is_slave_direction(direction)))
343 desc->direction
321 ls2x_dma_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl, u32 sg_len, enum dma_transfer_direction direction, unsigned long flags, void *context) argument
382 ls2x_dma_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction direction, unsigned long flags) argument
[all...]
H A Dst_fdma.c348 enum dma_transfer_direction direction)
355 switch (direction) {
404 fchan->cfg.dir = direction;
414 enum dma_transfer_direction direction)
416 if (direction == DMA_MEM_TO_DEV) {
431 size_t len, enum dma_transfer_direction direction)
440 if (!is_slave_direction(direction)) {
441 dev_err(fchan->fdev->dev, "bad direction?\n");
450 size_t period_len, enum dma_transfer_direction direction,
457 fchan = st_fdma_prep_common(chan, len, direction);
347 config_reqctrl(struct st_fdma_chan *fchan, enum dma_transfer_direction direction) argument
412 fill_hw_node(struct st_fdma_hw_node *hw_node, struct st_fdma_chan *fchan, enum dma_transfer_direction direction) argument
430 st_fdma_prep_common(struct dma_chan *chan, size_t len, enum dma_transfer_direction direction) argument
448 st_fdma_prep_dma_cyclic( struct dma_chan *chan, dma_addr_t buf_addr, size_t len, size_t period_len, enum dma_transfer_direction direction, unsigned long flags) argument
507 st_fdma_prep_slave_sg( struct dma_chan *chan, struct scatterlist *sgl, unsigned int sg_len, enum dma_transfer_direction direction, unsigned long flags, void *context) argument
[all...]
/linux-master/drivers/usb/gadget/udc/
H A Dmv_udc_core.c40 ((ep)->udc->ep0_dir) : ((ep)->direction))
127 int i, direction; local
133 direction = index % 2;
153 if (direction) {
164 index >> 1, direction ? "SEND" : "RECV",
182 if (direction == EP_DIR_OUT)
255 u32 bit_pos, direction; local
261 direction = ep_dir(ep);
262 dqh = &(udc->ep_dqh[ep->ep_num * 2 + direction]);
263 bit_pos = 1 << (((direction
441 u32 bit_pos, epctrlx, direction; local
558 u32 epctrlx, direction; local
623 u32 bit_pos, direction; local
855 ep_set_stall(struct mv_udc *udc, u8 ep_num, u8 direction, int stall) argument
878 ep_is_stall(struct mv_udc *udc, u8 ep_num, u8 direction) argument
1442 udc_prime_status(struct mv_udc *udc, u8 direction, u16 status, bool empty) argument
1544 u8 ep_num, direction; local
1563 u8 direction; local
1607 u8 direction; local
1786 int i, ep_num = 0, direction = 0; local
[all...]
/linux-master/drivers/md/
H A Dmd-cluster.h23 int (*area_resyncing)(struct mddev *mddev, int direction, sector_t lo, sector_t hi);
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dtemp.c141 enum nvkm_therm_thrs_direction direction; local
148 direction = NVKM_THERM_THRS_RISING;
152 direction = NVKM_THERM_THRS_FALLING;
158 nvkm_therm_sensor_event(therm, thrs_name, direction);
H A Dg84.c101 enum nvkm_therm_thrs_direction direction; local
126 /* find the direction */
128 direction = NVKM_THERM_THRS_RISING;
130 direction = NVKM_THERM_THRS_FALLING;
134 /* advertise a change in direction */
135 nvkm_therm_sensor_event(therm, thrs_name, direction);
/linux-master/drivers/net/wireless/mediatek/mt7601u/
H A Dusb.h65 const u8 direction, const u16 val, const u16 offset,
/linux-master/drivers/input/
H A Dinput-compat.h41 __u16 direction; member in struct:ff_effect_compat
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/fpga/
H A Dsdk.h38 #include <linux/dma-direction.h>
79 /** @dma_dir: DMA direction */
/linux-master/drivers/media/usb/dvb-usb-v2/
H A Ddvb_usb.h55 char *direction; \
57 direction = ">>>"; \
59 direction = "<<<"; \
62 i & 0xff, i >> 8, l & 0xff, l >> 8, direction, l, b); \
/linux-master/drivers/net/ethernet/microsoft/mana/
H A Dshm_channel.c37 * direction: 0 for request, VF->PF; 1 for response, PF->VF.
51 u8 direction : 1; member in struct:smc_proto_hdr::__anon1784
114 hdr.direction != SMC_MSG_DIRECTION_RESPONSE) {
230 hdr->direction = SMC_MSG_DIRECTION_REQUEST;
270 hdr.direction = SMC_MSG_DIRECTION_REQUEST;
/linux-master/drivers/net/ipa/
H A Dipa_cmd.h10 #include <linux/dma-direction.h>
/linux-master/drivers/input/misc/
H A Dtwl4030-vibra.c36 int direction; member in struct:vibra_info
93 dir = info->direction;
103 /* set vibra rotation direction */
130 info->direction = effect->direction < EFFECT_DIR_180_DEG ? 0 : 1;
/linux-master/drivers/dma/sh/
H A Dshdma-base.c263 * .direction, and either .src_addr or .dst_addr set.
490 * @dst: destination DMA address, incremented when direction equals
492 * @src: source DMA address, incremented when direction equals
496 * @direction: needed for slave DMA to decide which address to keep constant,
503 struct shdma_desc **first, enum dma_transfer_direction direction)
538 new->direction = direction;
542 if (direction == DMA_MEM_TO_MEM || direction == DMA_MEM_TO_DEV)
544 if (direction
501 shdma_add_desc(struct shdma_chan *schan, unsigned long flags, dma_addr_t *dst, dma_addr_t *src, size_t *len, struct shdma_desc **first, enum dma_transfer_direction direction) argument
560 shdma_prep_sg(struct shdma_chan *schan, struct scatterlist *sgl, unsigned int sg_len, dma_addr_t *addr, enum dma_transfer_direction direction, unsigned long flags, bool cyclic) argument
661 shdma_prep_slave_sg( struct dma_chan *chan, struct scatterlist *sgl, unsigned int sg_len, enum dma_transfer_direction direction, unsigned long flags, void *context) argument
691 shdma_prep_dma_cyclic( struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction direction, unsigned long flags) argument
[all...]
/linux-master/drivers/vfio/
H A Dvfio_iommu_spapr_tce.c438 enum dma_data_direction direction; local
462 direction = DMA_NONE;
465 &direction);
469 if (direction == DMA_NONE)
488 enum dma_data_direction direction = iommu_tce_direction(tce); local
491 direction != DMA_TO_DEVICE ? FOLL_WRITE : 0,
503 enum dma_data_direction direction)
523 dirtmp = direction;
551 enum dma_data_direction direction)
574 dirtmp = direction;
500 tce_iommu_build(struct tce_container *container, struct iommu_table *tbl, unsigned long entry, unsigned long tce, unsigned long pages, enum dma_data_direction direction) argument
548 tce_iommu_build_v2(struct tce_container *container, struct iommu_table *tbl, unsigned long entry, unsigned long tce, unsigned long pages, enum dma_data_direction direction) argument
909 enum dma_data_direction direction; local
[all...]
/linux-master/drivers/infiniband/hw/hfi1/
H A Dfault.h33 u8 direction; member in struct:fault
/linux-master/sound/virtio/
H A Dvirtio_pcm.h22 * @direction: Stream data flow direction (SNDRV_PCM_STREAM_XXX).
48 u32 direction; member in struct:virtio_pcm_substream
/linux-master/include/sound/
H A Dhdmi-codec.h94 bool enable, int direction);
H A Dsoc-dai.h198 int direction);
316 void *stream, int direction);
317 void *(*get_stream)(struct snd_soc_dai *dai, int direction);
553 * @direction: Stream direction(Playback/Capture)
554 * Some subsystems, such as SoundWire, don't have a notion of direction and we reuse
555 * the ASoC stream direction to configure sink/source ports.
562 void *stream, int direction)
565 return dai->driver->ops->set_stream(dai, stream, direction);
573 * @direction
561 snd_soc_dai_set_stream(struct snd_soc_dai *dai, void *stream, int direction) argument
581 snd_soc_dai_get_stream(struct snd_soc_dai *dai, int direction) argument
[all...]
/linux-master/drivers/usb/host/
H A Dxhci-dbgcap.h92 unsigned int direction:1; member in struct:dbc_ep
166 unsigned direction:1; member in struct:dbc_request
180 ((d)->direction ? DMA_FROM_DEVICE : DMA_TO_DEVICE)
217 unsigned int direction,
/linux-master/sound/soc/sof/intel/
H A Dhda-stream.c31 if (hstream->direction == SNDRV_PCM_STREAM_PLAYBACK)
183 hda_dsp_stream_get(struct snd_sof_dev *sdev, int direction, u32 flags) argument
196 if (s->direction == direction && !s->opened) {
215 direction == SNDRV_PCM_STREAM_PLAYBACK ?
239 int hda_dsp_stream_put(struct snd_sof_dev *sdev, int direction, int stream_tag) argument
263 if (s->direction == direction && s->stream_tag == stream_tag) {
667 if (hstream->direction == SNDRV_PCM_STREAM_PLAYBACK) {
736 hda_dsp_compr_bytes_transferred(struct hdac_stream *hstream, int direction) argument
981 hda_dsp_stream_get_position(struct hdac_stream *hstream, int direction, bool can_sleep) argument
[all...]
/linux-master/drivers/video/fbdev/aty/
H A Dmach64_accel.c28 static u32 rotation24bpp(u32 dx, u32 direction) argument
31 if (direction & DST_X_LEFT_TO_RIGHT) {
202 u32 dy = area->dy, sy = area->sy, direction = DST_LAST_PEL; local
226 direction |= DST_Y_TOP_TO_BOTTOM;
232 direction |= DST_X_LEFT_TO_RIGHT;
235 rotation = rotation24bpp(dx, direction);
243 aty_st_le32(DST_CNTL, direction | rotation, par);
/linux-master/sound/pci/ice1712/
H A Dice1712.h65 #define ICE1712_I2C_WRITE 0x01 /* write direction */
350 unsigned int direction; /* current direction bits */ member in struct:snd_ice1712::ice1712_gpio
428 ice->gpio.saved[0] = ice->gpio.direction;
436 ice->gpio.direction = ice->gpio.saved[0];
451 * set gpio direction, write mask and data
458 ice->gpio.direction |= mask;
459 snd_ice1712_gpio_set_dir(ice, ice->gpio.direction);
469 ice->gpio.direction &= ~mask;
470 snd_ice1712_gpio_set_dir(ice, ice->gpio.direction);
[all...]
/linux-master/drivers/slimbus/
H A Dstream.c132 if (port->direction == SLIM_PORT_SINK)
222 rt->direction = cfg->direction;
236 if (cfg->direction == SNDRV_PCM_STREAM_PLAYBACK)
257 if (cfg->direction == SNDRV_PCM_STREAM_PLAYBACK)
258 port->direction = SLIM_PORT_SINK;
260 port->direction = SLIM_PORT_SOURCE;
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Dmbox.c57 void *reg_base, int direction, int ndevs)
59 switch (direction) {
92 switch (direction) {
131 void *reg_base, int direction, int ndevs)
136 err = otx2_mbox_setup(mbox, pdev, reg_base, direction, ndevs);
160 int direction, int ndevs, unsigned long *pf_bmap)
165 err = otx2_mbox_setup(mbox, pdev, reg_base, direction, ndevs);
56 otx2_mbox_setup(struct otx2_mbox *mbox, struct pci_dev *pdev, void *reg_base, int direction, int ndevs) argument
130 otx2_mbox_init(struct otx2_mbox *mbox, void *hwbase, struct pci_dev *pdev, void *reg_base, int direction, int ndevs) argument
158 otx2_mbox_regions_init(struct otx2_mbox *mbox, void **hwbase, struct pci_dev *pdev, void *reg_base, int direction, int ndevs, unsigned long *pf_bmap) argument

Completed in 207 milliseconds

1234567891011>>