Searched refs:is_output (Results 1 – 16 of 16) sorted by relevance
/openbmc/u-boot/drivers/gpio/ |
H A D | rk_gpio.c | 82 bool is_output; in rockchip_gpio_get_function() 88 is_output = readl(®s->swport_ddr) & OFFSET_TO_BIT(offset); in rockchip_gpio_get_function() 90 return is_output ? GPIOF_OUTPUT : GPIOF_INPUT; in rockchip_gpio_get_function()
|
/openbmc/qemu/include/hw/ |
H A D | qdev-clock.h | 117 bool is_output; member 129 .is_output = out_not_in, \
|
/openbmc/linux/drivers/media/pci/cobalt/ |
H A D | cobalt-v4l2.c | 81 !s->is_output, sg_desc->nents, size, in cobalt_buf_init() 259 if (!s->is_output) { in cobalt_dma_start_streaming() 295 if (s->is_output) { in cobalt_start_streaming() 358 if (!s->is_output) { in cobalt_dma_stop_streaming() 411 if (s->is_audio || s->is_output) in cobalt_stop_streaming() 589 if (!s->is_output) { in cobalt_log_status() 1027 if (edid->pad >= (s->is_output ? 1 : 2)) in cobalt_g_edid() 1225 } else if (s->is_output) { in cobalt_node_register() 1242 vdev->fops = s->is_output ? &cobalt_out_fops : in cobalt_node_register() 1245 vdev->vfl_dir = s->is_output ? VFL_DIR_TX : VFL_DIR_RX; in cobalt_node_register() [all …]
|
H A D | cobalt-driver.c | 144 if (s->is_output) in cobalt_notify() 425 s->is_output = false; in cobalt_stream_struct_init() 449 s->is_output = true; in cobalt_stream_struct_init() 456 s->is_output = true; in cobalt_stream_struct_init()
|
H A D | cobalt-irq.c | 46 if (s->is_audio || s->is_output) in cobalt_dma_stream_queue_handler()
|
H A D | cobalt-driver.h | 239 bool is_output; member
|
H A D | cobalt-alsa-pcm.c | 470 if (!s->is_output) { in snd_cobalt_pcm_create()
|
/openbmc/qemu/hw/gpio/ |
H A D | stm32l4x5_gpio.c | 59 static bool is_output(Stm32l4x5GpioState *s, unsigned pin) in is_output() function 102 if (is_output(s, line) && !(is_open_drain(s, line) && (level == 0))) { in stm32l4x5_gpio_set() 128 if (is_output(s, i)) { in update_gpio_idr() 208 if (!(s->disconnected_pins & (1 << i)) && is_output(s, i)) { in get_gpio_pinmask_to_disconnect()
|
/openbmc/linux/drivers/media/pci/cx25821/ |
H A D | cx25821-video.c | 682 bool is_output = i > SRAM_CH08; in cx25821_video_register() local 687 if (!is_output) { in cx25821_video_register() 728 q->type = is_output ? V4L2_BUF_TYPE_VIDEO_OUTPUT : in cx25821_video_register() 731 q->io_modes |= is_output ? VB2_WRITE : VB2_READ; in cx25821_video_register() 742 if (!is_output) { in cx25821_video_register() 749 *vdev = is_output ? cx25821_video_out_device : cx25821_video_device; in cx25821_video_register() 751 if (!is_output) in cx25821_video_register()
|
/openbmc/linux/drivers/media/common/videobuf2/ |
H A D | videobuf2-core.c | 897 q->waiting_for_buffers = !q->is_output; in vb2_core_reqbufs() 938 q->waiting_for_buffers = !q->is_output; in vb2_core_create_bufs() 1407 if (q->is_output) { in __buf_prepare() 1674 if (q->is_output && !vb->prepared) { in vb2_core_qbuf() 2179 q->waiting_for_buffers = !q->is_output; in vb2_core_streamoff() 2320 if (q->is_output) { in vb2_mmap() 2454 q->dma_dir = q->is_output ? DMA_TO_DEVICE : DMA_FROM_DEVICE; in vb2_core_queue_init() 2458 q->is_output ? "out" : "cap", q); in vb2_core_queue_init() 2492 if (!q->is_output && !(req_events & (EPOLLIN | EPOLLRDNORM))) in vb2_core_poll() 2494 if (q->is_output && !(req_events & (EPOLLOUT | EPOLLWRNORM))) in vb2_core_poll() [all …]
|
H A D | videobuf2-v4l2.c | 147 if (q->is_output) { in __copy_timestamp() 189 if (b->field == V4L2_FIELD_ALTERNATE && q->is_output) { in vb2_fill_vb2_v4l2_buffer() 839 if (!q->is_output && in vb2_dqbuf() 907 q->is_output = V4L2_TYPE_IS_OUTPUT(q->type); in vb2_queue_init_name()
|
/openbmc/qemu/hw/core/ |
H A D | qdev-clock.c | 138 if (elem->is_output) { in qdev_init_clocks()
|
/openbmc/linux/include/media/ |
H A D | videobuf2-core.h | 639 unsigned int is_output:1; member
|
/openbmc/openbmc/meta-facebook/meta-bletchley/recipes-bletchley/motor-ctrl/files/ |
H A D | power-ctrl | 194 is_output="$(( (~p1_config_reg & 0x80)>>7 ))"
|
/openbmc/linux/drivers/media/dvb-core/ |
H A D | dvb_vb2.c | 171 q->is_output = 0; in dvb_vb2_init()
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | v4l2-mem2mem.c | 736 if (WARN_ON(q->is_output)) in v4l2_m2m_force_last_buf_done()
|