/Linux-v5.4/drivers/infiniband/core/ |
D | sysfs.c | 827 struct hw_stats_attribute *hsa; in show_hw_stats() local 831 hsa = container_of(attr, struct hw_stats_attribute, attr); in show_hw_stats() 832 if (!hsa->port_num) { in show_hw_stats() 842 ret = update_hw_stats(dev, stats, hsa->port_num, hsa->index); in show_hw_stats() 845 ret = print_hw_stat(dev, hsa->port_num, stats, hsa->index, buf); in show_hw_stats() 856 struct hw_stats_attribute *hsa; in show_stats_lifespan() local 860 hsa = container_of(attr, struct hw_stats_attribute, attr); in show_stats_lifespan() 861 if (!hsa->port_num) { in show_stats_lifespan() 883 struct hw_stats_attribute *hsa; in set_stats_lifespan() local 895 hsa = container_of(attr, struct hw_stats_attribute, attr); in set_stats_lifespan() [all …]
|
/Linux-v5.4/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dsi.c | 3442 int hsa, hfp, hbp, width_bytes, bllp, lp_clk_div; in dsi_config_cmd_mode_interleaving() local 3465 hsa = FLD_GET(r, 31, 24); in dsi_config_cmd_mode_interleaving() 3488 bllp = hbp + hfp + hsa + DIV_ROUND_UP(width_bytes + 6, ndl); in dsi_config_cmd_mode_interleaving() 3491 hsa_interleave_hs = dsi_compute_interleave_hs(hsa, ddr_alwon, in dsi_config_cmd_mode_interleaving() 3494 hsa_interleave_lp = dsi_compute_interleave_lp(hsa, in dsi_config_cmd_mode_interleaving() 3690 int hsa = dsi->vm_timings.hsa; in dsi_proto_timings() local 3704 ((hsa == 0 && ndl == 3) ? 1 : DIV_ROUND_UP(4, ndl)) : 0; in dsi_proto_timings() 3709 tl = DIV_ROUND_UP(4, ndl) + (hsync_end ? hsa : 0) + t_he + hfp + in dsi_proto_timings() 3713 hfp, hsync_end ? hsa : 0, tl); in dsi_proto_timings() 3720 r = FLD_MOD(r, hsync_end ? hsa : 0, 31, 24); /* HSA */ in dsi_proto_timings() [all …]
|
/Linux-v5.4/drivers/gpu/drm/omapdrm/dss/ |
D | dsi.c | 3368 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() 3614 int hsa = dsi->vm_timings.hsa; in dsi_proto_timings() local 3628 ((hsa == 0 && ndl == 3) ? 1 : DIV_ROUND_UP(4, ndl)) : 0; in dsi_proto_timings() 3633 tl = DIV_ROUND_UP(4, ndl) + (hsync_end ? hsa : 0) + t_he + hfp + in dsi_proto_timings() 3637 hfp, hsync_end ? hsa : 0, tl); in dsi_proto_timings() 3644 r = FLD_MOD(r, hsync_end ? hsa : 0, 31, 24); /* HSA */ in dsi_proto_timings() [all …]
|
D | omapdss.h | 190 u16 hsa; member
|
/Linux-v5.4/drivers/gpu/drm/bridge/ |
D | cdns-dsi.c | 442 unsigned int hsa; member 541 dsi_cfg->hsa = dpi_to_dsi_timing(tmp, bpp, in cdns_dsi_mode2cfg() 571 dsi_htotal += dsi_cfg->hsa + DSI_HSA_FRAME_OVERHEAD; in cdns_dsi_adjust_phy_config() 632 dsi_hss_hsa_hse_hbp += dsi_cfg->hsa + DSI_HSA_FRAME_OVERHEAD; in cdns_dsi_check_conf() 802 writel(HBP_LEN(dsi_cfg.hbp) | HSA_LEN(dsi_cfg.hsa), in cdns_dsi_bridge_enable() 814 (dsi_cfg.hsa + DSI_BLANKING_FRAME_OVERHEAD + in cdns_dsi_bridge_enable() 829 DIV_ROUND_UP(dsi_cfg.hsa, nlanes); in cdns_dsi_bridge_enable()
|
/Linux-v5.4/drivers/gpu/drm/mcde/ |
D | mcde_dsi.c | 372 u32 hsa; in mcde_dsi_setup_video_mode() local 454 hsa = (mode->hsync_end - mode->hsync_start) * bpp - 4 - 4 - 6; in mcde_dsi_setup_video_mode() 464 hsa = 0; in mcde_dsi_setup_video_mode() 467 hfp, hbp, hsa); in mcde_dsi_setup_video_mode() 470 val = hsa << DSI_VID_HSIZE1_HSA_LENGTH_SHIFT; in mcde_dsi_setup_video_mode()
|
/Linux-v5.4/drivers/gpu/drm/sun4i/ |
D | sun6i_mipi_dsi.c | 536 u16 hbp = 0, hfp = 0, hsa = 0, hblk = 0, vblk = 0; in sun6i_dsi_setup_timings() local 559 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()
|
/Linux-v5.4/drivers/gpu/drm/bridge/synopsys/ |
D | dw-mipi-dsi.c | 683 u32 htotal, hsa, hbp, lbcc; in dw_mipi_dsi_line_timer_config() local 686 hsa = mode->hsync_end - mode->hsync_start; in dw_mipi_dsi_line_timer_config() 696 lbcc = dw_mipi_dsi_get_hcomponent_lbcc(dsi, mode, hsa); in dw_mipi_dsi_line_timer_config()
|
/Linux-v5.4/include/video/ |
D | omapfb_dss.h | 212 u16 hsa; member
|