/linux/drivers/usb/typec/ |
A D | bus.c | 62 struct altmode *partner; in typec_altmode_notify() local 70 if (!altmode->partner) in typec_altmode_notify() 74 partner = altmode->partner; in typec_altmode_notify() 80 if (partner->adev.ops && partner->adev.ops->notify) in typec_altmode_notify() 81 return partner->adev.ops->notify(&partner->adev, conf, data); in typec_altmode_notify() 99 struct altmode *partner = to_altmode(adev)->partner; in typec_altmode_enter() local 130 struct altmode *partner = to_altmode(adev)->partner; in typec_altmode_exit() local 188 if (!altmode->partner) in typec_altmode_vdm() 191 pdev = &altmode->partner->adev; in typec_altmode_vdm() 203 if (!adev || !to_altmode(adev)->partner) in typec_altmode_get_partner() [all …]
|
A D | class.c | 248 altmode->partner = partner; in typec_altmode_set_partner() 256 partner->partner = altmode; in typec_altmode_set_partner() 262 struct altmode *partner = altmode->partner; in typec_altmode_put_partner() local 265 if (!partner) in typec_altmode_put_partner() 268 adev = &partner->adev; in typec_altmode_put_partner() 275 partner->partner = NULL; in typec_altmode_put_partner() 375 if (altmode->partner && !enter && altmode->partner->adev.active) in active_store() 673 kfree(partner); in typec_partner_release() 804 partner = kzalloc(sizeof(*partner), GFP_KERNEL); in typec_register_partner() 805 if (!partner) in typec_register_partner() [all …]
|
A D | stusb160x.c | 157 struct typec_partner *partner; member 365 if (IS_ERR(chip->partner)) { in stusb160x_attach() 366 ret = PTR_ERR(chip->partner); in stusb160x_attach() 388 typec_unregister_partner(chip->partner); in stusb160x_detach() 389 chip->partner = NULL; in stusb160x_detach() 467 if (chip->partner) { in stusb160x_irq_init() 468 typec_unregister_partner(chip->partner); in stusb160x_irq_init() 469 chip->partner = NULL; in stusb160x_irq_init() 808 if (chip->partner) { in stusb160x_remove() 809 typec_unregister_partner(chip->partner); in stusb160x_remove() [all …]
|
A D | bus.h | 23 struct altmode *partner; member
|
/linux/Documentation/ABI/testing/ |
A D | sysfs-class-typec | 57 when both the port and the partner support USB Power Delivery. 120 specification of the port partner or cable, or 0.0 when USB 144 USB Type-C partner devices (eg. /sys/class/typec/port0-partner/) 146 What: /sys/class/typec/<port>-partner/accessory_mode 160 What: /sys/class/typec/<port>-partner/number_of_alternate_modes 168 What: /sys/class/typec/<port>-partner/type 203 What: /sys/class/typec/<port>-partner/identity/ 263 USB Type-C partner/cable Power Delivery Identity objects 266 partner (e.g /sys/class/typec/port0-partner/) and 271 What: /sys/class/typec/<port>-{partner|cable}/identity/ [all …]
|
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/drivers/net/dsa/xrs700x/ |
A D | xrs700x.c | 558 struct dsa_port *partner = NULL, *dp; in xrs700x_hsr_join() local 582 partner = dp; in xrs700x_hsr_join() 590 if (!partner) in xrs700x_hsr_join() 607 val &= ~BIT(partner->index); in xrs700x_hsr_join() 633 XRS_ETH_ADDR_CFG(partner->index, 1), 1, 1); in xrs700x_hsr_join() 637 hsr_pair[1] = partner->index; in xrs700x_hsr_join() 649 struct dsa_port *partner = NULL, *dp; in xrs700x_hsr_leave() local 657 partner = dp; in xrs700x_hsr_leave() 662 if (!partner) in xrs700x_hsr_leave() 687 XRS_ETH_ADDR_CFG(partner->index, 1), 1, 0); in xrs700x_hsr_leave() [all …]
|
/linux/Documentation/driver-api/usb/ |
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 …]
|
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/. 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 90 If the partner is USB Power Delivery capable, and the port driver is able to [all …]
|
/linux/net/dsa/ |
A D | tag_xrs700x.c | 14 struct dsa_port *partner, *dp = dsa_slave_to_port(dev); in xrs700x_xmit() local 21 dsa_hsr_foreach_port(partner, dp->ds, dp->hsr_dev) in xrs700x_xmit() 22 if (partner != dp) in xrs700x_xmit() 23 trailer[0] |= BIT(partner->index); in xrs700x_xmit()
|
/linux/include/linux/usb/ |
A D | typec.h | 109 int typec_partner_set_identity(struct typec_partner *partner); 130 void typec_partner_set_pd_revision(struct typec_partner *partner, u16 pd_revision); 131 int typec_partner_set_num_altmodes(struct typec_partner *partner, int num_altmodes); 133 *typec_partner_register_altmode(struct typec_partner *partner, 272 void typec_unregister_partner(struct typec_partner *partner); 304 void typec_partner_set_svdm_version(struct typec_partner *partner,
|
/linux/Documentation/ABI/obsolete/ |
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/ |
A D | ucsi.c | 210 if (!con->partner) { in ucsi_poll_worker() 232 if (!con->partner) in ucsi_partner_task() 657 if (con->partner) in ucsi_register_partner() 676 if (IS_ERR(partner)) { in ucsi_register_partner() 679 PTR_ERR(partner)); in ucsi_register_partner() 683 con->partner = partner; in ucsi_register_partner() 690 if (!con->partner) in ucsi_unregister_partner() 695 con->partner = NULL; in ucsi_unregister_partner() 926 if (!con->partner) { in ucsi_dr_swap() 964 if (!con->partner) { in ucsi_pr_swap() [all …]
|
/linux/drivers/platform/chrome/ |
A D | cros_ec_typec.c | 46 struct typec_partner *partner; member 183 port->partner = typec_register_partner(port->port, &p_desc); in cros_typec_add_partner() 184 if (IS_ERR(port->partner)) { in cros_typec_add_partner() 185 ret = PTR_ERR(port->partner); in cros_typec_add_partner() 186 port->partner = NULL; in cros_typec_add_partner() 224 if (!port->partner) in cros_typec_remove_partner() 231 typec_unregister_partner(port->partner); in cros_typec_remove_partner() 232 port->partner = NULL; in cros_typec_remove_partner() 618 if (typec->ports[port_num]->partner) in cros_typec_set_port_params_v1() 820 if (!port->partner) { in cros_typec_handle_sop_disc() [all …]
|
/linux/drivers/net/bonding/ |
A D | bond_3ad.c | 483 struct port_params *partner = &port->partner_oper; in __record_pdu() local 489 partner->port_number = ntohs(lacpdu->actor_port); in __record_pdu() 491 partner->system = lacpdu->actor_system; in __record_pdu() 493 partner->key = ntohs(lacpdu->actor_key); in __record_pdu() 494 partner->port_state = lacpdu->actor_state; in __record_pdu() 504 partner->port_state |= LACP_STATE_SYNCHRONIZATION; in __record_pdu() 560 ntohs(lacpdu->actor_key) != partner->key || in __update_selected() 812 lacpdu->partner_system = partner->system; in __update_lacpdu_from_port() 813 lacpdu->partner_key = htons(partner->key); in __update_lacpdu_from_port() 815 lacpdu->partner_port = htons(partner->port_number); in __update_lacpdu_from_port() [all …]
|
/linux/drivers/usb/typec/tipd/ |
A D | core.c | 88 struct typec_partner *partner; member 236 if (tps->partner) in tps6598x_connect() 261 tps->partner = typec_register_partner(tps->port, &desc); in tps6598x_connect() 262 if (IS_ERR(tps->partner)) in tps6598x_connect() 263 return PTR_ERR(tps->partner); in tps6598x_connect() 266 typec_partner_set_identity(tps->partner); in tps6598x_connect() 275 if (!IS_ERR(tps->partner)) in tps6598x_disconnect() 276 typec_unregister_partner(tps->partner); in tps6598x_disconnect() 277 tps->partner = NULL; in tps6598x_disconnect()
|
/linux/drivers/net/ethernet/3com/ |
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/arch/sh/include/mach-ecovec24/mach/ |
A D | partner-jet-setup.txt | 2 LIST "partner-jet-setup.txt" 8 LIST "> < partner-jet-setup.txt"
|
/linux/arch/sh/include/mach-kfr2r09/mach/ |
A D | partner-jet-setup.txt | 2 LIST "partner-jet-setup.txt - 20090729 Magnus Damm" 7 LIST "> < partner-jet-setup.txt"
|
/linux/Documentation/powerpc/ |
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/arch/arm/boot/dts/ |
A D | s5pv210-smdkc110.dts | 7 * Mateusz Krawczuk <m.krawczuk@partner.samsung.com>
|
A D | s5pv210-torbreck.dts | 7 * Mateusz Krawczuk <m.krawczuk@partner.samsung.com>
|
/linux/Documentation/networking/device_drivers/ethernet/intel/ |
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
|
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/ |
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
|