Home
last modified time | relevance | path

Searched refs:line_offset (Results 1 – 23 of 23) sorted by relevance

/openbmc/gpioplus/example/
H A Dpulse.cpp18 uint32_t line_offset = std::stoi(argv[2]); in main() local
21 gpioplus::HandleFlags flags(chip.getLineInfo(line_offset).flags); in main()
23 gpioplus::Handle handle(chip, {{line_offset, 0}}, flags, in main()
/openbmc/gpioplus/src/gpioplus/
H A Devent.cpp28 static int build(const Chip& chip, uint32_t line_offset, in build() argument
34 req.lineoffset = line_offset; in build()
53 Event::Event(const Chip& chip, uint32_t line_offset, HandleFlags handle_flags, in Event() argument
55 fd(build(chip, line_offset, handle_flags, event_flags, consumer_label), in Event()
H A Devent.hpp70 Event(const Chip& chip, uint32_t line_offset, HandleFlags handle_flags,
H A Dchip.cpp44 info.line_offset = offset; in getLineInfo()
/openbmc/gpioplus/test/
H A Devent.cpp66 const uint32_t line_offset = 3; in TEST_F() local
78 Event event(*chip, line_offset, handle_flags, event_flags, label.c_str()); in TEST_F()
81 EXPECT_EQ(line_offset, req.lineoffset); in TEST_F()
100 const uint32_t line_offset = 3; in TEST_F() local
110 EXPECT_THROW(Event(*chip, line_offset, handle_flags, event_flags, in TEST_F()
114 EXPECT_EQ(line_offset, req.lineoffset); in TEST_F()
H A Dchip.cpp115 EXPECT_EQ(line, req.line_offset); in TEST_F()
133 EXPECT_EQ(line, info.line_offset); in TEST_F()
/openbmc/linux/drivers/media/platform/st/stm32/dma2d/
H A Ddma2d-hw.c84 frm->line_offset & 0x3fff); in dma2d_config_out()
92 frm->line_offset); in dma2d_config_fg()
116 frm->line_offset); in dma2d_config_bg()
H A Ddma2d.h70 u16 line_offset; member
H A Ddma2d.c83 .line_offset = 0,
465 frm->line_offset = 0; in vidioc_s_fmt()
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_blit.c263 size_t offs = (diff_offs + diff->line_offset) / diff->cpp; in vmw_adjust_rect()
308 diff->line_offset += csize; in vmw_diff_memcpy()
319 diff->line_offset += n; in vmw_diff_memcpy()
625 diff->line_offset = dst_offset % dst_stride; in vmw_bo_cpu_blit()
H A Dvmwgfx_drv.h1331 size_t line_offset; member
1343 .line_offset = 0, \
/openbmc/qemu/hw/display/
H A Dvga.c1095 params->line_offset = s->vbe_line_offset; in vga_get_params()
1102 params->line_offset = s->cr[VGA_CRTC_OFFSET] << 3; in vga_get_params()
1202 int dup9, line_offset; in vga_draw_text() local
1230 line_offset = s->params.line_offset; in vga_draw_text()
1372 offset += line_offset; in vga_draw_text()
1583 region_end = region_start + (ram_addr_t)s->params.line_offset * (height - 1) + bwidth; in vga_draw_graphic()
1618 if (s->params.line_offset != s->last_line_offset || in vga_draw_graphic()
1629 s->last_line_offset = s->params.line_offset; in vga_draw_graphic()
1647 height, format, s->params.line_offset, in vga_draw_graphic()
1664 width, height, v, line_offset, s->cr[9], s->cr[VGA_CRTC_MODE], in vga_draw_graphic()
[all …]
H A Dvga_int.h61 uint32_t line_offset; member
H A Dcirrus_vga.c1109 uint32_t line_offset; in cirrus_get_params() local
1111 line_offset = s->vga.cr[0x13] in cirrus_get_params()
1113 line_offset <<= 3; in cirrus_get_params()
1114 params->line_offset = line_offset; in cirrus_get_params()
/openbmc/linux/include/uapi/linux/
H A Dgpio.h336 __u32 line_offset; member
/openbmc/linux/drivers/media/platform/ti/davinci/
H A Dvpif.c248 u32 line_offset, vanc0_strt, vanc0_size, vanc1_strt; member
374 vpifregs[i].line_offset); in config_vpif_params()
/openbmc/linux/drivers/gpu/drm/udl/
H A Dudl_modeset.c225 const int line_offset = fb->pitches[0] * i; in udl_handle_damage() local
226 const int byte_offset = line_offset + (clip->x1 << log_bpp); in udl_handle_damage()
/openbmc/linux/drivers/video/fbdev/
H A Datafb.c114 short line_offset; member
1012 par->hw.falcon.line_offset = bpp * (xres_virtual - xres) / 16; in falcon_decode_var()
1411 var->xres_virtual = var->xres + hw->line_offset * 16 / var->bits_per_pixel; in falcon_encode_var()
1521 hw->line_offset = shifter_f030.off_next; in falcon_get_par()
1620 shifter_f030.off_next = hw->line_offset; in falcon_vbl_switcher()
1627 shifter_f030.off_next = current_par.hw.falcon.line_offset; in falcon_vbl_switcher()
1648 par->hw.falcon.line_offset = bpp * in falcon_pan_display()
1651 par->hw.falcon.line_offset -= bpp; in falcon_pan_display()
H A Dsmscufx.c846 const int line_offset = dev->info->fix.line_length * (y + line); in ufx_raw_rect() local
847 const int byte_offset = line_offset + (x * BPP); in ufx_raw_rect()
H A Dudlfb.c637 const int line_offset = dlfb->info->fix.line_length * i; in dlfb_handle_damage() local
638 const int byte_offset = line_offset + (x * BPP); in dlfb_handle_damage()
/openbmc/linux/drivers/gpio/
H A Dgpiolib-cdev.c2423 info_v1->line_offset = info_v2->offset; in gpio_v2_line_info_to_v1()
2588 desc = gpiochip_get_desc(cdev->gdev->chip, lineinfo.line_offset); in lineinfo_get_v1()
2596 if (test_and_set_bit(lineinfo.line_offset, cdev->watched_lines)) in lineinfo_get_v1()
2605 clear_bit(lineinfo.line_offset, cdev->watched_lines); in lineinfo_get_v1()
/openbmc/linux/drivers/media/common/v4l2-tpg/
H A Dv4l2-tpg-core.c2498 unsigned line_offset = tpg_hscale_div(tpg, p, tpg->crop.left); in tpg_fill_plane_pattern() local
2587 linestart_older += line_offset; in tpg_fill_plane_pattern()
2588 linestart_newer += line_offset; in tpg_fill_plane_pattern()
/openbmc/linux/include/acpi/
H A Dactbl2.h1751 u32 line_offset[]; /* Variable length */ member