| /Linux-v6.1/tools/testing/selftests/net/mptcp/ |
| D | pm_netlink.sh | 2 # SPDX-License-Identifier: GPL-2.0 8 echo "Usage: $0 [ -h ]" 26 rndh=$(printf %x $sec)-$(mktemp -u XXXXXX) 27 ns1="ns1-$rndh" 33 rm -f $err 37 ip -Version > /dev/null 2>&1 38 if [ $? -ne 0 ];then 46 ip -net $ns1 link set lo up 47 ip netns exec $ns1 sysctl -q net.mptcp.enabled=1 57 printf "%-50s %s" "$msg" [all …]
|
| D | mptcp_join.sh | 2 # SPDX-License-Identifier: GPL-2.0 30 declare -A all_tests 31 declare -a only_tests_ids 32 declare -a only_tests_names 33 declare -A failed_tests 63 rndh=$(mktemp -u XXXXXX) 65 ns1="ns1-$rndh" 66 ns2="ns2-$rndh" 71 ip -net $netns link set lo up 72 ip netns exec $netns sysctl -q net.mptcp.enabled=1 [all …]
|
| /Linux-v6.1/scripts/kconfig/ |
| 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 …]
|
| /Linux-v6.1/drivers/counter/ |
| 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. 28 MODULE_PARM_DESC(base, "ACCES 104-QUAD-8 base addresses"); 33 MODULE_PARM_DESC(irq, "ACCES 104-QUAD-8 interrupt line numbers"); 38 * struct channel_reg - channel register structure 48 * struct quad8_reg - device register structure 54 * @index_input_levels: index signal logical input level 68 * struct quad8 - device private data structure 100 /* Borrow Toggle flip-flop */ [all …]
|
| D | microchip-tcb-capture.c | 1 // SPDX-License-Identifier: GPL-2.0-only 47 .id = 0, 51 .id = 1, 60 .signal = &mchp_tc_count_signals[0] 65 .signal = &mchp_tc_count_signals[1] 75 if (priv->qdec_mode) in mchp_tc_count_function_read() 90 regmap_read(priv->regmap, ATMEL_TC_BMR, &bmr); in mchp_tc_count_function_write() 91 regmap_read(priv->regmap, ATMEL_TC_REG(priv->channel[0], CMR), &cmr); in mchp_tc_count_function_write() 98 priv->qdec_mode = 0; in mchp_tc_count_function_write() 101 if (priv->tc_cfg->has_gclk) in mchp_tc_count_function_write() [all …]
|
| 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 …]
|
| D | counter-sysfs.c | 1 // SPDX-License-Identifier: GPL-2.0 20 #include "counter-sysfs.h" 28 * struct counter_attribute - Counter sysfs attribute 48 * struct counter_attribute_group - container for attribute group 62 [COUNTER_FUNCTION_PULSE_DIRECTION] = "pulse-direction", 90 [COUNTER_COUNT_MODE_NON_RECYCLE] = "non-recycle", 91 [COUNTER_COUNT_MODE_MODULO_N] = "modulo-n" 107 switch (a->scope) { in counter_comp_u8_show() 109 err = a->comp.device_u8_read(counter, &data); in counter_comp_u8_show() 112 err = a->comp.signal_u8_read(counter, a->parent, &data); in counter_comp_u8_show() [all …]
|
| D | stm32-timer-cnt.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <linux/mfd/stm32-timers.h> 52 regmap_read(priv->regmap, TIM_CNT, &cnt); in stm32_count_read() 64 regmap_read(priv->regmap, TIM_ARR, &ceiling); in stm32_count_write() 66 return -EINVAL; in stm32_count_write() 68 return regmap_write(priv->regmap, TIM_CNT, val); in stm32_count_write() 78 regmap_read(priv->regmap, TIM_SMCR, &smcr); in stm32_count_function_read() 94 return -EINVAL; in stm32_count_function_read() 119 return -EINVAL; in stm32_count_function_write() 123 regmap_read(priv->regmap, TIM_CR1, &cr1); in stm32_count_function_write() [all …]
|
| /Linux-v6.1/Documentation/devicetree/bindings/mailbox/ |
| 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 …]
|
| /Linux-v6.1/include/linux/ |
| 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 …]
|
| D | clk.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 * Copyright (C) 2011-2012 Linaro Ltd <mturquette@linaro.org> 24 * PRE_RATE_CHANGE - called immediately before the clk rate is changed, 35 * POST_RATE_CHANGE - called after the clk rate change has successfully 44 * struct clk_notifier - associate a clk with a notifier 61 * struct clk_notifier_data - rate data to pass to the notifier callback 66 * For a pre-notifier, old_rate is the clk's rate before this rate 68 * post-notifier, old_rate and new_rate are both set to the clk's 78 * struct clk_bulk_data - Data used for bulk clk operations. 80 * @id: clock consumer ID [all …]
|
| /Linux-v6.1/Documentation/driver-api/ |
| 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 …]
|
| /Linux-v6.1/drivers/gpu/drm/amd/display/dc/link/ |
| D | link_hwss_dio.c | 33 struct stream_encoder *stream_encoder = pipe_ctx->stream_res.stream_enc; in set_dio_throttled_vcp_size() 35 stream_encoder->funcs->set_throttled_vcp_size( in set_dio_throttled_vcp_size() 42 struct link_encoder *link_enc = link_enc_cfg_get_link_enc(pipe_ctx->stream->link); in setup_dio_stream_encoder() 43 struct stream_encoder *stream_enc = pipe_ctx->stream_res.stream_enc; in setup_dio_stream_encoder() 45 link_enc->funcs->connect_dig_be_to_fe(link_enc, in setup_dio_stream_encoder() 46 pipe_ctx->stream_res.stream_enc->id, true); in setup_dio_stream_encoder() 47 if (dc_is_dp_signal(pipe_ctx->stream->signal)) in setup_dio_stream_encoder() 48 dp_source_sequence_trace(pipe_ctx->stream->link, in setup_dio_stream_encoder() 50 if (stream_enc->funcs->enable_fifo) in setup_dio_stream_encoder() 51 stream_enc->funcs->enable_fifo(stream_enc); in setup_dio_stream_encoder() [all …]
|
| /Linux-v6.1/drivers/gpu/drm/amd/amdkfd/ |
| 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) 65 /* Only for signal events. */
|
| 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> 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() 98 int id; in allocate_event_notification_slot() local [all …]
|
| /Linux-v6.1/Documentation/firmware-guide/acpi/ |
| 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. GGL is a valid PNP ID of Google. 9 PNP ID can be used with the ACPI devices according to the guidelines. The following ACPI 12 .. flat-table:: Supported ACPI Objects 14 :header-rows: 1 16 * - Object 17 - Description 19 * - CHSW 20 - Chrome OS switch positions 22 * - HWID [all …]
|
| /Linux-v6.1/drivers/gpu/drm/amd/display/dc/core/ |
| D | dc_link.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 75 if (link->hpd_gpio) { in dc_link_destruct() 76 dal_gpio_destroy_irq(&link->hpd_gpio); in dc_link_destruct() 77 link->hpd_gpio = NULL; in dc_link_destruct() 80 if (link->ddc) in dc_link_destruct() 81 dal_ddc_service_destroy(&link->ddc); in dc_link_destruct() 83 if (link->panel_cntl) in dc_link_destruct() 84 link->panel_cntl->funcs->destroy(&link->panel_cntl); in dc_link_destruct() 86 if (link->link_enc) { in dc_link_destruct() 91 if (link->link_id.id != CONNECTOR_ID_VIRTUAL) { in dc_link_destruct() [all …]
|
| /Linux-v6.1/drivers/gpu/drm/amd/display/dc/dce/ |
| 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 …]
|
| /Linux-v6.1/Documentation/devicetree/bindings/mmc/ |
| D | arm,pl18x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mmc/arm,pl18x.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 11 - Ulf Hansson <ulf.hansson@linaro.org> 20 - $ref: /schemas/arm/primecell.yaml# 21 - $ref: mmc-controller.yaml# 29 - arm,pl180 30 - arm,pl181 [all …]
|
| /Linux-v6.1/include/uapi/linux/ |
| 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 …]
|
| /Linux-v6.1/drivers/gpu/drm/etnaviv/ |
| D | etnaviv_perfmon.c | 1 // SPDX-License-Identifier: GPL-2.0 20 const struct etnaviv_pm_signal *signal); 31 const struct etnaviv_pm_signal *signal; member 42 const struct etnaviv_pm_signal *signal) in perf_reg_read() argument 44 gpu_write(gpu, domain->profile_config, signal->data); in perf_reg_read() 46 return gpu_read(gpu, domain->profile_read); in perf_reg_read() 59 const struct etnaviv_pm_signal *signal) in pipe_perf_reg_read() argument 65 for (i = 0; i < gpu->identity.pixel_pipes; i++) { in pipe_perf_reg_read() 67 value += perf_reg_read(gpu, domain, signal); in pipe_perf_reg_read() 78 const struct etnaviv_pm_signal *signal) in pipe_reg_read() argument [all …]
|
| /Linux-v6.1/drivers/staging/media/atomisp/pci/ |
| D | input_system_ctrl_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 21 /* --------------------------------------------------*/ 23 /* --------------------------------------------------*/ 25 /* --------------------------------------------------*/ 30 // Register id's of MMIO slave accessible registers 69 …MAND_REG_RSTVAL 15 //0x0000_000F (to signal non-valid cmd/ack after reset/soft-r… 70 …MAND_REG_RSTVAL 15 //0x0000_000F (to signal non-valid cmd/ack after reset/soft-r… 71 …NOWLEDGE_REG_RSTVAL 15 //0x0000_000F (to signal non-valid cmd/ack after reset/soft-r… 72 …NOWLEDGE_REG_RSTVAL 15 //0x0000_000F (to signal non-valid cmd/ack after reset/soft-r… 107 /* --------------------------------------------------*/ [all …]
|
| /Linux-v6.1/drivers/parisc/ |
| D | iosapic_private.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 * Copyright (C) 2000,2003 Grant Grundler (grundler at parisc-linux.org) 7 * Copyright (C) 2002 Matthew Wilcox (willy at parisc-linux.org) 15 ** they pack nicely for 64-bit compilation. (ie sizeof(long) == 8) 21 ** ----------------------- 24 ** table per cell. N- and L-class consist of a single cell. 49 ** 01 = Edge-triggered 51 ** 11 = Level-triggered 57 ** irq identifies PCI interrupt signal where 66 /* Source Bus ID identifies the bus where interrupt signal comes from */ [all …]
|
| /Linux-v6.1/drivers/tty/ |
| D | tty_jobctrl.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/signal.h> 9 #include <linux/sched/signal.h> 18 return (sigismember(¤t->blocked, sig) || in is_ignored() 19 current->sighand->action[sig-1].sa.sa_handler == SIG_IGN); in is_ignored() 23 * __tty_check_change - check for POSIX terminal changes 25 * @sig: signal to send 28 * not in the foreground, send a SIGTTOU. If the signal is blocked or 39 if (current->signal->tty != tty) in __tty_check_change() 45 spin_lock_irqsave(&tty->ctrl.lock, flags); in __tty_check_change() [all …]
|
| /Linux-v6.1/tools/testing/selftests/timers/ |
| 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 (abs(diff - DELAY * USECS_PER_SEC) > USECS_PER_SEC / 2) { in check_diff() 71 return -1; in check_diff() 99 signal(SIGVTALRM, sig_handler); in check_itimer() 101 signal(SIGPROF, sig_handler); in check_itimer() 103 signal(SIGALRM, sig_handler); in check_itimer() 108 return -1; in check_itimer() [all …]
|