Searched refs:ucsi (Results 1 – 11 of 11) sorted by relevance
/drivers/usb/typec/ucsi/ |
D | ucsi.c | 42 static inline int ucsi_sync(struct ucsi *ucsi) in ucsi_sync() argument 44 if (ucsi->ppm && ucsi->ppm->sync) in ucsi_sync() 45 return ucsi->ppm->sync(ucsi->ppm); in ucsi_sync() 49 static int ucsi_command(struct ucsi *ucsi, struct ucsi_control *ctrl) in ucsi_command() argument 55 set_bit(COMMAND_PENDING, &ucsi->flags); in ucsi_command() 57 ret = ucsi->ppm->cmd(ucsi->ppm, ctrl); in ucsi_command() 61 if (!wait_for_completion_timeout(&ucsi->complete, in ucsi_command() 63 dev_warn(ucsi->dev, "PPM NOT RESPONDING\n"); in ucsi_command() 68 clear_bit(COMMAND_PENDING, &ucsi->flags); in ucsi_command() 73 static int ucsi_ack(struct ucsi *ucsi, u8 ack) in ucsi_ack() argument [all …]
|
D | ucsi.h | 347 struct ucsi; 373 struct ucsi *ucsi_register_ppm(struct device *dev, struct ucsi_ppm *ppm); 374 void ucsi_unregister_ppm(struct ucsi *ucsi); 375 void ucsi_notify(struct ucsi *ucsi); 385 struct ucsi { struct 412 struct ucsi *ucsi; argument 429 int ucsi_send_command(struct ucsi *ucsi, struct ucsi_control *ctrl, 433 int ucsi_resume(struct ucsi *ucsi);
|
D | ucsi_acpi.c | 21 struct ucsi *ucsi; member 62 ucsi_notify(ua->ucsi); in ucsi_acpi_notify() 116 ua->ucsi = ucsi_register_ppm(&pdev->dev, &ua->ppm); in ucsi_acpi_probe() 117 if (IS_ERR(ua->ucsi)) { in ucsi_acpi_probe() 121 return PTR_ERR(ua->ucsi); in ucsi_acpi_probe() 133 ucsi_unregister_ppm(ua->ucsi); in ucsi_acpi_remove()
|
D | ucsi_ccg.c | 178 struct ucsi *ucsi; member 392 ucsi_notify(uc->ucsi); in ccg_irq_handler() 401 ucsi_notify(uc->ucsi); in ccg_pm_workaround_work() 1030 uc->ucsi = ucsi_register_ppm(dev, &uc->ppm); in ccg_restart() 1031 if (IS_ERR(uc->ucsi)) { in ccg_restart() 1033 return PTR_ERR(uc->ucsi); in ccg_restart() 1050 ucsi_unregister_ppm(uc->ucsi); in ccg_update_firmware() 1146 uc->ucsi = ucsi_register_ppm(dev, &uc->ppm); in ucsi_ccg_probe() 1147 if (IS_ERR(uc->ucsi)) { in ucsi_ccg_probe() 1149 return PTR_ERR(uc->ucsi); in ucsi_ccg_probe() [all …]
|
D | displayport.c | 67 ret = ucsi_send_command(dp->con->ucsi, &ctrl, &cur, sizeof(cur)); in ucsi_displayport_enter() 69 if (dp->con->ucsi->ppm->data->version > 0x0100) { in ucsi_displayport_enter() 121 ret = ucsi_send_command(dp->con->ucsi, &ctrl, NULL, 0); in ucsi_displayport_exit() 182 return ucsi_send_command(dp->con->ucsi, &ctrl, NULL, 0); in ucsi_displayport_configure()
|
D | Makefile | 6 typec_ucsi-y := ucsi.o
|
D | Kconfig | 21 http://www.intel.com/content/www/us/en/io/universal-serial-bus/usb-type-c-ucsi-spec.html
|
D | trace.h | 4 #define TRACE_SYSTEM ucsi
|
/drivers/usb/typec/ |
D | Makefile | 6 obj-$(CONFIG_TYPEC_UCSI) += ucsi/
|
D | Kconfig | 51 source "drivers/usb/typec/ucsi/Kconfig"
|
/drivers/pci/ |
D | quirks.c | 5157 static void quirk_gpu_usb_typec_ucsi(struct pci_dev *ucsi) in quirk_gpu_usb_typec_ucsi() argument 5159 pci_create_device_link(ucsi, 3, 0, PCI_BASE_CLASS_DISPLAY, 16); in quirk_gpu_usb_typec_ucsi()
|