hsw 31 drivers/gpu/drm/bridge/adv7511/adv7533.c unsigned int hsw, hfp, hbp, vsw, vfp, vbp; hsw 34 drivers/gpu/drm/bridge/adv7511/adv7533.c hsw = mode->hsync_end - mode->hsync_start; hsw 48 drivers/gpu/drm/bridge/adv7511/adv7533.c regmap_write(adv->regmap_cec, 0x2a, hsw >> 4); hsw 49 drivers/gpu/drm/bridge/adv7511/adv7533.c regmap_write(adv->regmap_cec, 0x2b, (hsw << 4) & 0xff); hsw 4751 drivers/gpu/drm/drm_edid.c unsigned hsync_width = (timings->hsw[0] | timings->hsw[1] << 8) + 1; hsw 451 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c u32 hfp, hbp, hsw, vfp, vbp, vsw; hsw 479 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c hsw = mode->hsync_end - mode->hsync_start; hsw 488 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c hsa_time = (hsw * lane_byte_clk_kHz) / pixel_clk_kHz; hsw 505 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c htot, hfp, hbp, hsw); hsw 177 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c u32 hfp, hbp, hsw, vfp, vbp, vsw; hsw 184 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c hsw = mode->hsync_end - mode->hsync_start; hsw 195 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c writel(hsw - 1, base + LDI_HRZ_CTRL1); hsw 318 drivers/gpu/drm/i915/display/intel_display_power.c const struct i915_power_well_regs *regs = power_well->desc->hsw.regs; hsw 319 drivers/gpu/drm/i915/display/intel_display_power.c int pw_idx = power_well->desc->hsw.idx; hsw 328 drivers/gpu/drm/i915/display/intel_display_power.c WARN_ON(!power_well->desc->hsw.is_tc_tbt); hsw 351 drivers/gpu/drm/i915/display/intel_display_power.c const struct i915_power_well_regs *regs = power_well->desc->hsw.regs; hsw 352 drivers/gpu/drm/i915/display/intel_display_power.c int pw_idx = power_well->desc->hsw.idx; hsw 387 drivers/gpu/drm/i915/display/intel_display_power.c const struct i915_power_well_regs *regs = power_well->desc->hsw.regs; hsw 388 drivers/gpu/drm/i915/display/intel_display_power.c int pw_idx = power_well->desc->hsw.idx; hsw 389 drivers/gpu/drm/i915/display/intel_display_power.c bool wait_fuses = power_well->desc->hsw.has_fuses; hsw 424 drivers/gpu/drm/i915/display/intel_display_power.c power_well->desc->hsw.irq_pipe_mask, hsw 425 drivers/gpu/drm/i915/display/intel_display_power.c power_well->desc->hsw.has_vga); hsw 431 drivers/gpu/drm/i915/display/intel_display_power.c const struct i915_power_well_regs *regs = power_well->desc->hsw.regs; hsw 432 drivers/gpu/drm/i915/display/intel_display_power.c int pw_idx = power_well->desc->hsw.idx; hsw 436 drivers/gpu/drm/i915/display/intel_display_power.c power_well->desc->hsw.irq_pipe_mask); hsw 449 drivers/gpu/drm/i915/display/intel_display_power.c const struct i915_power_well_regs *regs = power_well->desc->hsw.regs; hsw 450 drivers/gpu/drm/i915/display/intel_display_power.c int pw_idx = power_well->desc->hsw.idx; hsw 484 drivers/gpu/drm/i915/display/intel_display_power.c const struct i915_power_well_regs *regs = power_well->desc->hsw.regs; hsw 485 drivers/gpu/drm/i915/display/intel_display_power.c int pw_idx = power_well->desc->hsw.idx; hsw 509 drivers/gpu/drm/i915/display/intel_display_power.c int pw_idx = power_well->desc->hsw.idx; hsw 511 drivers/gpu/drm/i915/display/intel_display_power.c return power_well->desc->hsw.is_tc_tbt ? ICL_TBT_AUX_PW_TO_CH(pw_idx) : hsw 592 drivers/gpu/drm/i915/display/intel_display_power.c if (power_well->desc->hsw.is_tc_tbt) hsw 616 drivers/gpu/drm/i915/display/intel_display_power.c const struct i915_power_well_regs *regs = power_well->desc->hsw.regs; hsw 618 drivers/gpu/drm/i915/display/intel_display_power.c int pw_idx = power_well->desc->hsw.idx; hsw 897 drivers/gpu/drm/i915/display/intel_display_power.c const struct i915_power_well_regs *regs = power_well->desc->hsw.regs; hsw 898 drivers/gpu/drm/i915/display/intel_display_power.c int pw_idx = power_well->desc->hsw.idx; hsw 2727 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 2728 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = HSW_PW_CTL_IDX_GLOBAL, hsw 2729 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.has_vga = true, hsw 2748 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 2749 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = HSW_PW_CTL_IDX_GLOBAL, hsw 2750 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.irq_pipe_mask = BIT(PIPE_B) | BIT(PIPE_C), hsw 2751 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.has_vga = true, hsw 2920 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 2921 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = SKL_PW_CTL_IDX_PW_1, hsw 2922 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.has_fuses = true, hsw 2933 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 2934 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = SKL_PW_CTL_IDX_MISC_IO, hsw 2949 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 2950 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = SKL_PW_CTL_IDX_PW_2, hsw 2951 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.irq_pipe_mask = BIT(PIPE_B) | BIT(PIPE_C), hsw 2952 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.has_vga = true, hsw 2953 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.has_fuses = true, hsw 2962 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 2963 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = SKL_PW_CTL_IDX_DDI_A_E, hsw 2972 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 2973 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = SKL_PW_CTL_IDX_DDI_B, hsw 2982 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 2983 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = SKL_PW_CTL_IDX_DDI_C, hsw 2992 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 2993 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = SKL_PW_CTL_IDX_DDI_D, hsw 3014 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3015 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = SKL_PW_CTL_IDX_PW_1, hsw 3016 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.has_fuses = true, hsw 3031 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3032 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = SKL_PW_CTL_IDX_PW_2, hsw 3033 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.irq_pipe_mask = BIT(PIPE_B) | BIT(PIPE_C), hsw 3034 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.has_vga = true, hsw 3035 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.has_fuses = true, hsw 3074 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3075 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = SKL_PW_CTL_IDX_PW_1, hsw 3076 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.has_fuses = true, hsw 3091 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3092 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = SKL_PW_CTL_IDX_PW_2, hsw 3093 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.irq_pipe_mask = BIT(PIPE_B) | BIT(PIPE_C), hsw 3094 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.has_vga = true, hsw 3095 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.has_fuses = true, hsw 3131 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3132 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = GLK_PW_CTL_IDX_AUX_A, hsw 3141 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3142 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = GLK_PW_CTL_IDX_AUX_B, hsw 3151 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3152 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = GLK_PW_CTL_IDX_AUX_C, hsw 3161 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3162 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = GLK_PW_CTL_IDX_DDI_A, hsw 3171 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3172 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = SKL_PW_CTL_IDX_DDI_B, hsw 3181 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3182 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = SKL_PW_CTL_IDX_DDI_C, hsw 3203 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3204 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = SKL_PW_CTL_IDX_PW_1, hsw 3205 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.has_fuses = true, hsw 3214 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3215 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = GLK_PW_CTL_IDX_AUX_A, hsw 3224 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3225 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = GLK_PW_CTL_IDX_AUX_B, hsw 3234 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3235 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = GLK_PW_CTL_IDX_AUX_C, hsw 3244 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3245 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = CNL_PW_CTL_IDX_AUX_D, hsw 3260 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3261 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = SKL_PW_CTL_IDX_PW_2, hsw 3262 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.irq_pipe_mask = BIT(PIPE_B) | BIT(PIPE_C), hsw 3263 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.has_vga = true, hsw 3264 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.has_fuses = true, hsw 3273 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3274 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = GLK_PW_CTL_IDX_DDI_A, hsw 3283 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3284 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = SKL_PW_CTL_IDX_DDI_B, hsw 3293 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3294 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = SKL_PW_CTL_IDX_DDI_C, hsw 3303 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3304 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = SKL_PW_CTL_IDX_DDI_D, hsw 3313 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3314 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = CNL_PW_CTL_IDX_DDI_F, hsw 3323 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3324 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = CNL_PW_CTL_IDX_AUX_F, hsw 3371 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3372 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_PW_1, hsw 3373 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.has_fuses = true, hsw 3388 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3389 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_PW_2, hsw 3390 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.has_fuses = true, hsw 3399 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3400 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_PW_3, hsw 3401 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.irq_pipe_mask = BIT(PIPE_B), hsw 3402 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.has_vga = true, hsw 3403 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.has_fuses = true, hsw 3412 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_ddi_power_well_regs, hsw 3413 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_DDI_A, hsw 3422 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_ddi_power_well_regs, hsw 3423 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_DDI_B, hsw 3432 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_ddi_power_well_regs, hsw 3433 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_DDI_C, hsw 3442 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_ddi_power_well_regs, hsw 3443 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_DDI_D, hsw 3452 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_ddi_power_well_regs, hsw 3453 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_DDI_E, hsw 3462 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_ddi_power_well_regs, hsw 3463 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_DDI_F, hsw 3472 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_aux_power_well_regs, hsw 3473 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_AUX_A, hsw 3482 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_aux_power_well_regs, hsw 3483 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_AUX_B, hsw 3492 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_aux_power_well_regs, hsw 3493 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_AUX_C, hsw 3494 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.is_tc_tbt = false, hsw 3503 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_aux_power_well_regs, hsw 3504 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_AUX_D, hsw 3505 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.is_tc_tbt = false, hsw 3514 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_aux_power_well_regs, hsw 3515 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_AUX_E, hsw 3516 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.is_tc_tbt = false, hsw 3525 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_aux_power_well_regs, hsw 3526 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_AUX_F, hsw 3527 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.is_tc_tbt = false, hsw 3536 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_aux_power_well_regs, hsw 3537 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_AUX_TBT1, hsw 3538 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.is_tc_tbt = true, hsw 3547 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_aux_power_well_regs, hsw 3548 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_AUX_TBT2, hsw 3549 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.is_tc_tbt = true, hsw 3558 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_aux_power_well_regs, hsw 3559 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_AUX_TBT3, hsw 3560 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.is_tc_tbt = true, hsw 3569 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_aux_power_well_regs, hsw 3570 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_AUX_TBT4, hsw 3571 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.is_tc_tbt = true, hsw 3580 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3581 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_PW_4, hsw 3582 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.has_fuses = true, hsw 3583 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.irq_pipe_mask = BIT(PIPE_C), hsw 3604 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3605 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_PW_1, hsw 3606 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.has_fuses = true, hsw 3621 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3622 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_PW_2, hsw 3623 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.has_fuses = true, hsw 3632 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3633 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_PW_3, hsw 3634 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.irq_pipe_mask = BIT(PIPE_B), hsw 3635 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.has_vga = true, hsw 3636 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.has_fuses = true, hsw 3645 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_ddi_power_well_regs, hsw 3646 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_DDI_A, hsw 3655 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_ddi_power_well_regs, hsw 3656 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_DDI_B, hsw 3665 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_ddi_power_well_regs, hsw 3666 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_DDI_C, hsw 3675 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_ddi_power_well_regs, hsw 3676 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = TGL_PW_CTL_IDX_DDI_TC1, hsw 3685 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_ddi_power_well_regs, hsw 3686 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = TGL_PW_CTL_IDX_DDI_TC2, hsw 3695 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_ddi_power_well_regs, hsw 3696 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = TGL_PW_CTL_IDX_DDI_TC3, hsw 3705 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_ddi_power_well_regs, hsw 3706 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = TGL_PW_CTL_IDX_DDI_TC4, hsw 3715 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_ddi_power_well_regs, hsw 3716 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = TGL_PW_CTL_IDX_DDI_TC5, hsw 3725 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_ddi_power_well_regs, hsw 3726 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = TGL_PW_CTL_IDX_DDI_TC6, hsw 3735 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_aux_power_well_regs, hsw 3736 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_AUX_A, hsw 3745 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_aux_power_well_regs, hsw 3746 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_AUX_B, hsw 3755 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_aux_power_well_regs, hsw 3756 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_AUX_C, hsw 3765 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_aux_power_well_regs, hsw 3766 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = TGL_PW_CTL_IDX_AUX_TC1, hsw 3767 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.is_tc_tbt = false, hsw 3776 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_aux_power_well_regs, hsw 3777 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = TGL_PW_CTL_IDX_AUX_TC2, hsw 3778 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.is_tc_tbt = false, hsw 3787 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_aux_power_well_regs, hsw 3788 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = TGL_PW_CTL_IDX_AUX_TC3, hsw 3789 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.is_tc_tbt = false, hsw 3798 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_aux_power_well_regs, hsw 3799 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = TGL_PW_CTL_IDX_AUX_TC4, hsw 3800 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.is_tc_tbt = false, hsw 3809 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_aux_power_well_regs, hsw 3810 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = TGL_PW_CTL_IDX_AUX_TC5, hsw 3811 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.is_tc_tbt = false, hsw 3820 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_aux_power_well_regs, hsw 3821 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = TGL_PW_CTL_IDX_AUX_TC6, hsw 3822 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.is_tc_tbt = false, hsw 3831 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_aux_power_well_regs, hsw 3832 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = TGL_PW_CTL_IDX_AUX_TBT1, hsw 3833 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.is_tc_tbt = true, hsw 3842 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_aux_power_well_regs, hsw 3843 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = TGL_PW_CTL_IDX_AUX_TBT2, hsw 3844 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.is_tc_tbt = true, hsw 3853 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_aux_power_well_regs, hsw 3854 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = TGL_PW_CTL_IDX_AUX_TBT3, hsw 3855 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.is_tc_tbt = true, hsw 3864 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_aux_power_well_regs, hsw 3865 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = TGL_PW_CTL_IDX_AUX_TBT4, hsw 3866 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.is_tc_tbt = true, hsw 3875 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_aux_power_well_regs, hsw 3876 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = TGL_PW_CTL_IDX_AUX_TBT5, hsw 3877 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.is_tc_tbt = true, hsw 3886 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &icl_aux_power_well_regs, hsw 3887 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = TGL_PW_CTL_IDX_AUX_TBT6, hsw 3888 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.is_tc_tbt = true, hsw 3897 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3898 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = ICL_PW_CTL_IDX_PW_4, hsw 3899 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.has_fuses = true, hsw 3900 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.irq_pipe_mask = BIT(PIPE_C), hsw 3909 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.regs = &hsw_power_well_regs, hsw 3910 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.idx = TGL_PW_CTL_IDX_PW_5, hsw 3911 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.has_fuses = true, hsw 3912 drivers/gpu/drm/i915/display/intel_display_power.c .hsw.irq_pipe_mask = BIT(PIPE_D), hsw 198 drivers/gpu/drm/i915/display/intel_display_power.h } hsw; hsw 133 drivers/gpu/drm/pl111/pl111_display.c u32 ppl, hsw, hfp, hbp; hsw 148 drivers/gpu/drm/pl111/pl111_display.c hsw = mode->hsync_end - mode->hsync_start - 1; hsw 160 drivers/gpu/drm/pl111/pl111_display.c (hsw << 8) | hsw 489 drivers/gpu/drm/tegra/dsi.c unsigned int hact, hsw, hbp, hfp, i, mul, div; hsw 550 drivers/gpu/drm/tegra/dsi.c hsw = (mode->hsync_end - mode->hsync_start) * mul / div; hsw 556 drivers/gpu/drm/tegra/dsi.c hbp += hsw; hsw 562 drivers/gpu/drm/tegra/dsi.c hsw -= 10; hsw 566 drivers/gpu/drm/tegra/dsi.c tegra_dsi_writel(dsi, hsw << 16 | 0, DSI_PKT_LEN_0_1); hsw 1641 drivers/gpu/drm/tegra/sor.c unsigned int hfp, hsw, hbp, a = 0, b; hsw 1644 drivers/gpu/drm/tegra/sor.c hsw = mode->hsync_end - mode->hsync_start; hsw 1647 drivers/gpu/drm/tegra/sor.c pr_info("hfp: %u, hsw: %u, hbp: %u\n", hfp, hsw, hbp); hsw 1652 drivers/gpu/drm/tegra/sor.c pr_info("a + hsw + hbp = %u\n", a + hsw + hbp); hsw 1654 drivers/gpu/drm/tegra/sor.c if (a + hsw + hbp <= 11) { hsw 1655 drivers/gpu/drm/tegra/sor.c a = 1 + 11 - hsw - hbp; hsw 1662 drivers/gpu/drm/tegra/sor.c if (hsw < 1) hsw 280 drivers/gpu/drm/tilcdc/tilcdc_crtc.c uint32_t reg, hbp, hfp, hsw, vbp, vfp, vsw; hsw 318 drivers/gpu/drm/tilcdc/tilcdc_crtc.c hsw = mode->hsync_end - mode->hsync_start; hsw 324 drivers/gpu/drm/tilcdc/tilcdc_crtc.c mode->hdisplay, mode->vdisplay, hbp, hfp, hsw, vbp, vfp, vsw); hsw 340 drivers/gpu/drm/tilcdc/tilcdc_crtc.c reg |= ((hsw-1) & 0x3c0) << 21; hsw 347 drivers/gpu/drm/tilcdc/tilcdc_crtc.c (((hsw-1) & 0x3f) << 10); hsw 735 drivers/gpu/drm/tilcdc/tilcdc_crtc.c uint32_t hbp, hfp, hsw, vbp, vfp, vsw; hsw 757 drivers/gpu/drm/tilcdc/tilcdc_crtc.c hsw = mode->hsync_end - mode->hsync_start; hsw 772 drivers/gpu/drm/tilcdc/tilcdc_crtc.c if ((hsw-1) & ~0x3ff) { hsw 63 drivers/video/fbdev/carminefb.c u32 hsw; hsw 106 drivers/video/fbdev/carminefb.c .hsw = 96, hsw 118 drivers/video/fbdev/carminefb.c .hsw = 72, hsw 371 drivers/video/fbdev/carminefb.c u32 hdp, vdp, htp, hsp, hsw, vtr, vsp, vsw; hsw 381 drivers/video/fbdev/carminefb.c hsw = par->res->hsw - 1; hsw 392 drivers/video/fbdev/carminefb.c (hsw << CARMINE_DISP_HSW_SHIFT) | hsw 779 drivers/video/fbdev/omap/hwa742.c int hsw, vsw; hsw 785 drivers/video/fbdev/omap/hwa742.c hsw = hwa742_read_reg(HWA742_HS_W_REG); hsw 787 drivers/video/fbdev/omap/hwa742.c hs_pol_inv = !(hsw & 0x80); hsw 789 drivers/video/fbdev/omap/hwa742.c hsw = hsw & 0x7f; hsw 845 drivers/video/fbdev/omap/hwa742.c hs = hsw; hsw 112 drivers/video/fbdev/omap/lcd_ams_delta.c .hsw = 3, hsw 53 drivers/video/fbdev/omap/lcd_h3.c .hsw = 12, hsw 34 drivers/video/fbdev/omap/lcd_htcherald.c .hsw = 10, hsw 37 drivers/video/fbdev/omap/lcd_inn1510.c .hsw = 40, hsw 68 drivers/video/fbdev/omap/lcd_inn1610.c .hsw = 40, hsw 493 drivers/video/fbdev/omap/lcd_mipid.c .hsw = 50, hsw 57 drivers/video/fbdev/omap/lcd_osk.c .hsw = 40, hsw 26 drivers/video/fbdev/omap/lcd_palmte.c .hsw = 4, hsw 37 drivers/video/fbdev/omap/lcd_palmtt.c .hsw = 4, hsw 31 drivers/video/fbdev/omap/lcd_palmz71.c .hsw = 4, hsw 481 drivers/video/fbdev/omap/lcdc.c l |= (panel->hsw - 1) << 10; hsw 66 drivers/video/fbdev/omap/omapfb.h int hsw; /* Horizontal synchronization hsw 576 drivers/video/fbdev/omap/omapfb_main.c var->hsync_len = panel->hsw; hsw 1740 drivers/video/fbdev/omap/omapfb_main.c hhz = phz * 10 / (panel->hfp + panel->x_res + panel->hbp + panel->hsw); hsw 32 drivers/video/fbdev/omap2/omapfb/displays/connector-analog-tv.c .hsw = 64, hsw 25 drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c .hsw = 32, hsw 23 drivers/video/fbdev/omap2/omapfb/displays/connector-hdmi.c .hsw = 96, hsw 24 drivers/video/fbdev/omap2/omapfb/displays/panel-lgphilips-lb035q02.c .hsw = 2, hsw 70 drivers/video/fbdev/omap2/omapfb/displays/panel-nec-nl8048hl11.c .hsw = 1, hsw 41 drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c .hsw = 2, hsw 89 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c .hsw = 4, hsw 38 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td028ttec1.c .hsw = 8, hsw 77 drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c .hsw = 1, hsw 2150 drivers/video/fbdev/omap2/omapfb/dss/dispc.c nonactive = t->x_res + t->hfp + t->hsw + t->hbp - out_width; hsw 2157 drivers/video/fbdev/omap2/omapfb/dss/dispc.c blank = div_u64((u64)(t->hbp + t->hsw + t->hfp) * lclk, pclk); hsw 3086 drivers/video/fbdev/omap2/omapfb/dss/dispc.c static bool _dispc_lcd_timings_ok(int hsw, int hfp, int hbp, hsw 3089 drivers/video/fbdev/omap2/omapfb/dss/dispc.c if (hsw < 1 || hsw > dispc.feat->sw_max || hsw 3122 drivers/video/fbdev/omap2/omapfb/dss/dispc.c if (!_dispc_lcd_timings_ok(timings->hsw, timings->hfp, hsw 3131 drivers/video/fbdev/omap2/omapfb/dss/dispc.c static void _dispc_mgr_set_lcd_timings(enum omap_channel channel, int hsw, hsw 3143 drivers/video/fbdev/omap2/omapfb/dss/dispc.c timing_h = FLD_VAL(hsw-1, dispc.feat->sw_start, 0) | hsw 3260 drivers/video/fbdev/omap2/omapfb/dss/dispc.c _dispc_mgr_set_lcd_timings(channel, t.hsw, t.hfp, t.hbp, t.vsw, hsw 3264 drivers/video/fbdev/omap2/omapfb/dss/dispc.c xtot = t.x_res + t.hfp + t.hsw + t.hbp; hsw 3272 drivers/video/fbdev/omap2/omapfb/dss/dispc.c t.hsw, t.hfp, t.hbp, t.vsw, t.vfp, t.vbp); hsw 98 drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c t.x_res, t.hfp, t.hbp, t.hsw, hsw 123 drivers/video/fbdev/omap2/omapfb/dss/display-sysfs.c &t.x_res, &t.hfp, &t.hbp, &t.hsw, hsw 268 drivers/video/fbdev/omap2/omapfb/dss/display.c ovt->hsw = vm->hsync_len; hsw 301 drivers/video/fbdev/omap2/omapfb/dss/display.c vm->hsync_len = ovt->hsw; hsw 4355 drivers/video/fbdev/omap2/omapfb/dss/dsi.c bl = t->hsw + t->hbp + t->hfp; hsw 4364 drivers/video/fbdev/omap2/omapfb/dss/dsi.c t->hsw, t->hbp, hact, t->hfp, hsw 4366 drivers/video/fbdev/omap2/omapfb/dss/dsi.c TO_DISPC_T(t->hsw), hsw 4392 drivers/video/fbdev/omap2/omapfb/dss/dsi.c vm.hsw = div64_u64((u64)(t->hsa + t->hse) * pck, byteclk); hsw 4416 drivers/video/fbdev/omap2/omapfb/dss/dsi.c t->hsw = t->hfp = t->hbp = t->vsw = 1; hsw 4520 drivers/video/fbdev/omap2/omapfb/dss/dsi.c panel_hbl = req_vm->hfp + req_vm->hbp + req_vm->hsw; hsw 4550 drivers/video/fbdev/omap2/omapfb/dss/dsi.c if (ndl == 3 && req_vm->hsw == 0) hsw 4589 drivers/video/fbdev/omap2/omapfb/dss/dsi.c } else if (ndl == 3 && req_vm->hsw == 0) { hsw 4592 drivers/video/fbdev/omap2/omapfb/dss/dsi.c hsa = div64_u64((u64)req_vm->hsw * byteclk, req_pck_nom); hsw 4648 drivers/video/fbdev/omap2/omapfb/dss/dsi.c hsa = div64_u64((u64)req_vm->hsw * dispc_pck, hsw 4679 drivers/video/fbdev/omap2/omapfb/dss/dsi.c dispc_vm->hsw = hsa; hsw 288 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c video_cfg->v_fc_config.timings.hsw = cfg->timings.hsw - 1; hsw 292 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c cfg->timings.hbp + cfg->timings.hsw - 1; hsw 358 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c (cfg->v_fc_config.timings.hsw >> 8), 1, 0); hsw 360 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c cfg->v_fc_config.timings.hsw & 0xFF, 7, 0); hsw 172 drivers/video/fbdev/omap2/omapfb/dss/hdmi_wp.c timing_h |= FLD_VAL(timings->hsw, 7, 0); hsw 194 drivers/video/fbdev/omap2/omapfb/dss/hdmi_wp.c timings->hsw = param->timings.hsw; hsw 259 drivers/video/fbdev/omap2/omapfb/dss/venc.c .hsw = 64, hsw 274 drivers/video/fbdev/omap2/omapfb/dss/venc.c .hsw = 64, hsw 722 drivers/video/fbdev/omap2/omapfb/omapfb-main.c var->hsync_len = timings.hsw; hsw 2070 drivers/video/fbdev/omap2/omapfb/omapfb-main.c timings->hsw = var->hsync_len; hsw 2218 drivers/video/fbdev/omap2/omapfb/omapfb-main.c t->hsw = m->hsync_len; hsw 83 include/drm/drm_displayid.h u8 hsw[2]; hsw 253 include/video/omapfb_dss.h u16 hsw; /* Horizontal synchronization pulse width */ hsw 219 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_hsw *hsw; hsw 266 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_hsw *hsw; hsw 411 sound/soc/intel/haswell/sst-haswell-ipc.c static struct sst_hsw_stream *get_stream_by_id(struct sst_hsw *hsw, hsw 416 sound/soc/intel/haswell/sst-haswell-ipc.c list_for_each_entry(stream, &hsw->stream_list, node) { hsw 424 sound/soc/intel/haswell/sst-haswell-ipc.c static void hsw_fw_ready(struct sst_hsw *hsw, u32 header) hsw 434 sound/soc/intel/haswell/sst-haswell-ipc.c dev_dbg(hsw->dev, "ipc: DSP is ready 0x%8.8x offset %d\n", hsw 438 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_read(hsw->dsp, &fw_ready, offset, sizeof(fw_ready)); hsw 440 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_mailbox_init(hsw->dsp, fw_ready.inbox_offset, hsw 444 sound/soc/intel/haswell/sst-haswell-ipc.c hsw->boot_complete = true; hsw 445 sound/soc/intel/haswell/sst-haswell-ipc.c wake_up(&hsw->boot_wait); hsw 447 sound/soc/intel/haswell/sst-haswell-ipc.c dev_dbg(hsw->dev, " mailbox upstream 0x%x - size 0x%x\n", hsw 449 sound/soc/intel/haswell/sst-haswell-ipc.c dev_dbg(hsw->dev, " mailbox downstream 0x%x - size 0x%x\n", hsw 453 sound/soc/intel/haswell/sst-haswell-ipc.c dev_dbg(hsw->dev, " Firmware info: %s \n", fw_ready.fw_info); hsw 460 sound/soc/intel/haswell/sst-haswell-ipc.c dev_info(hsw->dev, "FW loaded, mailbox readback FW info: type %s, - " hsw 472 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_hsw *hsw = stream->hsw; hsw 481 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_inbox_read(hsw->dsp, glitch, sizeof(*glitch)); hsw 483 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "glitch %d pos 0x%x write pos 0x%x\n", hsw 491 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_inbox_read(hsw->dsp, pos, sizeof(*pos)); hsw 498 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: unknown notification 0x%x\n", hsw 504 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_shim_update_bits(hsw->dsp, SST_IPCD, hsw 508 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_shim_update_bits(hsw->dsp, SST_IMRX, SST_IMRX_BUSY, 0); hsw 511 sound/soc/intel/haswell/sst-haswell-ipc.c static void hsw_stream_update(struct sst_hsw *hsw, struct ipc_message *msg) hsw 518 sound/soc/intel/haswell/sst-haswell-ipc.c stream = get_stream_by_id(hsw, stream_id); hsw 542 sound/soc/intel/haswell/sst-haswell-ipc.c static int hsw_process_reply(struct sst_hsw *hsw, u32 header) hsw 549 sound/soc/intel/haswell/sst-haswell-ipc.c msg = sst_ipc_reply_find_msg(&hsw->ipc, header); hsw 561 sound/soc/intel/haswell/sst-haswell-ipc.c hsw->ipc.pending = true; hsw 566 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_inbox_read(hsw->dsp, msg->rx.data, hsw 568 sound/soc/intel/haswell/sst-haswell-ipc.c hsw->ipc.pending = false; hsw 571 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_outbox_read(hsw->dsp, msg->rx.data, hsw 620 sound/soc/intel/haswell/sst-haswell-ipc.c hsw_stream_update(hsw, msg); hsw 624 sound/soc/intel/haswell/sst-haswell-ipc.c sst_ipc_tx_msg_reply_complete(&hsw->ipc, msg); hsw 629 sound/soc/intel/haswell/sst-haswell-ipc.c static int hsw_module_message(struct sst_hsw *hsw, u32 header) hsw 636 sound/soc/intel/haswell/sst-haswell-ipc.c dev_dbg(hsw->dev, "received module message header: 0x%8.8x\n", hsw 638 sound/soc/intel/haswell/sst-haswell-ipc.c dev_dbg(hsw->dev, "operation: 0x%8.8x module_id: 0x%8.8x\n", hsw 643 sound/soc/intel/haswell/sst-haswell-ipc.c dev_dbg(hsw->dev, "module notification received"); hsw 647 sound/soc/intel/haswell/sst-haswell-ipc.c handled = hsw_process_reply(hsw, header); hsw 654 sound/soc/intel/haswell/sst-haswell-ipc.c static int hsw_stream_message(struct sst_hsw *hsw, u32 header) hsw 663 sound/soc/intel/haswell/sst-haswell-ipc.c stream = get_stream_by_id(hsw, stream_id); hsw 671 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: stage msg not implemented 0x%8.8x\n", hsw 679 sound/soc/intel/haswell/sst-haswell-ipc.c handled = hsw_process_reply(hsw, header); hsw 686 sound/soc/intel/haswell/sst-haswell-ipc.c static int hsw_log_message(struct sst_hsw *hsw, u32 header) hsw 689 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_hsw_log_stream *stream = &hsw->log_stream; hsw 693 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, hsw 701 sound/soc/intel/haswell/sst-haswell-ipc.c hsw->dsp, &stream->curr_pos, sizeof(stream->curr_pos)); hsw 709 sound/soc/intel/haswell/sst-haswell-ipc.c static int hsw_process_notification(struct sst_hsw *hsw) hsw 711 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_dsp *sst = hsw->dsp; hsw 721 sound/soc/intel/haswell/sst-haswell-ipc.c if (!hsw->boot_complete && header & IPC_FW_READY) { hsw 722 sound/soc/intel/haswell/sst-haswell-ipc.c hsw_fw_ready(hsw, header); hsw 739 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: message type %d header 0x%x\n", hsw 743 sound/soc/intel/haswell/sst-haswell-ipc.c handled = hsw_stream_message(hsw, header); hsw 746 sound/soc/intel/haswell/sst-haswell-ipc.c handled = hsw_log_message(hsw, header); hsw 749 sound/soc/intel/haswell/sst-haswell-ipc.c handled = hsw_module_message(hsw, header); hsw 752 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: unexpected type %d hdr 0x%8.8x\n", hsw 763 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_hsw *hsw = sst_dsp_get_thread_context(sst); hsw 764 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_generic_ipc *ipc = &hsw->ipc; hsw 770 sound/soc/intel/haswell/sst-haswell-ipc.c ipcx = sst_dsp_ipc_msg_rx(hsw->dsp); hsw 777 sound/soc/intel/haswell/sst-haswell-ipc.c hsw_process_reply(hsw, ipcx); hsw 792 sound/soc/intel/haswell/sst-haswell-ipc.c hsw_process_notification(hsw); hsw 811 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_fw_get_version(struct sst_hsw *hsw, hsw 820 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_ipc_tx_message_wait(&hsw->ipc, request, &reply); hsw 822 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: get version failed\n"); hsw 828 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_stream_get_volume(struct sst_hsw *hsw, struct sst_hsw_stream *stream, hsw 834 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_read(hsw->dsp, volume, hsw 842 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_stream_set_volume(struct sst_hsw *hsw, hsw 865 sound/soc/intel/haswell/sst-haswell-ipc.c if (hsw->mute[0] && hsw->mute[1]) { hsw 866 sound/soc/intel/haswell/sst-haswell-ipc.c hsw->mute_volume[0] = hsw->mute_volume[1] = volume; hsw 868 sound/soc/intel/haswell/sst-haswell-ipc.c } else if (hsw->mute[0]) hsw 870 sound/soc/intel/haswell/sst-haswell-ipc.c else if (hsw->mute[1]) hsw 876 sound/soc/intel/haswell/sst-haswell-ipc.c if (hsw->mute[channel]) { hsw 877 sound/soc/intel/haswell/sst-haswell-ipc.c hsw->mute_volume[channel] = volume; hsw 885 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_ipc_tx_message_wait(&hsw->ipc, request, NULL); hsw 887 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: set stream volume failed\n"); hsw 894 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_mixer_get_volume(struct sst_hsw *hsw, u32 stage_id, u32 channel, hsw 900 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_read(hsw->dsp, volume, hsw 901 sound/soc/intel/haswell/sst-haswell-ipc.c hsw->mixer_info.volume_register_address[channel], hsw 908 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_mixer_set_volume(struct sst_hsw *hsw, u32 stage_id, u32 channel, hsw 922 sound/soc/intel/haswell/sst-haswell-ipc.c if (hsw->mute[0] && hsw->mute[1]) { hsw 923 sound/soc/intel/haswell/sst-haswell-ipc.c hsw->mute_volume[0] = hsw->mute_volume[1] = volume; hsw 925 sound/soc/intel/haswell/sst-haswell-ipc.c } else if (hsw->mute[0]) hsw 927 sound/soc/intel/haswell/sst-haswell-ipc.c else if (hsw->mute[1]) hsw 933 sound/soc/intel/haswell/sst-haswell-ipc.c if (hsw->mute[channel]) { hsw 934 sound/soc/intel/haswell/sst-haswell-ipc.c hsw->mute_volume[channel] = volume; hsw 942 sound/soc/intel/haswell/sst-haswell-ipc.c request.header |= (hsw->mixer_info.mixer_hw_id << IPC_STR_ID_SHIFT); hsw 946 sound/soc/intel/haswell/sst-haswell-ipc.c req.curve_duration = hsw->curve_duration; hsw 947 sound/soc/intel/haswell/sst-haswell-ipc.c req.curve_type = hsw->curve_type; hsw 952 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_ipc_tx_message_wait(&hsw->ipc, request, NULL); hsw 954 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: set mixer volume failed\n"); hsw 962 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_hsw_stream *sst_hsw_stream_new(struct sst_hsw *hsw, int id, hsw 967 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_dsp *sst = hsw->dsp; hsw 976 sound/soc/intel/haswell/sst-haswell-ipc.c list_add(&stream->node, &hsw->stream_list); hsw 979 sound/soc/intel/haswell/sst-haswell-ipc.c stream->hsw = hsw; hsw 989 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_stream_free(struct sst_hsw *hsw, struct sst_hsw_stream *stream) hsw 993 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_dsp *sst = hsw->dsp; hsw 997 sound/soc/intel/haswell/sst-haswell-ipc.c dev_warn(hsw->dev, "warning: stream is NULL, no stream to free, ignore it.\n"); hsw 1012 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_ipc_tx_message_wait(&hsw->ipc, request, NULL); hsw 1014 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: free stream %d failed\n", hsw 1031 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_stream_set_bits(struct sst_hsw *hsw, hsw 1035 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: stream committed for set bits\n"); hsw 1043 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_stream_set_channels(struct sst_hsw *hsw, hsw 1047 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: stream committed for set channels\n"); hsw 1055 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_stream_set_rate(struct sst_hsw *hsw, hsw 1059 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: stream committed for set rate\n"); hsw 1067 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_stream_set_map_config(struct sst_hsw *hsw, hsw 1072 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: stream committed for set map\n"); hsw 1081 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_stream_set_style(struct sst_hsw *hsw, hsw 1085 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: stream committed for set style\n"); hsw 1093 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_stream_set_valid(struct sst_hsw *hsw, hsw 1097 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: stream committed for set valid bits\n"); hsw 1106 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_stream_format(struct sst_hsw *hsw, struct sst_hsw_stream *stream, hsw 1112 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: stream committed for set format\n"); hsw 1125 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_stream_buffer(struct sst_hsw *hsw, struct sst_hsw_stream *stream, hsw 1130 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: stream committed for buffer\n"); hsw 1145 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_stream_set_module_info(struct sst_hsw *hsw, hsw 1149 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_dsp *dsp = sst_hsw_get_dsp(hsw); hsw 1153 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: stream committed for set module\n"); hsw 1170 sound/soc/intel/haswell/sst-haswell-ipc.c dev_dbg(hsw->dev, "module %d runtime %d using:\n", module->id, hsw 1172 sound/soc/intel/haswell/sst-haswell-ipc.c dev_dbg(hsw->dev, " persistent offset 0x%x bytes 0x%x\n", hsw 1175 sound/soc/intel/haswell/sst-haswell-ipc.c dev_dbg(hsw->dev, " scratch offset 0x%x bytes 0x%x\n", hsw 1182 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_stream_commit(struct sst_hsw *hsw, struct sst_hsw_stream *stream) hsw 1188 sound/soc/intel/haswell/sst-haswell-ipc.c dev_warn(hsw->dev, "warning: stream is NULL, no stream to commit, ignore it.\n"); hsw 1193 sound/soc/intel/haswell/sst-haswell-ipc.c dev_warn(hsw->dev, "warning: stream is already committed, ignore it.\n"); hsw 1205 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_ipc_tx_message_wait(&hsw->ipc, request, &reply); hsw 1207 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: stream commit failed\n"); hsw 1217 sound/soc/intel/haswell/sst-haswell-ipc.c snd_pcm_uframes_t sst_hsw_stream_get_old_position(struct sst_hsw *hsw, hsw 1223 sound/soc/intel/haswell/sst-haswell-ipc.c void sst_hsw_stream_set_old_position(struct sst_hsw *hsw, hsw 1229 sound/soc/intel/haswell/sst-haswell-ipc.c bool sst_hsw_stream_get_silence_start(struct sst_hsw *hsw, hsw 1235 sound/soc/intel/haswell/sst-haswell-ipc.c void sst_hsw_stream_set_silence_start(struct sst_hsw *hsw, hsw 1243 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_mixer_get_info(struct sst_hsw *hsw) hsw 1249 sound/soc/intel/haswell/sst-haswell-ipc.c reply.data = &hsw->mixer_info; hsw 1250 sound/soc/intel/haswell/sst-haswell-ipc.c reply.size = sizeof(hsw->mixer_info); hsw 1254 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_ipc_tx_message_wait(&hsw->ipc, request, &reply); hsw 1256 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: get stream info failed\n"); hsw 1260 sound/soc/intel/haswell/sst-haswell-ipc.c trace_hsw_mixer_info_reply(&hsw->mixer_info); hsw 1266 sound/soc/intel/haswell/sst-haswell-ipc.c static int sst_hsw_stream_operations(struct sst_hsw *hsw, int type, hsw 1275 sound/soc/intel/haswell/sst-haswell-ipc.c return sst_ipc_tx_message_wait(&hsw->ipc, request, NULL); hsw 1277 sound/soc/intel/haswell/sst-haswell-ipc.c return sst_ipc_tx_message_nowait(&hsw->ipc, request); hsw 1281 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_stream_pause(struct sst_hsw *hsw, struct sst_hsw_stream *stream, hsw 1287 sound/soc/intel/haswell/sst-haswell-ipc.c dev_warn(hsw->dev, "warning: stream is NULL, no stream to pause, ignore it.\n"); hsw 1293 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_hsw_stream_operations(hsw, IPC_STR_PAUSE, hsw 1296 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: failed to pause stream %d\n", hsw 1302 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_stream_resume(struct sst_hsw *hsw, struct sst_hsw_stream *stream, hsw 1308 sound/soc/intel/haswell/sst-haswell-ipc.c dev_warn(hsw->dev, "warning: stream is NULL, no stream to resume, ignore it.\n"); hsw 1314 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_hsw_stream_operations(hsw, IPC_STR_RESUME, hsw 1317 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: failed to resume stream %d\n", hsw 1323 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_stream_reset(struct sst_hsw *hsw, struct sst_hsw_stream *stream) hsw 1328 sound/soc/intel/haswell/sst-haswell-ipc.c dev_warn(hsw->dev, "warning: stream is NULL, no stream to reset, ignore it.\n"); hsw 1340 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: reset stream %d still running\n", hsw 1347 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_hsw_stream_operations(hsw, IPC_STR_RESET, hsw 1350 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: failed to reset stream %d\n", hsw 1356 sound/soc/intel/haswell/sst-haswell-ipc.c u32 sst_hsw_get_dsp_position(struct sst_hsw *hsw, hsw 1361 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_read(hsw->dsp, &rpos, hsw 1368 sound/soc/intel/haswell/sst-haswell-ipc.c u64 sst_hsw_get_dsp_presentation_position(struct sst_hsw *hsw, hsw 1373 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_read(hsw->dsp, &ppos, hsw 1381 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_device_set_config(struct sst_hsw *hsw, hsw 1391 sound/soc/intel/haswell/sst-haswell-ipc.c hsw->dx_dev = config.ssp_interface = dev; hsw 1392 sound/soc/intel/haswell/sst-haswell-ipc.c hsw->dx_mclk = config.clock_frequency = mclk; hsw 1393 sound/soc/intel/haswell/sst-haswell-ipc.c hsw->dx_mode = config.mode = mode; hsw 1394 sound/soc/intel/haswell/sst-haswell-ipc.c hsw->dx_clock_divider = config.clock_divider = clock_divider; hsw 1406 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_ipc_tx_message_wait(&hsw->ipc, request, NULL); hsw 1408 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: set device formats failed\n"); hsw 1415 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_dx_set_state(struct sst_hsw *hsw, hsw 1431 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_ipc_tx_message_wait(&hsw->ipc, request, &reply); hsw 1433 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "ipc: error set dx state %d failed\n", state); hsw 1438 sound/soc/intel/haswell/sst-haswell-ipc.c dev_dbg(hsw->dev, hsw 1444 sound/soc/intel/haswell/sst-haswell-ipc.c dev_dbg(hsw->dev, "ipc: got %d entry numbers for state %d\n", hsw 1450 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_module_runtime *sst_hsw_runtime_module_create(struct sst_hsw *hsw, hsw 1453 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_dsp *dsp = hsw->dsp; hsw 1492 sound/soc/intel/haswell/sst-haswell-ipc.c static int sst_hsw_dx_state_dump(struct sst_hsw *hsw) hsw 1494 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_dsp *sst = hsw->dsp; hsw 1500 sound/soc/intel/haswell/sst-haswell-ipc.c if (hsw->dx.entries_no > SST_HSW_MAX_DX_REGIONS) { hsw 1501 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, hsw 1504 sound/soc/intel/haswell/sst-haswell-ipc.c memset(&hsw->dx, 0, sizeof(hsw->dx)); hsw 1510 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: cant allocate dma channel %d\n", ret); hsw 1519 sound/soc/intel/haswell/sst-haswell-ipc.c for (item = 0; item < hsw->dx.entries_no; item++) { hsw 1520 sound/soc/intel/haswell/sst-haswell-ipc.c if (hsw->dx.mem_info[item].source == SST_HSW_DX_TYPE_MEMORY_DUMP hsw 1521 sound/soc/intel/haswell/sst-haswell-ipc.c && hsw->dx.mem_info[item].offset > DSP_DRAM_ADDR_OFFSET hsw 1522 sound/soc/intel/haswell/sst-haswell-ipc.c && hsw->dx.mem_info[item].offset < hsw 1525 sound/soc/intel/haswell/sst-haswell-ipc.c offset = hsw->dx.mem_info[item].offset hsw 1527 sound/soc/intel/haswell/sst-haswell-ipc.c size = (hsw->dx.mem_info[item].size + 3) & (~3); hsw 1529 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_dsp_dma_copyfrom(sst, hsw->dx_context_paddr + offset, hsw 1532 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, hsw 1534 sound/soc/intel/haswell/sst-haswell-ipc.c memset(&hsw->dx, 0, sizeof(hsw->dx)); hsw 1545 sound/soc/intel/haswell/sst-haswell-ipc.c static int sst_hsw_dx_state_restore(struct sst_hsw *hsw) hsw 1547 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_dsp *sst = hsw->dsp; hsw 1551 sound/soc/intel/haswell/sst-haswell-ipc.c for (item = 0; item < hsw->dx.entries_no; item++) { hsw 1552 sound/soc/intel/haswell/sst-haswell-ipc.c if (hsw->dx.mem_info[item].source == SST_HSW_DX_TYPE_MEMORY_DUMP hsw 1553 sound/soc/intel/haswell/sst-haswell-ipc.c && hsw->dx.mem_info[item].offset > DSP_DRAM_ADDR_OFFSET hsw 1554 sound/soc/intel/haswell/sst-haswell-ipc.c && hsw->dx.mem_info[item].offset < hsw 1557 sound/soc/intel/haswell/sst-haswell-ipc.c offset = hsw->dx.mem_info[item].offset hsw 1559 sound/soc/intel/haswell/sst-haswell-ipc.c size = (hsw->dx.mem_info[item].size + 3) & (~3); hsw 1562 sound/soc/intel/haswell/sst-haswell-ipc.c hsw->dx_context_paddr + offset, size); hsw 1564 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, hsw 1574 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_dsp_load(struct sst_hsw *hsw) hsw 1576 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_dsp *dsp = hsw->dsp; hsw 1580 sound/soc/intel/haswell/sst-haswell-ipc.c dev_dbg(hsw->dev, "loading audio DSP...."); hsw 1584 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: failed to wake audio DSP\n"); hsw 1590 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: cant allocate dma channel %d\n", ret); hsw 1597 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: SST FW reload failed\n"); hsw 1602 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_block_alloc_scratch(hsw->dsp); hsw 1610 sound/soc/intel/haswell/sst-haswell-ipc.c static int sst_hsw_dsp_restore(struct sst_hsw *hsw) hsw 1612 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_dsp *dsp = hsw->dsp; hsw 1615 sound/soc/intel/haswell/sst-haswell-ipc.c dev_dbg(hsw->dev, "restoring audio DSP...."); hsw 1619 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: cant allocate dma channel %d\n", ret); hsw 1623 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_hsw_dx_state_restore(hsw); hsw 1625 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: SST FW context restore failed\n"); hsw 1637 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_dsp_runtime_suspend(struct sst_hsw *hsw) hsw 1641 sound/soc/intel/haswell/sst-haswell-ipc.c dev_dbg(hsw->dev, "audio dsp runtime suspend\n"); hsw 1643 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_hsw_dx_set_state(hsw, SST_HSW_DX_STATE_D3, &hsw->dx); hsw 1647 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_stall(hsw->dsp); hsw 1649 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_hsw_dx_state_dump(hsw); hsw 1653 sound/soc/intel/haswell/sst-haswell-ipc.c sst_ipc_drop_all(&hsw->ipc); hsw 1658 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_dsp_runtime_sleep(struct sst_hsw *hsw) hsw 1661 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_dsp *dsp = hsw->dsp; hsw 1668 sound/soc/intel/haswell/sst-haswell-ipc.c hsw->boot_complete = false; hsw 1675 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_dsp_runtime_resume(struct sst_hsw *hsw) hsw 1677 sound/soc/intel/haswell/sst-haswell-ipc.c struct device *dev = hsw->dev; hsw 1682 sound/soc/intel/haswell/sst-haswell-ipc.c if (hsw->boot_complete) hsw 1685 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_hsw_dsp_restore(hsw); hsw 1689 sound/soc/intel/haswell/sst-haswell-ipc.c sst_hsw_init_module_state(hsw); hsw 1691 sound/soc/intel/haswell/sst-haswell-ipc.c ret = wait_event_timeout(hsw->boot_wait, hsw->boot_complete, hsw 1694 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: audio DSP boot timeout IPCD 0x%x IPCX 0x%x\n", hsw 1695 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_shim_read_unlocked(hsw->dsp, SST_IPCD), hsw 1696 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_shim_read_unlocked(hsw->dsp, SST_IPCX)); hsw 1702 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_hsw_device_set_config(hsw, hsw->dx_dev, hsw->dx_mclk, hsw 1703 sound/soc/intel/haswell/sst-haswell-ipc.c hsw->dx_mode, hsw->dx_clock_divider); hsw 1711 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_dsp *sst_hsw_get_dsp(struct sst_hsw *hsw) hsw 1713 sound/soc/intel/haswell/sst-haswell-ipc.c return hsw->dsp; hsw 1716 sound/soc/intel/haswell/sst-haswell-ipc.c void sst_hsw_init_module_state(struct sst_hsw *hsw) hsw 1723 sound/soc/intel/haswell/sst-haswell-ipc.c module = sst_module_get_from_id(hsw->dsp, id); hsw 1734 sound/soc/intel/haswell/sst-haswell-ipc.c bool sst_hsw_is_module_loaded(struct sst_hsw *hsw, u32 module_id) hsw 1738 sound/soc/intel/haswell/sst-haswell-ipc.c module = sst_module_get_from_id(hsw->dsp, module_id); hsw 1745 sound/soc/intel/haswell/sst-haswell-ipc.c bool sst_hsw_is_module_active(struct sst_hsw *hsw, u32 module_id) hsw 1749 sound/soc/intel/haswell/sst-haswell-ipc.c module = sst_module_get_from_id(hsw->dsp, module_id); hsw 1756 sound/soc/intel/haswell/sst-haswell-ipc.c void sst_hsw_set_module_enabled_rtd3(struct sst_hsw *hsw, u32 module_id) hsw 1758 sound/soc/intel/haswell/sst-haswell-ipc.c hsw->enabled_modules_rtd3 |= (1 << module_id); hsw 1761 sound/soc/intel/haswell/sst-haswell-ipc.c void sst_hsw_set_module_disabled_rtd3(struct sst_hsw *hsw, u32 module_id) hsw 1763 sound/soc/intel/haswell/sst-haswell-ipc.c hsw->enabled_modules_rtd3 &= ~(1 << module_id); hsw 1766 sound/soc/intel/haswell/sst-haswell-ipc.c bool sst_hsw_is_module_enabled_rtd3(struct sst_hsw *hsw, u32 module_id) hsw 1768 sound/soc/intel/haswell/sst-haswell-ipc.c return hsw->enabled_modules_rtd3 & (1 << module_id); hsw 1771 sound/soc/intel/haswell/sst-haswell-ipc.c void sst_hsw_reset_param_buf(struct sst_hsw *hsw) hsw 1773 sound/soc/intel/haswell/sst-haswell-ipc.c hsw->param_idx_w = 0; hsw 1774 sound/soc/intel/haswell/sst-haswell-ipc.c hsw->param_idx_r = 0; hsw 1775 sound/soc/intel/haswell/sst-haswell-ipc.c memset((void *)hsw->param_buf, 0, sizeof(hsw->param_buf)); hsw 1778 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_store_param_line(struct sst_hsw *hsw, u8 *buf) hsw 1781 sound/soc/intel/haswell/sst-haswell-ipc.c if (hsw->param_idx_w > WAVES_PARAM_LINES - 1) { hsw 1782 sound/soc/intel/haswell/sst-haswell-ipc.c dev_warn(hsw->dev, "warning: param buffer overflow!\n"); hsw 1785 sound/soc/intel/haswell/sst-haswell-ipc.c memcpy(hsw->param_buf[hsw->param_idx_w], buf, WAVES_PARAM_COUNT); hsw 1786 sound/soc/intel/haswell/sst-haswell-ipc.c hsw->param_idx_w++; hsw 1790 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_load_param_line(struct sst_hsw *hsw, u8 *buf) hsw 1795 sound/soc/intel/haswell/sst-haswell-ipc.c while (hsw->param_idx_r < WAVES_PARAM_LINES) { hsw 1796 sound/soc/intel/haswell/sst-haswell-ipc.c id = hsw->param_buf[hsw->param_idx_r][0]; hsw 1797 sound/soc/intel/haswell/sst-haswell-ipc.c hsw->param_idx_r++; hsw 1799 sound/soc/intel/haswell/sst-haswell-ipc.c memcpy(buf, hsw->param_buf[hsw->param_idx_r], hsw 1804 sound/soc/intel/haswell/sst-haswell-ipc.c if (hsw->param_idx_r > WAVES_PARAM_LINES - 1) { hsw 1805 sound/soc/intel/haswell/sst-haswell-ipc.c dev_dbg(hsw->dev, "end of buffer, roll to the beginning\n"); hsw 1806 sound/soc/intel/haswell/sst-haswell-ipc.c hsw->param_idx_r = 0; hsw 1812 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_launch_param_buf(struct sst_hsw *hsw) hsw 1816 sound/soc/intel/haswell/sst-haswell-ipc.c if (!sst_hsw_is_module_active(hsw, SST_HSW_MODULE_WAVES)) { hsw 1817 sound/soc/intel/haswell/sst-haswell-ipc.c dev_dbg(hsw->dev, "module waves is not active\n"); hsw 1822 sound/soc/intel/haswell/sst-haswell-ipc.c for (idx = 0; idx < hsw->param_idx_w; idx++) { hsw 1823 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_hsw_module_set_param(hsw, hsw 1824 sound/soc/intel/haswell/sst-haswell-ipc.c SST_HSW_MODULE_WAVES, 0, hsw->param_buf[idx][0], hsw 1825 sound/soc/intel/haswell/sst-haswell-ipc.c WAVES_PARAM_COUNT, hsw->param_buf[idx]); hsw 1832 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_module_load(struct sst_hsw *hsw, hsw 1839 sound/soc/intel/haswell/sst-haswell-ipc.c struct device *dev = hsw->dev; hsw 1840 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_dsp *dsp = hsw->dsp; hsw 1865 sound/soc/intel/haswell/sst-haswell-ipc.c hsw_sst_fw = sst_fw_new(dsp, fw, hsw); hsw 1887 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_module_enable(struct sst_hsw *hsw, hsw 1895 sound/soc/intel/haswell/sst-haswell-ipc.c struct device *dev = hsw->dev; hsw 1896 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_dsp *dsp = hsw->dsp; hsw 1898 sound/soc/intel/haswell/sst-haswell-ipc.c if (!sst_hsw_is_module_loaded(hsw, module_id)) { hsw 1903 sound/soc/intel/haswell/sst-haswell-ipc.c if (sst_hsw_is_module_active(hsw, module_id)) { hsw 1947 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_ipc_tx_message_wait(&hsw->ipc, request, NULL); hsw 1956 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_module_disable(struct sst_hsw *hsw, hsw 1962 sound/soc/intel/haswell/sst-haswell-ipc.c struct device *dev = hsw->dev; hsw 1963 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_dsp *dsp = hsw->dsp; hsw 1965 sound/soc/intel/haswell/sst-haswell-ipc.c if (!sst_hsw_is_module_loaded(hsw, module_id)) { hsw 1970 sound/soc/intel/haswell/sst-haswell-ipc.c if (!sst_hsw_is_module_active(hsw, module_id)) { hsw 1985 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_ipc_tx_message_wait(&hsw->ipc, request, NULL); hsw 1994 sound/soc/intel/haswell/sst-haswell-ipc.c int sst_hsw_module_set_param(struct sst_hsw *hsw, hsw 2002 sound/soc/intel/haswell/sst-haswell-ipc.c struct device *dev = hsw->dev; hsw 2039 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_ipc_tx_message_wait(&hsw->ipc, request, NULL); hsw 2101 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_hsw *hsw; hsw 2107 sound/soc/intel/haswell/sst-haswell-ipc.c hsw = devm_kzalloc(dev, sizeof(*hsw), GFP_KERNEL); hsw 2108 sound/soc/intel/haswell/sst-haswell-ipc.c if (hsw == NULL) hsw 2111 sound/soc/intel/haswell/sst-haswell-ipc.c hsw->dev = dev; hsw 2113 sound/soc/intel/haswell/sst-haswell-ipc.c ipc = &hsw->ipc; hsw 2128 sound/soc/intel/haswell/sst-haswell-ipc.c INIT_LIST_HEAD(&hsw->stream_list); hsw 2129 sound/soc/intel/haswell/sst-haswell-ipc.c init_waitqueue_head(&hsw->boot_wait); hsw 2130 sound/soc/intel/haswell/sst-haswell-ipc.c hsw_dev.thread_context = hsw; hsw 2133 sound/soc/intel/haswell/sst-haswell-ipc.c hsw->dsp = sst_dsp_new(dev, &hsw_dev, pdata); hsw 2134 sound/soc/intel/haswell/sst-haswell-ipc.c if (hsw->dsp == NULL) { hsw 2139 sound/soc/intel/haswell/sst-haswell-ipc.c ipc->dsp = hsw->dsp; hsw 2142 sound/soc/intel/haswell/sst-haswell-ipc.c hsw->dx_context = dma_alloc_coherent(hsw->dsp->dma_dev, hsw 2143 sound/soc/intel/haswell/sst-haswell-ipc.c SST_HSW_DX_CONTEXT_SIZE, &hsw->dx_context_paddr, GFP_KERNEL); hsw 2144 sound/soc/intel/haswell/sst-haswell-ipc.c if (hsw->dx_context == NULL) { hsw 2150 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_reset(hsw->dsp); hsw 2153 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_hsw_module_load(hsw, SST_HSW_MODULE_BASE_FW, 0, "Base"); hsw 2158 sound/soc/intel/haswell/sst-haswell-ipc.c sst_hsw_module_load(hsw, SST_HSW_MODULE_WAVES, 0, "intel/IntcPP01.bin"); hsw 2161 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_block_alloc_scratch(hsw->dsp); hsw 2166 sound/soc/intel/haswell/sst-haswell-ipc.c sst_hsw_reset_param_buf(hsw); hsw 2169 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_boot(hsw->dsp); hsw 2170 sound/soc/intel/haswell/sst-haswell-ipc.c ret = wait_event_timeout(hsw->boot_wait, hsw->boot_complete, hsw 2174 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: audio DSP boot timeout IPCD 0x%x IPCX 0x%x\n", hsw 2175 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_shim_read_unlocked(hsw->dsp, SST_IPCD), hsw 2176 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_shim_read_unlocked(hsw->dsp, SST_IPCX)); hsw 2181 sound/soc/intel/haswell/sst-haswell-ipc.c sst_hsw_init_module_state(hsw); hsw 2184 sound/soc/intel/haswell/sst-haswell-ipc.c sst_hsw_fw_get_version(hsw, &version); hsw 2187 sound/soc/intel/haswell/sst-haswell-ipc.c ret = sst_hsw_mixer_get_info(hsw); hsw 2189 sound/soc/intel/haswell/sst-haswell-ipc.c dev_err(hsw->dev, "error: failed to get stream info\n"); hsw 2193 sound/soc/intel/haswell/sst-haswell-ipc.c pdata->dsp = hsw; hsw 2197 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_reset(hsw->dsp); hsw 2198 sound/soc/intel/haswell/sst-haswell-ipc.c sst_fw_free_all(hsw->dsp); hsw 2200 sound/soc/intel/haswell/sst-haswell-ipc.c dma_free_coherent(hsw->dsp->dma_dev, SST_HSW_DX_CONTEXT_SIZE, hsw 2201 sound/soc/intel/haswell/sst-haswell-ipc.c hsw->dx_context, hsw->dx_context_paddr); hsw 2203 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_free(hsw->dsp); hsw 2213 sound/soc/intel/haswell/sst-haswell-ipc.c struct sst_hsw *hsw = pdata->dsp; hsw 2215 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_reset(hsw->dsp); hsw 2216 sound/soc/intel/haswell/sst-haswell-ipc.c sst_fw_free_all(hsw->dsp); hsw 2217 sound/soc/intel/haswell/sst-haswell-ipc.c dma_free_coherent(hsw->dsp->dma_dev, SST_HSW_DX_CONTEXT_SIZE, hsw 2218 sound/soc/intel/haswell/sst-haswell-ipc.c hsw->dx_context, hsw->dx_context_paddr); hsw 2219 sound/soc/intel/haswell/sst-haswell-ipc.c sst_dsp_free(hsw->dsp); hsw 2220 sound/soc/intel/haswell/sst-haswell-ipc.c sst_ipc_fini(&hsw->ipc); hsw 398 sound/soc/intel/haswell/sst-haswell-ipc.h void sst_hsw_free(struct sst_hsw *hsw); hsw 399 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_fw_get_version(struct sst_hsw *hsw, hsw 404 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_stream_set_volume(struct sst_hsw *hsw, hsw 406 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_stream_get_volume(struct sst_hsw *hsw, hsw 410 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_mixer_set_volume(struct sst_hsw *hsw, u32 stage_id, u32 channel, hsw 412 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_mixer_get_volume(struct sst_hsw *hsw, u32 stage_id, u32 channel, hsw 416 sound/soc/intel/haswell/sst-haswell-ipc.h struct sst_hsw_stream *sst_hsw_stream_new(struct sst_hsw *hsw, int id, hsw 420 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_stream_free(struct sst_hsw *hsw, struct sst_hsw_stream *stream); hsw 423 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_stream_format(struct sst_hsw *hsw, struct sst_hsw_stream *stream, hsw 428 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_stream_buffer(struct sst_hsw *hsw, struct sst_hsw_stream *stream, hsw 432 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_stream_commit(struct sst_hsw *hsw, struct sst_hsw_stream *stream); hsw 434 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_stream_set_valid(struct sst_hsw *hsw, struct sst_hsw_stream *stream, hsw 436 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_stream_set_rate(struct sst_hsw *hsw, struct sst_hsw_stream *stream, hsw 438 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_stream_set_bits(struct sst_hsw *hsw, struct sst_hsw_stream *stream, hsw 440 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_stream_set_channels(struct sst_hsw *hsw, hsw 442 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_stream_set_map_config(struct sst_hsw *hsw, hsw 445 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_stream_set_style(struct sst_hsw *hsw, struct sst_hsw_stream *stream, hsw 447 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_stream_set_module_info(struct sst_hsw *hsw, hsw 449 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_stream_set_pmemory_info(struct sst_hsw *hsw, hsw 451 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_stream_set_smemory_info(struct sst_hsw *hsw, hsw 453 sound/soc/intel/haswell/sst-haswell-ipc.h snd_pcm_uframes_t sst_hsw_stream_get_old_position(struct sst_hsw *hsw, hsw 455 sound/soc/intel/haswell/sst-haswell-ipc.h void sst_hsw_stream_set_old_position(struct sst_hsw *hsw, hsw 457 sound/soc/intel/haswell/sst-haswell-ipc.h bool sst_hsw_stream_get_silence_start(struct sst_hsw *hsw, hsw 459 sound/soc/intel/haswell/sst-haswell-ipc.h void sst_hsw_stream_set_silence_start(struct sst_hsw *hsw, hsw 461 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_mixer_get_info(struct sst_hsw *hsw); hsw 464 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_stream_pause(struct sst_hsw *hsw, struct sst_hsw_stream *stream, hsw 466 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_stream_resume(struct sst_hsw *hsw, struct sst_hsw_stream *stream, hsw 468 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_stream_reset(struct sst_hsw *hsw, struct sst_hsw_stream *stream); hsw 471 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_stream_get_read_pos(struct sst_hsw *hsw, hsw 473 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_stream_get_write_pos(struct sst_hsw *hsw, hsw 475 sound/soc/intel/haswell/sst-haswell-ipc.h u32 sst_hsw_get_dsp_position(struct sst_hsw *hsw, hsw 477 sound/soc/intel/haswell/sst-haswell-ipc.h u64 sst_hsw_get_dsp_presentation_position(struct sst_hsw *hsw, hsw 481 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_device_set_config(struct sst_hsw *hsw, hsw 486 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_dx_set_state(struct sst_hsw *hsw, hsw 492 sound/soc/intel/haswell/sst-haswell-ipc.h struct sst_dsp *sst_hsw_get_dsp(struct sst_hsw *hsw); hsw 495 sound/soc/intel/haswell/sst-haswell-ipc.h void sst_hsw_init_module_state(struct sst_hsw *hsw); hsw 496 sound/soc/intel/haswell/sst-haswell-ipc.h bool sst_hsw_is_module_loaded(struct sst_hsw *hsw, u32 module_id); hsw 497 sound/soc/intel/haswell/sst-haswell-ipc.h bool sst_hsw_is_module_active(struct sst_hsw *hsw, u32 module_id); hsw 498 sound/soc/intel/haswell/sst-haswell-ipc.h void sst_hsw_set_module_enabled_rtd3(struct sst_hsw *hsw, u32 module_id); hsw 499 sound/soc/intel/haswell/sst-haswell-ipc.h void sst_hsw_set_module_disabled_rtd3(struct sst_hsw *hsw, u32 module_id); hsw 500 sound/soc/intel/haswell/sst-haswell-ipc.h bool sst_hsw_is_module_enabled_rtd3(struct sst_hsw *hsw, u32 module_id); hsw 501 sound/soc/intel/haswell/sst-haswell-ipc.h void sst_hsw_reset_param_buf(struct sst_hsw *hsw); hsw 502 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_store_param_line(struct sst_hsw *hsw, u8 *buf); hsw 503 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_load_param_line(struct sst_hsw *hsw, u8 *buf); hsw 504 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_launch_param_buf(struct sst_hsw *hsw); hsw 506 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_module_load(struct sst_hsw *hsw, hsw 508 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_module_enable(struct sst_hsw *hsw, hsw 510 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_module_disable(struct sst_hsw *hsw, hsw 512 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_module_set_param(struct sst_hsw *hsw, hsw 517 sound/soc/intel/haswell/sst-haswell-ipc.h struct sst_module_runtime *sst_hsw_runtime_module_create(struct sst_hsw *hsw, hsw 522 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_dsp_runtime_resume(struct sst_hsw *hsw); hsw 523 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_dsp_runtime_suspend(struct sst_hsw *hsw); hsw 524 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_dsp_load(struct sst_hsw *hsw); hsw 525 sound/soc/intel/haswell/sst-haswell-ipc.h int sst_hsw_dsp_runtime_sleep(struct sst_hsw *hsw); hsw 127 sound/soc/intel/haswell/sst-haswell-pcm.c struct sst_hsw *hsw; hsw 181 sound/soc/intel/haswell/sst-haswell-pcm.c struct sst_hsw *hsw = pdata->hsw; hsw 207 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_stream_set_volume(hsw, pcm_data->stream, 0, SST_HSW_CHANNELS_ALL, volume); hsw 210 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_stream_set_volume(hsw, pcm_data->stream, 0, 0, volume); hsw 212 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_stream_set_volume(hsw, pcm_data->stream, 0, 1, volume); hsw 230 sound/soc/intel/haswell/sst-haswell-pcm.c struct sst_hsw *hsw = pdata->hsw; hsw 252 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_stream_get_volume(hsw, pcm_data->stream, 0, 0, &volume); hsw 254 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_stream_get_volume(hsw, pcm_data->stream, 0, 1, &volume); hsw 269 sound/soc/intel/haswell/sst-haswell-pcm.c struct sst_hsw *hsw = pdata->hsw; hsw 278 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_mixer_set_volume(hsw, 0, SST_HSW_CHANNELS_ALL, volume); hsw 282 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_mixer_set_volume(hsw, 0, 0, volume); hsw 285 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_mixer_set_volume(hsw, 0, 1, volume); hsw 298 sound/soc/intel/haswell/sst-haswell-pcm.c struct sst_hsw *hsw = pdata->hsw; hsw 302 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_mixer_get_volume(hsw, 0, 0, &volume); hsw 305 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_mixer_get_volume(hsw, 0, 1, &volume); hsw 318 sound/soc/intel/haswell/sst-haswell-pcm.c struct sst_hsw *hsw = pdata->hsw; hsw 322 sound/soc/intel/haswell/sst-haswell-pcm.c (sst_hsw_is_module_active(hsw, id) || hsw 323 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_is_module_enabled_rtd3(hsw, id)); hsw 332 sound/soc/intel/haswell/sst-haswell-pcm.c struct sst_hsw *hsw = pdata->hsw; hsw 340 sound/soc/intel/haswell/sst-haswell-pcm.c if (sst_hsw_is_module_loaded(hsw, id)) { hsw 341 sound/soc/intel/haswell/sst-haswell-pcm.c if (switch_on == sst_hsw_is_module_active(hsw, id)) hsw 345 sound/soc/intel/haswell/sst-haswell-pcm.c ret = sst_hsw_module_enable(hsw, id, 0); hsw 347 sound/soc/intel/haswell/sst-haswell-pcm.c ret = sst_hsw_module_disable(hsw, id, 0); hsw 349 sound/soc/intel/haswell/sst-haswell-pcm.c if (switch_on == sst_hsw_is_module_enabled_rtd3(hsw, id)) hsw 353 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_set_module_enabled_rtd3(hsw, id); hsw 355 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_set_module_disabled_rtd3(hsw, id); hsw 366 sound/soc/intel/haswell/sst-haswell-pcm.c struct sst_hsw *hsw = pdata->hsw; hsw 369 sound/soc/intel/haswell/sst-haswell-pcm.c return sst_hsw_load_param_line(hsw, ucontrol->value.bytes.data); hsw 377 sound/soc/intel/haswell/sst-haswell-pcm.c struct sst_hsw *hsw = pdata->hsw; hsw 385 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_reset_param_buf(hsw); hsw 390 sound/soc/intel/haswell/sst-haswell-pcm.c ret = sst_hsw_store_param_line(hsw, ucontrol->value.bytes.data); hsw 394 sound/soc/intel/haswell/sst-haswell-pcm.c if (sst_hsw_is_module_active(hsw, id)) hsw 395 sound/soc/intel/haswell/sst-haswell-pcm.c ret = sst_hsw_module_set_param(hsw, id, 0, param_id, hsw 469 sound/soc/intel/haswell/sst-haswell-pcm.c struct sst_hsw *hsw = pdata->hsw; hsw 484 sound/soc/intel/haswell/sst-haswell-pcm.c ret = sst_hsw_stream_reset(hsw, pcm_data->stream); hsw 489 sound/soc/intel/haswell/sst-haswell-pcm.c ret = sst_hsw_stream_free(hsw, pcm_data->stream); hsw 497 sound/soc/intel/haswell/sst-haswell-pcm.c pcm_data->stream = sst_hsw_stream_new(hsw, rtd->cpu_dai->id, hsw 540 sound/soc/intel/haswell/sst-haswell-pcm.c ret = sst_hsw_stream_format(hsw, pcm_data->stream, hsw 548 sound/soc/intel/haswell/sst-haswell-pcm.c ret = sst_hsw_stream_set_rate(hsw, pcm_data->stream, rate); hsw 557 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_stream_set_valid(hsw, pcm_data->stream, 16); hsw 561 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_stream_set_valid(hsw, pcm_data->stream, 24); hsw 565 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_stream_set_valid(hsw, pcm_data->stream, 8); hsw 569 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_stream_set_valid(hsw, pcm_data->stream, 32); hsw 577 sound/soc/intel/haswell/sst-haswell-pcm.c ret = sst_hsw_stream_set_bits(hsw, pcm_data->stream, bits); hsw 585 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_stream_set_map_config(hsw, pcm_data->stream, hsw 588 sound/soc/intel/haswell/sst-haswell-pcm.c ret = sst_hsw_stream_set_channels(hsw, pcm_data->stream, channels); hsw 609 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_stream_set_style(hsw, pcm_data->stream, hsw 617 sound/soc/intel/haswell/sst-haswell-pcm.c ret = sst_hsw_stream_buffer(hsw, pcm_data->stream, hsw 626 sound/soc/intel/haswell/sst-haswell-pcm.c dsp = sst_hsw_get_dsp(hsw); hsw 634 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_stream_set_module_info(hsw, pcm_data->stream, hsw 637 sound/soc/intel/haswell/sst-haswell-pcm.c ret = sst_hsw_stream_commit(hsw, pcm_data->stream); hsw 645 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_stream_set_volume(hsw, pcm_data->stream, 0, hsw 647 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_stream_set_volume(hsw, pcm_data->stream, 0, hsw 652 sound/soc/intel/haswell/sst-haswell-pcm.c ret = sst_hsw_stream_pause(hsw, pcm_data->stream, 1); hsw 672 sound/soc/intel/haswell/sst-haswell-pcm.c struct sst_hsw *hsw = pdata->hsw; hsw 685 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_stream_set_silence_start(hsw, sst_stream, false); hsw 686 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_stream_resume(hsw, pcm_data->stream, 0); hsw 691 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_stream_set_silence_start(hsw, sst_stream, false); hsw 692 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_stream_pause(hsw, pcm_data->stream, 0); hsw 696 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_stream_set_old_position(hsw, pcm_data->stream, pos); hsw 697 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_stream_set_silence_start(hsw, sst_stream, true); hsw 714 sound/soc/intel/haswell/sst-haswell-pcm.c struct sst_hsw *hsw = pdata->hsw; hsw 717 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_get_dsp_position(hsw, pcm_data->stream)); hsw 734 sound/soc/intel/haswell/sst-haswell-pcm.c || !sst_hsw_stream_get_silence_start(hsw, stream)) { hsw 739 sound/soc/intel/haswell/sst-haswell-pcm.c old_position = sst_hsw_stream_get_old_position(hsw, stream); hsw 766 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_stream_set_old_position(hsw, stream, position); hsw 780 sound/soc/intel/haswell/sst-haswell-pcm.c struct sst_hsw *hsw = pdata->hsw; hsw 788 sound/soc/intel/haswell/sst-haswell-pcm.c position = sst_hsw_get_dsp_position(hsw, pcm_data->stream); hsw 791 sound/soc/intel/haswell/sst-haswell-pcm.c ppos = sst_hsw_get_dsp_presentation_position(hsw, pcm_data->stream); hsw 804 sound/soc/intel/haswell/sst-haswell-pcm.c struct sst_hsw *hsw = pdata->hsw; hsw 817 sound/soc/intel/haswell/sst-haswell-pcm.c pcm_data->stream = sst_hsw_stream_new(hsw, rtd->cpu_dai->id, hsw 837 sound/soc/intel/haswell/sst-haswell-pcm.c struct sst_hsw *hsw = pdata->hsw; hsw 844 sound/soc/intel/haswell/sst-haswell-pcm.c ret = sst_hsw_stream_reset(hsw, pcm_data->stream); hsw 850 sound/soc/intel/haswell/sst-haswell-pcm.c ret = sst_hsw_stream_free(hsw, pcm_data->stream); hsw 878 sound/soc/intel/haswell/sst-haswell-pcm.c struct sst_hsw *hsw = pdata->hsw; hsw 886 sound/soc/intel/haswell/sst-haswell-pcm.c pcm_data->runtime = sst_hsw_runtime_module_create(hsw, hsw 895 sound/soc/intel/haswell/sst-haswell-pcm.c if (sst_hsw_is_module_loaded(hsw, SST_HSW_MODULE_WAVES)) { hsw 896 sound/soc/intel/haswell/sst-haswell-pcm.c pdata->runtime_waves = sst_hsw_runtime_module_create(hsw, hsw 915 sound/soc/intel/haswell/sst-haswell-pcm.c struct sst_hsw *hsw = pdata->hsw; hsw 926 sound/soc/intel/haswell/sst-haswell-pcm.c if (sst_hsw_is_module_loaded(hsw, SST_HSW_MODULE_WAVES) && hsw 1053 sound/soc/intel/haswell/sst-haswell-pcm.c priv_data->hsw = pdata->dsp; hsw 1151 sound/soc/intel/haswell/sst-haswell-pcm.c priv_data->hsw = sst_pdata->dsp; hsw 1185 sound/soc/intel/haswell/sst-haswell-pcm.c struct sst_hsw *hsw = pdata->hsw; hsw 1188 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_dsp_runtime_suspend(hsw); hsw 1192 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_dsp_runtime_sleep(hsw); hsw 1199 sound/soc/intel/haswell/sst-haswell-pcm.c struct sst_hsw *hsw = pdata->hsw; hsw 1206 sound/soc/intel/haswell/sst-haswell-pcm.c if (sst_hsw_is_module_active(hsw, SST_HSW_MODULE_WAVES)) { hsw 1207 sound/soc/intel/haswell/sst-haswell-pcm.c ret = sst_hsw_module_disable(hsw, SST_HSW_MODULE_WAVES, 0); hsw 1210 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_set_module_enabled_rtd3(hsw, SST_HSW_MODULE_WAVES); hsw 1221 sound/soc/intel/haswell/sst-haswell-pcm.c struct sst_hsw *hsw = pdata->hsw; hsw 1227 sound/soc/intel/haswell/sst-haswell-pcm.c ret = sst_hsw_dsp_load(hsw); hsw 1239 sound/soc/intel/haswell/sst-haswell-pcm.c ret = sst_hsw_dsp_runtime_resume(hsw); hsw 1246 sound/soc/intel/haswell/sst-haswell-pcm.c if (sst_hsw_is_module_enabled_rtd3(hsw, SST_HSW_MODULE_WAVES)) { hsw 1247 sound/soc/intel/haswell/sst-haswell-pcm.c ret = sst_hsw_module_enable(hsw, SST_HSW_MODULE_WAVES, 0); hsw 1251 sound/soc/intel/haswell/sst-haswell-pcm.c ret = sst_hsw_launch_param_buf(hsw); hsw 1255 sound/soc/intel/haswell/sst-haswell-pcm.c sst_hsw_set_module_disabled_rtd3(hsw, SST_HSW_MODULE_WAVES); hsw 1273 sound/soc/intel/haswell/sst-haswell-pcm.c struct sst_hsw *hsw = pdata->hsw; hsw 1280 sound/soc/intel/haswell/sst-haswell-pcm.c err = sst_hsw_dsp_load(hsw); hsw 1306 sound/soc/intel/haswell/sst-haswell-pcm.c err = sst_hsw_dsp_runtime_resume(hsw);