Home
last modified time | relevance | path

Searched refs:direction (Results 76 – 100 of 1502) sorted by relevance

12345678910>>...61

/openbmc/linux/sound/soc/sof/intel/
H A Dhda-pcm.c216 int direction = substream->stream; in hda_dsp_pcm_open() local
236 if (hda_always_enable_dmi_l1 && direction == SNDRV_PCM_STREAM_CAPTURE) in hda_dsp_pcm_open()
240 direction == SNDRV_PCM_STREAM_PLAYBACK || in hda_dsp_pcm_open()
244 dsp_stream = hda_dsp_stream_get(sdev, direction, flags); in hda_dsp_pcm_open()
271 int direction = substream->stream; in hda_dsp_pcm_close() local
274 ret = hda_dsp_stream_put(sdev, direction, hstream->stream_tag); in hda_dsp_pcm_close()
H A Dhda-stream.c30 if (hstream->direction == SNDRV_PCM_STREAM_PLAYBACK) in hda_hstream_direction_str()
195 if (s->direction == direction && !s->opened) { in hda_dsp_stream_get()
214 direction == SNDRV_PCM_STREAM_PLAYBACK ? in hda_dsp_stream_get()
262 if (s->direction == direction && s->stream_tag == stream_tag) { in hda_dsp_stream_put()
666 if (hstream->direction == SNDRV_PCM_STREAM_PLAYBACK) { in hda_dsp_stream_hw_params()
741 pos = hda_dsp_stream_get_position(hstream, direction, false); in hda_dsp_compr_bytes_transferred()
776 hda_dsp_compr_bytes_transferred(s, s->cstream->direction); in hda_dsp_stream_check()
917 hstream->direction = SNDRV_PCM_STREAM_CAPTURE; in hda_dsp_stream_init()
920 hstream->direction = SNDRV_PCM_STREAM_PLAYBACK; in hda_dsp_stream_init()
973 int direction, bool can_sleep) in hda_dsp_stream_get_position() argument
[all …]
/openbmc/linux/drivers/media/pci/ivtv/
H A Divtv-cards.c212 .gpio_init = { .direction = 0x1f01, .initial_value = 0x26f3 },
243 .gpio_init = { .direction = 0xe380, .initial_value = 0x8290 },
286 .gpio_init = { .direction = 0x3080, .initial_value = 0x0004 },
328 .gpio_init = { .direction = 0x7080, .initial_value = 0x400c },
479 .gpio_init = { .direction = 0xe080, .initial_value = 0x8000 },
556 .gpio_init = { .direction = 0xf880, .initial_value = 0x8800 },
588 .gpio_init = { .direction = 0xf880, .initial_value = 0x8800 },
618 .gpio_init = { .direction = 0xf880, .initial_value = 0x8800 },
771 .gpio_init = { .direction = 0x0800, .initial_value = 0 },
1003 .gpio_init = { .direction = 0xc000, .initial_value = 0 },
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Inventory/Decorator/
H A DThermalDirection.interface.yaml10 This property shall indicate the general direction of the thermal
16 Possible airflow direction
34 A default type for Airflow direction.
/openbmc/linux/drivers/usb/gadget/udc/
H A Dmv_u3d_core.c119 int direction, ep_num; in mv_u3d_process_ep_req() local
123 direction = index % 2; in mv_u3d_process_ep_req()
220 u32 tmp, direction; in mv_u3d_queue_trb() local
226 direction = mv_u3d_ep_dir(ep); in mv_u3d_queue_trb()
271 unsigned int direction; in mv_u3d_build_trb_one() local
336 unsigned int direction; in mv_u3d_build_trb_chain() local
527 u32 epxcr, direction; in mv_u3d_ep_enable() local
538 direction = mv_u3d_ep_dir(ep); in mv_u3d_ep_enable()
627 u32 epxcr, direction; in mv_u3d_ep_disable() local
689 u32 direction; in mv_u3d_ep_fifo_flush() local
[all …]
/openbmc/linux/drivers/firewire/
H A Dcore-iso.c55 enum dma_data_direction direction) in fw_iso_buffer_map_dma() argument
60 buffer->direction = direction; in fw_iso_buffer_map_dma()
64 0, PAGE_SIZE, direction); in fw_iso_buffer_map_dma()
78 int page_count, enum dma_data_direction direction) in fw_iso_buffer_init() argument
86 ret = fw_iso_buffer_map_dma(buffer, card, direction); in fw_iso_buffer_init()
103 PAGE_SIZE, buffer->direction); in fw_iso_buffer_destroy()
/openbmc/linux/drivers/input/misc/
H A Dtwl6040-vibra.c41 int direction; member
121 int speed, int direction) in twl6040_vibra_code() argument
139 vibdat *= direction; in twl6040_vibra_code()
154 info->weak_speed, info->direction); in twl6040_vibra_set_effect()
160 info->strong_speed, info->direction); in twl6040_vibra_set_effect()
196 info->direction = effect->direction < EFFECT_DIR_180_DEG ? 1 : -1; in vibra_play()
/openbmc/linux/include/net/
H A Dtls.h273 enum tls_offload_ctx_dir direction,
278 enum tls_offload_ctx_dir direction);
281 enum tls_offload_ctx_dir direction);
421 enum tls_offload_ctx_dir direction) in __tls_driver_ctx() argument
423 if (direction == TLS_OFFLOAD_CTX_DIR_TX) in __tls_driver_ctx()
430 tls_driver_ctx(const struct sock *sk, enum tls_offload_ctx_dir direction) in tls_driver_ctx() argument
432 return __tls_driver_ctx(tls_get_ctx(sk), direction); in tls_driver_ctx()
/openbmc/linux/drivers/dma/
H A Dfsl-edma-common.c509 if (cfg->direction == DMA_MEM_TO_DEV) { in fsl_edma_fill_tcd()
586 if (!is_slave_direction(direction)) in fsl_edma_prep_dma_cyclic()
597 fsl_desc->dirn = direction; in fsl_edma_prep_dma_cyclic()
600 if (direction == DMA_MEM_TO_DEV) { in fsl_edma_prep_dma_cyclic()
621 if (direction == DMA_MEM_TO_DEV) { in fsl_edma_prep_dma_cyclic()
626 } else if (direction == DMA_DEV_TO_MEM) { in fsl_edma_prep_dma_cyclic()
660 if (!is_slave_direction(direction)) in fsl_edma_prep_slave_sg()
670 fsl_desc->dirn = direction; in fsl_edma_prep_slave_sg()
672 if (direction == DMA_MEM_TO_DEV) { in fsl_edma_prep_slave_sg()
685 if (direction == DMA_MEM_TO_DEV) { in fsl_edma_prep_slave_sg()
[all …]
H A Ddma-axi-dmac.c128 enum dma_transfer_direction direction; member
515 if (direction == DMA_DEV_TO_MEM) in axi_dmac_fill_linear_sg()
526 if (direction == DMA_DEV_TO_MEM) in axi_dmac_fill_linear_sg()
551 if (direction != chan->direction) in axi_dmac_prep_slave_sg()
589 if (direction != chan->direction) in axi_dmac_prep_dma_cyclic()
625 if (xt->dir != chan->direction) in axi_dmac_prep_interleaved()
738 chan->direction = DMA_MEM_TO_MEM; in axi_dmac_adjust_chan_params()
740 chan->direction = DMA_MEM_TO_DEV; in axi_dmac_adjust_chan_params()
742 chan->direction = DMA_DEV_TO_MEM; in axi_dmac_adjust_chan_params()
744 chan->direction = DMA_DEV_TO_DEV; in axi_dmac_adjust_chan_params()
[all …]
H A Dst_fdma.c347 enum dma_transfer_direction direction) in config_reqctrl() argument
354 switch (direction) { in config_reqctrl()
403 fchan->cfg.dir = direction; in config_reqctrl()
413 enum dma_transfer_direction direction) in fill_hw_node() argument
415 if (direction == DMA_MEM_TO_DEV) { in fill_hw_node()
439 if (!is_slave_direction(direction)) { in st_fdma_prep_common()
463 if (config_reqctrl(fchan, direction)) { in st_fdma_prep_dma_cyclic()
492 fill_hw_node(hw_node, fchan, direction); in st_fdma_prep_dma_cyclic()
494 if (direction == DMA_MEM_TO_DEV) in st_fdma_prep_dma_cyclic()
538 fill_hw_node(hw_node, fchan, direction); in st_fdma_prep_slave_sg()
[all …]
/openbmc/linux/include/linux/
H A Duio.h278 void iov_iter_init(struct iov_iter *i, unsigned int direction, const struct iovec *iov,
280 void iov_iter_kvec(struct iov_iter *i, unsigned int direction, const struct kvec *kvec,
282 void iov_iter_bvec(struct iov_iter *i, unsigned int direction, const struct bio_vec *bvec,
284 void iov_iter_discard(struct iov_iter *i, unsigned int direction, size_t count);
285 void iov_iter_xarray(struct iov_iter *i, unsigned int direction, struct xarray *xarray,
379 static inline void iov_iter_ubuf(struct iov_iter *i, unsigned int direction, in iov_iter_ubuf() argument
382 WARN_ON(direction & ~(READ | WRITE)); in iov_iter_ubuf()
387 .data_source = direction, in iov_iter_ubuf()
/openbmc/linux/drivers/dma-buf/heaps/
H A Dsystem_heap.c129 enum dma_data_direction direction) in system_heap_map_dma_buf() argument
135 ret = dma_map_sgtable(attachment->dev, table, direction, 0); in system_heap_map_dma_buf()
145 enum dma_data_direction direction) in system_heap_unmap_dma_buf() argument
150 dma_unmap_sgtable(attachment->dev, table, direction, 0); in system_heap_unmap_dma_buf()
154 enum dma_data_direction direction) in system_heap_dma_buf_begin_cpu_access() argument
167 dma_sync_sgtable_for_cpu(a->dev, a->table, direction); in system_heap_dma_buf_begin_cpu_access()
175 enum dma_data_direction direction) in system_heap_dma_buf_end_cpu_access() argument
188 dma_sync_sgtable_for_device(a->dev, a->table, direction); in system_heap_dma_buf_end_cpu_access()
/openbmc/linux/sound/virtio/
H A Dvirtio_chmap.c92 switch (info->direction) { in virtsnd_chmap_parse_cfg()
102 info->direction); in virtsnd_chmap_parse_cfg()
121 static int virtsnd_chmap_add_ctls(struct snd_pcm *pcm, int direction, in virtsnd_chmap_add_ctls() argument
131 return snd_pcm_add_chmap_ctls(pcm, direction, vs->chmaps, max_channels, in virtsnd_chmap_add_ctls()
179 if (info->direction == VIRTIO_SND_D_OUTPUT) in virtsnd_chmap_build_devs()
/openbmc/linux/drivers/dma/sh/
H A Dshdma-base.c503 struct shdma_desc **first, enum dma_transfer_direction direction) in shdma_add_desc() argument
538 new->direction = direction; in shdma_add_desc()
542 if (direction == DMA_MEM_TO_MEM || direction == DMA_MEM_TO_DEV) in shdma_add_desc()
544 if (direction == DMA_MEM_TO_MEM || direction == DMA_DEV_TO_MEM) in shdma_add_desc()
599 if (direction == DMA_DEV_TO_MEM) in shdma_prep_sg()
602 direction); in shdma_prep_sg()
606 direction); in shdma_prep_sg()
686 direction, flags, false); in shdma_prep_slave_sg()
693 size_t period_len, enum dma_transfer_direction direction, in shdma_prep_dma_cyclic() argument
747 direction, flags, true); in shdma_prep_dma_cyclic()
[all …]
/openbmc/linux/drivers/net/wireless/quantenna/qtnfmac/
H A Dshm_ipc.c81 enum qtnf_shm_ipc_direction direction, in qtnf_shm_ipc_init() argument
92 ipc->direction = direction; in qtnf_shm_ipc_init()
101 switch (direction) { in qtnf_shm_ipc_init()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dktls_txrx.c78 bool fence, enum tls_offload_ctx_dir direction) in mlx5e_ktls_build_static_params() argument
82 u8 opmod = direction == TLS_OFFLOAD_CTX_DIR_TX ? in mlx5e_ktls_build_static_params()
121 enum tls_offload_ctx_dir direction) in mlx5e_ktls_build_progress_params() argument
124 u8 opmod = direction == TLS_OFFLOAD_CTX_DIR_TX ? in mlx5e_ktls_build_progress_params()
/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_mgmt.c129 enum mgmt_direction_type direction, in prepare_header() argument
141 HINIC_MSG_HEADER_SET(direction, DIRECTION) | in prepare_header()
204 enum mgmt_direction_type direction, in send_msg_to_mgmt() argument
213 if (direction == MGMT_RESP) { in send_msg_to_mgmt()
215 direction, cmd, resp_msg_id); in send_msg_to_mgmt()
219 direction, cmd, msg_id); in send_msg_to_mgmt()
249 enum mgmt_direction_type direction, in msg_to_mgmt_sync() argument
274 MSG_ACK, direction, resp_msg_id); in msg_to_mgmt_sync()
322 enum mgmt_direction_type direction, in msg_to_mgmt_async() argument
331 MSG_NO_ACK, direction, resp_msg_id); in msg_to_mgmt_async()
/openbmc/linux/drivers/most/
H A Dmost_snd.c189 if (channel->cfg->direction & MOST_CH_RX) in copy_data()
274 if (cfg->direction == MOST_CH_TX) { in pcm_open()
286 if (cfg->direction == MOST_CH_TX) in pcm_open()
309 if (channel->cfg->direction == MOST_CH_TX) in pcm_close()
333 if (cfg->direction == MOST_CH_TX) { in pcm_prepare()
523 int direction; in audio_probe_channel() local
570 if (cfg->direction == MOST_CH_TX) { in audio_probe_channel()
572 direction = SNDRV_PCM_STREAM_PLAYBACK; in audio_probe_channel()
575 direction = SNDRV_PCM_STREAM_CAPTURE; in audio_probe_channel()
602 snd_pcm_set_ops(pcm, direction, &pcm_ops); in audio_probe_channel()
/openbmc/linux/sound/usb/line6/
H A Dpcm.c138 get_stream(struct snd_line6_pcm *line6pcm, int direction) in get_stream() argument
140 return (direction == SNDRV_PCM_STREAM_PLAYBACK) ? in get_stream()
148 struct line6_pcm_stream *pstr, int direction, int type) in line6_buffer_acquire() argument
151 (direction == SNDRV_PCM_STREAM_PLAYBACK) ? in line6_buffer_acquire()
182 static int line6_stream_start(struct snd_line6_pcm *line6pcm, int direction, in line6_stream_start() argument
186 struct line6_pcm_stream *pstr = get_stream(line6pcm, direction); in line6_stream_start()
194 if (direction == SNDRV_PCM_STREAM_PLAYBACK) in line6_stream_start()
207 static void line6_stream_stop(struct snd_line6_pcm *line6pcm, int direction, in line6_stream_stop() argument
211 struct line6_pcm_stream *pstr = get_stream(line6pcm, direction); in line6_stream_stop()
219 if (direction == SNDRV_PCM_STREAM_CAPTURE) { in line6_stream_stop()
/openbmc/u-boot/drivers/ddr/marvell/a38x/
H A Dddr3_debug.c1004 (direction == 0) ? (adll * 2) : adll; in ddr3_tip_run_sweep_test()
1041 ((direction == 0) ? "TX" : "RX")); in ddr3_tip_run_sweep_test()
1056 adll_value = (direction == 0) ? (adll * 2) : adll; in ddr3_tip_run_sweep_test()
1058 ((direction == 0) ? "TX" : "RX"), adll_value); in ddr3_tip_run_sweep_test()
1090 u32 direction, u32 mode) in ddr3_tip_run_leveling_sweep_test() argument
1116 reg = (direction == 0) ? WL_PHY_REG(cs) : RL_PHY_REG(cs); in ddr3_tip_run_leveling_sweep_test()
1135 if (direction == 0) in ddr3_tip_run_leveling_sweep_test()
1152 if (direction == 0) in ddr3_tip_run_leveling_sweep_test()
1174 if (direction == 0) in ddr3_tip_run_leveling_sweep_test()
1225 if (direction == 0) in ddr3_tip_run_leveling_sweep_test()
[all …]
/openbmc/linux/sound/pci/ice1712/
H A Dice1712.h350 unsigned int direction; /* current direction bits */ member
428 ice->gpio.saved[0] = ice->gpio.direction; in snd_ice1712_save_gpio_status()
436 ice->gpio.direction = ice->gpio.saved[0]; in snd_ice1712_restore_gpio_status()
458 ice->gpio.direction |= mask; in snd_ice1712_gpio_write_bits()
459 snd_ice1712_gpio_set_dir(ice, ice->gpio.direction); in snd_ice1712_gpio_write_bits()
469 ice->gpio.direction &= ~mask; in snd_ice1712_gpio_read_bits()
470 snd_ice1712_gpio_set_dir(ice, ice->gpio.direction); in snd_ice1712_gpio_read_bits()
/openbmc/linux/drivers/gpio/
H A Dgpio-tps65219.c86 unsigned int direction) in tps65219_gpio_change_direction() argument
101 TPS65219_GPIO0_DIR_MASK, direction); in tps65219_gpio_change_direction()
105 direction, offset); in tps65219_gpio_change_direction()
112 offset, direction); in tps65219_gpio_change_direction()
/openbmc/linux/drivers/soc/ti/
H A Dknav_dma.c108 enum dma_transfer_direction direction; member
150 if ((chan->direction == DMA_MEM_TO_DEV) && chan->reg_chan) { in chan_start()
320 if (chan->direction == DMA_MEM_TO_DEV) { in dma_debug_show_channels()
427 config->direction == DMA_MEM_TO_DEV ? "transmit" : in knav_dma_open_channel()
428 config->direction == DMA_DEV_TO_MEM ? "receive" : in knav_dma_open_channel()
431 if (config->direction != DMA_MEM_TO_DEV && in knav_dma_open_channel()
432 config->direction != DMA_DEV_TO_MEM) { in knav_dma_open_channel()
451 if (config->direction == DMA_MEM_TO_DEV) { in knav_dma_open_channel()
581 chan->direction = DMA_TRANS_NONE; in pktdma_init_chan()
586 chan->direction = dir; in pktdma_init_chan()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Drf.c45 u8 direction; in rtl8821ae_phy_rf6052_set_cck_txpower() local
95 rtl8821ae_dm_txpower_track_adjust(hw, 1, &direction, &pwrtrac_value); in rtl8821ae_phy_rf6052_set_cck_txpower()
96 if (direction == 1) { in rtl8821ae_phy_rf6052_set_cck_txpower()
99 } else if (direction == 2) { in rtl8821ae_phy_rf6052_set_cck_txpower()
352 u8 direction; in rtl8821ae_phy_rf6052_set_ofdm_txpower() local
362 rtl8821ae_dm_txpower_track_adjust(hw, 1, &direction, &pwrtrac_value); in rtl8821ae_phy_rf6052_set_ofdm_txpower()
369 if (direction == 1) { in rtl8821ae_phy_rf6052_set_ofdm_txpower()
372 } else if (direction == 2) { in rtl8821ae_phy_rf6052_set_ofdm_txpower()

12345678910>>...61