Home
last modified time | relevance | path

Searched refs:hwv (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/pmdomain/mediatek/
H A Dmtk-pm-domains.c109 const struct scpsys_hwv_domain_data *hwv = pd->hwv_data; in scpsys_hwv_domain_is_disable_done() local
110 u32 regs[2] = { hwv->done, hwv->clr_sta }; in scpsys_hwv_domain_is_disable_done()
112 u32 mask = BIT(hwv->setclr_bit); in scpsys_hwv_domain_is_disable_done()
122 const struct scpsys_hwv_domain_data *hwv = pd->hwv_data; in scpsys_hwv_domain_is_enable_done() local
123 u32 regs[3] = { hwv->done, hwv->en, hwv->set_sta }; in scpsys_hwv_domain_is_enable_done()
125 u32 mask = BIT(hwv->setclr_bit); in scpsys_hwv_domain_is_enable_done()
320 const struct scpsys_hwv_domain_data *hwv = pd->hwv_data; in scpsys_hwv_power_on() local
345 ret = regmap_read_poll_timeout_atomic(scpsys->base, hwv->done, val, in scpsys_hwv_power_on()
346 val & BIT(hwv->setclr_bit), in scpsys_hwv_power_on()
358 regmap_write(scpsys->base, hwv->set, BIT(hwv->setclr_bit)); in scpsys_hwv_power_on()
[all …]
/linux/sound/isa/wavefront/
H A Dwavefront_synth.c1904 int hwv[2]; in wavefront_reset_to_cleanliness()
2011 hwv[0] = wavefront_read(dev); in wavefront_download_firmware()
2012 if (hwv[0] == -1) { in wavefront_download_firmware()
2017 if (hwv[0] == 0xFF) { /* NAK */ in wavefront_download_firmware()
2023 hwv[0] = wavefront_read(dev); in wavefront_download_firmware()
2024 if (hwv[0] == -1) { in wavefront_download_firmware()
2030 hwv[0]); in wavefront_download_firmware()
2037 hwv[1] = wavefront_read(dev); in wavefront_do_reset()
2038 if (hwv[1] == -1) { in wavefront_do_reset()
2044 hwv[ in wavefront_do_reset()
1815 int hwv[2]; wavefront_reset_to_cleanliness() local
[all...]