Searched refs:pcc_chan (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/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 69 data->pcc_chan = pcc_mbox_request_channel(&data->cl, ctx->subspace_id); in acpi_pcc_address_space_setup() 70 if (IS_ERR(data->pcc_chan)) { in acpi_pcc_address_space_setup() 77 pcc_chan = data->pcc_chan; in acpi_pcc_address_space_setup() 78 if (!pcc_chan->mchan->mbox->txdone_irq) { in acpi_pcc_address_space_setup() 84 data->pcc_comm_addr = acpi_os_ioremap(pcc_chan->shmem_base_addr, in acpi_pcc_address_space_setup() 85 pcc_chan->shmem_size); in acpi_pcc_address_space_setup() 97 pcc_mbox_free_channel(data->pcc_chan); in acpi_pcc_address_space_setup() 118 ret = mbox_send_message(data->pcc_chan->mchan, NULL); in acpi_pcc_address_space_handler() [all …]
|
D | cppc_acpi.c | 550 struct pcc_mbox_chan *pcc_chan; in register_pcc_channel() local 554 pcc_chan = pcc_mbox_request_channel(&cppc_mbox_cl, pcc_ss_idx); in register_pcc_channel() 556 if (IS_ERR(pcc_chan)) { in register_pcc_channel() 562 pcc_data[pcc_ss_idx]->pcc_channel = pcc_chan; in register_pcc_channel() 568 usecs_lat = NUM_RETRIES * pcc_chan->latency; in register_pcc_channel() 570 pcc_data[pcc_ss_idx]->pcc_mrtt = pcc_chan->min_turnaround_time; in register_pcc_channel() 571 pcc_data[pcc_ss_idx]->pcc_mpar = pcc_chan->max_access_rate; in register_pcc_channel() 572 pcc_data[pcc_ss_idx]->pcc_nominal = pcc_chan->latency; in register_pcc_channel() 575 acpi_os_ioremap(pcc_chan->shmem_base_addr, in register_pcc_channel() 576 pcc_chan->shmem_size); in register_pcc_channel()
|
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-xgene-slimpro.c | 98 struct pcc_mbox_chan *pcc_chan; member 465 struct pcc_mbox_chan *pcc_chan; in xgene_slimpro_i2c_probe() local 482 pcc_chan = pcc_mbox_request_channel(cl, ctx->mbox_idx); in xgene_slimpro_i2c_probe() 483 if (IS_ERR(pcc_chan)) { in xgene_slimpro_i2c_probe() 485 return PTR_ERR(pcc_chan); in xgene_slimpro_i2c_probe() 488 ctx->pcc_chan = pcc_chan; in xgene_slimpro_i2c_probe() 489 ctx->mbox_chan = pcc_chan->mchan; in xgene_slimpro_i2c_probe() 501 ctx->comm_base_addr = pcc_chan->shmem_base_addr; in xgene_slimpro_i2c_probe() 506 pcc_chan->shmem_size, in xgene_slimpro_i2c_probe() 511 pcc_chan->shmem_size, in xgene_slimpro_i2c_probe() [all …]
|
/linux-6.12.1/drivers/hwmon/ |
D | xgene-hwmon.c | 90 struct pcc_mbox_chan *pcc_chan; member 650 struct pcc_mbox_chan *pcc_chan; in xgene_hwmon_probe() local 671 pcc_chan = pcc_mbox_request_channel(cl, ctx->mbox_idx); in xgene_hwmon_probe() 672 if (IS_ERR(pcc_chan)) { in xgene_hwmon_probe() 679 ctx->pcc_chan = pcc_chan; in xgene_hwmon_probe() 680 ctx->mbox_chan = pcc_chan->mchan; in xgene_hwmon_probe() 692 ctx->comm_base_addr = pcc_chan->shmem_base_addr; in xgene_hwmon_probe() 697 pcc_chan->shmem_size); in xgene_hwmon_probe() 701 pcc_chan->shmem_size, in xgene_hwmon_probe() 721 ctx->usecs_lat = PCC_NUM_RETRIES * pcc_chan->latency; in xgene_hwmon_probe() [all …]
|
/linux-6.12.1/drivers/soc/hisilicon/ |
D | kunpeng_hccs.c | 127 pcc_mbox_free_channel(hdev->cl_info.pcc_chan); in hccs_unregister_pcc_channel() 134 struct pcc_mbox_chan *pcc_chan; in hccs_register_pcc_channel() local 145 pcc_chan = pcc_mbox_request_channel(cl, hdev->chan_id); in hccs_register_pcc_channel() 146 if (IS_ERR(pcc_chan)) { in hccs_register_pcc_channel() 151 cl_info->pcc_chan = pcc_chan; in hccs_register_pcc_channel() 152 cl_info->mbox_chan = pcc_chan->mchan; in hccs_register_pcc_channel() 160 HCCS_PCC_CMD_WAIT_RETRIES_NUM * pcc_chan->latency; in hccs_register_pcc_channel() 173 if (pcc_chan->shmem_base_addr) { in hccs_register_pcc_channel() 174 cl_info->pcc_comm_addr = ioremap(pcc_chan->shmem_base_addr, in hccs_register_pcc_channel() 175 pcc_chan->shmem_size); in hccs_register_pcc_channel() [all …]
|
D | kunpeng_hccs.h | 51 struct pcc_mbox_chan *pcc_chan; member
|