Home
last modified time | relevance | path

Searched refs:snpsid (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/usb/dwc2/
H A Dplatform.c383 u32 snpsid; in dwc2_check_core_endianness() local
385 snpsid = ioread32(hsotg->regs + GSNPSID); in dwc2_check_core_endianness()
386 if ((snpsid & GSNPSID_ID_MASK) == DWC2_OTG_ID || in dwc2_check_core_endianness()
387 (snpsid & GSNPSID_ID_MASK) == DWC2_FS_IOT_ID || in dwc2_check_core_endianness()
388 (snpsid & GSNPSID_ID_MASK) == DWC2_HS_IOT_ID) in dwc2_check_core_endianness()
409 hw->snpsid = dwc2_readl(hsotg, GSNPSID); in dwc2_check_core_version()
410 if ((hw->snpsid & GSNPSID_ID_MASK) != DWC2_OTG_ID && in dwc2_check_core_version()
411 (hw->snpsid & GSNPSID_ID_MASK) != DWC2_FS_IOT_ID && in dwc2_check_core_version()
412 (hw->snpsid & GSNPSID_ID_MASK) != DWC2_HS_IOT_ID) { in dwc2_check_core_version()
414 hw->snpsid); in dwc2_check_core_version()
[all …]
H A Dcore.h568 * @snpsid: Value from SNPSID register
659 u32 snpsid;
1295 return (hsotg->hw_params.snpsid & 0xfff00000) == 0x55300000; in dwc2_is_hs_iot()
1300 return (hsotg->hw_params.snpsid & 0xffff0000) == 0x55310000;
1305 return (hsotg->hw_params.snpsid & 0xffff0000) == 0x55320000;
653 u32 snpsid; global() member
H A Dparams.c527 p->reload_ctl = (hw->snpsid >= DWC2_CORE_REV_2_92a); in dwc2_set_default_params()
836 CHECK_BOOL(reload_ctl, (hsotg->hw_params.snpsid > DWC2_CORE_REV_2_92a)); in dwc2_check_params()
837 CHECK_BOOL(lpm, (hsotg->hw_params.snpsid >= DWC2_CORE_REV_2_80a)); in dwc2_check_params()
841 CHECK_BOOL(besl, (hsotg->hw_params.snpsid >= DWC2_CORE_REV_3_00a)); in dwc2_check_params()
H A Dcore_intr.c170 if (hsotg->hw_params.snpsid >= DWC2_CORE_REV_3_00a) in dwc2_handle_otg_intr()
H A Dhcd.c299 hsotg->hw_params.snpsid >= DWC2_CORE_REV_2_91a) { in dwc2_config_fifos()
2173 if (hsotg->hw_params.snpsid < DWC2_CORE_REV_2_90a || in dwc2_core_host_init()
5073 if (hsotg->hw_params.snpsid >= DWC2_CORE_REV_3_00a) { in dwc2_hcd_free()
5645 if (!(rem_wakeup && hsotg->hw_params.snpsid >= DWC2_CORE_REV_4_30a)) { in dwc2_host_exit_hibernation()
5676 if ((rem_wakeup && hsotg->hw_params.snpsid >= DWC2_CORE_REV_4_30a)) { in dwc2_host_exit_hibernation()
H A Ddebugfs.c756 print_param_hex(seq, hw, snpsid); in hw_params_show()
H A Dcore.c430 if ((hsotg->hw_params.snpsid & DWC2_CORE_REV_MASK) < in dwc2_core_reset()
H A Dhcd_intr.c1816 if (hsotg->hw_params.snpsid >= DWC2_CORE_REV_2_71a) { in dwc2_hc_chhltd_intr_dma()