| /linux/drivers/usb/typec/ |
| H A D | class.c | 64 struct typec_partner *partner = to_typec_partner(dev); in get_pd_identity() local 66 return partner->identity; in get_pd_identity() 249 struct altmode *partner; in typec_altmode_set_partner() local 256 /* Bind the port alt mode to the partner/plug alt mode. */ in typec_altmode_set_partner() 257 partner = to_altmode(to_typec_altmode(dev)); in typec_altmode_set_partner() 258 altmode->partner = partner; in typec_altmode_set_partner() 260 /* Bind the partner/plug alt mode to the port alt mode. */ in typec_altmode_set_partner() 264 partner->plug[plug->index] = altmode; in typec_altmode_set_partner() 266 partner->partner = altmode; in typec_altmode_set_partner() 272 struct altmode *partner = altmode->partner; in typec_altmode_put_partner() local [all …]
|
| 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->adev.ops->notify(&partner->adev, conf, data); in typec_altmode_notify() 122 * use this to inform the alternate mode drivers that the partner has initiated 128 struct altmode *partner = to_altmode(adev)->partner; in typec_altmode_enter() 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() 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()
|
| /linux/include/linux/ |
| H A D | pci-ide.h | 18 * In addition to the resources in each partner port the 28 * @rid_start: Partner Port Requester ID range start 29 * @rid_end: Partner Port Requester ID range end 31 * @mem_assoc: PCI bus memory address association for targeting peer partner 33 * targeting peer partner 37 * partner slot 38 * @enable: flag whether to run pci_ide_stream_disable() for this partner slot 81 * @partner: per-partner settings 83 * @stream_id: unique Stream ID (within Partner Port pairing) 93 struct pci_ide_partner partner[PCI_IDE_PARTNER_MAX]; 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/include/linux/usb/ |
| H A D | typec.h | 134 int typec_partner_set_identity(struct typec_partner *partner); 145 * Description of an Alternate Mode which a connector, cable plug or partner 157 void typec_partner_set_pd_revision(struct typec_partner *partner, u16 pd_revision); 158 int typec_partner_set_num_altmodes(struct typec_partner *partner, int num_altmodes); 160 *typec_partner_register_altmode(struct typec_partner *partner, 220 * struct typec_partner_desc - USB Type-C Partner Descriptor 229 * Details about a partner that is attached to USB Type-C port. If @identity 230 * member exists when partner is registered, a directory named "identity" is 231 * created to sysfs for the partner device. 235 * from the partner, or a "Request" message received from the partner, depending [all …]
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | hvcserver.c | 56 * @head: list_head pointer for an allocated list of partner info structs to 59 * This function is used to free the partner info list that was returned by 95 * hvcs_get_partner_info - Get all of the partner info for a vty-server adapter 97 * function is fetching partner info. 99 * list of partner info fetched from the hypervisor to the caller. 102 * of the partner info retrieval. 104 * This function returns non-zero on success, or if there is no partner info. 110 * The first long of this buffer is used to store a partner unit address. The 111 * second long is used to store a partner partition ID and starting at 168 " allocate partner info struct.\n"); in hvcs_get_partner_info() [all …]
|
| /linux/arch/powerpc/include/asm/ |
| H A D | hvcserver.h | 19 * hvcs_partner_info - an element in a list of partner info 21 * partner info. 22 * @unit_address: The partner unit address of this entry. 23 * @partition_ID: The partner partition ID of this entry. 27 * This structure outlines the format that partner info is presented to a caller 28 * of the hvcs partner info fetching functions. These are strung together into
|
| /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/tools/testing/selftests/drivers/net/hw/ |
| H A D | ethtool_extended_state.sh | 55 "Autoneg" "No partner detected") 58 log_test "Autoneg, No partner detected" 80 "Autoneg" "No partner detected during force mode") 84 "Autoneg" "No partner detected during force mode") 87 log_test "Autoneg, No partner detected during force mode"
|
| /linux/include/uapi/linux/ |
| H A D | mii.h | 21 #define MII_LPA 0x05 /* Link partner ability reg */ 95 /* Link partner ability register. */ 109 #define LPA_RFAULT 0x2000 /* Link partner faulted */ 110 #define LPA_LPACK 0x4000 /* Link partner acked us */ 120 #define EXPANSION_NPCAPABLE 0x0008 /* Link partner supports npage */ 149 #define LPA_SGMII_LINK 0x8000 /* PHY link with copper-side partner */ 161 #define LPA_1000LOCALRXOK 0x2000 /* Link partner local receiver status */ 162 #define LPA_1000REMRXOK 0x1000 /* Link partner remote receiver status */ 163 #define LPA_1000FULL 0x0800 /* Link partner 1000BASE-T full duplex */ 164 #define LPA_1000HALF 0x0400 /* Link partner 1000BASE-T half duplex */
|
| /linux/tools/testing/selftests/drivers/net/hw/lib/py/ |
| H A D | linkconfig.py | |
| /linux/net/dsa/ |
| H A D | tag_xrs700x.c | 16 struct dsa_port *partner, *dp = dsa_user_to_port(dev); xrs700x_xmit() local
|
| /linux/drivers/pci/ |
| H A D | ide.c | 308 .partner = { in pci_ide_stream_alloc() 347 ida_free(&pdev->ide_stream_ida, ide->partner[PCI_IDE_EP].stream_index); in pci_ide_stream_free() 348 ida_free(&rp->ide_stream_ida, ide->partner[PCI_IDE_RP].stream_index); in pci_ide_stream_free() 370 if (ide->partner[PCI_IDE_RP].enable) in pci_ide_stream_release() 373 if (ide->partner[PCI_IDE_EP].enable) in pci_ide_stream_release() 379 if (ide->partner[PCI_IDE_RP].setup) in pci_ide_stream_release() 382 if (ide->partner[PCI_IDE_EP].setup) in pci_ide_stream_release() 442 ep_stream = ide->partner[PCI_IDE_EP].stream_index; in pci_ide_stream_register() 443 rp_stream = ide->partner[PCI_IDE_RP].stream_index; in pci_ide_stream_register() 502 return &ide->partner[PCI_IDE_EP]; in pci_ide_to_settings() [all …]
|
| /linux/drivers/platform/chrome/ |
| H A D | cros_ec_typec.c | 268 port->partner = typec_register_partner(port->port, &p_desc); in cros_typec_add_partner() 269 if (IS_ERR(port->partner)) { in cros_typec_add_partner() 270 ret = PTR_ERR(port->partner); in cros_typec_add_partner() 271 port->partner = NULL; in cros_typec_add_partner() 325 if (!port->partner) in cros_typec_remove_partner() 330 typec_partner_set_usb_power_delivery(port->partner, NULL); in cros_typec_remove_partner() 341 typec_unregister_partner(port->partner); in cros_typec_remove_partner() 342 port->partner = NULL; in cros_typec_remove_partner() 567 * Spoof the VDOs that were likely communicated by the partner for TBT alt 624 /* Spoof the VDOs that were likely communicated by the partner. */ [all …]
|
| /linux/drivers/tty/hvc/ |
| H A D | hvcs.c | 36 * partner possibilities. 38 * Firmware does not provide notification of vty partner changes to this 39 * driver. This means that an HMC Super Admin may add or remove partner vtys 40 * from a vty-server's partner list but the changes will not be signaled to 44 * rescanning partner information upon a user's request. 133 * tty_device pointers when the number of vty-server & vty partner connections 143 * vty-server & vty partner connections. 202 /* Status of partner info rescan triggered via sysfs. */ 242 * partner info. 284 uint32_t p_unit_address; /* partner unit address */ [all …]
|
| /linux/drivers/net/phy/ |
| H A D | linkmode.c | 7 * @partner_adv: partner advertisement in ethtool format 15 * Local device Link partner 67 * Local device Link partner 75 * Local device Link partner
|
| /linux/drivers/usb/typec/ucsi/ |
| H A D | ucsi.c | 177 dev_warn(ucsi->dev, "Partner rejected swap\n"); in ucsi_read_error() 267 if (!con->partner) { in ucsi_poll_worker() 292 if (!con->partner) in ucsi_partner_task() 440 alt = typec_partner_register_altmode(con->partner, desc); in ucsi_register_altmode() 794 ret = typec_partner_set_identity(con->partner); in ucsi_get_partner_identity() 796 dev_err(con->ucsi->dev, "Failed to set partner identity (%d)\n", ret); in ucsi_get_partner_identity() 827 "con%d: failed to register partner alt modes (%d)\n", in ucsi_check_altmodes() 833 typec_partner_set_num_altmodes(con->partner, num_partner_am); in ucsi_check_altmodes() 837 typec_partner_set_num_altmodes(con->partner, 0); in ucsi_check_altmodes() 873 con->partner_pd = typec_partner_usb_power_delivery_register(con->partner, &desc); in ucsi_register_partner_pdos() [all …]
|
| /linux/drivers/net/ethernet/intel/igc/ |
| H A D | igc_mac.c | 115 * function. Assuming the adapter has a valid link partner, a valid link 398 * different link partner. in igc_check_for_copper_link() 442 * partner. 464 * and if so, how the PHY and link partner has flow control in igc_config_fc_after_link_up() 503 * for both the PHY and the link partner. The following in igc_config_fc_after_link_up() 509 * LOCAL DEVICE | LINK PARTNER in igc_config_fc_after_link_up() 527 * LOCAL DEVICE | LINK PARTNER in igc_config_fc_after_link_up() 552 * LOCAL DEVICE | LINK PARTNER in igc_config_fc_after_link_up() 566 * LOCAL DEVICE | LINK PARTNER in igc_config_fc_after_link_up() 582 * partner. So if we advertised no flow control, that is in igc_config_fc_after_link_up() [all …]
|
| /linux/drivers/usb/typec/tipd/ |
| H A D | core.c | 174 struct typec_partner *partner; member 348 if (tps->partner) in tps6598x_connect() 374 tps->partner = typec_register_partner(tps->port, &desc); in tps6598x_connect() 375 if (IS_ERR(tps->partner)) in tps6598x_connect() 376 return PTR_ERR(tps->partner); in tps6598x_connect() 379 typec_partner_set_identity(tps->partner); in tps6598x_connect() 388 if (!IS_ERR(tps->partner)) in tps6598x_disconnect() 389 typec_unregister_partner(tps->partner); in tps6598x_disconnect() 390 tps->partner = NULL; in tps6598x_disconnect() 640 dev_err(tps->dev, "failed to register partner\n"); in tps6598x_handle_plug_event() [all …]
|
| /linux/arch/sh/include/mach-kfr2r09/mach/ |
| H A D | romimage.h | 5 * converts the "partner-jet-script.txt" script into assembly 10 #include <mach/partner-jet-setup.txt>
|
| /linux/drivers/net/ethernet/intel/e1000e/ |
| H A D | mac.c | 450 * different link partner. in e1000e_check_for_copper_link() 482 /* If we don't have link (auto-negotiation failed or link partner in e1000e_check_for_fiber_link() 484 * and our link partner is not trying to auto-negotiate with us (we in e1000e_check_for_fiber_link() 516 * in an attempt to auto-negotiate with our link partner. in e1000e_check_for_fiber_link() 547 /* If we don't have link (auto-negotiation failed or link partner in e1000e_check_for_serdes_link() 548 * cannot auto-negotiate), and our link partner is not trying to in e1000e_check_for_serdes_link() 579 * in an attempt to auto-negotiate with our link partner. in e1000e_check_for_serdes_link() 675 * function. Assuming the adapter has a valid link partner, a valid link 699 * on the link partner's capabilities, we may or may not use this mode. in e1000e_setup_link_generic() 1010 * partner. [all …]
|
| /linux/arch/sh/include/mach-ecovec24/mach/ |
| H A D | romimage.h | 5 * converts the "partner-jet-script.txt" script into assembly 10 #include <mach/partner-jet-setup.txt>
|
| /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
|