Home
last modified time | relevance | path

Searched refs:partner (Results 1 – 25 of 41) sorted by relevance

12

/Linux-v4.19/drivers/usb/typec/
Dbus.c24 port_altmode = is_port ? to_altmode(adev) : to_altmode(adev)->partner; in typec_altmode_set_state()
56 struct altmode *partner; in typec_altmode_notify() local
64 if (!altmode->partner) in typec_altmode_notify()
68 partner = altmode->partner; in typec_altmode_notify()
70 ret = typec_altmode_set_mux(is_port ? altmode : partner, (u8)conf); in typec_altmode_notify()
74 blocking_notifier_call_chain(is_port ? &altmode->nh : &partner->nh, in typec_altmode_notify()
77 if (partner->adev.ops && partner->adev.ops->notify) in typec_altmode_notify()
78 return partner->adev.ops->notify(&partner->adev, conf, data); in typec_altmode_notify()
94 struct altmode *partner = to_altmode(adev)->partner; in typec_altmode_enter() local
95 struct typec_altmode *pdev = &partner->adev; in typec_altmode_enter()
[all …]
Dclass.c85 struct typec_partner *partner = to_typec_partner(dev); in get_pd_identity() local
87 return partner->identity; in get_pd_identity()
166 struct altmode *partner; in typec_altmode_set_partner() local
174 partner = to_altmode(to_typec_altmode(dev)); in typec_altmode_set_partner()
175 altmode->partner = partner; in typec_altmode_set_partner()
181 partner->plug[plug->index] = altmode; in typec_altmode_set_partner()
183 partner->partner = altmode; in typec_altmode_set_partner()
189 struct altmode *partner = altmode->partner; in typec_altmode_put_partner() local
192 if (!partner) in typec_altmode_put_partner()
195 adev = &partner->adev; in typec_altmode_put_partner()
[all …]
Dtps6598x.c79 struct typec_partner *partner; member
171 if (tps->partner) in tps6598x_connect()
196 tps->partner = typec_register_partner(tps->port, &desc); in tps6598x_connect()
197 if (IS_ERR(tps->partner)) in tps6598x_connect()
198 return PTR_ERR(tps->partner); in tps6598x_connect()
201 typec_partner_set_identity(tps->partner); in tps6598x_connect()
208 if (!IS_ERR(tps->partner)) in tps6598x_disconnect()
209 typec_unregister_partner(tps->partner); in tps6598x_disconnect()
210 tps->partner = NULL; in tps6598x_disconnect()
Dbus.h23 struct altmode *partner; member
Dtcpm.c211 struct typec_partner *partner; member
954 typec_partner_set_identity(port->partner); in svdm_consume_identity()
1032 altmode = typec_partner_register_altmode(port->partner, in tcpm_register_partner_altmodes()
1111 if (IS_ERR_OR_NULL(port->partner)) in tcpm_pd_svdm()
2590 port->partner = typec_register_partner(port->typec_port, in tcpm_typec_connect()
2636 port->partner = NULL; in tcpm_src_attach()
2656 typec_unregister_partner(port->partner); in tcpm_typec_disconnect()
2657 port->partner = NULL; in tcpm_typec_disconnect()
2738 port->partner = NULL; in tcpm_snk_attach()
2762 port->partner = NULL; in tcpm_acc_attach()
/Linux-v4.19/Documentation/driver-api/usb/
Dtypec_bus.rst8 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 supports, and separate device for every alternate mode the partner supports.
18 The drivers for the alternate modes are bound to the partner alternate mode
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 …]
Dtypec.rst32 When connected, the partner will be presented also as its own device under
33 /sys/class/typec/. The parent of the partner device will always be the port it
34 is attached to. The partner attached to port "port0" will be named
35 "port0-partner". Full path to the device would be
36 /sys/class/typec/port0/port0-partner/.
45 If the port, partner or cable plug supports Alternate Modes, every supported
49 mode of port0-partner will be presented under /sys/class/typec/port0-partner/.
77 After successful connection of a partner, the port driver needs to register the
78 partner with the class. Details about the partner need to be described in struct
79 typec_partner_desc. The class copies the details of the partner during
[all …]
/Linux-v4.19/Documentation/ABI/obsolete/
Dsysfs-class-typec4 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-v4.19/drivers/usb/typec/ucsi/
Ducsi.c56 struct typec_partner *partner; member
264 struct typec_partner *partner; in ucsi_register_partner() local
266 if (con->partner) in ucsi_register_partner()
284 partner = typec_register_partner(con->port, &desc); in ucsi_register_partner()
285 if (IS_ERR(partner)) { in ucsi_register_partner()
288 PTR_ERR(partner)); in ucsi_register_partner()
289 return PTR_ERR(partner); in ucsi_register_partner()
292 con->partner = partner; in ucsi_register_partner()
299 if (!con->partner) in ucsi_unregister_partner()
302 typec_unregister_partner(con->partner); in ucsi_unregister_partner()
[all …]
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-class-typec54 when both the port and the partner support USB Power Delivery.
112 USB Type-C partner devices (eg. /sys/class/typec/port0-partner/)
114 What: /sys/class/typec/<port>-partner/accessory_mode
118 Shows the Accessory Mode name when the partner is an Accessory.
121 What: /sys/class/typec/<port>-partner/supports_usb_power_delivery
125 Shows if the partner supports USB Power Delivery communication:
128 What: /sys/class/typec/<port>-partner>/identity/
140 What: /sys/class/typec/<port>-partner/identity/id_header
148 What: /sys/class/typec/<port>-partner/identity/cert_stat
156 What: /sys/class/typec/<port>-partner/identity/product
Dsysfs-bus-pci-devices-aer_stats7 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-v4.19/include/linux/usb/
Dtypec.h89 int typec_partner_set_identity(struct typec_partner *partner);
111 *typec_partner_register_altmode(struct typec_partner *partner,
224 void typec_unregister_partner(struct typec_partner *partner);
/Linux-v4.19/drivers/net/bonding/
Dbond_3ad.c497 struct port_params *partner = &port->partner_oper; in __record_pdu() local
503 partner->port_number = ntohs(lacpdu->actor_port); in __record_pdu()
504 partner->port_priority = ntohs(lacpdu->actor_port_priority); in __record_pdu()
505 partner->system = lacpdu->actor_system; in __record_pdu()
506 partner->system_priority = ntohs(lacpdu->actor_system_priority); in __record_pdu()
507 partner->key = ntohs(lacpdu->actor_key); in __record_pdu()
508 partner->port_state = lacpdu->actor_state; in __record_pdu()
518 partner->port_state |= AD_STATE_SYNCHRONIZATION; in __record_pdu()
521 partner->port_state &= ~AD_STATE_SYNCHRONIZATION; in __record_pdu()
563 const struct port_params *partner = &port->partner_oper; in __update_selected() local
[all …]
/Linux-v4.19/drivers/net/ethernet/3com/
D3c574_cs.c199 u16 advertising, partner; /* NWay media advertisement */ member
866 unsigned short /* cable, */ media, partner; in media_check() local
893 partner = mdio_read(ioaddr, lp->phys, 5); in media_check()
901 lp->partner = 0; in media_check()
904 } else if (partner) { in media_check()
905 partner &= lp->advertising; in media_check()
906 lp->partner = partner; in media_check()
909 (partner & 0x0180) ? 100 : 10, in media_check()
910 (partner & 0x0140) ? 'F' : 'H'); in media_check()
916 outb((partner & 0x0140 ? 0x20 : 0) | in media_check()
/Linux-v4.19/arch/sh/include/mach-ecovec24/mach/
Dpartner-jet-setup.txt1 LIST "partner-jet-setup.txt"
7 LIST "> < partner-jet-setup.txt"
/Linux-v4.19/arch/sh/include/mach-kfr2r09/mach/
Dpartner-jet-setup.txt1 LIST "partner-jet-setup.txt - 20090729 Magnus Damm"
6 LIST "> < partner-jet-setup.txt"
/Linux-v4.19/Documentation/powerpc/
Dhvcs.txt332 partner vty removals but not the addition of partner vtys. Since an HMC
333 Super Admin can add partner info dynamically we have provided the hvcs
335 firmware and update the partner info for all the vty-servers that this
368 provide lists of easily parsed partner vty data: "partner_vtys" and
385 Reading partner_vtys returns a list of partner vtys. Vty unit address
391 adapter. The first vty partner corresponds to the first clc item, the
392 second vty partner to the second clc item, etc.
395 "current_vty" prints the clc of the currently selected partner vty when
398 The current_vty can be changed by writing a valid partner clc to the entry
/Linux-v4.19/arch/arm/boot/dts/
Ds5pv210-smdkc110.dts7 * Mateusz Krawczuk <m.krawczuk@partner.samsung.com>
Ds5pv210-torbreck.dts7 * Mateusz Krawczuk <m.krawczuk@partner.samsung.com>
Ds5pv210-smdkv210.dts7 * Mateusz Krawczuk <m.krawczuk@partner.samsung.com>
/Linux-v4.19/Documentation/misc-devices/
Dibmvmc.rst83 communicate capabilities to their partner. HMC Interface messages are used
95 client or from the server to its partner partition. DMA refers
100 between partner partitions. Transport events which are signaled
/Linux-v4.19/Documentation/networking/
D3c509.txt75 (c) Most importantly, your 3c509B must be connected to a link partner that is
88 auto-negotiate a full-duplex connection with its link partner under any
90 of the 3c509B is enabled, its link partner will very likely need to be
De1000.rst72 either one or two-directional. If both Duplex and the link partner are
74 link partner is forced (either full or half), Duplex defaults to half-
251 partner is set to auto-negotiate, the board will auto-detect the correct
346 common speed and duplex mode IF the link partner is set to auto-negotiate.
385 If the link partner is forced to a specific speed and duplex, then this
/Linux-v4.19/drivers/net/ethernet/sfc/
Dnic.h111 struct efx_tx_queue *partner = efx_tx_queue_partner(tx_queue); in efx_nic_may_tx_pio() local
114 efx_nic_tx_is_empty(partner); in efx_nic_may_tx_pio()
/Linux-v4.19/Documentation/devicetree/bindings/net/
Dmicrel-ksz90x1.txt64 Attention: The link partner must be configurable as slave otherwise

12