Home
last modified time | relevance | path

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

/openbmc/linux/drivers/soundwire/
H A Dcadence_master.c1521 int dpn_offsetctrl; in cdns_transport_params() local
1573 dpn_offsetctrl = 0; in cdns_transport_params()
1574 u32p_replace_bits(&dpn_offsetctrl, t_params->offset1, CDNS_DPN_OFFSET_CTRL_1); in cdns_transport_params()
1575 u32p_replace_bits(&dpn_offsetctrl, t_params->offset2, CDNS_DPN_OFFSET_CTRL_2); in cdns_transport_params()
1577 dpn_offsetctrl = cdns_readl(cdns, dpn_offsetctrl_off_source); in cdns_transport_params()
1579 cdns_writel(cdns, dpn_offsetctrl_off_target, dpn_offsetctrl); in cdns_transport_params()
H A Damd_manager.c481 u32 dpn_offsetctrl; in amd_sdw_transport_params() local
519 dpn_offsetctrl = FIELD_PREP(AMD_DPN_OFFSET_CTRL_1, params->offset1); in amd_sdw_transport_params()
520 dpn_offsetctrl |= FIELD_PREP(AMD_DPN_OFFSET_CTRL_2, params->offset2); in amd_sdw_transport_params()
521 writel(dpn_offsetctrl, amd_manager->mmio + offset_reg); in amd_sdw_transport_params()