/linux/drivers/usb/typec/ |
H A D | bus.c | 65 port_altmode = is_port ? to_altmode(adev) : to_altmode(adev)->partner; in typec_altmode_set_state() 80 * to tell which pin configuration has been negotiated with the partner. That 91 struct altmode *partner; in typec_altmode_notify() local 99 if (!altmode->partner) in typec_altmode_notify() 103 partner = altmode->partner; in typec_altmode_notify() 105 ret = typec_altmode_set_switches(is_port ? altmode : partner, conf, data); in typec_altmode_notify() 109 if (partner->adev.ops && partner->adev.ops->notify) in typec_altmode_notify() 110 return partner in typec_altmode_notify() 128 struct altmode *partner = to_altmode(adev)->partner; typec_altmode_enter() local 159 struct altmode *partner = to_altmode(adev)->partner; typec_altmode_exit() local 188 struct altmode *partner = to_altmode(adev)->partner; typec_altmode_attention() local 261 struct altmode *partner = to_altmode(adev)->partner; typec_cable_altmode_enter() local 291 struct altmode *partner = to_altmode(adev)->partner; typec_cable_altmode_exit() local [all...] |
H A D | wusb3801.c | 89 struct typec_partner *partner; member 272 if (wusb3801->partner) { in wusb3801_hw_update() 273 typec_unregister_partner(wusb3801->partner); in wusb3801_hw_update() 274 wusb3801->partner = NULL; in wusb3801_hw_update() 278 wusb3801->partner = typec_register_partner(port, &desc); in wusb3801_hw_update() 279 if (IS_ERR(wusb3801->partner)) in wusb3801_hw_update() 281 PTR_ERR(wusb3801->partner)); in wusb3801_hw_update() 408 if (wusb3801->partner) in wusb3801_remove() 409 typec_unregister_partner(wusb3801->partner); in wusb3801_remove()
|
H A D | anx7411.c | 248 struct typec_partner *partner; member 380 struct typec_partner *partner; in anx7411_register_partner() local 382 if (ctx->typec.partner) in anx7411_register_partner() 388 partner = typec_register_partner(ctx->typec.port, &desc); in anx7411_register_partner() 389 if (IS_ERR(partner)) in anx7411_register_partner() 390 return PTR_ERR(partner); in anx7411_register_partner() 392 ctx->typec.partner = partner; in anx7411_register_partner() 573 ctx->typec.amode[i] = typec_partner_register_altmode(ctx->typec.partner, in anx7411_typec_register_altmode() 587 if (ctx->typec.partner) { in anx7411_unregister_partner() 588 typec_unregister_partner(ctx->typec.partner); in anx7411_unregister_partner() [all …]
|
H A D | rt1719.c | 91 struct typec_partner *partner; member 238 if (data->partner) in rt1719_register_partner() 239 typec_unregister_partner(data->partner); in rt1719_register_partner() 250 data->partner = typec_register_partner(data->port, &data->partner_desc); in rt1719_register_partner() 288 typec_unregister_partner(data->partner); in rt1719_detach() 289 data->partner = NULL; in rt1719_detach()
|
H A D | bus.h | 25 struct altmode *partner; member
|
/linux/Documentation/driver-api/usb/ |
H A D | typec_bus.rst | 8 Alternate modes require communication with the partner using Vendor Defined 13 USB Type-C bus allows binding a driver to the discovered partner alternate 17 mode a port supports, and separate device for every alternate mode the partner 18 supports. The drivers for the alternate modes are bound to the partner alternate 22 When a new partner alternate mode device is registered, it is linked to the 23 alternate mode device of the port that the partner is attached to, that has 27 The port alternate mode devices are used as a proxy between the partner and the 29 specific commands from the alternate mode drivers to the partner, and from the 33 drivers need to provide them for the partner alternate mode devices. 47 will be used to deliver all the SVID specific commands from the partner to the [all …]
|
H A D | typec.rst | 33 When connected, the partner will be presented also as its own device under 34 /sys/class/typec/. The parent of the partner device will always be the port it 35 is attached to. The partner attached to port "port0" will be named 36 "port0-partner". Full path to the device would be 37 /sys/class/typec/port0/port0-partner/. 46 If the port, partner or cable plug supports Alternate Modes, every supported 50 mode of port0-partner will be presented under /sys/class/typec/port0-partner/. 78 After successful connection of a partner, the port driver needs to register the 79 partner with the class. Details about the partner need to be described in struct 80 typec_partner_desc. The class copies the details of the partner during [all …]
|
/linux/net/dsa/ |
H A D | tag_xrs700x.c | 16 struct dsa_port *partner, *dp = dsa_user_to_port(dev); in xrs700x_xmit() local 23 dsa_hsr_foreach_port(partner, dp->ds, dp->hsr_dev) in xrs700x_xmit() 24 if (partner != dp) in xrs700x_xmit() 25 trailer[0] |= BIT(partner->index); in xrs700x_xmit()
|
/linux/Documentation/ABI/obsolete/ |
H A D | sysfs-class-typec | 4 What: /sys/class/typec/<port|partner|cable>/<dev>/svid 11 What: /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/ 20 What: /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/description 27 What: /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/vdo 34 What: /sys/class/typec/<port|partner|cable>/<dev>/mode<index>/active
|
/linux/drivers/usb/typec/ucsi/ |
H A D | ucsi.c | 264 if (!con->partner) { in ucsi_poll_worker() 289 if (!con->partner) in ucsi_partner_task() 437 alt = typec_partner_register_altmode(con->partner, desc); in ucsi_register_altmode() 792 ret = typec_partner_set_identity(con->partner); in ucsi_get_partner_identity() 831 typec_partner_set_num_altmodes(con->partner, num_partner_am); in ucsi_check_altmodes() 835 typec_partner_set_num_altmodes(con->partner, 0); in ucsi_check_altmodes() 871 con->partner_pd = typec_partner_usb_power_delivery_register(con->partner, &desc); in ucsi_register_partner_pdos() 887 return typec_partner_set_usb_power_delivery(con->partner, con->partner_pd); in ucsi_register_partner_pdos() 993 if (!con->partner || con->ucsi->version < UCSI_VERSION_2_1) in ucsi_check_connector_capability() 1004 typec_partner_set_pd_revision(con->partner, UCSI_SPEC_REVISION_TO_BCD(pd_revision)); in ucsi_check_connector_capability() [all …]
|
/linux/drivers/net/ethernet/3com/ |
H A D | 3c574_cs.c | 199 u16 advertising, partner; /* NWay media advertisement */ member 865 unsigned short /* cable, */ media, partner; in media_check() local 892 partner = mdio_read(ioaddr, lp->phys, 5); in media_check() 900 lp->partner = 0; in media_check() 903 } else if (partner) { in media_check() 904 partner &= lp->advertising; in media_check() 905 lp->partner = partner; in media_check() 908 (partner & 0x0180) ? 100 : 10, in media_check() 909 (partner & 0x0140) ? 'F' : 'H'); in media_check() 915 outb((partner & 0x0140 ? 0x20 : 0) | in media_check()
|
/linux/drivers/net/bonding/ |
H A D | bond_3ad.c | 538 struct port_params *partner = &port->partner_oper; in __record_pdu() local 544 partner->port_number = ntohs(lacpdu->actor_port); in __record_pdu() 545 partner->port_priority = ntohs(lacpdu->actor_port_priority); in __record_pdu() 546 partner->system = lacpdu->actor_system; in __record_pdu() 547 partner->system_priority = ntohs(lacpdu->actor_system_priority); in __record_pdu() 548 partner->key = ntohs(lacpdu->actor_key); in __record_pdu() 549 partner->port_state = lacpdu->actor_state; in __record_pdu() 559 partner->port_state |= LACP_STATE_SYNCHRONIZATION; in __record_pdu() 563 partner->port_state &= ~LACP_STATE_SYNCHRONIZATION; in __record_pdu() 606 const struct port_params *partner = &port->partner_oper; in __update_selected() local [all …]
|
/linux/arch/sh/include/mach-ecovec24/mach/ |
H A D | partner-jet-setup.txt | 2 LIST "partner-jet-setup.txt" 8 LIST "> < partner-jet-setup.txt"
|
/linux/drivers/usb/typec/tipd/ |
H A D | core.c | 131 struct typec_partner *partner; member 275 if (tps->partner) in tps6598x_connect() 301 tps->partner = typec_register_partner(tps->port, &desc); in tps6598x_connect() 302 if (IS_ERR(tps->partner)) in tps6598x_connect() 303 return PTR_ERR(tps->partner); in tps6598x_connect() 306 typec_partner_set_identity(tps->partner); in tps6598x_connect() 315 if (!IS_ERR(tps->partner)) in tps6598x_disconnect() 316 typec_unregister_partner(tps->partner); in tps6598x_disconnect() 317 tps->partner = NULL; in tps6598x_disconnect()
|
/linux/arch/sh/include/mach-kfr2r09/mach/ |
H A D | partner-jet-setup.txt | 2 LIST "partner-jet-setup.txt - 20090729 Magnus Damm" 7 LIST "> < partner-jet-setup.txt"
|
/linux/drivers/platform/chrome/ |
H A D | cros_ec_typec.h | 51 struct typec_partner *partner; 55 /* Port partner PD identity info. */ 71 /* Flag indicating that PD partner discovery data parsing is completed. */ 50 struct typec_partner *partner; global() member
|
/linux/Documentation/arch/powerpc/ |
H A D | hvcs.rst | 335 partner vty removals but not the addition of partner vtys. Since an HMC 336 Super Admin can add partner info dynamically we have provided the hvcs 338 firmware and update the partner info for all the vty-servers that this 371 provide lists of easily parsed partner vty data: "partner_vtys" and 388 Reading partner_vtys returns a list of partner vtys. Vty unit address 394 adapter. The first vty partner corresponds to the first clc item, the 395 second vty partner to the second clc item, etc. 398 "current_vty" prints the clc of the currently selected partner vty when 401 The current_vty can be changed by writing a valid partner clc to the entry
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-pci-devices-aer_stats | 7 counters may increment at its link partner (e.g. root port) because the 8 errors may be "seen" / reported by the link partner and not the
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | s5pv210-smdkc110.dts | 7 * Mateusz Krawczuk <m.krawczuk@partner.samsung.com>
|
H A D | s5pv210-torbreck.dts | 7 * Mateusz Krawczuk <m.krawczuk@partner.samsung.com>
|
/linux/Documentation/networking/device_drivers/ethernet/intel/ |
H A D | e1000e.rst | 330 connections will attempt to auto-negotiate with its link partner to determine 331 the best setting. If the adapter cannot establish link with the link partner 333 partner to identical settings to establish link and pass packets. This should 336 duplex mode. Your link partner must match the setting you choose. 1 Gbps speeds 350 will not attempt to auto-negotiate with its link partner since those adapters
|
H A D | e1000.rst | 74 either one or two-directional. If both Duplex and the link partner are 76 link partner is forced (either full or half), Duplex defaults to half- 253 partner is set to auto-negotiate, the board will auto-detect the correct 348 common speed and duplex mode IF the link partner is set to auto-negotiate. 387 If the link partner is forced to a specific speed and duplex, then this
|
/linux/Documentation/misc-devices/ |
H A D | ibmvmc.rst | 84 communicate capabilities to their partner. HMC Interface messages are used 96 client or from the server to its partner partition. DMA refers 101 between partner partitions. Transport events which are signaled
|
/linux/Documentation/networking/device_drivers/ethernet/3com/ |
H A D | 3c509.rst | 81 (c) Most importantly, your 3c509B must be connected to a link partner that is 97 auto-negotiate a full-duplex connection with its link partner under any 99 of the 3c509B is enabled, its link partner will very likely need to be
|
/linux/sound/soc/sunxi/ |
H A D | sun8i-codec.c | 614 int partner = (SUN8I_CODEC_AIF2 + SUN8I_CODEC_AIF3) - dai->id; in sun8i_codec_hw_params() local 615 const struct sun8i_codec_aif *partner_aif = &scodec->aifs[partner]; in sun8i_codec_hw_params() 616 const char *partner_name = sun8i_codec_dais[partner].name; in sun8i_codec_hw_params()
|