| /linux/drivers/i2c/busses/ |
| H A D | i2c-qcom-cci.c | 113 struct cci; member 121 struct cci *cci; 132 struct cci { 145 struct cci *cci = dev; in cci_isr() 149 val = readl(cci->base + CCI_IRQ_STATUS_0); in cci_isr() 150 writel(val, cci->base + CCI_IRQ_CLEAR_0); in cci_isr() 151 writel(0x1, cci->base + CCI_IRQ_GLOBAL_CLEAR_CMD); in cci_isr() 154 complete(&cci in cci_isr() 123 struct cci { global() struct 127 datacci global() argument 130 mastercci global() argument 135 struct cci *cci = dev; cci_isr() local 204 cci_halt(struct cci * cci,u8 master_num) cci_halt() argument 228 cci_init(struct cci * cci) cci_init() argument 271 cci_reset(struct cci * cci) cci_reset() argument 291 cci_run_queue(struct cci * cci,u8 master,u8 queue) cci_run_queue() argument 313 cci_validate_queue(struct cci * cci,u8 master,u8 queue) cci_validate_queue() argument 330 cci_i2c_read(struct cci * cci,u16 master,u16 addr,u8 * buf,u16 len) cci_i2c_read() argument 383 cci_i2c_write(struct cci * cci,u16 master,u16 addr,u8 * buf,u16 len) cci_i2c_write() argument 424 struct cci *cci = cci_master->cci; cci_xfer() local 464 cci_enable_clocks(struct cci * cci) cci_enable_clocks() argument 469 cci_disable_clocks(struct cci * cci) cci_disable_clocks() argument 476 struct cci *cci = dev_get_drvdata(dev); cci_suspend_runtime() local 484 struct cci *cci = dev_get_drvdata(dev); cci_resume_runtime() local 509 struct cci *cci; cci_probe() local 636 struct cci *cci = platform_get_drvdata(pdev); cci_remove() local [all...] |
| /linux/lib/ |
| H A D | cache_maint.c | 30 struct cache_coherency_ops_inst *cci = in __cache_coherency_ops_instance_free() local 32 kfree(cci); in __cache_coherency_ops_instance_free() 35 void cache_coherency_ops_instance_put(struct cache_coherency_ops_inst *cci) in cache_coherency_ops_instance_put() argument 37 kref_put(&cci->kref, __cache_coherency_ops_instance_free); in cache_coherency_ops_instance_put() 41 static int cache_inval_one(struct cache_coherency_ops_inst *cci, void *data) in cache_inval_one() argument 43 if (!cci->ops) in cache_inval_one() 46 return cci->ops->wbinv(cci, data); in cache_inval_one() 49 static int cache_inval_done_one(struct cache_coherency_ops_inst *cci) in cache_inval_done_one() argument 51 if (!cci in cache_inval_done_one() 63 struct cache_coherency_ops_inst *cci; cache_invalidate_memregion() local 88 struct cache_coherency_ops_inst *cci; _cache_coherency_ops_instance_alloc() local 105 cache_coherency_ops_instance_register(struct cache_coherency_ops_inst * cci) cache_coherency_ops_instance_register() argument 114 cache_coherency_ops_instance_unregister(struct cache_coherency_ops_inst * cci) cache_coherency_ops_instance_unregister() argument [all...] |
| /linux/Documentation/devicetree/bindings/arm/ |
| H A D | arm,cci-400.yaml | 4 $id: http://devicetree.org/schemas/arm/arm,cci-400.yaml# 7 title: ARM CCI Cache Coherent Interconnect 14 coherent interconnect (CCI) that is capable of monitoring bus transactions 24 pattern: "^cci(@[0-9a-f]+)?$" 28 - arm,cci-400 29 - arm,cci-500 30 - arm,cci-550 35 Specifies base physical address of CCI control registers common to all 49 - const: arm,cci-400-ctrl-if 51 - const: arm,cci [all...] |
| H A D | cci-control-port.yaml | 4 $id: http://devicetree.org/schemas/arm/cci-control-port.yaml# 7 title: CCI Interconnect Bus Masters 13 Masters in the device tree connected to a CCI port (inclusive of CPUs 19 cci-control-port: 33 cci-control-port = <&cci_control1>;
|
| /linux/drivers/bus/ |
| H A D | arm-cci.c | 2 * CCI cache coherent interconnect driver 17 #include <linux/arm-cci.h> 49 {.compatible = "arm,cci-400", .data = CCI400_PORTS_DATA }, 52 { .compatible = "arm,cci-500", }, 53 { .compatible = "arm,cci-550", }, 59 OF_DEV_AUXDATA("arm,cci-400-pmu", 0, NULL, &cci_ctrl_base), 60 OF_DEV_AUXDATA("arm,cci-400-pmu,r0", 0, NULL, &cci_ctrl_base), 61 OF_DEV_AUXDATA("arm,cci-400-pmu,r1", 0, NULL, &cci_ctrl_base), 62 OF_DEV_AUXDATA("arm,cci-500-pmu,r0", 0, NULL, &cci_ctrl_base), 63 OF_DEV_AUXDATA("arm,cci [all...] |
| /linux/Documentation/devicetree/bindings/interconnect/ |
| H A D | mediatek,cci.yaml | 4 $id: http://devicetree.org/schemas/interconnect/mediatek,cci.yaml# 7 title: MediaTek Cache Coherent Interconnect (CCI) frequency and voltage scaling 14 MediaTek Cache Coherent Interconnect (CCI) is a hardware engine used by 22 - mediatek,mt8183-cci 23 - mediatek,mt8186-cci 26 - mediatek,mt7988-cci 27 - const: mediatek,mt8183-cci 40 - const: cci 49 Phandle of the regulator for CCI that provides the supply voltage. 53 Phandle of the regulator for sram of CCI that provides the supply [all …]
|
| /linux/drivers/cache/ |
| H A D | hisi_soc_hha.c | 46 struct cache_coherency_ops_inst cci; member 62 static int hisi_soc_hha_wbinv(struct cache_coherency_ops_inst *cci, in hisi_soc_hha_wbinv() argument 66 container_of(cci, struct hisi_soc_hha, cci); in hisi_soc_hha_wbinv() 105 static int hisi_soc_hha_done(struct cache_coherency_ops_inst *cci) in hisi_soc_hha_done() argument 108 container_of(cci, struct hisi_soc_hha, cci); in hisi_soc_hha_done() 129 struct hisi_soc_hha, cci); in hisi_soc_hha_probe() 150 ret = cache_coherency_ops_instance_register(&soc_hha->cci); in hisi_soc_hha_probe() 159 cache_coherency_ops_instance_put(&soc_hha->cci); in hisi_soc_hha_probe() [all...] |
| /linux/drivers/usb/typec/ucsi/ |
| H A D | cros_ec_ucsi.c | 86 static int cros_ucsi_read_cci(struct ucsi *ucsi, u32 *cci) in cros_ucsi_read_cci() argument 88 return cros_ucsi_read(ucsi, UCSI_CCI, cci, sizeof(*cci)); in cros_ucsi_read_cci() 115 static int cros_ucsi_sync_control(struct ucsi *ucsi, u64 cmd, u32 *cci, in cros_ucsi_sync_control() argument 122 ret = ucsi_sync_control_common(ucsi, cmd, cci, data, size, msg_out, in cros_ucsi_sync_control() 126 /* EC may return -EBUSY if CCI.busy is set. in cros_ucsi_sync_control() 174 u32 cci; in cros_ucsi_work() local 176 if (cros_ucsi_read_cci(udata->ucsi, &cci)) in cros_ucsi_work() 179 ucsi_notify_common(udata->ucsi, cci); in cros_ucsi_work() 186 u32 cci; in cros_ucsi_write_timeout() local [all...] |
| H A D | ucsi_yoga_c630.c | 50 static int yoga_c630_ucsi_read_cci(struct ucsi *ucsi, u32 *cci) in yoga_c630_ucsi_read_cci() argument 60 memcpy(cci, buf, sizeof(*cci)); in yoga_c630_ucsi_read_cci() 91 u32 *cci, in yoga_c630_ucsi_sync_control() argument 113 *cci = UCSI_CCI_COMMAND_COMPLETE | UCSI_SET_CCI_LENGTH(sizeof(alt)); in yoga_c630_ucsi_sync_control() 126 *cci = UCSI_CCI_COMMAND_COMPLETE; in yoga_c630_ucsi_sync_control() 130 ret = ucsi_sync_control_common(ucsi, command, cci, in yoga_c630_ucsi_sync_control() 193 u32 cci; in yoga_c630_ucsi_notify() local 204 ret = uec->ucsi->ops->read_cci(uec->ucsi, &cci); in yoga_c630_ucsi_notify() 208 ucsi_notify_common(uec->ucsi, cci); in yoga_c630_ucsi_notify() [all...] |
| H A D | ucsi_acpi.c | 59 static int ucsi_acpi_read_cci(struct ucsi *ucsi, u32 *cci) in ucsi_acpi_read_cci() argument 63 memcpy(cci, ua->base + UCSI_CCI, sizeof(*cci)); in ucsi_acpi_read_cci() 68 static int ucsi_acpi_poll_cci(struct ucsi *ucsi, u32 *cci) in ucsi_acpi_poll_cci() argument 77 return ucsi_acpi_read_cci(ucsi, cci); in ucsi_acpi_poll_cci() 179 static int ucsi_gram_sync_control(struct ucsi *ucsi, u64 command, u32 *cci, in ucsi_gram_sync_control() 188 ret = ucsi_sync_control_common(ucsi, command, cci, val, len, 219 static int ucsi_dell_sync_control(struct ucsi *ucsi, u64 command, u32 *cci, in ucsi_acpi_notify() 225 ret = ucsi_sync_control_common(ucsi, command, cci, val, len, in ucsi_acpi_probe() 289 u32 cci; in ucsi_acpi_remove() 151 ucsi_gram_sync_control(struct ucsi * ucsi,u64 command,u32 * cci,void * val,size_t len,void * msg_out,size_t msg_out_size) ucsi_gram_sync_control() argument 213 u32 cci; ucsi_acpi_notify() local [all...] |
| H A D | ucsi.c | 40 void ucsi_notify_common(struct ucsi *ucsi, u32 cci) in ucsi_notify_common() argument 42 /* Ignore bogus data in CCI if busy indicator is set. */ in ucsi_notify_common() 43 if (cci & UCSI_CCI_BUSY) in ucsi_notify_common() 46 if (UCSI_CCI_CONNECTOR(cci)) { in ucsi_notify_common() 48 UCSI_CCI_CONNECTOR(cci) <= ucsi->cap.num_connectors) in ucsi_notify_common() 49 ucsi_connector_change(ucsi, UCSI_CCI_CONNECTOR(cci)); in ucsi_notify_common() 51 dev_err(ucsi->dev, "bogus connector number in CCI: %lu\n", in ucsi_notify_common() 52 UCSI_CCI_CONNECTOR(cci)); in ucsi_notify_common() 55 if (cci & UCSI_CCI_ACK_COMPLETE && in ucsi_notify_common() 59 if (cci in ucsi_notify_common() 65 ucsi_sync_control_common(struct ucsi * ucsi,u64 command,u32 * cci,void * data,size_t size,void * msg_out,size_t msg_out_size) ucsi_sync_control_common() argument 129 ucsi_run_command(struct ucsi * ucsi,u64 command,u32 * cci,void * data,size_t size,void * msg_out,size_t msg_out_size,bool conn_ack) ucsi_run_command() argument 173 u32 cci; ucsi_read_error() local 232 u32 cci; ucsi_send_command_common() local 1612 u32 cci; ucsi_reset_ppm() local 2082 u32 cci; ucsi_init() local [all...] |
| H A D | ucsi_ccg.c | 200 __le32 cci; 233 * This spinlock protects op_data which includes CCI and MESSAGE_IN that 332 static int ccg_op_region_update(struct ucsi_ccg *uc, u32 cci) in ccg_op_region_update() 342 if (UCSI_CCI_LENGTH(cci)) { in ccg_op_region_update() 352 data->cci = cpu_to_le32(cci); in ucsi_ccg_init() 353 if (UCSI_CCI_LENGTH(cci)) in ucsi_ccg_init() 599 static int ucsi_ccg_read_cci(struct ucsi *ucsi, u32 *cci) in ucsi_ccg_async_control() 604 *cci = uc->op_data.cci; in ucsi_ccg_async_control() 198 __le32 cci; global() member 319 ccg_op_region_update(struct ucsi_ccg * uc,u32 cci) ccg_op_region_update() argument 572 ucsi_ccg_read_cci(struct ucsi * ucsi,u32 * cci) ucsi_ccg_read_cci() argument 610 ucsi_ccg_sync_control(struct ucsi * ucsi,u64 command,u32 * cci,void * data,size_t size,void * msg_out,size_t msg_out_size) ucsi_ccg_sync_control() argument 683 u32 cci = 0; ccg_irq_handler() local [all...] |
| H A D | ucsi_glink.c | 127 static int pmic_glink_ucsi_read_cci(struct ucsi *ucsi, u32 *cci) in pmic_glink_ucsi_read_cci() argument 129 return pmic_glink_ucsi_read(ucsi, UCSI_CCI, cci, sizeof(*cci)); in pmic_glink_ucsi_read_cci() 301 u32 cci; in pmic_glink_ucsi_notify() local 304 ret = pmic_glink_ucsi_read(ucsi->ucsi, UCSI_CCI, &cci, sizeof(cci)); in pmic_glink_ucsi_notify() 306 dev_err(ucsi->dev, "failed to read CCI on notification\n"); in pmic_glink_ucsi_notify() 310 ucsi_notify_common(ucsi->ucsi, cci); in pmic_glink_ucsi_notify()
|
| /linux/arch/arm/boot/dts/samsung/ |
| H A D | exynos5422-cpus.dtsi | 62 cci-control-port = <&cci_control0>; 75 cci-control-port = <&cci_control0>; 88 cci-control-port = <&cci_control0>; 101 cci-control-port = <&cci_control0>; 114 cci-control-port = <&cci_control1>; 127 cci-control-port = <&cci_control1>; 140 cci-control-port = <&cci_control1>; 153 cci-control-port = <&cci_control1>;
|
| H A D | exynos5420-cpus.dtsi | 63 cci-control-port = <&cci_control1>; 75 cci-control-port = <&cci_control1>; 87 cci-control-port = <&cci_control1>; 99 cci-control-port = <&cci_control1>; 111 cci-control-port = <&cci_control0>; 123 cci-control-port = <&cci_control0>; 135 cci-control-port = <&cci_control0>; 147 cci-control-port = <&cci_control0>;
|
| H A D | exynos5260.dtsi | 67 cci-control-port = <&cci_control1>; 74 cci-control-port = <&cci_control1>; 81 cci-control-port = <&cci_control0>; 88 cci-control-port = <&cci_control0>; 95 cci-control-port = <&cci_control0>; 102 cci-control-port = <&cci_control0>; 355 cci: cci@10f00000 { label 356 compatible = "arm,cci-400"; 363 compatible = "arm,cci-400-ctrl-if"; 369 compatible = "arm,cci-400-ctrl-if";
|
| /linux/include/linux/ |
| H A D | cache_coherency.h | 22 int (*wbinv)(struct cache_coherency_ops_inst *cci, 24 int (*done)(struct cache_coherency_ops_inst *cci); 33 int cache_coherency_ops_instance_register(struct cache_coherency_ops_inst *cci); 34 void cache_coherency_ops_instance_unregister(struct cache_coherency_ops_inst *cci); 59 void cache_coherency_ops_instance_put(struct cache_coherency_ops_inst *cci);
|
| /linux/drivers/perf/ |
| H A D | arm-cci.c | 2 // CCI Cache Coherent Interconnect PMU driver 6 #include <linux/arm-cci.h> 16 #define DRIVER_NAME "ARM-CCI PMU" 160 * Instead of an event id to monitor CCI cycles, a dedicated counter is 161 * provided. Use 0xff to represent CCI cycles and hope that no future revisions 172 * CCI PMU event id is an 8-bit value made of two parts - bits 7:5 for one of 8 633 * Program the CCI PMU counters which have PERF_HES_ARCH set 739 * For all counters on the CCI-PMU, disable any 'enabled' counters, 778 * by the cci 824 dev_err(&pmu_device->dev, "no irqs for CCI PMU in pmu_request_irq() [all...] |
| /linux/include/media/ |
| H A D | v4l2-cci.h | 3 * MIPI Camera Control Interface (CCI) register access helpers. 18 * struct cci_reg_sequence - An individual write from a sequence of CCI writes 38 * Private CCI register flags, for the use of drivers. 59 * cci_read() - Read a value from a single CCI register 72 * cci_write() - Write a value to a single CCI register 86 * a single CCI register
|
| /linux/arch/arm/boot/dts/mediatek/ |
| H A D | mt7629.dtsi | 32 cci-control-port = <&cci_control2>; 40 cci-control-port = <&cci_control2>; 174 cci: cci@10390000 { label 175 compatible = "arm,cci-400"; 182 compatible = "arm,cci-400-ctrl-if"; 188 compatible = "arm,cci-400-ctrl-if"; 194 compatible = "arm,cci-400-ctrl-if"; 200 compatible = "arm,cci-400-pmu,r1";
|
| /linux/arch/arm/mach-versatile/ |
| H A D | platsmp-vexpress.c | 28 * is to detect if the kernel can take over CCI ports in vexpress_smp_init_ops() 29 * control. Loop over possible CPUs and check if CCI in vexpress_smp_init_ops() 40 cci_node = of_parse_phandle(cpu_node, "cci-control-port", 0); in vexpress_smp_init_ops()
|
| /linux/Documentation/driver-api/media/ |
| H A D | v4l2-cci.rst | 3 V4L2 CCI kAPI 5 .. kernel-doc:: include/media/v4l2-cci.h
|
| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_vf_dev.c | 13 * @cci: struct where the register offset pointer to be copied to 16 struct libie_ctlq_create_info *cci) in idpf_vf_ctlq_reg_init() argument 18 struct libie_ctlq_reg *tx_reg = &cci[LIBIE_CTLQ_TYPE_TX].reg; in idpf_vf_ctlq_reg_init() 19 struct libie_ctlq_reg *rx_reg = &cci[LIBIE_CTLQ_TYPE_RX].reg; in idpf_vf_ctlq_reg_init()
|
| H A D | idpf_dev.c | 14 * @cci: struct where the register offset pointer to be copied to 17 struct libie_ctlq_create_info *cci) in idpf_ctlq_reg_init() argument 19 struct libie_ctlq_reg *tx_reg = &cci[LIBIE_CTLQ_TYPE_TX].reg; in idpf_ctlq_reg_init() 20 struct libie_ctlq_reg *rx_reg = &cci[LIBIE_CTLQ_TYPE_RX].reg; in idpf_ctlq_reg_init()
|
| /linux/arch/arm/boot/dts/allwinner/ |
| H A D | sun9i-a80.dtsi | 70 cci-control-port = <&cci_control0>; 79 cci-control-port = <&cci_control0>; 88 cci-control-port = <&cci_control0>; 97 cci-control-port = <&cci_control0>; 106 cci-control-port = <&cci_control1>; 115 cci-control-port = <&cci_control1>; 124 cci-control-port = <&cci_control1>; 133 cci-control-port = <&cci_control1>; 551 cci: cci@1c90000 { label 552 compatible = "arm,cci-400"; [all …]
|