/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | Cable_v1.xml | 4 <!--# Redfish Schema: Cable v1.2.3 --> 39 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Cable"> 43 <EntityType Name="Cable" BaseType="Resource.v1_0_0.Resource" Abstract="true"> 44 …tion" String="The `Cable` schema contains properties that describe a cable connecting endpoints of… 45 …<Annotation Term="OData.LongDescription" String="This resource contains a simple cable for a Redfi… 69 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Cable.v1_0_0"> 73 <EntityType Name="Cable" BaseType="Cable.Cable"> 76 <Annotation Term="OData.Description" String="The description of this cable."/> 77 ….LongDescription" String="This property shall contain a user-defined description for this cable."/> 81 <Annotation Term="OData.Description" String="The type of this cable."/> [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
H A D | Cable_v1.xml | 4 <!--# Redfish Schema: Cable v1.2.3 --> 39 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Cable"> 43 <EntityType Name="Cable" BaseType="Resource.v1_0_0.Resource" Abstract="true"> 44 …tion" String="The `Cable` schema contains properties that describe a cable connecting endpoints of… 45 …<Annotation Term="OData.LongDescription" String="This resource contains a simple cable for a Redfi… 69 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Cable.v1_0_0"> 73 <EntityType Name="Cable" BaseType="Cable.Cable"> 76 <Annotation Term="OData.Description" String="The description of this cable."/> 77 ….LongDescription" String="This property shall contain a user-defined description for this cable."/> 81 <Annotation Term="OData.Description" String="The type of this cable."/> [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | Cable.v1_2_3.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/Cable.v1_2_3.json", 3 "$ref": "#/definitions/Cable", 34 "Cable": { object 36 …escription": "The `Cable` schema contains properties that describe a cable connecting endpoints of… 37 … "longDescription": "This resource contains a simple cable for a Redfish implementation.", 72 "description": "The link to the assembly associated with this cable.", 77 "description": "The user-assigned asset tag for this cable.", 78 … "longDescription": "This property shall track the cable for inventory purposes.", 95 "longDescription": "The property shall contain the cable class for this cable.", 105 "description": "The type of this cable.", [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | Cable.v1_2_3.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/Cable.v1_2_3.json", 3 "$ref": "#/definitions/Cable", 34 "Cable": { object 36 …escription": "The `Cable` schema contains properties that describe a cable connecting endpoints of… 37 … "longDescription": "This resource contains a simple cable for a Redfish implementation.", 72 "description": "The link to the assembly associated with this cable.", 77 "description": "The user-assigned asset tag for this cable.", 78 … "longDescription": "This property shall track the cable for inventory purposes.", 95 "longDescription": "The property shall contain the cable class for this cable.", 105 "description": "The type of this cable.", [all …]
|
/openbmc/linux/sound/drivers/ |
H A D | aloop.c | 74 * call in cable->lock 78 * call in cable->lock 90 * call in cable->lock 92 unsigned int (*pos_update)(struct loopback_cable *cable); 141 struct loopback_cable *cable; member 206 /* call in cable->lock */ 227 /* call in cable->lock */ 230 struct loopback_cable *cable = dpcm->cable; in loopback_snd_timer_start() local 236 err = snd_timer_start(cable->snd_timer.instance, 1); in loopback_snd_timer_start() 240 * of the same cable in loopback_snd_timer_start() [all …]
|
/openbmc/pldm/host-bmc/dbus/ |
H A D | cable.hpp | 6 #include <xyz/openbmc_project/Inventory/Item/Cable/server.hpp> 16 sdbusplus::xyz::openbmc_project::Inventory::Item::server::Cable>; 19 * @class Cable 20 * @brief Dbus support for cable interface and attributes 22 class Cable : public ItemCable class 25 Cable() = delete; 26 ~Cable() = default; 27 Cable(const Cable&) = delete; 28 Cable& operator=(const Cable&) = delete; 30 Cable(sdbusplus::bus_t& bus, const std::string& objPath) : in Cable() function in pldm::dbus::Cable [all …]
|
H A D | cable.cpp | 1 #include "cable.hpp" 8 double Cable::length() const in length() 10 return sdbusplus::xyz::openbmc_project::Inventory::Item::server::Cable:: in length() 14 double Cable::length(double value) in length() 16 return sdbusplus::xyz::openbmc_project::Inventory::Item::server::Cable:: in length() 20 std::string Cable::cableTypeDescription() const in cableTypeDescription() 22 return sdbusplus::xyz::openbmc_project::Inventory::Item::server::Cable:: in cableTypeDescription() 26 std::string Cable::cableTypeDescription(std::string value) in cableTypeDescription() 28 return sdbusplus::xyz::openbmc_project::Inventory::Item::server::Cable:: in cableTypeDescription()
|
/openbmc/u-boot/board/freescale/lx2160a/ |
H A D | README | 89 |Connect Hydra Cable (HDR-198564-01-ECUE) to SD_SLOT1 (J108) 90 |Connect I/O cable to IO_SLOT1(J110) 92 |Connect Hydra Cable (HDR-198564-01-ECUE) to SD_SLOT2 (J111) 93 |Connect I/O cable to IO_SLOT2(J113) 96 |Connect Hydra Cable (HDR-198564-01-ECUE) to SD_SLOT1 (J108) 97 |Connect I/O cable to IO_SLOT1(J110) 99 |Connect Hydra Cable (HDR-198564-01-ECUE) to SD_SLOT2 (J111) 100 |Connect I/O cable to IO_SLOT2(J113) 103 |Connect Hydra Cable (HDR-198564-01-ECUE) to SD_SLOT1 (J108) 104 |Connect I/O cable to IO_SLOT1(J110) [all …]
|
/openbmc/linux/drivers/extcon/ |
H A D | extcon-max77693.c | 81 * Use delayed workqueue to detect cable state and then 82 * notify cable state to notifiee/platform through uevent. 84 * driver should notify cable state to upper layer. 248 * max77693_muic_set_path - Set hardware line according to attached cable 250 * @value: the path according to attached cable 251 * @attached: the state of cable (true:attached, false:detached) 255 * attached cable. 297 * max77693_muic_get_cable_type - Return cable type and check cable state 299 * @group: the path according to attached cable 300 * @attached: store cable state and return [all …]
|
H A D | extcon-max8997.c | 52 /* Define supported cable type */ 126 * Use delayed workqueue to detect cable state and then 127 * notify cable state to notifiee/platform through uevent. 129 * driver should notify cable state to upper layer. 188 * max8997_muic_set_path - Set hardware line according to attached cable 190 * @value: the path according to attached cable 191 * @attached: the state of cable (true:attached, false:detached) 195 * attached cable. 236 * max8997_muic_get_cable_type - Return cable type and check cable state 238 * @group: the path according to attached cable [all …]
|
H A D | extcon.c | 205 * @cable_index: the index of this cable in the edev 206 * @attr_g: the attribute group for the cable 270 /* Find the index of extcon cable in edev->supported_cable */ in find_cable_index_by_id() 323 struct extcon_cable *cable; in is_extcon_property_capability() local 331 cable = &edev->cables[index]; in is_extcon_property_capability() 335 ret = test_bit(prop - EXTCON_PROP_USB_MIN, cable->usb_bits); in is_extcon_property_capability() 338 ret = test_bit(prop - EXTCON_PROP_CHG_MIN, cable->chg_bits); in is_extcon_property_capability() 341 ret = test_bit(prop - EXTCON_PROP_JACK_MIN, cable->jack_bits); in is_extcon_property_capability() 344 ret = test_bit(prop - EXTCON_PROP_DISP_MIN, cable->disp_bits); in is_extcon_property_capability() 356 struct extcon_cable *cable = &edev->cables[index]; in init_property() local [all …]
|
H A D | extcon-max14577.c | 86 * Use delayed workqueue to detect cable state and then 87 * notify cable state to notifiee/platform through uevent. 89 * driver should notify cable state to upper layer. 186 * max14577_muic_set_path - Set hardware line according to attached cable 188 * @value: the path according to attached cable 189 * @attached: the state of cable (true:attached, false:detached) 193 * attached cable. 244 * max14577_muic_get_cable_type - Return cable type and check cable state 246 * @group: the path according to attached cable 247 * @attached: store cable state and return [all …]
|
/openbmc/openbmc/meta-facebook/meta-catalina/recipes-phosphor/gpio/phosphor-gpio-monitor/ |
H A D | phosphor-multi-gpio-presence.json | 78 "Inventory": "/system/chassis/compute_tray/cable/LeakCable0", 79 "ExtraInterfaces": ["xyz.openbmc_project.Inventory.Item.Cable"] 85 "Inventory": "/system/chassis/compute_tray/cable/LeakCable1", 86 "ExtraInterfaces": ["xyz.openbmc_project.Inventory.Item.Cable"] 92 "Inventory": "/system/chassis/compute_tray/cable/LeakCable2", 93 "ExtraInterfaces": ["xyz.openbmc_project.Inventory.Item.Cable"] 99 "Inventory": "/system/chassis/compute_tray/cable/LeakCable3", 100 "ExtraInterfaces": ["xyz.openbmc_project.Inventory.Item.Cable"] 106 "Inventory": "/system/chassis/compute_tray/cable/OSFPPowerCable", 107 "ExtraInterfaces": ["xyz.openbmc_project.Inventory.Item.Cable"] [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | charger-manager.yaml | 125 "^cable[@-][0-9]$": 128 cm-cable-name: 129 description: name of charger cable 145 cm-cable-extcon: 149 cm-cable-min: 150 description: minimum current of cable in uA 153 cm-cable-max: 154 description: maximum current of cable in uA 158 - cm-cable-name 159 - cm-cable-extcon [all …]
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | cable.hpp | 22 * @brief Fill cable specific properties. 25 * @param[in] properties List of Cable Properties key/value pairs. 60 // Cable length is NaN by default, do not throw an error in fillCableProperties() 75 * @brief Api to get Cable properties. 77 * @param[in] cableObjectPath Object path of the Cable. 79 * interface list for the given cable id. 86 BMCWEB_LOG_DEBUG("Get Properties for cable {}", cableObjectPath); in getCableProperties() 92 if (interface == "xyz.openbmc_project.Inventory.Item.Cable") in getCableProperties() 112 "get presence failed for Cable {} with error {}", in getCableProperties() 133 * The Cable schema [all …]
|
/openbmc/linux/drivers/usb/chipidea/ |
H A D | otg.c | 31 struct ci_hdrc_cable *cable; in hw_read_otgsc() local 38 cable = &ci->platdata->vbus_extcon; in hw_read_otgsc() 39 if (!IS_ERR(cable->edev) || ci->role_switch) { in hw_read_otgsc() 40 if (cable->changed) in hw_read_otgsc() 45 if (cable->connected) in hw_read_otgsc() 50 if (cable->enabled) in hw_read_otgsc() 56 cable = &ci->platdata->id_extcon; in hw_read_otgsc() 57 if (!IS_ERR(cable->edev) || ci->role_switch) { in hw_read_otgsc() 58 if (cable->changed) in hw_read_otgsc() 63 if (cable->connected) in hw_read_otgsc() [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Inventory/Item/ |
H A D | Cable.interface.yaml | 2 xyz.openbmc_project.Inventory.Item.Cable should be implemented on objects 3 that represent a cable instance or a system cable instance. 9 The length of the cable in meters. The default value of NaN 10 represents a cable of unknown length. 16 a cable, such as optical or copper. The cable type can be shown in 18 interrogation of a cable beyond ignoring the default value of the 23 Objects that implement Cable can optionally implement the 'connecting'
|
/openbmc/linux/Documentation/driver-api/usb/ |
H A D | typec.rst | 22 the roles and alternate modes of ports, partners and cable plugs when the port 39 The cable and the two plugs on it may also be optionally presented as their own 40 devices under /sys/class/typec/. The cable attached to the port "port0" port 41 will be named port0-cable and the plug on the SOP Prime end (see USB Power 43 Double Prime end "port0-plug1". The parent of a cable will always be the port, 44 and the parent of the cable plugs will always be the cable. 46 If the port, partner or cable plug supports Alternate Modes, every supported 102 After successful connection of a cable that supports USB Power Delivery 103 Structured VDM "Discover Identity", the port driver needs to register the cable 105 in the cable or not. So a cable capable of SOP Prime communication, but not SOP [all …]
|
/openbmc/docs/designs/ |
H A D | gpio-based-cable-presence.md | 1 ## GPIO-based Cable Presence Detection 9 The intent of this new daemon design is to report GPIO-based cable presence 23 1. The openbmc IPMI interface should support exposing cable presence states. 28 Inventory.Item.Cable will be introduced as a new dbus interface for querying 29 cable objects. We will also need to introduce a new dbus daemon to collect 64 When the cable is not properly seated, the daemon will assert on the 84 and cable1 become cable. Therefore, objects with the same name after removing 86 new SDR name is cable[0-1]. The SDR name implies that this SDR has the presence 90 if there are 20 cable indexed from 0 to 19, we shall see two SDRs. One is 91 cable0-13. One is cable[14-19]. If the object path is not indexed by the user, [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/State/ |
H A D | Cable.events.yaml | 10 description: The port where an expected cable is not connected. 12 description: An expected cable is not connected. 13 message: An expected cable on port {PortId} is not connected. 14 resolution: Check and fix cable connections. 23 description: The port where an expected cable is connected. 25 description: An expected cable is connected. 26 message: An expected cable on port {PortId} is connected.
|
/openbmc/linux/include/linux/power/ |
H A D | charger-manager.h | 43 * @name: the name of the cable connector 46 * charger cable. If charger cable is attached, enable charger. 47 * But if charger cable is detached, disable charger. 49 * (External Connector) when charger cable is attached/detached. 50 * @attached: the state of charger cable. 51 * true: the charger cable is attached 52 * false: the charger cable is detached 66 /* The state of charger cable */ 73 * according to a kind of charger cable when cable is attached. 91 * struct charger_cable if only charger cable included [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-typec | 115 What: /sys/class/typec/<port>-{partner|cable}/usb_power_delivery_revision 120 specification of the port partner or cable, or 0.0 when USB 223 USB Type-C cable devices (eg. /sys/class/typec/port0-cable/) 225 Note: Electronically Marked Cables will have a device also for one cable plug 226 (eg. /sys/class/typec/port0-plug0). If the cable is active and has also SOP 231 What: /sys/class/typec/<port>-cable/type 236 cable if it is known. If the product type of the cable is not 239 When the cable product type is detected, uvevent is also raised 240 with PRODUCT_TYPE showing the product type of the cable. 246 active Active Cable [all …]
|
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-gbs/gbs-detect-gpio-present/files/ |
H A D | detect-gpio-present.sh | 4 PRESENT_OBJPATH=("/xyz/openbmc_project/inventory/system/chassis/cable/ss_cab0_prsnt" 5 "/xyz/openbmc_project/inventory/system/chassis/cable/ss_cab1_prsnt" 6 "/xyz/openbmc_project/inventory/system/chassis/cable/ss_cab2_prsnt" 7 "/xyz/openbmc_project/inventory/system/chassis/cable/ss_cab3_prsnt" 8 "/xyz/openbmc_project/inventory/system/chassis/cable/hsbp_cab_prsnt" 9 "/xyz/openbmc_project/inventory/system/chassis/cable/fanbd_cab_prsnt" 10 "/xyz/openbmc_project/inventory/system/chassis/cable/bp12v_cab_prsnt" 41 echo "Update cable $((i+1)) state." 45 echo "Update cable $((i+1)) state."
|
/openbmc/linux/drivers/power/supply/ |
H A D | charger-manager.c | 448 * duration exceed 'discharging _max_duration_ms', charger cable is 909 * of charger cable 915 struct charger_cable *cable = in charger_extcon_work() local 919 if (cable->attached && cable->min_uA != 0 && cable->max_uA != 0) { in charger_extcon_work() 920 ret = regulator_set_current_limit(cable->charger->consumer, in charger_extcon_work() 921 cable->min_uA, cable->max_uA); in charger_extcon_work() 924 cable->charger->regulator_name, cable->name); in charger_extcon_work() 929 cable->charger->regulator_name, in charger_extcon_work() 930 cable->min_uA, cable->max_uA); in charger_extcon_work() 938 * charger_extcon_notifier - receive the state of charger cable [all …]
|
/openbmc/linux/include/linux/usb/ |
H A D | pd_vdo.h | 93 * [3] :: (Product | Cable) VDO 109 * <29:27> :: product type (UFP / Cable / VPD) 114 * <15:0> :: USB-IF assigned VID for this cable vendor 127 /* SOP' Product Type (Cable Plug / VPD) */ 157 * <31:0> : USB-IF assigned XID for this cable 258 * Cable VDO (for both Passive and Active Cable VDO in PD Rev2.0) 260 * <31:28> :: Cable HW version 261 * <27:24> :: Cable FW version 265 * <16:13> :: cable latency (0001 == <10ns(~1m length)) 266 * <12:11> :: cable termination type (11b == both ends active VCONN req) [all …]
|