/openbmc/u-boot/drivers/video/tegra124/ |
H A D | display.c | 28 int pclk = timing->pixelclock.typ; in tegra_dc_calc_refresh() 30 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() 49 refresh % 1000, timing->pixelclock.typ); in print_mode() 63 writel(timing->vsync_len.typ << 16 | timing->hsync_len.typ, in update_display_mode() 66 writel(((timing->vback_porch.typ - vref_to_sync) << 16) | in update_display_mode() 67 timing->hback_porch.typ, &disp_ctrl->disp.back_porch); in update_display_mode() [all …]
|
/openbmc/linux/include/linux/mlx5/ |
H A D | device.h | 50 #define __mlx5_nullp(typ) ((struct mlx5_ifc_##typ##_bits *)0) argument 51 #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) argument 52 #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, 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 58 #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) argument 59 #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) argument [all …]
|
/openbmc/u-boot/drivers/video/sunxi/ |
H A D | lcdc.c | 20 delay = mode->vfront_porch.typ + mode->vsync_len.typ + in lcdc_get_clk_delay() 21 mode->vback_porch.typ; in lcdc_get_clk_delay() 90 writel(SUNXI_LCDC_X(mode->hactive.typ) | in lcdc_tcon0_mode_set() 91 SUNXI_LCDC_Y(mode->vactive.typ), &lcdc->tcon0_timing_active); in lcdc_tcon0_mode_set() 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() 104 writel(SUNXI_LCDC_X(mode->hsync_len.typ) | in lcdc_tcon0_mode_set() 105 SUNXI_LCDC_Y(mode->vsync_len.typ), &lcdc->tcon0_timing_sync); in lcdc_tcon0_mode_set() [all …]
|
/openbmc/linux/fs/freevxfs/ |
H A D | vxfs_bmap.c | 20 vxfs_typdump(struct vxfs_typed *typ) in vxfs_typdump() argument 22 printk(KERN_DEBUG "type=%Lu ", typ->vt_hdr >> VXFS_TYPED_TYPESHIFT); in vxfs_typdump() 23 printk("offset=%Lx ", typ->vt_hdr & VXFS_TYPED_OFFSETMASK); in vxfs_typdump() 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 123 typ = ((struct vxfs_typed *)bp->b_data) + in vxfs_bmap_indir() 125 off = fs64_to_cpu(sbi, typ->vt_hdr) & VXFS_TYPED_OFFSETMASK; in vxfs_bmap_indir() 132 switch ((u_int32_t)(fs64_to_cpu(sbi, typ->vt_hdr) >> in vxfs_bmap_indir() 136 fs32_to_cpu(sbi, typ->vt_block), in vxfs_bmap_indir() [all …]
|
/openbmc/u-boot/drivers/video/ |
H A D | atmel_lcdfb.c | 134 value = (timing->hactive.typ * timing->vactive.typ * in atmel_fb_init() 140 value = get_lcdc_clk_rate(0) / timing->pixelclock.typ; in atmel_fb_init() 141 if (get_lcdc_clk_rate(0) % timing->pixelclock.typ) in atmel_fb_init() 164 value = (timing->vsync_len.typ - 1) << ATMEL_LCDC_VPW_OFFSET; in atmel_fb_init() 165 value |= timing->vback_porch.typ << ATMEL_LCDC_VBP_OFFSET; in atmel_fb_init() 166 value |= timing->vfront_porch.typ; in atmel_fb_init() 172 value = (timing->hfront_porch.typ - 1) << ATMEL_LCDC_HFP_OFFSET; in atmel_fb_init() 173 value |= (timing->hsync_len.typ - 1) << ATMEL_LCDC_HPW_OFFSET; in atmel_fb_init() 174 value |= (timing->hback_porch.typ - 1); in atmel_fb_init() 178 value = (timing->hactive.typ - 1) << ATMEL_LCDC_HOZVAL_OFFSET; in atmel_fb_init() [all …]
|
H A D | mali_dp.c | 161 u32 val = MALIDP_H_SYNCWIDTH(timings->hsync_len.typ) | in malidp_setup_timings() 162 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() 187 if (clk_set_rate(&malidp->pxlclk, timings->pixelclock.typ) == 0) in malidp_setup_mode() 209 val = MALIDP_CMP_V_SIZE(timings->vactive.typ) | in malidp_setup_layer() [all …]
|
H A D | atmel_hlcdfb.c | 325 value = priv->clk_rate / timing->pixelclock.typ; in atmel_hlcdc_init() 326 if (priv->clk_rate % timing->pixelclock.typ) in atmel_hlcdc_init() 385 value = LCDC_LCDCFG1_VSPW(timing->vsync_len.typ - 1); in atmel_hlcdc_init() 386 value |= LCDC_LCDCFG1_HSPW(timing->hsync_len.typ - 1); in atmel_hlcdc_init() 389 value = LCDC_LCDCFG2_VBPW(timing->vback_porch.typ); in atmel_hlcdc_init() 390 value |= LCDC_LCDCFG2_VFPW(timing->vfront_porch.typ - 1); in atmel_hlcdc_init() 393 value = LCDC_LCDCFG3_HBPW(timing->hback_porch.typ - 1); in atmel_hlcdc_init() 394 value |= LCDC_LCDCFG3_HFPW(timing->hfront_porch.typ - 1); 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() [all …]
|
H A D | tda19988.c | 372 u8 div = 148500000 / timing->pixelclock.typ, reg; in tda19988_enable() 388 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() 450 timing->hfront_porch.typ + 3); in tda19988_enable() 452 timing->vfront_porch.typ + 1); 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() [all …]
|
H A D | dw_hdmi.c | 462 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() 508 hdmi_write(hdmi, edid->hfront_porch.typ >> 8, HDMI_FC_HSYNCINDELAY1); in hdmi_av_composer() 509 hdmi_write(hdmi, edid->hfront_porch.typ, HDMI_FC_HSYNCINDELAY0); in hdmi_av_composer() [all …]
|
H A D | tegra.c | 111 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/video/ |
H A D | videomode.c | 16 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/linux/drivers/isdn/hardware/mISDN/ |
H A D | iohelper.h | 65 #define IOFUNC_MEMIO(name, hws, typ, adr) \ argument 68 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; \ 89 dest.write_fifo = &WriteFiFo##name##_##typ; \ [all …]
|
/openbmc/openbmc/poky/bitbake/lib/hashserv/ |
H A D | __init__.py | 60 (typ, a) = parse_address(addr) 61 if typ == ADDR_TYPE_UNIX: 63 elif typ == ADDR_TYPE_WS: 78 (typ, a) = parse_address(addr) 79 if typ == ADDR_TYPE_UNIX: 81 elif typ == ADDR_TYPE_WS: 97 (typ, a) = parse_address(addr) 98 if typ == ADDR_TYPE_UNIX: 100 elif typ == ADDR_TYPE_WS:
|
/openbmc/openbmc/poky/bitbake/lib/bb/ |
H A D | acl.py | 54 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" 155 return f"{typ}:{qual}:{r}{w}{x}" [all …]
|
/openbmc/u-boot/drivers/video/rockchip/ |
H A D | rk_vop.c | 41 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() 150 u32 vback_porch = edid->vback_porch.typ; in rkvop_mode_set() [all …]
|
H A D | rk_mipi.c | 91 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 D | meson_venc.c | 696 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() 714 dmt_mode->encp.max_pxcnt = mode->hactive.typ + in meson_venc_hdmi_get_dmt_vmode() 715 mode->hfront_porch.typ + in meson_venc_hdmi_get_dmt_vmode() 716 mode->hback_porch.typ + in meson_venc_hdmi_get_dmt_vmode() 717 mode->hsync_len.typ - 1; in meson_venc_hdmi_get_dmt_vmode() 719 dmt_mode->encp.havon_begin = mode->hback_porch.typ + in meson_venc_hdmi_get_dmt_vmode() 720 mode->hsync_len.typ; in meson_venc_hdmi_get_dmt_vmode() 723 mode->hactive.typ - 1; in meson_venc_hdmi_get_dmt_vmode() 725 dmt_mode->encp.vavon_bline = mode->vback_porch.typ + in meson_venc_hdmi_get_dmt_vmode() [all …]
|
/openbmc/qemu/scripts/qapi/ |
H A D | introspect.py | 195 for typ in self._used_types: 196 typ.visit(self) 226 def _use_type(self, typ: QAPISchemaType) -> str: 230 if typ.json_type() == 'int': 233 typ = type_int 234 elif (isinstance(typ, QAPISchemaArrayType) and 235 typ.element_type.json_type() == 'int'): 238 typ = type_intlist 240 if typ not in self._used_types: 241 self._used_types.append(typ) [all …]
|
H A D | schema.py | 945 typ: str, 953 self._type_name = typ 983 typ: str, 986 super().__init__(name, info, typ, False, ifcond) 1046 typ = self.ret_type 1047 if isinstance(typ, QAPISchemaArrayType): 1048 typ = typ.element_type 1049 if not isinstance(typ, QAPISchemaObjectType): 1092 typ = schema.resolve_type( 1094 if not isinstance(typ, QAPISchemaObjectType): [all …]
|
/openbmc/u-boot/drivers/video/stm32/ |
H A D | stm32_ltdc.c | 221 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() 227 total_w = acc_act_w + timing->hfront_porch.typ; in stm32_ltdc_set_mode() 228 total_h = acc_act_h + timing->vfront_porch.typ; in stm32_ltdc_set_mode() 388 rate = clk_set_rate(&pclk, priv->timing.pixelclock.typ); in stm32_ltdc_probe() 391 __func__, priv->timing.pixelclock.typ, rate); in stm32_ltdc_probe() [all …]
|
/openbmc/qemu/audio/ |
H A D | alsaaudio.c | 88 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() 471 alsa_logerr2 (err, typ, "Failed to initialize hardware parameters\n"); 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() 492 alsa_logerr2 (err, typ, "Failed to set frequency %d\n", req->freq); in alsa_open() 502 alsa_logerr2 (err, typ, "Failed to set number of channels %d\n", in alsa_open() 515 alsa_logerr2(err, typ, "Failed to set buffer time to %" PRId32 "\n", in alsa_open() [all …]
|
H A D | ossaudio.c | 80 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() 280 oss_logerr2 (errno, typ, "Failed to set sample size %d\n", req->fmt); in oss_open() 285 oss_logerr2 (errno, typ, "Failed to set number of channels %d\n", in oss_open() 291 oss_logerr2 (errno, typ, "Failed to set frequency %d\n", req->freq); in oss_open() 296 oss_logerr2 (errno, typ, "Failed to set non-blocking mode\n"); in oss_open() [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | sbom30.py | 213 def foreach_filter(self, typ, *, match_subclass=True, **attr_filter): argument 214 for obj in self.foreach_type(typ, match_subclass=match_subclass): 218 def find_filter(self, typ, *, match_subclass=True, **attr_filter): argument 220 typ, match_subclass=match_subclass, **attr_filter 225 def foreach_root(self, typ, **attr_filter): argument 227 if not isinstance(obj, typ): 233 def find_root(self, typ, **attr_filter): argument 234 for obj in self.foreach_root(typ, **attr_filter): 470 def new_annotation(self, subject, comment, typ): argument 473 _id=self.new_spdxid("annotation", spdxid_hash(comment, typ)), [all …]
|
/openbmc/linux/tools/objtool/arch/powerpc/ |
H A D | decode.c | 47 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()
|
/openbmc/linux/Documentation/devicetree/bindings/display/panel/ |
H A D | panel-timing.yaml | 57 of min, typ, max values. 82 description: min, typ, max number of pixels 94 description: min, typ, max number of pixels 106 description: min, typ, max number of pixels 118 description: min, typ, max number of lines 130 description: min, typ, max number of lines 142 description: min, typ, max number of lines
|