Searched refs:cci (Results 1 – 14 of 14) sorted by relevance
/drivers/i2c/busses/ |
D | i2c-qcom-cci.c | 108 struct cci; 116 struct cci *cci; member 127 struct cci { struct 139 struct cci *cci = dev; in cci_isr() local 143 val = readl(cci->base + CCI_IRQ_STATUS_0); in cci_isr() 144 writel(val, cci->base + CCI_IRQ_CLEAR_0); in cci_isr() 145 writel(0x1, cci->base + CCI_IRQ_GLOBAL_CLEAR_CMD); in cci_isr() 148 complete(&cci->master[0].irq_complete); in cci_isr() 149 if (cci->master[1].master) in cci_isr() 150 complete(&cci->master[1].irq_complete); in cci_isr() [all …]
|
D | Makefile | 98 obj-$(CONFIG_I2C_QCOM_CCI) += i2c-qcom-cci.o
|
D | Kconfig | 956 will be called i2c-qcom-cci.
|
/drivers/usb/typec/ucsi/ |
D | trace.c | 36 const char *ucsi_cci_str(u32 cci) in ucsi_cci_str() argument 38 if (UCSI_CCI_CONNECTOR(cci)) { in ucsi_cci_str() 39 if (cci & UCSI_CCI_ACK_COMPLETE) in ucsi_cci_str() 41 if (cci & UCSI_CCI_COMMAND_COMPLETE) in ucsi_cci_str() 45 if (cci & UCSI_CCI_ACK_COMPLETE) in ucsi_cci_str() 47 if (cci & UCSI_CCI_COMMAND_COMPLETE) in ucsi_cci_str()
|
D | ucsi_acpi.c | 205 u32 cci; in ucsi_acpi_notify() local 208 ret = ua->ucsi->ops->read(ua->ucsi, UCSI_CCI, &cci, sizeof(cci)); in ucsi_acpi_notify() 212 if (UCSI_CCI_CONNECTOR(cci)) in ucsi_acpi_notify() 213 ucsi_connector_change(ua->ucsi, UCSI_CCI_CONNECTOR(cci)); in ucsi_acpi_notify() 215 if (cci & UCSI_CCI_ACK_COMPLETE && test_bit(ACK_PENDING, &ua->flags)) in ucsi_acpi_notify() 217 if (cci & UCSI_CCI_COMMAND_COMPLETE && in ucsi_acpi_notify()
|
D | ucsi.c | 124 u32 cci; in ucsi_exec_command() local 131 ret = ucsi->ops->read(ucsi, UCSI_CCI, &cci, sizeof(cci)); in ucsi_exec_command() 135 if (cmd != UCSI_CANCEL && cci & UCSI_CCI_BUSY) in ucsi_exec_command() 138 if (!(cci & UCSI_CCI_COMMAND_COMPLETE)) in ucsi_exec_command() 141 if (cci & UCSI_CCI_NOT_SUPPORTED) in ucsi_exec_command() 144 if (cci & UCSI_CCI_ERROR) { in ucsi_exec_command() 150 if (cmd == UCSI_CANCEL && cci & UCSI_CCI_CANCEL_COMPLETE) { in ucsi_exec_command() 155 return UCSI_CCI_LENGTH(cci); in ucsi_exec_command() 879 u32 cci; in ucsi_reset_ppm() local 897 ret = ucsi->ops->read(ucsi, UCSI_CCI, &cci, sizeof(cci)); in ucsi_reset_ppm() [all …]
|
D | ucsi_stm32g0.c | 418 u32 cci; in ucsi_stm32g0_irq_handler() local 424 ret = ucsi_stm32g0_read(g0->ucsi, UCSI_CCI, &cci, sizeof(cci)); in ucsi_stm32g0_irq_handler() 428 if (UCSI_CCI_CONNECTOR(cci)) in ucsi_stm32g0_irq_handler() 429 ucsi_connector_change(g0->ucsi, UCSI_CCI_CONNECTOR(cci)); in ucsi_stm32g0_irq_handler() 432 cci & (UCSI_CCI_ACK_COMPLETE | UCSI_CCI_COMMAND_COMPLETE)) in ucsi_stm32g0_irq_handler()
|
D | ucsi_ccg.c | 618 u32 cci; in ccg_irq_handler() local 625 ret = ccg_read(uc, reg, (void *)&cci, sizeof(cci)); in ccg_irq_handler() 629 if (UCSI_CCI_CONNECTOR(cci)) in ccg_irq_handler() 630 ucsi_connector_change(uc->ucsi, UCSI_CCI_CONNECTOR(cci)); in ccg_irq_handler() 633 cci & (UCSI_CCI_ACK_COMPLETE | UCSI_CCI_COMMAND_COMPLETE)) in ccg_irq_handler()
|
D | trace.h | 13 const char *ucsi_cci_str(u32 cci);
|
/drivers/devfreq/ |
D | Makefile | 14 obj-$(CONFIG_ARM_MEDIATEK_CCI_DEVFREQ) += mtk-cci-devfreq.o
|
/drivers/perf/ |
D | Makefile | 2 obj-$(CONFIG_ARM_CCI_PMU) += arm-cci.o
|
D | Kconfig | 17 If compiled as a module, it will be called arm-cci.
|
/drivers/bus/ |
D | Makefile | 7 obj-$(CONFIG_ARM_CCI) += arm-cci.o
|
/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 4018 struct regmap *cci; in mtk_probe() local 4020 cci = syscon_regmap_lookup_by_phandle(pdev->dev.of_node, in mtk_probe() 4023 if (!IS_ERR(cci)) in mtk_probe() 4024 regmap_write(cci, 0, 3); in mtk_probe()
|