Searched refs:pcc_chan (Results 1 – 4 of 4) sorted by relevance
/drivers/acpi/ |
D | acpi_pcc.c | 33 struct pcc_mbox_chan *pcc_chan; member 55 struct pcc_mbox_chan *pcc_chan; in acpi_pcc_address_space_setup() local 68 data->pcc_chan = pcc_mbox_request_channel(&data->cl, ctx->subspace_id); in acpi_pcc_address_space_setup() 69 if (IS_ERR(data->pcc_chan)) { in acpi_pcc_address_space_setup() 76 pcc_chan = data->pcc_chan; in acpi_pcc_address_space_setup() 77 data->pcc_comm_addr = acpi_os_ioremap(pcc_chan->shmem_base_addr, in acpi_pcc_address_space_setup() 78 pcc_chan->shmem_size); in acpi_pcc_address_space_setup() 82 pcc_mbox_free_channel(data->pcc_chan); in acpi_pcc_address_space_setup() 105 ret = mbox_send_message(data->pcc_chan->mchan, NULL); in acpi_pcc_address_space_handler() 109 if (data->pcc_chan->mchan->mbox->txdone_irq) { in acpi_pcc_address_space_handler() [all …]
|
D | cppc_acpi.c | 530 struct pcc_mbox_chan *pcc_chan; in register_pcc_channel() local 534 pcc_chan = pcc_mbox_request_channel(&cppc_mbox_cl, pcc_ss_idx); in register_pcc_channel() 536 if (IS_ERR(pcc_chan)) { in register_pcc_channel() 542 pcc_data[pcc_ss_idx]->pcc_channel = pcc_chan; in register_pcc_channel() 548 usecs_lat = NUM_RETRIES * pcc_chan->latency; in register_pcc_channel() 550 pcc_data[pcc_ss_idx]->pcc_mrtt = pcc_chan->min_turnaround_time; in register_pcc_channel() 551 pcc_data[pcc_ss_idx]->pcc_mpar = pcc_chan->max_access_rate; in register_pcc_channel() 552 pcc_data[pcc_ss_idx]->pcc_nominal = pcc_chan->latency; in register_pcc_channel() 555 acpi_os_ioremap(pcc_chan->shmem_base_addr, in register_pcc_channel() 556 pcc_chan->shmem_size); in register_pcc_channel()
|
/drivers/i2c/busses/ |
D | i2c-xgene-slimpro.c | 106 struct pcc_mbox_chan *pcc_chan; member 473 struct pcc_mbox_chan *pcc_chan; in xgene_slimpro_i2c_probe() local 490 pcc_chan = pcc_mbox_request_channel(cl, ctx->mbox_idx); in xgene_slimpro_i2c_probe() 491 if (IS_ERR(pcc_chan)) { in xgene_slimpro_i2c_probe() 493 return PTR_ERR(pcc_chan); in xgene_slimpro_i2c_probe() 496 ctx->pcc_chan = pcc_chan; in xgene_slimpro_i2c_probe() 497 ctx->mbox_chan = pcc_chan->mchan; in xgene_slimpro_i2c_probe() 509 ctx->comm_base_addr = pcc_chan->shmem_base_addr; in xgene_slimpro_i2c_probe() 514 pcc_chan->shmem_size, in xgene_slimpro_i2c_probe() 519 pcc_chan->shmem_size, in xgene_slimpro_i2c_probe() [all …]
|
/drivers/hwmon/ |
D | xgene-hwmon.c | 96 struct pcc_mbox_chan *pcc_chan; member 656 struct pcc_mbox_chan *pcc_chan; in xgene_hwmon_probe() local 677 pcc_chan = pcc_mbox_request_channel(cl, ctx->mbox_idx); in xgene_hwmon_probe() 678 if (IS_ERR(pcc_chan)) { in xgene_hwmon_probe() 685 ctx->pcc_chan = pcc_chan; in xgene_hwmon_probe() 686 ctx->mbox_chan = pcc_chan->mchan; in xgene_hwmon_probe() 698 ctx->comm_base_addr = pcc_chan->shmem_base_addr; in xgene_hwmon_probe() 703 pcc_chan->shmem_size); in xgene_hwmon_probe() 707 pcc_chan->shmem_size, in xgene_hwmon_probe() 727 ctx->usecs_lat = PCC_NUM_RETRIES * pcc_chan->latency; in xgene_hwmon_probe() [all …]
|