Searched refs:SDW_REG_SHIFT (Results 1 – 5 of 5) sorted by relevance
259 SDW_REG_SHIFT(CDNS_MCP_RESP_RDATA); in cdns_fill_msg_resp()282 data = msg->dev_num << SDW_REG_SHIFT(CDNS_MCP_CMD_DEV_ADDR); in _cdns_xfer_msg()283 data |= cmd << SDW_REG_SHIFT(CDNS_MCP_CMD_COMMAND); in _cdns_xfer_msg()284 data |= addr++ << SDW_REG_SHIFT(CDNS_MCP_CMD_REG_ADDR_L); in _cdns_xfer_msg()289 data |= msg->ssp_sync << SDW_REG_SHIFT(CDNS_MCP_CMD_SSP_TAG); in _cdns_xfer_msg()323 data[0] = msg->dev_num << SDW_REG_SHIFT(CDNS_MCP_CMD_DEV_ADDR); in cdns_program_scp_addr()324 data[0] |= 0x3 << SDW_REG_SHIFT(CDNS_MCP_CMD_COMMAND); in cdns_program_scp_addr()327 data[0] |= SDW_SCP_ADDRPAGE1 << SDW_REG_SHIFT(CDNS_MCP_CMD_REG_ADDR_L); in cdns_program_scp_addr()328 data[1] |= SDW_SCP_ADDRPAGE2 << SDW_REG_SHIFT(CDNS_MCP_CMD_REG_ADDR_L); in cdns_program_scp_addr()828 val |= 0xF << SDW_REG_SHIFT(CDNS_MCP_CONFIG_MPREQ_DELAY); in sdw_cdns_init()[all …]
225 act |= 0x1 << SDW_REG_SHIFT(SDW_SHIM_CTMCTL_DOAIS); in intel_shim_init()233 SDW_REG_SHIFT(SDW_SHIM_SYNC_SYNCPRD)); in intel_shim_init()259 SDW_REG_SHIFT(SDW_SHIM_PCMSCAP_BSS); in intel_pdi_init()261 SDW_REG_SHIFT(SDW_SHIM_PCMSCAP_ISS); in intel_pdi_init()263 SDW_REG_SHIFT(SDW_SHIM_PCMSCAP_OSS); in intel_pdi_init()269 SDW_REG_SHIFT(SDW_SHIM_PDMSCAP_BSS); in intel_pdi_init()271 SDW_REG_SHIFT(SDW_SHIM_PDMSCAP_ISS); in intel_pdi_init()273 SDW_REG_SHIFT(SDW_SHIM_PDMSCAP_OSS); in intel_pdi_init()298 SDW_REG_SHIFT(SDW_SHIM_PDMSCAP_CPSS)); in intel_pdi_get_ch_cap()373 SDW_REG_SHIFT(SDW_SHIM_PCMSYCM_STREAM)); in intel_pdi_shim_configure()[all …]
300 msg->addr_page1 = (addr >> SDW_REG_SHIFT(SDW_SCP_ADDRPAGE1_MASK)); in sdw_fill_msg()301 msg->addr_page2 = (addr >> SDW_REG_SHIFT(SDW_SCP_ADDRPAGE2_MASK)); in sdw_fill_msg()865 port = port >> SDW_REG_SHIFT(SDW_SCP_INT1_PORT0_3); in sdw_handle_slave_alerts()
101 wbuf >>= SDW_REG_SHIFT(SDW_DPN_SAMPLECTRL_HIGH); in _sdw_program_slave_port_params()111 wbuf <<= SDW_REG_SHIFT(SDW_DPN_HCTRL_HSTART); in _sdw_program_slave_port_params()156 wbuf = p_params->data_mode << SDW_REG_SHIFT(SDW_DPN_PORTCTRL_DATAMODE); in sdw_program_slave_port_params()
12 #define SDW_REG_SHIFT(n) (ffs(n) - 1) macro