| /linux/drivers/usb/typec/ |
| H A D | mode_selection.c | 44 struct typec_partner *partner; member 96 device_for_each_child(&sel->partner->dev, &order, activate_altmode); in mode_selection_activate() 145 dev_dbg(&sel->partner->dev, "%x altmode is active\n", ms->svid); in mode_selection_work_fn() 154 dev_err(&sel->partner->dev, "%x: entry error %pe\n", in mode_selection_work_fn() 162 dev_err(&sel->partner->dev, "%x: activation error %pe\n", in mode_selection_work_fn() 176 void typec_altmode_state_update(struct typec_partner *partner, const u16 svid, in typec_altmode_state_update() argument 179 struct mode_selection *sel = partner->sel; in typec_altmode_state_update() 231 int typec_mode_selection_start(struct typec_partner *partner, in typec_mode_selection_start() argument 237 if (partner->usb_mode == USB_MODE_USB4) in typec_mode_selection_start() 240 if (partner->sel) in typec_mode_selection_start() [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() 280 dev_err(dev, "Failed to register partner: %ld\n", 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() [all...] |
| 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() 433 dev_err(dev, "register partner\n"); in anx7411_detect_cc_orientation() 573 ctx->typec.amode[i] = typec_partner_register_altmode(ctx->typec.partner, in anx7411_typec_register_altmode() [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()
|
| /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/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 | 308 if (!con->partner) { in ucsi_poll_worker() 333 if (!con->partner) in ucsi_partner_task() 383 typec_altmode_state_update(con->partner, svid, 0); in ucsi_altmode_update_active() 489 alt = typec_partner_register_altmode(con->partner, desc); in ucsi_register_altmode() 540 [UCSI_RECIPIENT_SOP] = "partner", in ucsi_dump_duplicate_altmode() 582 * - UCSI_RECIPIENT_SOP (partner): 583 * The typec class binds each partner altmode to a port altmode of the 585 * first port altmode with a matching SVID. If the partner advertises 587 * partner altmode(s) collapse onto an already-paired port altmode and 588 * trigger a "duplicate filename .../partner" sysf 1261 struct typec_partner *partner; ucsi_register_partner() local [all...] |
| H A D | cros_ec_ucsi.c | 149 typec_mode_selection_start(con->partner, in cros_ucsi_add_partner_altmodes() 157 typec_mode_selection_delete(con->partner); in cros_ucsi_remove_partner_altmodes()
|
| /linux/drivers/pci/ |
| H A D | ide.c | 305 .partner = { in pci_ide_stream_alloc() 344 ida_free(&pdev->ide_stream_ida, ide->partner[PCI_IDE_EP].stream_index); in pci_ide_stream_free() 345 ida_free(&rp->ide_stream_ida, ide->partner[PCI_IDE_RP].stream_index); in pci_ide_stream_free() 367 if (ide->partner[PCI_IDE_RP].enable) in pci_ide_stream_release() 370 if (ide->partner[PCI_IDE_EP].enable) in pci_ide_stream_release() 373 if (ide->partner[PCI_IDE_RP].setup) in pci_ide_stream_release() 376 if (ide->partner[PCI_IDE_EP].setup) in pci_ide_stream_release() 436 ep_stream = ide->partner[PCI_IDE_EP].stream_index; in pci_ide_stream_register() 437 rp_stream = ide->partner[PCI_IDE_RP].stream_index; in pci_ide_stream_register() 496 return &ide->partner[PCI_IDE_EP]; in pci_ide_to_settings() [all …]
|
| /linux/drivers/platform/chrome/ |
| H A D | cros_ec_typec.c | 31 * legitimately take seconds when the partner answers with Wait and the 306 port->partner = typec_register_partner(port->port, &p_desc); in cros_typec_add_partner() 307 if (IS_ERR(port->partner)) { in cros_typec_add_partner() 308 ret = PTR_ERR(port->partner); in cros_typec_add_partner() 309 port->partner = NULL; in cros_typec_add_partner() 363 if (!port->partner) in cros_typec_remove_partner() 368 typec_partner_set_usb_power_delivery(port->partner, NULL); in cros_typec_remove_partner() 379 typec_unregister_partner(port->partner); in cros_typec_remove_partner() 380 port->partner = NULL; in cros_typec_remove_partner() 606 * Spoof the VDOs that were likely communicated by the partner fo [all...] |
| H A D | cros_typec_altmode.c | 162 typec_partner_set_svdm_version(adata->port->partner, in cros_typec_displayport_vdm() 220 typec_partner_set_svdm_version(adata->port->partner, in cros_typec_thunderbolt_vdm()
|
| /linux/include/linux/usb/ |
| H A D | typec_altmode.h | 208 * These drivers will be bind to the partner alternate mode devices. They will 226 * These drivers will be bind to the partner alternate mode devices. They will 238 * These drivers will be bind to the partner alternate mode devices. They will 249 * @partner: Handle to the Type-C partner device 254 * supported by the connected Type-C partner. 257 int typec_mode_selection_start(struct typec_partner *partner, 263 * @partner: Handle to the Type-C partner device 274 void typec_altmode_state_update(struct typec_partner *partner, cons [all...] |
| /linux/drivers/net/bonding/ |
| H A D | bond_3ad.c | 164 * __agg_has_partner - see if we have a partner 167 * Return nonzero if aggregator has a partner (denoted by a non-zero ether 168 * address for the partner). Return 0 if not. 502 * newly received lacpdu. Parameter values for the partner carried in the 545 * the current partner operational parameter values and sets 551 struct port_params *partner = &port->partner_oper; in __record_pdu() local 554 /* record the new parameter values for the partner in __record_pdu() 557 partner->port_number = ntohs(lacpdu->actor_port); in __record_pdu() 558 partner->port_priority = ntohs(lacpdu->actor_port_priority); in __record_pdu() 559 partner in __record_pdu() 619 const struct port_params *partner = &port->partner_oper; __update_selected() local 891 const struct port_params *partner = &port->partner_oper; __update_lacpdu_from_port() local [all...] |
| /linux/drivers/usb/typec/tipd/ |
| H A D | core.c | 177 struct typec_partner *partner; 351 if (tps->partner) in tps6598x_connect() 376 tps->partner = typec_register_partner(tps->port, &desc); in tps6598x_connect() 377 if (IS_ERR(tps->partner)) in tps6598x_connect() 378 return PTR_ERR(tps->partner); in tps6598x_connect() 381 typec_partner_set_identity(tps->partner); in tps6598x_connect() 390 if (!IS_ERR(tps->partner)) in tps6598x_disconnect() 391 typec_unregister_partner(tps->partner); in tps6598x_disconnect() 392 tps->partner = NULL; in tps6598x_disconnect() 670 dev_err(tps->dev, "failed to register partner\ in tps6598x_handle_plug_event() 176 struct typec_partner *partner; global() member [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/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/include/linux/ |
| H A D | pci-ide.h | 92 struct pci_ide_partner partner[PCI_IDE_PARTNER_MAX]; 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/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/ABI/testing/ |
| H A D | sysfs-bus-pci-devices-aer | 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
|