Home
last modified time | relevance | path

Searched refs:hsa (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/core/
Dsysfs.c831 struct hw_stats_attribute *hsa; in show_hw_stats() local
835 hsa = container_of(attr, struct hw_stats_attribute, attr); in show_hw_stats()
836 if (!hsa->port_num) { in show_hw_stats()
846 ret = update_hw_stats(dev, stats, hsa->port_num, hsa->index); in show_hw_stats()
849 ret = print_hw_stat(dev, hsa->port_num, stats, hsa->index, buf); in show_hw_stats()
860 struct hw_stats_attribute *hsa; in show_stats_lifespan() local
864 hsa = container_of(attr, struct hw_stats_attribute, attr); in show_stats_lifespan()
865 if (!hsa->port_num) { in show_stats_lifespan()
887 struct hw_stats_attribute *hsa; in set_stats_lifespan() local
899 hsa = container_of(attr, struct hw_stats_attribute, attr); in set_stats_lifespan()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
Ddsi.c3445 int hsa, hfp, hbp, width_bytes, bllp, lp_clk_div; in dsi_config_cmd_mode_interleaving() local
3468 hsa = FLD_GET(r, 31, 24); in dsi_config_cmd_mode_interleaving()
3491 bllp = hbp + hfp + hsa + DIV_ROUND_UP(width_bytes + 6, ndl); in dsi_config_cmd_mode_interleaving()
3494 hsa_interleave_hs = dsi_compute_interleave_hs(hsa, ddr_alwon, in dsi_config_cmd_mode_interleaving()
3497 hsa_interleave_lp = dsi_compute_interleave_lp(hsa, in dsi_config_cmd_mode_interleaving()
3693 int hsa = dsi->vm_timings.hsa; in dsi_proto_timings() local
3707 ((hsa == 0 && ndl == 3) ? 1 : DIV_ROUND_UP(4, ndl)) : 0; in dsi_proto_timings()
3712 tl = DIV_ROUND_UP(4, ndl) + (hsync_end ? hsa : 0) + t_he + hfp + in dsi_proto_timings()
3716 hfp, hsync_end ? hsa : 0, tl); in dsi_proto_timings()
3723 r = FLD_MOD(r, hsync_end ? hsa : 0, 31, 24); /* HSA */ in dsi_proto_timings()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
Ddsi.c3368 int hsa, hfp, hbp, width_bytes, bllp, lp_clk_div; in dsi_config_cmd_mode_interleaving() local
3391 hsa = FLD_GET(r, 31, 24); in dsi_config_cmd_mode_interleaving()
3414 bllp = hbp + hfp + hsa + DIV_ROUND_UP(width_bytes + 6, ndl); in dsi_config_cmd_mode_interleaving()
3417 hsa_interleave_hs = dsi_compute_interleave_hs(hsa, ddr_alwon, in dsi_config_cmd_mode_interleaving()
3420 hsa_interleave_lp = dsi_compute_interleave_lp(hsa, in dsi_config_cmd_mode_interleaving()
3613 int hsa = dsi->vm_timings.hsa; in dsi_proto_timings() local
3627 ((hsa == 0 && ndl == 3) ? 1 : DIV_ROUND_UP(4, ndl)) : 0; in dsi_proto_timings()
3632 tl = DIV_ROUND_UP(4, ndl) + (hsync_end ? hsa : 0) + t_he + hfp + in dsi_proto_timings()
3636 hfp, hsync_end ? hsa : 0, tl); in dsi_proto_timings()
3643 r = FLD_MOD(r, hsync_end ? hsa : 0, 31, 24); /* HSA */ in dsi_proto_timings()
[all …]
Domapdss.h190 u16 hsa; member
/kernel/linux/linux-5.10/drivers/gpu/drm/mcde/
Dmcde_dsi.c437 int hsa; in mcde_dsi_setup_video_mode() local
534 hsa = (mode->hsync_end - mode->hsync_start) * cpp - 4 - 4 - 6; in mcde_dsi_setup_video_mode()
544 hsa = 0; in mcde_dsi_setup_video_mode()
554 if (hsa < 0) { in mcde_dsi_setup_video_mode()
556 hsa = 0; in mcde_dsi_setup_video_mode()
559 hfp, hbp, hsa); in mcde_dsi_setup_video_mode()
562 val = hsa << DSI_VID_HSIZE1_HSA_LENGTH_SHIFT; in mcde_dsi_setup_video_mode()
652 if (d->mdsi->lanes == 2 && (hsa & 0x01) && (hfp & 0x01) in mcde_dsi_setup_video_mode()
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/
Dcdns-dsi.c442 unsigned int hsa; member
540 dsi_cfg->hsa = dpi_to_dsi_timing(tmp, bpp, in cdns_dsi_mode2cfg()
570 dsi_htotal += dsi_cfg->hsa + DSI_HSA_FRAME_OVERHEAD; in cdns_dsi_adjust_phy_config()
631 dsi_hss_hsa_hse_hbp += dsi_cfg->hsa + DSI_HSA_FRAME_OVERHEAD; in cdns_dsi_check_conf()
803 writel(HBP_LEN(dsi_cfg.hbp) | HSA_LEN(dsi_cfg.hsa), in cdns_dsi_bridge_enable()
815 (dsi_cfg.hsa + DSI_BLANKING_FRAME_OVERHEAD + in cdns_dsi_bridge_enable()
830 DIV_ROUND_UP(dsi_cfg.hsa, nlanes); in cdns_dsi_bridge_enable()
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
Dsun6i_mipi_dsi.c535 u16 hbp = 0, hfp = 0, hsa = 0, hblk = 0, vblk = 0; in sun6i_dsi_setup_timings() local
558 hsa = max((unsigned int)HSA_PACKET_OVERHEAD, in sun6i_dsi_setup_timings()
600 bytes = max_t(size_t, max(max(hfp, hblk), max(hsa, hbp)), vblk); in sun6i_dsi_setup_timings()
639 sun6i_dsi_build_blk0_pkt(device->channel, hsa)); in sun6i_dsi_setup_timings()
641 sun6i_dsi_build_blk1_pkt(0, buffer, hsa)); in sun6i_dsi_setup_timings()
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/synopsys/
Ddw-mipi-dsi.c733 u32 htotal, hsa, hbp, lbcc; in dw_mipi_dsi_line_timer_config() local
736 hsa = mode->hsync_end - mode->hsync_start; in dw_mipi_dsi_line_timer_config()
746 lbcc = dw_mipi_dsi_get_hcomponent_lbcc(dsi, mode, hsa); in dw_mipi_dsi_line_timer_config()
/kernel/linux/linux-5.10/include/video/
Domapfb_dss.h212 u16 hsa; member
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0020_linux_drivers_gpu.patch6281 + int hfp, hbp, hsa;
6300 + * DSI bridges by turning the hfp/hbp/hsa to be
6302 + * Furthermore, rounding hsa up to 2 is needed.
6308 + hsa = bytes * hsync_len - 10;
6309 + hsa = roundup(hsa, 2);
6313 + hsa = hsync_len;
6318 + nwl_dsi_write(dsi, NWL_DSI_HSA, hsa);
7928 +#define DSIM_HBLANK_PARAM(nm, vf, hfp, hbp, hsa, num) \
7933 + .hsa_wc = (hsa), \
8506 + /* calculate hsa word counts */