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.c103 const struct scpsys_hwv_domain_data *hwv = pd->hwv_data; in scpsys_hwv_domain_is_disable_done() local
104 u32 regs[2] = { hwv->done, hwv->clr_sta }; in scpsys_hwv_domain_is_disable_done()
106 u32 mask = BIT(hwv->setclr_bit); in scpsys_hwv_domain_is_disable_done()
116 const struct scpsys_hwv_domain_data *hwv = pd->hwv_data; in scpsys_hwv_domain_is_enable_done() local
117 u32 regs[3] = { hwv->done, hwv->en, hwv->set_sta }; in scpsys_hwv_domain_is_enable_done()
119 u32 mask = BIT(hwv->setclr_bit); in scpsys_hwv_domain_is_enable_done()
306 const struct scpsys_hwv_domain_data *hwv = pd->hwv_data; in scpsys_hwv_power_on() local
331 ret = regmap_read_poll_timeout_atomic(scpsys->base, hwv->done, val, in scpsys_hwv_power_on()
332 val & BIT(hwv->setclr_bit), in scpsys_hwv_power_on()
344 regmap_write(scpsys->base, hwv->set, BIT(hwv->setclr_bit)); in scpsys_hwv_power_on()
[all …]
/linux/sound/isa/wavefront/
H A Dwavefront_synth.c1815 int hwv[2]; in wavefront_reset_to_cleanliness() local
1922 hwv[0] = wavefront_read(dev); in wavefront_reset_to_cleanliness()
1923 if (hwv[0] == -1) { in wavefront_reset_to_cleanliness()
1928 if (hwv[0] == 0xFF) { /* NAK */ in wavefront_reset_to_cleanliness()
1934 hwv[0] = wavefront_read(dev); in wavefront_reset_to_cleanliness()
1935 if (hwv[0] == -1) { in wavefront_reset_to_cleanliness()
1941 hwv[0]); in wavefront_reset_to_cleanliness()
1948 hwv[1] = wavefront_read(dev); in wavefront_reset_to_cleanliness()
1949 if (hwv[1] == -1) { in wavefront_reset_to_cleanliness()
1955 hwv[0], hwv[1]); in wavefront_reset_to_cleanliness()