/Linux-v4.19/drivers/infiniband/core/ |
D | sysfs.c | 808 struct hw_stats_attribute *hsa; in show_hw_stats() local 812 hsa = container_of(attr, struct hw_stats_attribute, attr); in show_hw_stats() 813 if (!hsa->port_num) { in show_hw_stats() 823 ret = update_hw_stats(dev, stats, hsa->port_num, hsa->index); in show_hw_stats() 826 ret = print_hw_stat(stats, hsa->index, buf); in show_hw_stats() 837 struct hw_stats_attribute *hsa; in show_stats_lifespan() local 841 hsa = container_of(attr, struct hw_stats_attribute, attr); in show_stats_lifespan() 842 if (!hsa->port_num) { in show_stats_lifespan() 864 struct hw_stats_attribute *hsa; in set_stats_lifespan() local 876 hsa = container_of(attr, struct hw_stats_attribute, attr); in set_stats_lifespan() [all …]
|
/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/ |
D | dsi.c | 3472 int hsa, hfp, hbp, width_bytes, bllp, lp_clk_div; in dsi_config_cmd_mode_interleaving() local 3495 hsa = FLD_GET(r, 31, 24); in dsi_config_cmd_mode_interleaving() 3518 bllp = hbp + hfp + hsa + DIV_ROUND_UP(width_bytes + 6, ndl); in dsi_config_cmd_mode_interleaving() 3521 hsa_interleave_hs = dsi_compute_interleave_hs(hsa, ddr_alwon, in dsi_config_cmd_mode_interleaving() 3524 hsa_interleave_lp = dsi_compute_interleave_lp(hsa, in dsi_config_cmd_mode_interleaving() 3718 int hsa = dsi->vm_timings.hsa; in dsi_proto_timings() local 3732 ((hsa == 0 && ndl == 3) ? 1 : DIV_ROUND_UP(4, ndl)) : 0; in dsi_proto_timings() 3737 tl = DIV_ROUND_UP(4, ndl) + (hsync_end ? hsa : 0) + t_he + hfp + in dsi_proto_timings() 3741 hfp, hsync_end ? hsa : 0, tl); in dsi_proto_timings() 3748 r = FLD_MOD(r, hsync_end ? hsa : 0, 31, 24); /* HSA */ in dsi_proto_timings() [all …]
|
D | omapdss.h | 201 u16 hsa; member
|
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dsi.c | 3453 int hsa, hfp, hbp, width_bytes, bllp, lp_clk_div; in dsi_config_cmd_mode_interleaving() local 3476 hsa = FLD_GET(r, 31, 24); in dsi_config_cmd_mode_interleaving() 3499 bllp = hbp + hfp + hsa + DIV_ROUND_UP(width_bytes + 6, ndl); in dsi_config_cmd_mode_interleaving() 3502 hsa_interleave_hs = dsi_compute_interleave_hs(hsa, ddr_alwon, in dsi_config_cmd_mode_interleaving() 3505 hsa_interleave_lp = dsi_compute_interleave_lp(hsa, in dsi_config_cmd_mode_interleaving() 3701 int hsa = dsi->vm_timings.hsa; in dsi_proto_timings() local 3715 ((hsa == 0 && ndl == 3) ? 1 : DIV_ROUND_UP(4, ndl)) : 0; in dsi_proto_timings() 3720 tl = DIV_ROUND_UP(4, ndl) + (hsync_end ? hsa : 0) + t_he + hfp + in dsi_proto_timings() 3724 hfp, hsync_end ? hsa : 0, tl); in dsi_proto_timings() 3731 r = FLD_MOD(r, hsync_end ? hsa : 0, 31, 24); /* HSA */ in dsi_proto_timings() [all …]
|
/Linux-v4.19/drivers/gpu/drm/sun4i/ |
D | sun6i_mipi_dsi.c | 453 u16 hbp, hfp, hsa, hblk, vblk; in sun6i_dsi_setup_timings() local 465 hsa = max((unsigned int)HSA_PACKET_OVERHEAD, in sun6i_dsi_setup_timings() 487 hblk = mode->htotal * Bpp - hsa; in sun6i_dsi_setup_timings() 498 bytes = max_t(size_t, max(max(hfp, hblk), max(hsa, hbp)), vblk); in sun6i_dsi_setup_timings() 537 sun6i_dsi_build_blk0_pkt(device->channel, hsa)); in sun6i_dsi_setup_timings() 539 sun6i_dsi_build_blk1_pkt(0, buffer, hsa)); in sun6i_dsi_setup_timings()
|
/Linux-v4.19/drivers/gpu/drm/bridge/ |
D | cdns-dsi.c | 478 unsigned int hsa; member 769 dsi_cfg->hsa = dpi_to_dsi_timing(tmp, bpp, in cdns_dsi_mode2cfg() 771 dsi_htotal += dsi_cfg->hsa + DSI_HSA_FRAME_OVERHEAD; in cdns_dsi_mode2cfg() 772 dsi_hss_hsa_hse_hbp += dsi_cfg->hsa + DSI_HSA_FRAME_OVERHEAD; in cdns_dsi_mode2cfg() 998 writel(HBP_LEN(dsi_cfg.hbp) | HSA_LEN(dsi_cfg.hsa), in cdns_dsi_bridge_enable() 1010 (dsi_cfg.hsa + DSI_BLANKING_FRAME_OVERHEAD + in cdns_dsi_bridge_enable() 1025 DIV_ROUND_UP(dsi_cfg.hsa, nlanes); in cdns_dsi_bridge_enable()
|
/Linux-v4.19/drivers/gpu/drm/bridge/synopsys/ |
D | dw-mipi-dsi.c | 626 u32 htotal, hsa, hbp, lbcc; in dw_mipi_dsi_line_timer_config() local 629 hsa = mode->hsync_end - mode->hsync_start; in dw_mipi_dsi_line_timer_config() 639 lbcc = dw_mipi_dsi_get_hcomponent_lbcc(dsi, mode, hsa); in dw_mipi_dsi_line_timer_config()
|
/Linux-v4.19/drivers/gpu/drm/rockchip/ |
D | dw-mipi-dsi.c | 881 u32 htotal, hsa, hbp, lbcc; in dw_mipi_dsi_line_timer_config() local 884 hsa = mode->hsync_end - mode->hsync_start; in dw_mipi_dsi_line_timer_config() 890 lbcc = dw_mipi_dsi_get_hcomponent_lbcc(dsi, mode, hsa); in dw_mipi_dsi_line_timer_config()
|
/Linux-v4.19/include/video/ |
D | omapfb_dss.h | 242 u16 hsa; member
|