Home
last modified time | relevance | path

Searched refs:typ (Results 1 – 25 of 102) sorted by relevance

12345

/openbmc/u-boot/drivers/video/tegra124/
H A Ddisplay.c30 h_total = timing->hactive.typ + timing->hfront_porch.typ + in tegra_dc_calc_refresh()
31 timing->hback_porch.typ + timing->hsync_len.typ; in tegra_dc_calc_refresh()
32 v_total = timing->vactive.typ + timing->vfront_porch.typ + in tegra_dc_calc_refresh()
33 timing->vback_porch.typ + timing->vsync_len.typ; in tegra_dc_calc_refresh()
48 timing->hactive.typ, timing->vactive.typ, refresh / 1000, in print_mode()
63 writel(timing->vsync_len.typ << 16 | timing->hsync_len.typ, in update_display_mode()
72 writel(timing->hactive.typ | (timing->vactive.typ << 16), in update_display_mode()
167 writel(min_mode.hsync_len.typ | (min_mode.vsync_len.typ << 16), in tegra_dc_sor_disable_win_short_raster()
171 writel(min_mode.hback_porch.typ | (min_mode.vback_porch.typ << 16), in tegra_dc_sor_disable_win_short_raster()
179 writel(min_mode.hactive.typ | (min_mode.vactive.typ << 16), in tegra_dc_sor_disable_win_short_raster()
[all …]
/openbmc/linux/include/linux/mlx5/
H A Ddevice.h50 #define __mlx5_nullp(typ) ((struct mlx5_ifc_##typ##_bits *)0) argument
51 #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) argument
53 #define __mlx5_16_off(typ, fld) (__mlx5_bit_off(typ, fld) / 16) argument
54 #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) argument
55 #define __mlx5_64_off(typ, fld) (__mlx5_bit_off(typ, fld) / 64) argument
56 #define __mlx5_16_bit_off(typ, fld) (16 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0xf… argument
57 #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1… argument
59 #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) argument
61 #define __mlx5_16_mask(typ, fld) (__mlx5_mask16(typ, fld) << __mlx5_16_bit_off(typ, fld)) argument
70 #define MLX5_BYTE_OFF(typ, fld) (__mlx5_bit_off(typ, fld) / 8) argument
[all …]
/openbmc/linux/fs/freevxfs/
H A Dvxfs_bmap.c20 vxfs_typdump(struct vxfs_typed *typ) in vxfs_typdump() argument
24 printk("block=%x ", typ->vt_block); in vxfs_typdump()
25 printk("size=%x\n", typ->vt_size); in vxfs_typdump()
115 struct vxfs_typed *typ; in vxfs_bmap_indir() local
136 fs32_to_cpu(sbi, typ->vt_block), in vxfs_bmap_indir()
137 fs32_to_cpu(sbi, typ->vt_size), in vxfs_bmap_indir()
150 (struct vxfs_typed_dev4 *)typ; in vxfs_bmap_indir()
199 vxfs_typdump(typ); in vxfs_bmap_typed()
206 fs32_to_cpu(sbi, typ->vt_block), in vxfs_bmap_typed()
207 fs32_to_cpu(sbi, typ->vt_size), in vxfs_bmap_typed()
[all …]
/openbmc/u-boot/drivers/video/sunxi/
H A Dlcdc.c20 delay = mode->vfront_porch.typ + mode->vsync_len.typ + in lcdc_get_clk_delay()
21 mode->vback_porch.typ; in lcdc_get_clk_delay()
93 bp = mode->hsync_len.typ + mode->hback_porch.typ; in lcdc_tcon0_mode_set()
94 total = mode->hactive.typ + mode->hfront_porch.typ + bp; in lcdc_tcon0_mode_set()
98 bp = mode->vsync_len.typ + mode->vback_porch.typ; in lcdc_tcon0_mode_set()
99 total = mode->vactive.typ + mode->vfront_porch.typ + bp; in lcdc_tcon0_mode_set()
166 yres = mode->vactive.typ; in lcdc_tcon1_mode_set()
176 bp = mode->hsync_len.typ + mode->hback_porch.typ; in lcdc_tcon1_mode_set()
177 total = mode->hactive.typ + mode->hfront_porch.typ + bp; in lcdc_tcon1_mode_set()
181 bp = mode->vsync_len.typ + mode->vback_porch.typ; in lcdc_tcon1_mode_set()
[all …]
/openbmc/linux/drivers/video/
H A Dvideomode.c16 vm->pixelclock = dt->pixelclock.typ; in videomode_from_timing()
17 vm->hactive = dt->hactive.typ; in videomode_from_timing()
18 vm->hfront_porch = dt->hfront_porch.typ; in videomode_from_timing()
19 vm->hback_porch = dt->hback_porch.typ; in videomode_from_timing()
20 vm->hsync_len = dt->hsync_len.typ; in videomode_from_timing()
22 vm->vactive = dt->vactive.typ; in videomode_from_timing()
23 vm->vfront_porch = dt->vfront_porch.typ; in videomode_from_timing()
24 vm->vback_porch = dt->vback_porch.typ; in videomode_from_timing()
25 vm->vsync_len = dt->vsync_len.typ; in videomode_from_timing()
/openbmc/u-boot/drivers/video/
H A Datmel_lcdfb.c134 value = (timing->hactive.typ * timing->vactive.typ * in atmel_fb_init()
166 value |= timing->vfront_porch.typ; in atmel_fb_init()
174 value |= (timing->hback_porch.typ - 1); in atmel_fb_init()
179 value |= timing->vactive.typ - 1; in atmel_fb_init()
218 timing.pixelclock.typ = panel_info.vl_clk; in lcd_ctrl_init()
220 timing.hactive.typ = panel_info.vl_col; in lcd_ctrl_init()
225 timing.vactive.typ = panel_info.vl_row; in lcd_ctrl_init()
227 timing.vback_porch.typ = panel_info.vl_clk; in lcd_ctrl_init()
228 timing.vsync_len.typ = panel_info.vl_clk; in lcd_ctrl_init()
257 uc_priv->xsize = timing->hactive.typ; in atmel_fb_lcd_probe()
[all …]
H A Dmali_dp.c162 MALIDP_V_SYNCWIDTH(timings->vsync_len.typ); in malidp_setup_timings()
165 val = MALIDP_H_BACKPORCH(timings->hback_porch.typ) | in malidp_setup_timings()
166 MALIDP_H_FRONTPORCH(timings->hfront_porch.typ); in malidp_setup_timings()
169 val = MALIDP_V_BACKPORCH(timings->vback_porch.typ) | in malidp_setup_timings()
170 MALIDP_V_FRONTPORCH(timings->vfront_porch.typ); in malidp_setup_timings()
173 val = MALIDP_H_ACTIVE(timings->hactive.typ) | in malidp_setup_timings()
174 MALIDP_V_ACTIVE(timings->vactive.typ); in malidp_setup_timings()
209 val = MALIDP_CMP_V_SIZE(timings->vactive.typ) | in malidp_setup_layer()
210 MALIDP_CMP_H_SIZE(timings->hactive.typ); in malidp_setup_layer()
214 val = MALIDP_IN_V_SIZE(timings->vactive.typ) | in malidp_setup_layer()
[all …]
H A Dtda19988.c388 line_clocks = timing->hsync_len.typ + timing->hback_porch.typ + in tda19988_enable()
389 timing->hactive.typ + timing->hfront_porch.typ; in tda19988_enable()
390 lines = timing->vsync_len.typ + timing->vback_porch.typ + in tda19988_enable()
391 timing->vactive.typ + timing->vfront_porch.typ; in tda19988_enable()
456 timing->vfront_porch.typ); in tda19988_enable()
458 timing->hfront_porch.typ); in tda19988_enable()
460 timing->vfront_porch.typ + in tda19988_enable()
461 timing->vsync_len.typ); in tda19988_enable()
463 timing->hfront_porch.typ); in tda19988_enable()
469 timing->hfront_porch.typ); in tda19988_enable()
[all …]
H A Datmel_hlcdfb.c325 value = priv->clk_rate / timing->pixelclock.typ; in atmel_hlcdc_init()
326 if (priv->clk_rate % timing->pixelclock.typ) in atmel_hlcdc_init()
389 value = LCDC_LCDCFG2_VBPW(timing->vback_porch.typ); in atmel_hlcdc_init()
398 value = LCDC_LCDCFG4_RPF(timing->vactive.typ - 1); in atmel_hlcdc_init()
399 value |= LCDC_LCDCFG4_PPL(timing->hactive.typ - 1); in atmel_hlcdc_init()
489 uc_priv->xsize = priv->timing.hactive.typ; in atmel_hlcdc_probe()
490 uc_priv->ysize = priv->timing.vactive.typ; in atmel_hlcdc_probe()
517 if (priv->timing.hactive.typ > LCD_MAX_WIDTH) in atmel_hlcdc_ofdata_to_platdata()
518 priv->timing.hactive.typ = LCD_MAX_WIDTH; in atmel_hlcdc_ofdata_to_platdata()
520 if (priv->timing.vactive.typ > LCD_MAX_HEIGHT) in atmel_hlcdc_ofdata_to_platdata()
[all …]
H A Ddw_hdmi.c462 hbl = edid->hback_porch.typ + edid->hfront_porch.typ + in hdmi_av_composer()
463 edid->hsync_len.typ; in hdmi_av_composer()
464 vbl = edid->vback_porch.typ + edid->vfront_porch.typ + in hdmi_av_composer()
465 edid->vsync_len.typ; in hdmi_av_composer()
493 hdmi_write(hdmi, edid->hactive.typ >> 8, HDMI_FC_INHACTV1); in hdmi_av_composer()
494 hdmi_write(hdmi, edid->hactive.typ, HDMI_FC_INHACTV0); in hdmi_av_composer()
497 hdmi_write(hdmi, edid->vactive.typ >> 8, HDMI_FC_INVACTV1); in hdmi_av_composer()
498 hdmi_write(hdmi, edid->vactive.typ, HDMI_FC_INVACTV0); in hdmi_av_composer()
972 edid->pixelclock.typ, edid->hactive.typ, edid->vactive.typ); in dw_hdmi_enable()
976 ret = hdmi->phy_set(hdmi, edid->pixelclock.typ); in dw_hdmi_enable()
[all …]
H A Dtegra.c111 writel(dt->hsync_len.typ | dt->vsync_len.typ << 16, &disp->sync_width); in update_display_mode()
112 writel(dt->hback_porch.typ | dt->vback_porch.typ << 16, in update_display_mode()
114 writel((dt->hfront_porch.typ - 1) | (dt->vfront_porch.typ - 1) << 16, in update_display_mode()
116 writel(dt->hactive.typ | (dt->vactive.typ << 16), &disp->disp_active); in update_display_mode()
366 priv->width = timing->hactive.typ; in tegra_lcd_ofdata_to_platdata()
367 priv->height = timing->vactive.typ; in tegra_lcd_ofdata_to_platdata()
368 priv->pixel_clock = timing->pixelclock.typ; in tegra_lcd_ofdata_to_platdata()
/openbmc/linux/drivers/isdn/hardware/mISDN/
H A Diohelper.h68 return readb(((typ *)hw->adr) + off); \
72 writeb(val, ((typ *)hw->adr) + off); \
77 *dp++ = readb(((typ *)hw->adr) + off); \
82 writeb(*dp++, ((typ *)hw->adr) + off); \
85 #define ASSIGN_FUNC(typ, name, dest) do { \ argument
86 dest.read_reg = &Read##name##_##typ; \
87 dest.write_reg = &Write##name##_##typ; \
88 dest.read_fifo = &ReadFiFo##name##_##typ; \
91 #define ASSIGN_FUNC_IPAC(typ, target) do { \ argument
92 ASSIGN_FUNC(typ, ISAC, target.isac); \
[all …]
/openbmc/openbmc/poky/bitbake/lib/hashserv/
H A D__init__.py58 (typ, a) = parse_address(addr)
59 if typ == ADDR_TYPE_UNIX:
61 elif typ == ADDR_TYPE_WS:
76 (typ, a) = parse_address(addr)
77 if typ == ADDR_TYPE_UNIX:
79 elif typ == ADDR_TYPE_WS:
95 (typ, a) = parse_address(addr)
96 if typ == ADDR_TYPE_UNIX:
98 elif typ == ADDR_TYPE_WS:
/openbmc/u-boot/drivers/video/rockchip/
H A Drk_vop.c41 u32 hactive = edid->hactive.typ; in rkvop_enable()
42 u32 vactive = edid->vactive.typ; in rkvop_enable()
47 writel(V_DSP_XST(edid->hsync_len.typ + edid->hback_porch.typ) | in rkvop_enable()
48 V_DSP_YST(edid->vsync_len.typ + edid->vback_porch.typ), in rkvop_enable()
145 u32 hactive = edid->hactive.typ; in rkvop_mode_set()
146 u32 vactive = edid->vactive.typ; in rkvop_mode_set()
147 u32 hsync_len = edid->hsync_len.typ; in rkvop_mode_set()
148 u32 hback_porch = edid->hback_porch.typ; in rkvop_mode_set()
149 u32 vsync_len = edid->vsync_len.typ; in rkvop_mode_set()
334 uc_priv->xsize = timing.hactive.typ; in rk_display_init()
[all …]
H A Drk_mipi.c91 rk_mipi_dsi_write(regs, VID_HSA_TIME, timing->hsync_len.typ); in rk_mipi_dsi_enable()
92 rk_mipi_dsi_write(regs, VID_HBP_TIME, timing->hback_porch.typ); in rk_mipi_dsi_enable()
93 rk_mipi_dsi_write(regs, VID_HLINE_TIME, (timing->hsync_len.typ in rk_mipi_dsi_enable()
94 + timing->hback_porch.typ + timing->hactive.typ in rk_mipi_dsi_enable()
95 + timing->hfront_porch.typ)); in rk_mipi_dsi_enable()
96 rk_mipi_dsi_write(regs, VID_VSA_LINES, timing->vsync_len.typ); in rk_mipi_dsi_enable()
97 rk_mipi_dsi_write(regs, VID_VBP_LINES, timing->vback_porch.typ); in rk_mipi_dsi_enable()
98 rk_mipi_dsi_write(regs, VID_VFP_LINES, timing->vfront_porch.typ); in rk_mipi_dsi_enable()
99 rk_mipi_dsi_write(regs, VID_ACTIVE_LINES, timing->vactive.typ); in rk_mipi_dsi_enable()
/openbmc/u-boot/drivers/video/meson/
H A Dmeson_venc.c696 if (mode->hactive.typ < 640 || mode->hactive.typ > 1920) in meson_venc_hdmi_supported_mode()
699 if (mode->vactive.typ < 480 || mode->vactive.typ > 1200) in meson_venc_hdmi_supported_mode()
720 mode->hsync_len.typ; in meson_venc_hdmi_get_dmt_vmode()
723 mode->hactive.typ - 1; in meson_venc_hdmi_get_dmt_vmode()
814 total_pixels_venc = mode->hback_porch.typ + mode->hactive.typ + in meson_venc_hdmi_mode_set()
815 mode->hfront_porch.typ + mode->hsync_len.typ; in meson_venc_hdmi_mode_set()
933 lines_f0 = mode->vback_porch.typ + mode->vactive.typ + in meson_venc_hdmi_mode_set()
934 mode->vback_porch.typ + mode->vsync_len.typ; in meson_venc_hdmi_mode_set()
1218 mode->vactive.typ + in meson_venc_hdmi_mode_set()
1257 mode->vactive.typ + in meson_venc_hdmi_mode_set()
[all …]
H A Dmeson_dw_hdmi.c178 timing.hactive.typ, timing.hfront_porch.typ, in meson_dw_hdmi_read_edid()
179 timing.hback_porch.typ, timing.hsync_len.typ, in meson_dw_hdmi_read_edid()
180 timing.vactive.typ, timing.vfront_porch.typ, in meson_dw_hdmi_read_edid()
181 timing.vback_porch.typ, timing.vsync_len.typ); in meson_dw_hdmi_read_edid()
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dacl.py54 def acl_get_file(path, typ): argument
55 acl = libacl.acl_get_file(os.fsencode(path), typ)
134 typ = ""
137 typ = "user"
140 typ = "group"
143 typ = "user"
145 typ = "group"
147 typ = "mask"
149 typ = "other"
191 def from_path(cls, path, typ): argument
[all …]
/openbmc/u-boot/drivers/video/stm32/
H A Dstm32_ltdc.c221 hsync = timing->hsync_len.typ - 1; in stm32_ltdc_set_mode()
222 vsync = timing->vsync_len.typ - 1; in stm32_ltdc_set_mode()
223 acc_hbp = hsync + timing->hback_porch.typ; in stm32_ltdc_set_mode()
224 acc_vbp = vsync + timing->vback_porch.typ; in stm32_ltdc_set_mode()
225 acc_act_w = acc_hbp + timing->hactive.typ; in stm32_ltdc_set_mode()
226 acc_act_h = acc_vbp + timing->vactive.typ; in stm32_ltdc_set_mode()
396 priv->timing.pixelclock.typ, rate); in stm32_ltdc_probe()
403 priv->crop_w = priv->timing.hactive.typ; in stm32_ltdc_probe()
404 priv->crop_h = priv->timing.vactive.typ; in stm32_ltdc_probe()
408 priv->timing.hactive.typ, priv->timing.vactive.typ, in stm32_ltdc_probe()
[all …]
/openbmc/qemu/scripts/qapi/
H A Dintrospect.py194 for typ in self._used_types:
195 typ.visit(self)
225 def _use_type(self, typ: QAPISchemaType) -> str:
229 if typ.json_type() == 'int':
230 typ = self._schema.lookup_type('int')
235 if typ not in self._used_types:
236 self._used_types.append(typ)
240 if isinstance(typ, QAPISchemaBuiltinType):
241 return typ.name
242 if isinstance(typ, QAPISchemaArrayType):
[all …]
H A Devents.py48 def gen_param_var(typ: QAPISchemaObjectType) -> str:
54 assert not typ.variants
58 c_name=typ.c_name())
60 for memb in typ.members:
73 if not typ.is_implicit():
77 c_name=typ.c_name())
H A Dschema.py768 self._type_name = typ
847 assert typ
961 if typ and not isinstance(ent, typ):
970 if not typ:
975 return typ
1064 if typ:
1090 if isinstance(typ, list):
1091 assert len(typ) == 1
1092 typ = self._make_array_type(typ[0], info)
1116 assert len(typ) == 1
[all …]
/openbmc/qemu/audio/
H A Dalsaaudio.c88 const char *typ, in alsa_logerr2() argument
95 AUD_log (AUDIO_CAP, "Could not initialize %s\n", typ); in alsa_logerr2()
450 const char *typ = in ? "ADC" : "DAC"; in alsa_open() local
465 alsa_logerr2 (err, typ, "Failed to open `%s':\n", pcm_name); in alsa_open()
481 alsa_logerr2 (err, typ, "Failed to set access type\n"); in alsa_open()
487 alsa_logerr2 (err, typ, "Failed to set format %d\n", req->fmt); in alsa_open()
547 alsa_logerr2 (err, typ, "Failed to apply audio parameters\n"); in alsa_open()
553 alsa_logerr2 (err, typ, "Failed to get buffer size\n"); in alsa_open()
559 alsa_logerr2 (err, typ, "Failed to get format\n"); in alsa_open()
590 dolog ("Audio parameters for %s\n", typ); in alsa_open()
[all …]
H A Dossaudio.c80 const char *typ, in oss_logerr2() argument
87 AUD_log (AUDIO_CAP, "Could not initialize %s\n", typ); in oss_logerr2()
222 static int oss_get_version (int fd, int *version, const char *typ) in oss_get_version() argument
239 oss_logerr2 (errno, typ, "Failed to get OSS version\n"); in oss_get_version()
257 const char *typ = in ? "ADC" : "DAC"; in oss_open() local
268 oss_logerr2 (errno, typ, "Failed to open `%s'\n", dspname); in oss_open()
296 oss_logerr2 (errno, typ, "Failed to set non-blocking mode\n"); in oss_open()
304 if (!oss_get_version (fd, &version, typ)) { in oss_open()
310 oss_logerr2 (errno, typ, in oss_open()
331 oss_logerr2 (errno, typ, "Failed to get buffer length\n"); in oss_open()
[all …]
/openbmc/linux/tools/objtool/arch/powerpc/
H A Ddecode.c47 enum insn_type typ; in arch_decode_instruction() local
53 typ = INSN_OTHER; in arch_decode_instruction()
59 typ = INSN_CALL; in arch_decode_instruction()
72 insn->type = typ; in arch_decode_instruction()

12345