Lines Matching refs:slave_stat
366 u64 slave_stat; in amd_sdw_process_ping_status() local
371 slave_stat = FIELD_GET(AMD_SDW_MCP_SLAVE_STAT_0_3, response); in amd_sdw_process_ping_status()
372 slave_stat |= FIELD_GET(AMD_SDW_MCP_SLAVE_STAT_4_11, response) << 8; in amd_sdw_process_ping_status()
373 dev_dbg(amd_manager->dev, "slave_stat:0x%llx\n", slave_stat); in amd_sdw_process_ping_status()
375 val = (slave_stat >> (dev_index * 2)) & AMD_SDW_MCP_SLAVE_STATUS_MASK; in amd_sdw_process_ping_status()
395 u32 slave_stat; in amd_sdw_read_ping_status() local
399 slave_stat = FIELD_GET(AMD_SDW_MCP_SLAVE_STAT_0_3, response); in amd_sdw_read_ping_status()
400 slave_stat |= FIELD_GET(AMD_SDW_MCP_SLAVE_STAT_4_11, response) << 8; in amd_sdw_read_ping_status()
401 dev_dbg(amd_manager->dev, "slave_stat:0x%x\n", slave_stat); in amd_sdw_read_ping_status()
402 return slave_stat; in amd_sdw_read_ping_status()
826 u64 slave_stat; in amd_sdw_update_slave_status() local
832 slave_stat = status_change_0to7; in amd_sdw_update_slave_status()
833 slave_stat |= FIELD_GET(AMD_SDW_MCP_SLAVE_STATUS_8TO_11, status_change_8to11) << 32; in amd_sdw_update_slave_status()
836 if (slave_stat) { in amd_sdw_update_slave_status()
838 if (slave_stat & AMD_SDW_MCP_SLAVE_STATUS_VALID_MASK(dev_index)) { in amd_sdw_update_slave_status()
839 val = (slave_stat >> AMD_SDW_MCP_SLAVE_STAT_SHIFT_MASK(dev_index)) & in amd_sdw_update_slave_status()