/openbmc/linux/tools/testing/selftests/net/mptcp/ |
H A D | pm_netlink.sh | 2 # SPDX-License-Identifier: GPL-2.0 10 echo "Usage: $0 [ -h ]" 28 rndh=$(printf %x $sec)-$(mktemp -u XXXXXX) 29 ns1="ns1-$rndh" 35 rm -f $err 41 ip -Version > /dev/null 2>&1 42 if [ $? -ne 0 ];then 50 ip -net $ns1 link set lo up 51 ip netns exec $ns1 sysctl -q net.mptcp.enabled=1 61 printf "%-50s" "$msg" [all …]
|
H A D | mptcp_join.sh | 2 # SPDX-License-Identifier: GPL-2.0 48 declare -A all_tests 49 declare -a only_tests_ids 50 declare -a only_tests_names 51 declare -A failed_tests 90 rndh=$(printf %x $sec)-$(mktemp -u XXXXXX) 92 ns1="ns1-$rndh" 93 ns2="ns2-$rndh" 98 ip -net $netns link set lo up 99 ip netns exec $netns sysctl -q net.mptcp.enabled=1 [all …]
|
/openbmc/linux/scripts/kconfig/ |
H A D | gconf.glade | 1 <?xml version="1.0" standalone="no"?> <!--*- mode: xml -*--> 3 <glade-interface> 5 <widget class="GtkWindow" id="window1"> 20 <signal name="destroy" handler="on_window1_destroy" object="window1"/> 21 …<signal name="size_request" handler="on_window1_size_request" object="vpaned1" last_modification_t… 22 …<signal name="delete_event" handler="on_window1_delete_event" object="window1" last_modification_t… 25 <widget class="GtkVBox" id="vbox1"> 31 <widget class="GtkMenuBar" id="menubar1"> 35 <widget class="GtkMenuItem" id="file1"> 41 <widget class="GtkMenu" id="file1_menu"> [all …]
|
/openbmc/u-boot/scripts/kconfig/ |
H A D | gconf.glade | 1 <?xml version="1.0" standalone="no"?> <!--*- mode: xml -*--> 3 <glade-interface> 5 <widget class="GtkWindow" id="window1"> 20 <signal name="destroy" handler="on_window1_destroy" object="window1"/> 21 …<signal name="size_request" handler="on_window1_size_request" object="vpaned1" last_modification_t… 22 …<signal name="delete_event" handler="on_window1_delete_event" object="window1" last_modification_t… 25 <widget class="GtkVBox" id="vbox1"> 31 <widget class="GtkMenuBar" id="menubar1"> 35 <widget class="GtkMenuItem" id="file1"> 41 <widget class="GtkMenu" id="file1_menu"> [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Chassis/ |
H A D | README.md | 5 Chassis Power Control service exposes D-Bus methods for chassis power operations 14 - simPress - To emulate physical power button press. 15 - simLongPress - To emulate physical power button long press. 19 - Released - Power button released signal. 20 - Pressed - Power button pressed signal. 21 - PressedLong - Power button long pressed signal. 23 ### ID Button Interface 25 ID button interface `xyz.openbmc_project.Chassis.Buttons.ID` provides following 30 - simPress - To emulate ID button press. 34 - Released - ID button released signal. [all …]
|
/openbmc/linux/drivers/counter/ |
H A D | 104-quad-8.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Counter driver for the ACCES 104-QUAD-8 6 * This driver supports the ACCES 104-QUAD-8 and ACCES 104-QUAD-4. 32 MODULE_PARM_DESC(base, "ACCES 104-QUAD-8 base addresses"); 37 MODULE_PARM_DESC(irq, "ACCES 104-QUAD-8 interrupt line numbers"); 50 * struct quad8 - device private data structure 103 /* Reset and Load Signal Decoders */ 113 * Reset and Load Signal Decoders 142 /* Non-recycle count */ 144 /* Modulo-N */ [all …]
|
H A D | rz-mtu3-cnt.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/mfd/rz-mtu3.h> 40 * 0: 16-bit, 1: 32-bit 66 * struct rz_mtu3_cnt - MTU3 counter private data 72 * @mtu_16bit_max: Cache for 16-bit counters 73 * @mtu_32bit_max: Cache for 32-bit counters 92 static inline size_t rz_mtu3_get_hw_ch(const size_t id) in rz_mtu3_get_hw_ch() argument 94 return (id == RZ_MTU3_32_BIT_CH) ? 0 : id; in rz_mtu3_get_hw_ch() 97 static inline struct rz_mtu3_channel *rz_mtu3_get_ch(struct counter_device *counter, int id) in rz_mtu3_get_ch() argument 100 const size_t ch_id = rz_mtu3_get_hw_ch(id); in rz_mtu3_get_ch() [all …]
|
H A D | microchip-tcb-capture.c | 1 // SPDX-License-Identifier: GPL-2.0-only 46 .id = 0, 50 .id = 1, 59 .signal = &mchp_tc_count_signals[0] 64 .signal = &mchp_tc_count_signals[1] 74 if (priv->qdec_mode) in mchp_tc_count_function_read() 89 regmap_read(priv->regmap, ATMEL_TC_BMR, &bmr); in mchp_tc_count_function_write() 90 regmap_read(priv->regmap, ATMEL_TC_REG(priv->channel[0], CMR), &cmr); in mchp_tc_count_function_write() 97 priv->qdec_mode = 0; in mchp_tc_count_function_write() 100 if (!priv->tc_cfg->has_gclk) in mchp_tc_count_function_write() [all …]
|
H A D | stm32-lptimer-cnt.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * STM32 Low-Power Timer Encoder and Counter driver 9 * Inspired by 104-quad-8 and stm32-timer-trigger drivers. 15 #include <linux/mfd/stm32-lptimer.h> 37 ret = regmap_read(priv->regmap, STM32_LPTIM_CR, &val); in stm32_lptim_is_enabled() 51 ret = regmap_write(priv->regmap, STM32_LPTIM_CR, val); in stm32_lptim_set_enable_state() 56 clk_disable(priv->clk); in stm32_lptim_set_enable_state() 57 priv->enabled = false; in stm32_lptim_set_enable_state() 62 ret = regmap_write(priv->regmap, STM32_LPTIM_ARR, priv->ceiling); in stm32_lptim_set_enable_state() 66 ret = regmap_write(priv->regmap, STM32_LPTIM_CMP, 0); in stm32_lptim_set_enable_state() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mailbox/ |
H A D | qcom-ipcc.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mailbox/qcom-ipcc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Technologies, Inc. Inter-Processor Communication Controller 10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 13 The Inter-Processor Communication Controller (IPCC) is a centralized hardware 14 to route interrupts across various subsystems. It involves a three-level 15 addressing scheme called protocol, client and signal. For example, consider an 18 a case, the client would be Modem (client-id is 2) and the signal would be [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/utils/ |
H A D | decorators.py | 4 # SPDX-License-Identifier: MIT 16 import signal 43 logfile = os.path.join(os.getcwd(),'results-'+caller+'.'+timestamp+'.log') 44 linkfile = os.path.join(os.getcwd(),'results-'+caller+'.log') 83 format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', 92 tcid = self.id() 94 if tcid == name.id(): 99 if tcid == name.id(): 104 if tcid == name.id(): 138 if hasattr(signal, 'alarm'): [all …]
|
/openbmc/u-boot/include/ |
H A D | reset.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 * A reset is a hardware signal indicating that a HW module (or IP block, or 13 * sometimes an entire off-CPU chip) reset all of its internal state to some 14 * known-good initial state. Drivers will often reset HW modules when they 23 * hardware it manages often has this capability. reset-uclass.h describes the 33 * struct reset_ctl - A handle to (allowing control of) a single reset signal. 39 * reset signal to operate upon. 41 * @dev: The device which implements the reset signal. 42 * @id: The reset signal ID within the provider. 43 * @data: An optional data field for scenarios where a single integer ID is not [all …]
|
/openbmc/linux/tools/testing/selftests/timers/ |
H A D | posix_timers.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <signal.h> 66 diff = end.tv_usec - start.tv_usec; in check_diff() 67 diff += (end.tv_sec - start.tv_sec) * USECS_PER_SEC; in check_diff() 69 if (llabs(diff - DELAY * USECS_PER_SEC) > USECS_PER_SEC / 2) { in check_diff() 71 return -1; in check_diff() 93 return -1; in check_itimer() 98 signal(SIGVTALRM, sig_handler); in check_itimer() 100 signal(SIGPROF, sig_handler); in check_itimer() 102 signal(SIGALRM, sig_handler); in check_itimer() [all …]
|
/openbmc/phosphor-buttons/inc/ |
H A D | button_handler.hpp | 45 * There are 3 buttons supported - Power, ID, and Reset. 47 * check for that button on D-Bus before listening for its signals. 62 * @param[in] bus - sdbusplus connection object 72 * @param[in] msg - sdbusplus message from signal 77 * @brief The handler for an ID button press 79 * Toggles the ID LED group 81 * @param[in] msg - sdbusplus message from signal 90 * @param[in] msg - sdbusplus message from signal 100 * @param[in] msg - sdbusplus message from signal 113 * @return std::string - the D-Bus service name if found, else [all …]
|
/openbmc/linux/include/linux/ |
H A D | counter.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 39 * struct counter_comp - Counter component node 41 * @name: device-specific component name 42 * @priv: component-relevant data 52 * @signal_u8_read: Signal u8 component read callback. The read value of the 53 * respective Signal u8 component should be passed back via 61 * @signal_u32_read: Signal u32 component read callback. The read value of 62 * the respective Signal u32 component should be passed 70 * @signal_u64_read: Signal u64 component read callback. The read value of 71 * the respective Signal u64 component should be passed [all …]
|
/openbmc/linux/kernel/time/ |
H A D | posix-timers.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * 2002-10-15 Posix Clocks & timers 7 * 2004-06-01 Fix CLOCK_REALTIME clock/timer TIMER_ABSTIME bug. 24 #include <linux/posix-clock.h> 25 #include <linux/posix-timers.h> 36 #include "posix-timers.h" 42 * constructed from current::signal and the timer ID and the timer is 43 * matched against current::signal and the timer ID when walking the hash 53 static const struct k_clock *clockid_to_kclock(const clockid_t id); 66 __cond_lock(&__timr->it_lock, __timr = __lock_timer(tid, flags)); \ [all …]
|
/openbmc/linux/Documentation/driver-api/ |
H A D | generic-counter.rst | 1 .. SPDX-License-Identifier: GPL-2.0 29 * Signal: 33 Association of a Signal, and evaluation trigger, with a Count. 38 SIGNAL section in Theory 39 ------ 40 A Signal represents a stream of data. This is the input data that is 42 signal output line of a rotary encoder. Not all counter devices provide 43 user access to the Signal data, so exposure is optional for drivers. 45 When the Signal data is available for user access, the Generic Counter 46 interface provides the following available signal values: [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Chassis/Buttons/ |
H A D | ID.interface.yaml | 2 ID button is the system identification button, that allows the server to be 3 located in a rack, and can be enabled remotely via WebUI; user can press ID 7 - name: simPress 9 Emulate ID button press. 11 - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand 12 - xyz.openbmc_project.Chassis.Common.Error.IOError 15 - name: Released 17 ID button released signal 18 - name: Pressed 20 ID button pressed signal
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/ |
H A D | link_detection.c | 65 static const uint8_t dp_hdmi_dongle_signature_str[] = "DP-HDMI ADAPTOR"; 104 switch (downstream.id) { in get_basic_signal_type() 106 switch (encoder.id) { in get_basic_signal_type() 118 switch (encoder.id) { in get_basic_signal_type() 148 switch (downstream.id) { in get_basic_signal_type() 170 if (link->is_dig_mapping_flexible) in link_detect_sink_signal_type() 171 enc_id = (struct graphics_object_id){.id = ENCODER_ID_UNKNOWN}; in link_detect_sink_signal_type() 173 enc_id = link->link_enc->id; in link_detect_sink_signal_type() 174 result = get_basic_signal_type(enc_id, link->link_id); in link_detect_sink_signal_type() 176 /* Use basic signal type for link without physical connector. */ in link_detect_sink_signal_type() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_events.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 3 * Copyright 2014-2022 Advanced Micro Devices, Inc. 36 * IDR supports non-negative integer IDs. Small IDs are used for 37 * signal events to match their signal slot. Use the upper half of the 38 * ID space for non-signal events. 45 * Since the event protocol may need to write the event ID into memory, this 46 * must not be a valid event ID. 47 * For the sake of easy memset-ing, this must be a byte pattern. 49 #define UNSIGNALED_EVENT_SLOT ((uint64_t)-1) 66 /* Only for signal events. */
|
H A D | kfd_events.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 3 * Copyright 2014-2022 Advanced Micro Devices, Inc. 27 #include <linux/sched/signal.h> 43 bool event_age_enabled; /* set to true when last_event_age is non-zero */ 47 * Each signal event needs a 64-bit signal slot where the signaler will write 51 * Individual signal events use their event_id as slot index. 61 return page->kernel_address; in page_slots() 82 page->kernel_address = backing_store; in allocate_signal_page() 83 page->need_to_free_pages = true; in allocate_signal_page() 84 pr_debug("Allocated new event signal page at %p, for process %p\n", in allocate_signal_page() [all …]
|
/openbmc/linux/Documentation/firmware-guide/acpi/ |
H A D | chromeos-acpi-device.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 The plug and play ID of a Chrome OS ACPI device is GGL0001 and the hardware ID is 11 .. flat-table:: Supported ACPI Objects 13 :header-rows: 1 15 * - Object 16 - Description 18 * - CHSW 19 - Chrome OS switch positions 21 * - HWID 22 - Chrome OS hardware ID [all …]
|
/openbmc/phosphor-state-manager/ |
H A D | host_state_manager.hpp | 10 #include <phosphor-logging/lg2.hpp> 52 * @param[in] bus - The Dbus bus object 53 * @param[in] objPath - The Dbus object path 54 * @param[in] id - The Host id 56 Host(sdbusplus::bus_t& bus, const char* objPath, size_t id) : in Host() argument 60 sdbusRule::type::signal() + sdbusRule::member("JobRemoved") + in Host() 66 sdbusRule::type::signal() + sdbusRule::member("JobNew") + 70 settings(bus, id), id(id) 75 // create map of target name base on host id 84 // Sets auto-reboot attempts to max-allowed [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | counter.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 30 * struct counter_component - Counter component identification 33 * @parent: parent ID (matching the ID suffix of the respective parent sysfs 35 * Documentation/ABI/testing/sysfs-bus-counter) 36 * @id: component ID (matching the ID provided by the respective *_component_id 41 * COUNTER_COUNT_SCOPE, parent equal to 2, and id equal to the value provided by 49 __u8 id; member 62 /* Index signal detected */ 71 * struct counter_watch - Counter component watch configuration 105 * struct counter_event - Counter event data [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_link_encoder.h | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 39 #define AUX_REG_LIST(id)\ argument 40 SRI(AUX_CONTROL, DP_AUX, id), \ 41 SRI(AUX_DPHY_RX_CONTROL0, DP_AUX, id), \ 42 SRI(AUX_DPHY_RX_CONTROL1, DP_AUX, id) 44 #define HPD_REG_LIST(id)\ argument 45 SRI(DC_HPD_CONTROL, HPD, id) 47 #define LE_COMMON_REG_LIST_BASE(id) \ argument 52 SRI(DIG_BE_CNTL, DIG, id), \ 53 SRI(DIG_BE_EN_CNTL, DIG, id), \ [all …]
|