| /linux/drivers/usb/typec/ |
| H A D | mode_selection.c | 17 * @svid: Standard or Vendor ID of the Alternate Mode 23 u16 svid; member 35 * @active_svid: svid of currently active mode 52 * @svid: Standard or Vendor ID of the Alternate Mode 58 u16 svid; member 69 if (order->svid == alt->svid) { in activate_altmode() 81 const u16 svid, const int enter) in mode_selection_activate() argument 85 struct mode_order order = {.svid = svid, .enter = enter, .result = -ENODEV}; in mode_selection_activate() 144 if (sel->active_svid == ms->svid) { in mode_selection_work_fn() 145 dev_dbg(&sel->partner->dev, "%x altmode is active\n", ms->svid); in mode_selection_work_fn() [all …]
|
| H A D | anx7411.c | 552 int svid, int vdo) in anx7411_typec_register_altmode() argument 559 desc.svid = svid; in anx7411_typec_register_altmode() 593 static int anx7411_update_altmode(struct anx7411_data *ctx, int svid) in anx7411_update_altmode() argument 597 if (svid == DP_SVID) in anx7411_update_altmode() 606 if (ctx->typec.amode[i]->svid == svid) { in anx7411_update_altmode() 622 int svid; in anx7411_register_altmode() local 628 svid = DP_SVID; in anx7411_register_altmode() 632 return anx7411_typec_register_altmode(ctx, svid, mid); in anx7411_register_altmode() 635 svid = (buf[3] << 8) | buf[2]; in anx7411_register_altmode() 637 return anx7411_update_altmode(ctx, svid); in anx7411_register_altmode() [all …]
|
| /linux/drivers/platform/chrome/ |
| H A D | cros_typec_vdm.c | 18 * based on SVID. 27 u16 svid; in cros_typec_handle_vdm_attention() local 40 svid = PD_VDO_VID(hdr); in cros_typec_handle_vdm_attention() 44 CROS_EC_ALTMODE_MAX, svid, PD_VDO_OPOS(hdr)); in cros_typec_handle_vdm_attention() 47 "Received VDM for unregistered altmode (SVID:%x), port: %d\n", in cros_typec_handle_vdm_attention() 48 svid, port_num); in cros_typec_handle_vdm_attention() 57 * Retrieves a VDM response from the EC and forwards it to the altmode driver based on SVID. 66 u16 svid; in cros_typec_handle_vdm_response() local 78 svid = PD_VDO_VID(hdr); in cros_typec_handle_vdm_response() 82 svid, PD_VDO_OPOS(hdr)); in cros_typec_handle_vdm_response() [all …]
|
| /linux/Documentation/driver-api/usb/ |
| H A D | typec_bus.rst | 10 The communication is SVID (Standard or Vendor ID) specific, i.e. specific for 14 modes by using the SVID and the mode number. 24 matching SVID and mode. Communication between the port driver and alternate mode 28 alternate mode drivers, so the port drivers are only expected to pass the SVID 30 partners to the alternate mode drivers. No direct SVID specific communication is 47 will be used to deliver all the SVID specific commands from the partner to the 49 the SVID specific commands to each other using :c:func:`typec_altmode_vdm()`. 51 If the communication with the partner using the SVID specific commands results 54 passes the negotiated SVID specific pin configuration value to the function as 58 NOTE: The SVID specific pin configuration values must always start from [all …]
|
| H A D | typec.rst | 47 Alternate Mode SVID will have their own device describing them. Note that the 146 Alternate Mode will have identifier called SVID, which is either a Standard ID 147 given by USB-IF or vendor ID, and each supported SVID can have 1 - 6 modes. The 148 class provides struct typec_mode_desc for describing individual mode of a SVID, 151 Ports that support Alternate Modes need to register each SVID they support with 158 Delivery Structured VDM Discover SVIDs message, each SVID needs to be
|
| /linux/include/linux/usb/ |
| H A D | typec_altmode.h | 25 * @svid: Standard or Vendor ID (SVID) of the alternate mode 38 u16 svid; member 68 * @vdm: Callback for SVID specific commands 97 * @vdm: Callback for SVID specific commands 123 * Specification. SVID specific connector states are expected to follow and 166 size_t n, u16 svid, u8 mode); 209 * handle all SVID specific communication. 227 * handle all SVID specific communication. 239 * handle all SVID specific communication. 264 * @svid: Standard or Vendor ID of the Alternate Mode. A value of 0 should be [all …]
|
| /linux/drivers/usb/typec/ucsi/ |
| H A D | trace.h | 89 __field(u16, svid) 95 __entry->svid = alt->svid; 99 TP_printk("%s alt mode: svid %04x, mode %d vdo %x", 100 ucsi_recipient_str(__entry->recipient), __entry->svid,
|
| H A D | ucsi_ccg.c | 188 u16 svid; member 420 alt[i].svid = orig[i].svid; in ucsi_ccg_update_altmodes() 422 if (!alt[i].svid) in ucsi_ccg_update_altmodes() 427 if (!alt[i].svid) in ucsi_ccg_update_altmodes() 436 new_alt[k].svid = alt[i].svid; in ucsi_ccg_update_altmodes() 440 updated[k].svid = new_alt[k].svid; in ucsi_ccg_update_altmodes() 447 if (alt[i].svid != alt[j].svid || in ucsi_ccg_update_altmodes() 452 new_alt[k].svid = alt[i].svid; in ucsi_ccg_update_altmodes() 465 new_alt[k].svid = alt[i].svid; in ucsi_ccg_update_altmodes() 470 updated[k].svid = new_alt[k].svid; in ucsi_ccg_update_altmodes() [all …]
|
| /linux/arch/powerpc/platforms/85xx/ |
| H A D | ppa8548.c | 46 uint32_t svid, phid1; in ppa8548_show_cpuinfo() local 48 svid = mfspr(SPRN_SVR); in ppa8548_show_cpuinfo() 51 seq_printf(m, "SVR\t\t: 0x%x\n", svid); in ppa8548_show_cpuinfo()
|
| H A D | stx_gp3.c | 70 uint pvid, svid, phid1; in stx_gp3_show_cpuinfo() local 73 svid = mfspr(SPRN_SVR); in stx_gp3_show_cpuinfo() 77 seq_printf(m, "SVR\t\t: 0x%x\n", svid); in stx_gp3_show_cpuinfo()
|
| H A D | tqm85xx.c | 69 uint pvid, svid, phid1; in tqm85xx_show_cpuinfo() local 72 svid = mfspr(SPRN_SVR); in tqm85xx_show_cpuinfo() 76 seq_printf(m, "SVR\t\t: 0x%x\n", svid); in tqm85xx_show_cpuinfo()
|
| H A D | ksi8560.c | 150 uint pvid, svid, phid1; in ksi8560_show_cpuinfo() local 153 svid = mfspr(SPRN_SVR); in ksi8560_show_cpuinfo() 167 seq_printf(m, "SVR\t\t: 0x%x\n", svid); in ksi8560_show_cpuinfo()
|
| /linux/include/linux/device-id/ |
| H A D | typec.h | 16 * @svid: Standard or Vendor ID 21 __u16 svid; member
|
| /linux/Documentation/devicetree/bindings/hwmon/pmbus/ |
| H A D | infineon,tda38640.yaml | 8 title: Infineon TDA38640 Synchronous Buck Regulator with SVID and I2C 15 Regulator with SVID and I2C designed for Industrial use.
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-typec | 39 What: /sys/bus/typec/devices/.../svid 43 The Standard or Vendor ID (SVID) assigned by USB-IF for this
|
| /linux/arch/powerpc/platforms/83xx/ |
| H A D | km83xx.c | 47 uint svid = mfspr(SPRN_SVR); in quirk_mpc8360e_qe_enet10() local 89 if (SVR_REV(svid) == 0x0021) { in quirk_mpc8360e_qe_enet10() 95 } else if (SVR_REV(svid) == 0x0020) { in quirk_mpc8360e_qe_enet10()
|
| /linux/Documentation/ABI/obsolete/ |
| H A D | sysfs-class-typec | 4 What: /sys/class/typec/<port|partner|cable>/<dev>/svid 8 The SVID (Standard or Vendor ID) assigned by USB-IF for this
|
| /linux/Documentation/hwmon/ |
| H A D | pxe1610.rst | 40 - Intel SVID protocol. 49 - Intel SVID protocol.
|
| /linux/include/linux/sunrpc/xdrgen/ |
| H A D | nlm4.h | 65 int32 svid; member 96 int32 svid; member
|
| /linux/arch/powerpc/platforms/86xx/ |
| H A D | gef_sbc310.c | 132 uint svid = mfspr(SPRN_SVR); in gef_sbc310_show_cpuinfo() local 141 seq_printf(m, "SVR\t\t: 0x%x\n", svid); in gef_sbc310_show_cpuinfo()
|
| H A D | gef_sbc610.c | 124 uint svid = mfspr(SPRN_SVR); in gef_sbc610_show_cpuinfo() local 132 seq_printf(m, "SVR\t\t: 0x%x\n", svid); in gef_sbc610_show_cpuinfo()
|
| H A D | gef_ppc9a.c | 142 uint svid = mfspr(SPRN_SVR); in gef_ppc9a_show_cpuinfo() local 150 seq_printf(m, "SVR\t\t: 0x%x\n", svid); in gef_ppc9a_show_cpuinfo()
|
| /linux/fs/lockd/ |
| H A D | svc4proc.c | 121 lock->svid = alock->svid; in nlm4_lock_to_lockd_lock() 166 lock->svid = xdr_lock->svid; in nlm4svc_lookup_file() 197 nlmsvc_locks_init_private(fl, host, (pid_t)lock->svid); in nlm4svc_lookup_file() 279 holder->svid = conf->svid; in nlm4svc_proc_test() 995 .svid = LOCKD_SHARE_SVID, in nlm4svc_proc_share() 1061 .svid = LOCKD_SHARE_SVID, in nlm4svc_proc_unshare()
|
| H A D | nlm4xdr_gen.c | 116 if (!xdrgen_decode_int32(xdr, &ptr->svid)) in xdrgen_decode_nlm4_holder() 180 if (!xdrgen_decode_int32(xdr, &ptr->svid)) in xdrgen_decode_nlm4_lock() 500 if (!xdrgen_encode_int32(xdr, value->svid)) in xdrgen_encode_nlm4_holder() 566 if (!xdrgen_encode_int32(xdr, value->svid)) in xdrgen_encode_nlm4_lock()
|
| /linux/drivers/cpufreq/ |
| H A D | powernow-k7.h | 35 SVID:5, // 44:40 member
|