pcc_ss_id 95 drivers/acpi/cppc_acpi.c #define GET_PCC_VADDR(offs, pcc_ss_id) (pcc_data[pcc_ss_id]->pcc_comm_addr + \ pcc_ss_id 196 drivers/acpi/cppc_acpi.c static int check_pcc_chan(int pcc_ss_id, bool chk_err_bit) pcc_ss_id 199 drivers/acpi/cppc_acpi.c struct cppc_pcc_data *pcc_ss_data = pcc_data[pcc_ss_id]; pcc_ss_id 222 drivers/acpi/cppc_acpi.c pcc_ss_id, ret); pcc_ss_id 231 drivers/acpi/cppc_acpi.c static int send_pcc_cmd(int pcc_ss_id, u16 cmd) pcc_ss_id 234 drivers/acpi/cppc_acpi.c struct cppc_pcc_data *pcc_ss_data = pcc_data[pcc_ss_id]; pcc_ss_id 250 drivers/acpi/cppc_acpi.c send_pcc_cmd(pcc_ss_id, CMD_WRITE); pcc_ss_id 252 drivers/acpi/cppc_acpi.c ret = check_pcc_chan(pcc_ss_id, false); pcc_ss_id 287 drivers/acpi/cppc_acpi.c pcc_ss_id); pcc_ss_id 309 drivers/acpi/cppc_acpi.c pcc_ss_id, cmd, ret); pcc_ss_id 314 drivers/acpi/cppc_acpi.c ret = check_pcc_chan(pcc_ss_id, true); pcc_ss_id 619 drivers/acpi/cppc_acpi.c int pcc_data_alloc(int pcc_ss_id) pcc_ss_id 621 drivers/acpi/cppc_acpi.c if (pcc_ss_id < 0 || pcc_ss_id >= MAX_PCC_SUBSPACES) pcc_ss_id 624 drivers/acpi/cppc_acpi.c if (pcc_data[pcc_ss_id]) { pcc_ss_id 625 drivers/acpi/cppc_acpi.c pcc_data[pcc_ss_id]->refcount++; pcc_ss_id 627 drivers/acpi/cppc_acpi.c pcc_data[pcc_ss_id] = kzalloc(sizeof(struct cppc_pcc_data), pcc_ss_id 629 drivers/acpi/cppc_acpi.c if (!pcc_data[pcc_ss_id]) pcc_ss_id 631 drivers/acpi/cppc_acpi.c pcc_data[pcc_ss_id]->refcount++; pcc_ss_id 902 drivers/acpi/cppc_acpi.c int pcc_ss_id = per_cpu(cpu_pcc_subspace_idx, pr->id); pcc_ss_id 904 drivers/acpi/cppc_acpi.c if (pcc_ss_id >=0 && pcc_data[pcc_ss_id]) { pcc_ss_id 905 drivers/acpi/cppc_acpi.c if (pcc_data[pcc_ss_id]->pcc_channel_acquired) { pcc_ss_id 906 drivers/acpi/cppc_acpi.c pcc_data[pcc_ss_id]->refcount--; pcc_ss_id 907 drivers/acpi/cppc_acpi.c if (!pcc_data[pcc_ss_id]->refcount) { pcc_ss_id 908 drivers/acpi/cppc_acpi.c pcc_mbox_free_channel(pcc_data[pcc_ss_id]->pcc_channel); pcc_ss_id 909 drivers/acpi/cppc_acpi.c kfree(pcc_data[pcc_ss_id]); pcc_ss_id 910 drivers/acpi/cppc_acpi.c pcc_data[pcc_ss_id] = NULL; pcc_ss_id 971 drivers/acpi/cppc_acpi.c int pcc_ss_id = per_cpu(cpu_pcc_subspace_idx, cpu); pcc_ss_id 980 drivers/acpi/cppc_acpi.c if (reg->space_id == ACPI_ADR_SPACE_PLATFORM_COMM && pcc_ss_id >= 0) pcc_ss_id 981 drivers/acpi/cppc_acpi.c vaddr = GET_PCC_VADDR(reg->address, pcc_ss_id); pcc_ss_id 1005 drivers/acpi/cppc_acpi.c reg->bit_width, pcc_ss_id); pcc_ss_id 1016 drivers/acpi/cppc_acpi.c int pcc_ss_id = per_cpu(cpu_pcc_subspace_idx, cpu); pcc_ss_id 1019 drivers/acpi/cppc_acpi.c if (reg->space_id == ACPI_ADR_SPACE_PLATFORM_COMM && pcc_ss_id >= 0) pcc_ss_id 1020 drivers/acpi/cppc_acpi.c vaddr = GET_PCC_VADDR(reg->address, pcc_ss_id); pcc_ss_id 1044 drivers/acpi/cppc_acpi.c reg->bit_width, pcc_ss_id); pcc_ss_id 1062 drivers/acpi/cppc_acpi.c int pcc_ss_id = per_cpu(cpu_pcc_subspace_idx, cpunum); pcc_ss_id 1071 drivers/acpi/cppc_acpi.c if (pcc_ss_id < 0) pcc_ss_id 1074 drivers/acpi/cppc_acpi.c pcc_ss_data = pcc_data[pcc_ss_id]; pcc_ss_id 1078 drivers/acpi/cppc_acpi.c if (send_pcc_cmd(pcc_ss_id, CMD_READ) >= 0) pcc_ss_id 1108 drivers/acpi/cppc_acpi.c int pcc_ss_id = per_cpu(cpu_pcc_subspace_idx, cpunum); pcc_ss_id 1129 drivers/acpi/cppc_acpi.c if (pcc_ss_id < 0) { pcc_ss_id 1133 drivers/acpi/cppc_acpi.c pcc_ss_data = pcc_data[pcc_ss_id]; pcc_ss_id 1137 drivers/acpi/cppc_acpi.c if (send_pcc_cmd(pcc_ss_id, CMD_READ) < 0) { pcc_ss_id 1196 drivers/acpi/cppc_acpi.c int pcc_ss_id = per_cpu(cpu_pcc_subspace_idx, cpunum); pcc_ss_id 1221 drivers/acpi/cppc_acpi.c if (pcc_ss_id < 0) { pcc_ss_id 1225 drivers/acpi/cppc_acpi.c pcc_ss_data = pcc_data[pcc_ss_id]; pcc_ss_id 1229 drivers/acpi/cppc_acpi.c if (send_pcc_cmd(pcc_ss_id, CMD_READ) < 0) { pcc_ss_id 1275 drivers/acpi/cppc_acpi.c int pcc_ss_id = per_cpu(cpu_pcc_subspace_idx, cpu); pcc_ss_id 1294 drivers/acpi/cppc_acpi.c if (pcc_ss_id < 0) { pcc_ss_id 1298 drivers/acpi/cppc_acpi.c pcc_ss_data = pcc_data[pcc_ss_id]; pcc_ss_id 1301 drivers/acpi/cppc_acpi.c ret = check_pcc_chan(pcc_ss_id, false); pcc_ss_id 1374 drivers/acpi/cppc_acpi.c send_pcc_cmd(pcc_ss_id, CMD_WRITE); pcc_ss_id 1412 drivers/acpi/cppc_acpi.c int pcc_ss_id = per_cpu(cpu_pcc_subspace_idx, cpu_num); pcc_ss_id 1423 drivers/acpi/cppc_acpi.c if (pcc_ss_id < 0) pcc_ss_id 1426 drivers/acpi/cppc_acpi.c pcc_ss_data = pcc_data[pcc_ss_id];