Lines Matching refs:state
129 uint32_t state = 0; in scpi_set_brcm_power_state() local
137 state |= (mpidr >> MPIDR_AFF1_SHIFT) & 0x0f; /* CPU ID */ in scpi_set_brcm_power_state()
138 state |= ((mpidr >> MPIDR_AFF2_SHIFT) & 0x0f) << 4; /* Cluster ID */ in scpi_set_brcm_power_state()
140 state |= mpidr & 0x0f; /* CPU ID */ in scpi_set_brcm_power_state()
141 state |= (mpidr & 0xf00) >> 4; /* Cluster ID */ in scpi_set_brcm_power_state()
144 state |= cpu_state << 8; in scpi_set_brcm_power_state()
145 state |= cluster_state << 12; in scpi_set_brcm_power_state()
146 state |= brcm_state << 16; in scpi_set_brcm_power_state()
155 cmd->size = sizeof(state); in scpi_set_brcm_power_state()
158 *payload_addr = state; in scpi_set_brcm_power_state()
159 scpi_secure_message_send(sizeof(state)); in scpi_set_brcm_power_state()