Home
last modified time | relevance | path

Searched refs:cci (Results 1 – 14 of 14) sorted by relevance

/drivers/i2c/busses/
Di2c-qcom-cci.c108 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 …]
DMakefile98 obj-$(CONFIG_I2C_QCOM_CCI) += i2c-qcom-cci.o
DKconfig956 will be called i2c-qcom-cci.
/drivers/usb/typec/ucsi/
Dtrace.c36 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()
Ducsi_acpi.c205 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()
Ducsi.c124 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 …]
Ducsi_stm32g0.c418 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()
Ducsi_ccg.c618 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()
Dtrace.h13 const char *ucsi_cci_str(u32 cci);
/drivers/devfreq/
DMakefile14 obj-$(CONFIG_ARM_MEDIATEK_CCI_DEVFREQ) += mtk-cci-devfreq.o
/drivers/perf/
DMakefile2 obj-$(CONFIG_ARM_CCI_PMU) += arm-cci.o
DKconfig17 If compiled as a module, it will be called arm-cci.
/drivers/bus/
DMakefile7 obj-$(CONFIG_ARM_CCI) += arm-cci.o
/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c4018 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()