/fuchsia/zircon/system/ulib/ddk/include/ddk/protocol/ |
H A D | scpi.h | 28 zx_status_t (*get_dvfs_info)(void* ctx, uint8_t power_domain, scpi_opp_t* opps); 29 zx_status_t (*get_dvfs_idx)(void* ctx, uint8_t power_domain, uint16_t* idx); 30 zx_status_t (*set_dvfs_idx)(void* ctx, uint8_t power_domain, uint16_t idx); 51 static inline zx_status_t scpi_get_dvfs_info(scpi_protocol_t* scpi, uint8_t power_domain, argument 53 return scpi->ops->get_dvfs_info(scpi->ctx, power_domain, opps); 57 static inline zx_status_t scpi_get_dvfs_idx(scpi_protocol_t* scpi, uint8_t power_domain, argument 59 return scpi->ops->get_dvfs_idx(scpi->ctx, power_domain, idx); 63 static inline zx_status_t scpi_set_dvfs_idx(scpi_protocol_t* scpi, uint8_t power_domain, argument 65 return scpi->ops->set_dvfs_idx(scpi->ctx, power_domain, idx);
|
/fuchsia/zircon/system/ulib/ddktl/include/ddktl/protocol/ |
H A D | scpi.h | 39 // zx_status_t ScpiGetDvfsInfo(uint8_t power_domain, scpi_opp_t* opps); 40 // zx_status_t ScpiGetDvfsIdx(uint8_t power_domain, uint16_t* idx); 41 // zx_status_t ScpiSetDvfsIdx(uint8_t power_domain, uint16_t idx); 69 static zx_status_t ScpiGetDvfsInfo(void* ctx, uint8_t power_domain, scpi_opp_t* opps) { argument 70 return static_cast<D*>(ctx)->ScpiGetDvfsInfo(power_domain, opps); 72 static zx_status_t ScpiGetDvfsIdx(void* ctx, uint8_t power_domain, uint16_t* idx) { argument 73 return static_cast<D*>(ctx)->ScpiGetDvfsIdx(power_domain, idx); 75 static zx_status_t ScpiSetDvfsIdx(void* ctx, uint8_t power_domain, uint16_t idx) { argument 76 return static_cast<D*>(ctx)->ScpiSetDvfsIdx(power_domain, idx); 96 zx_status_t GetDvfsInfo(uint8_t power_domain, scpi_opp_ argument 99 GetDvfsIdx(uint8_t power_domain, uint16_t* idx) argument 102 SetDvfsIdx(uint8_t power_domain, uint16_t idx) argument [all...] |
/fuchsia/zircon/system/dev/scpi/aml-scpi-s912/ |
H A D | aml-scpi.c | 83 static zx_status_t aml_scpi_get_dvfs_info(void* ctx, uint8_t power_domain, scpi_opp_t* opps) { argument 94 if (!opps || power_domain >= MAX_DVFS_DOMAINS) { 101 if (scpi_opp[power_domain]) { 102 memcpy(opps, scpi_opp[power_domain], sizeof(scpi_opp_t)); 109 &power_domain, sizeof(power_domain), 124 zxlogf(INFO, "Cluster %u details\n", power_domain); 136 scpi_opp[power_domain] = calloc(1, sizeof(scpi_opp_t)); 137 if (!scpi_opp[power_domain]) { 142 memcpy(scpi_opp[power_domain], opp 150 aml_scpi_get_dvfs_idx(void* ctx, uint8_t power_domain, uint16_t* idx) argument 175 aml_scpi_set_dvfs_idx(void* ctx, uint8_t power_domain, uint16_t idx) argument 178 uint8_t power_domain; member in struct:__anon464 [all...] |
/fuchsia/zircon/system/dev/thermal/aml-thermal-s912/ |
H A D | aml-thermal.c | 139 if (info->power_domain == BIG_CLUSTER_POWER_DOMAIN) { 152 return scpi_set_dvfs_idx(&dev->scpi, info->power_domain, info->op_idx); 251 uint32_t* power_domain = (uint32_t*)in_buf; local 252 if (*power_domain >= MAX_DVFS_DOMAINS) { 255 memcpy(out_buf, &dev->device->opps[*power_domain], 265 uint32_t* power_domain = (uint32_t*)in_buf; local 267 if (*power_domain == BIG_CLUSTER_POWER_DOMAIN) {
|
/fuchsia/zircon/system/public/zircon/device/ |
H A D | thermal.h | 89 uint32_t power_domain; member in struct:__anon712 172 // ssize_t ioctl_thermal_get_dvfs_info(int fd, uint32_t* power_domain, scpi_opp_t* opp) 176 // ssize_t ioctl_thermal_get_dvfs_opp(int fd, uint32_t* power_domain, uint32_t* opp)
|
/fuchsia/zircon/system/dev/thermal/aml-thermal-s905d2g/ |
H A D | aml-thermal.cpp | 190 if (dvfs_info->power_domain != BIG_CLUSTER_POWER_DOMAIN) {
|