Home
last modified time | relevance | path

Searched defs:ucsi (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/drivers/usb/typec/ucsi/
Ducsi_stm32g0.c66 struct ucsi *ucsi; member
81 static int ucsi_stm32g0_bl_check_ack(struct ucsi *ucsi) in ucsi_stm32g0_bl_check_ack()
118 static int ucsi_stm32g0_bl_cmd_check_ack(struct ucsi *ucsi, unsigned int cmd, bool check_ack) in ucsi_stm32g0_bl_cmd_check_ack()
154 static int ucsi_stm32g0_bl_cmd(struct ucsi *ucsi, unsigned int cmd) in ucsi_stm32g0_bl_cmd()
159 static int ucsi_stm32g0_bl_rcv_check_ack(struct ucsi *ucsi, void *data, size_t len, bool check_ack) in ucsi_stm32g0_bl_rcv_check_ack()
186 static int ucsi_stm32g0_bl_rcv(struct ucsi *ucsi, void *data, size_t len) in ucsi_stm32g0_bl_rcv()
191 static int ucsi_stm32g0_bl_rcv_woack(struct ucsi *ucsi, void *data, size_t len) in ucsi_stm32g0_bl_rcv_woack()
196 static int ucsi_stm32g0_bl_send(struct ucsi *ucsi, void *data, size_t len) in ucsi_stm32g0_bl_send()
221 static int ucsi_stm32g0_bl_get_version(struct ucsi *ucsi, u8 *bl_version) in ucsi_stm32g0_bl_get_version()
232 static int ucsi_stm32g0_bl_send_addr(struct ucsi *ucsi, u32 addr) in ucsi_stm32g0_bl_send_addr()
[all …]
Ducsi_glink.c64 struct ucsi *ucsi; member
81 struct pmic_glink_ucsi *ucsi = ucsi_get_drvdata(__ucsi); in pmic_glink_ucsi_read() local
116 static int pmic_glink_ucsi_read_version(struct ucsi *ucsi, u16 *version) in pmic_glink_ucsi_read_version()
121 static int pmic_glink_ucsi_read_cci(struct ucsi *ucsi, u32 *cci) in pmic_glink_ucsi_read_cci()
126 static int pmic_glink_ucsi_read_message_in(struct ucsi *ucsi, void *val, size_t val_len) in pmic_glink_ucsi_read_message_in()
131 static int pmic_glink_ucsi_locked_write(struct pmic_glink_ucsi *ucsi, unsigned int offset, in pmic_glink_ucsi_locked_write()
162 struct pmic_glink_ucsi *ucsi = ucsi_get_drvdata(__ucsi); in pmic_glink_ucsi_async_control() local
174 struct pmic_glink_ucsi *ucsi = ucsi_get_drvdata(con->ucsi); in pmic_glink_ucsi_update_connector() local
185 struct pmic_glink_ucsi *ucsi = ucsi_get_drvdata(con->ucsi); in pmic_glink_ucsi_connector_status() local
211 static void pmic_glink_ucsi_read_ack(struct pmic_glink_ucsi *ucsi, const void *data, int len) in pmic_glink_ucsi_read_ack()
[all …]
Ducsi.c39 void ucsi_notify_common(struct ucsi *ucsi, u32 cci) in ucsi_notify_common()
58 int ucsi_sync_control_common(struct ucsi *ucsi, u64 command) in ucsi_sync_control_common()
85 static int ucsi_acknowledge(struct ucsi *ucsi, bool conn_ack) in ucsi_acknowledge()
99 static int ucsi_run_command(struct ucsi *ucsi, u64 command, u32 *cci, in ucsi_run_command()
141 static int ucsi_read_error(struct ucsi *ucsi, u8 connector_num) in ucsi_read_error()
198 static int ucsi_send_command_common(struct ucsi *ucsi, u64 cmd, in ucsi_send_command_common()
236 int ucsi_send_command(struct ucsi *ucsi, u64 command, in ucsi_send_command()
487 struct ucsi *ucsi = con->ucsi; in ucsi_register_altmodes_nvidia() local
655 struct ucsi *ucsi = con->ucsi; in ucsi_read_pdos() local
681 struct ucsi *ucsi = con->ucsi; in ucsi_get_pdos() local
[all …]
Ducsi_acpi.c22 struct ucsi *ucsi; member
45 static int ucsi_acpi_read_version(struct ucsi *ucsi, u16 *version) in ucsi_acpi_read_version()
59 static int ucsi_acpi_read_cci(struct ucsi *ucsi, u32 *cci) in ucsi_acpi_read_cci()
73 static int ucsi_acpi_read_message_in(struct ucsi *ucsi, void *val, size_t val_len) in ucsi_acpi_read_message_in()
87 static int ucsi_acpi_async_control(struct ucsi *ucsi, u64 command) in ucsi_acpi_async_control()
106 ucsi_zenbook_read_cci(struct ucsi *ucsi, u32 *cci) in ucsi_zenbook_read_cci()
123 ucsi_zenbook_read_message_in(struct ucsi *ucsi, void *val, size_t val_len) in ucsi_zenbook_read_message_in()
141 static int ucsi_gram_read_message_in(struct ucsi *ucsi, void *val, size_t val_len) in ucsi_gram_read_message_in()
167 static int ucsi_gram_sync_control(struct ucsi *ucsi, u64 command) in ucsi_gram_sync_control()
Ddebugfs.c24 struct ucsi *ucsi = data; in ucsi_cmd() local
63 struct ucsi *ucsi = s->private; in ucsi_resp_show() local
74 void ucsi_debugfs_register(struct ucsi *ucsi) in ucsi_debugfs_register()
85 void ucsi_debugfs_unregister(struct ucsi *ucsi) in ucsi_debugfs_unregister()
Ducsi_yoga_c630.c21 struct ucsi *ucsi; member
26 static int yoga_c630_ucsi_read_version(struct ucsi *ucsi, u16 *version) in yoga_c630_ucsi_read_version()
35 static int yoga_c630_ucsi_read_cci(struct ucsi *ucsi, u32 *cci) in yoga_c630_ucsi_read_cci()
50 static int yoga_c630_ucsi_read_message_in(struct ucsi *ucsi, in yoga_c630_ucsi_read_message_in()
67 static int yoga_c630_ucsi_async_control(struct ucsi *ucsi, u64 command) in yoga_c630_ucsi_async_control()
Ducsi.h370 struct ucsi { struct
375 const struct ucsi_operations *ops; argument
377 struct ucsi_capability cap; argument
378 struct ucsi_connector *connector; argument
379 struct ucsi_debugfs_entry *debugfs; argument
381 struct work_struct resume_work;
382 struct delayed_work work;
383 int work_count;
389 struct mutex ppm_lock;
415 struct ucsi_connector { argument
[all …]
Ducsi_ccg.c203 struct ucsi *ucsi; member
397 static bool ucsi_ccg_update_altmodes(struct ucsi *ucsi, in ucsi_ccg_update_altmodes()
559 static int ucsi_ccg_read_version(struct ucsi *ucsi, u16 *version) in ucsi_ccg_read_version()
567 static int ucsi_ccg_read_cci(struct ucsi *ucsi, u32 *cci) in ucsi_ccg_read_cci()
578 static int ucsi_ccg_read_message_in(struct ucsi *ucsi, void *val, size_t val_len) in ucsi_ccg_read_message_in()
615 static int ucsi_ccg_async_control(struct ucsi *ucsi, u64 command) in ucsi_ccg_async_control()
631 static int ucsi_ccg_sync_control(struct ucsi *ucsi, u64 command) in ucsi_ccg_sync_control()
Ddisplayport.c51 struct ucsi *ucsi = dp->con->ucsi; in ucsi_displayport_enter() local
/linux-6.12.1/drivers/pci/
Dquirks.c5711 static void quirk_gpu_usb_typec_ucsi(struct pci_dev *ucsi) in quirk_gpu_usb_typec_ucsi()