Home
last modified time | relevance | path

Searched refs:pcc_comm_addr (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-6.6/drivers/acpi/
H A Dacpi_pcc.c34 void __iomem *pcc_comm_addr; member
84 data->pcc_comm_addr = acpi_os_ioremap(pcc_chan->shmem_base_addr, in acpi_pcc_address_space_setup()
86 if (!data->pcc_comm_addr) { in acpi_pcc_address_space_setup()
116 memcpy_toio(data->pcc_comm_addr, (void *)value, data->ctx.length); in acpi_pcc_address_space_handler()
137 memcpy_fromio(value, data->pcc_comm_addr, data->ctx.length); in acpi_pcc_address_space_handler()
H A Dcppc_acpi.c47 void __iomem *pcc_comm_addr; member
95 #define GET_PCC_VADDR(offs, pcc_ss_id) (pcc_data[pcc_ss_id]->pcc_comm_addr + \
206 pcc_ss_data->pcc_comm_addr; in check_pcc_chan()
241 pcc_ss_data->pcc_comm_addr; in send_pcc_cmd()
554 pcc_data[pcc_ss_idx]->pcc_comm_addr = in register_pcc_channel()
557 if (!pcc_data[pcc_ss_idx]->pcc_comm_addr) { in register_pcc_channel()
/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-xgene-slimpro.c113 void *pcc_comm_addr; member
159 struct acpi_pcct_shared_memory *generic_comm_base = ctx->pcc_comm_addr; in slimpro_i2c_pcc_rx_cb()
180 struct acpi_pcct_shared_memory *generic_comm_base = ctx->pcc_comm_addr; in slimpro_i2c_pcc_tx_prepare()
522 ctx->pcc_comm_addr = memremap( in xgene_slimpro_i2c_probe()
527 ctx->pcc_comm_addr = memremap( in xgene_slimpro_i2c_probe()
537 if (!ctx->pcc_comm_addr) { in xgene_slimpro_i2c_probe()
/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-xgene-slimpro.c113 void *pcc_comm_addr; member
159 struct acpi_pcct_shared_memory *generic_comm_base = ctx->pcc_comm_addr; in slimpro_i2c_pcc_rx_cb()
180 struct acpi_pcct_shared_memory *generic_comm_base = ctx->pcc_comm_addr; in slimpro_i2c_pcc_tx_prepare()
512 ctx->pcc_comm_addr = memremap( in xgene_slimpro_i2c_probe()
517 ctx->pcc_comm_addr = memremap( in xgene_slimpro_i2c_probe()
527 if (!ctx->pcc_comm_addr) { in xgene_slimpro_i2c_probe()
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dxgene-hwmon.c112 void *pcc_comm_addr; member
133 struct acpi_pcct_shared_memory *generic_comm_base = ctx->pcc_comm_addr; in xgene_hwmon_pcc_rd()
531 struct acpi_pcct_shared_memory *generic_comm_base = ctx->pcc_comm_addr; in xgene_hwmon_pcc_rx_cb()
708 ctx->pcc_comm_addr = (void __force *)ioremap( in xgene_hwmon_probe()
712 ctx->pcc_comm_addr = memremap( in xgene_hwmon_probe()
722 if (!ctx->pcc_comm_addr) { in xgene_hwmon_probe()
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dxgene-hwmon.c113 void *pcc_comm_addr; member
134 struct acpi_pcct_shared_memory *generic_comm_base = ctx->pcc_comm_addr; in xgene_hwmon_pcc_rd()
532 struct acpi_pcct_shared_memory *generic_comm_base = ctx->pcc_comm_addr; in xgene_hwmon_pcc_rx_cb()
701 ctx->pcc_comm_addr = (void __force *)devm_ioremap(&pdev->dev, in xgene_hwmon_probe()
705 ctx->pcc_comm_addr = devm_memremap(&pdev->dev, in xgene_hwmon_probe()
715 if (!ctx->pcc_comm_addr) { in xgene_hwmon_probe()
/kernel/linux/linux-5.10/drivers/acpi/
H A Dcppc_acpi.c47 void __iomem *pcc_comm_addr; member
95 #define GET_PCC_VADDR(offs, pcc_ss_id) (pcc_data[pcc_ss_id]->pcc_comm_addr + \
193 pcc_ss_data->pcc_comm_addr; in check_pcc_chan()
228 (struct acpi_pcct_shared_memory *)pcc_ss_data->pcc_comm_addr; in send_pcc_cmd()
554 pcc_data[pcc_ss_idx]->pcc_comm_addr = in register_pcc_channel()
556 if (!pcc_data[pcc_ss_idx]->pcc_comm_addr) { in register_pcc_channel()
/kernel/linux/linux-6.6/drivers/soc/hisilicon/
H A Dkunpeng_hccs.c119 if (cl_info->pcc_comm_addr) in hccs_unregister_pcc_channel()
120 iounmap(cl_info->pcc_comm_addr); in hccs_unregister_pcc_channel()
159 cl_info->pcc_comm_addr = ioremap(pcc_chan->shmem_base_addr, in hccs_register_pcc_channel()
161 if (!cl_info->pcc_comm_addr) { in hccs_register_pcc_channel()
181 cl_info->pcc_comm_addr; in hccs_check_chan_cmd_complete()
203 void __iomem *comm_space = cl_info->pcc_comm_addr + in hccs_pcc_cmd_send()
216 memcpy_toio(cl_info->pcc_comm_addr, (void *)&tmp, in hccs_pcc_cmd_send()
H A Dkunpeng_hccs.h53 void __iomem *pcc_comm_addr; member

Completed in 12 milliseconds