/openbmc/openbmc/meta-openpower/recipes-phosphor/host/ |
H A D | op-proc-control-systemd-links.bb | 4 LICENSE = "Apache-2.0" 5 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacd… 9 RDEPENDS:${PN} += "op-proc-control" 10 RDEPENDS:${PN} += "phosphor-state-manager-obmc-targets" 15 mkdir -p $D$systemd_system_unitdir/obmc-host-stop@0.target.wants 16 mkdir -p $D$systemd_system_unitdir/obmc-host-force-warm-reboot@0.target.requires 17 mkdir -p $D$systemd_system_unitdir/obmc-host-startmin@0.target.requires 18 mkdir -p $D$systemd_system_unitdir/obmc-host-startmin@0.target.wants 19 mkdir -p $D$systemd_system_unitdir/obmc-host-diagnostic-mode@0.target.requires 20 mkdir -p $D$systemd_system_unitdir/obmc-chassis-poweron@0.target.requires [all …]
|
/openbmc/linux/include/trace/events/ |
H A D | fsi.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 TP_PROTO(const struct fsi_master *master, int link, int id, 14 TP_ARGS(master, link, id, addr, size), 17 __field(int, link) 23 __entry->master_idx = master->idx; 24 __entry->link = link; 25 __entry->id = id; 26 __entry->addr = addr; 27 __entry->size = size; 29 TP_printk("fsi%d:%02d:%02d %08x[%zu]", [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/protocols/ |
H A D | link_dp_dpia_bw.c | 34 link->ctx->logger 38 // ------------------------------------------------------------------ 40 // ------------------------------------------------------------------ 43 * - Is it USB4 link? 44 * - Is HPD HIGH? 45 * - Is BW Allocation Support Mode enabled on DP-Tx? 49 return (tmp && DISPLAY_ENDPOINT_USB4_DPIA == tmp->ep_type in get_bw_alloc_proceed_flag() 50 && tmp->hpd_status in get_bw_alloc_proceed_flag() 51 && tmp->dpia_bw_alloc_config.bw_alloc_enabled); in get_bw_alloc_proceed_flag() 54 static void reset_bw_alloc_struct(struct dc_link *link) in reset_bw_alloc_struct() argument [all …]
|
H A D | link_dp_training_dpia.c | 44 link->ctx->logger 69 DPIA_TS_UFP_DONE = 0xff /* Done training DPTX-to-DPIA hop. */ 92 /* Configure link as prescribed in link_setting; set LTTPR mode; and 93 * Initialize link training settings. 94 * Abort link training if sink unplug detected. 96 * @param link DPIA link being trained. 97 * @param[in] link_setting Lane count, link rate and downspread control. 98 * @param[out] lt_settings Link settings and drive settings (voltage swing and pre-emphasis). 101 struct dc_link *link, in dpia_configure_link() argument 109 DC_LOG_HW_LINK_TRAINING("%s\n DPIA(%d) configuring\n - LTTPR mode(%d)\n", in dpia_configure_link() [all …]
|
H A D | link_dp_training.c | 27 * This file implements all generic dp link training helper functions and top 28 * level generic training sequence. All variations of dp link training sequence 31 * of link encoding and back end hardware. 40 #include "link/accessories/link_dp_trace.h" 44 #include "link/link_detection.h" 45 #include "link/link_validation.h" 52 link->ctx->logger 59 struct dc_link *link, in dp_log_training_result() argument 67 switch (lt_settings->link_settings.link_rate) { in dp_log_training_result() 134 lt_result = "Link loss"; in dp_log_training_result() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A D | hdcp_log.h | 38 "[Link %d] WARNING %s IN STATE %s STAY COUNT %d", \ 39 hdcp->config.index, \ 41 mod_hdcp_state_id_to_str(hdcp->state.id), \ 42 hdcp->state.stay_count) 45 "[Link %d] HDCP 1.4 enabled on display %d", \ 46 hdcp->config.index, displayIndex) 49 "[Link %d] HDCP 2.2 enabled on display %d", \ 50 hdcp->config.index, displayIndex) 53 "[Link %d] HDCP 1.4 disabled on display %d", \ 54 hdcp->config.index, displayIndex) [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/dp/ |
H A D | dp_link.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved. 6 #define pr_fmt(fmt) "[drm-dp] %s: " fmt, __func__ 50 struct dp_link_info *link) in dp_aux_link_power_up() argument 56 if (link->revision < 0x11) in dp_aux_link_power_up() 78 struct dp_link_info *link) in dp_aux_link_power_down() argument 83 if (link->revision < 0x11) in dp_aux_link_power_down() 100 static int dp_link_get_period(struct dp_link_private *link, int const addr) in dp_link_get_period() argument 107 if (drm_dp_dpcd_readb(link->aux, addr, &data) < 0) { in dp_link_get_period() 109 ret = -EINVAL; in dp_link_get_period() [all …]
|
H A D | dp_debug.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. 6 #define pr_fmt(fmt)"[drm-dp] %s: " fmt, __func__ 24 struct dp_link *link; member 35 struct dp_debug_private *debug = seq->private; in dp_debug_show() 41 return -ENODEV; in dp_debug_show() 43 drm_mode = &debug->panel->dp_mode.drm_mode; in dp_debug_show() 47 debug->panel->link_info.rate); in dp_debug_show() 49 debug->panel->link_info.num_lanes); in dp_debug_show() 51 debug->panel->link_info.capabilities); in dp_debug_show() [all …]
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/state/ |
H A D | phosphor-state-manager-systemd-links.inc | 2 multi-user.target.wants/obmc-host-reset@{}.target \ 3 multi-user.target.wants/phosphor-discover-system-state@{}.service \ 4 obmc-host-start@{}.target.requires/obmc-host-startmin@{}.target \ 5 obmc-host-start@{}.target.requires/phosphor-reset-host-reboot-attempts@{}.service \ 6 obmc-host-startmin@{}.target.wants/phosphor-set-host-transition-to-running@{}.service \ 7 obmc-host-stop@{}.target.wants/phosphor-set-host-transition-to-off@{}.service \ 8 obmc-host-reset@{}.target.requires/phosphor-reset-host-running@{}.service \ 9 obmc-host-stop@{}.target.wants/phosphor-reset-sensor-states@{}.service \ 10 obmc-host-shutdown@{}.target.requires/obmc-host-stop@{}.target \ 11 obmc-host-graceful-quiesce@{}.target.wants/obmc-host-quiesce@{}.target \ [all …]
|
/openbmc/openbmc/meta-openpower/recipes-phosphor/debug/ |
H A D | openpower-debug-collector-systemd-links.inc | 2 mkdir -p $D$systemd_system_unitdir/obmc-host-crash@0.target.wants 3 mkdir -p $D$systemd_system_unitdir/obmc-host-timeout@0.target.wants 5 # The obmc-host-crash target is repurposed for the memory preserving reboot 8 if [ "${@bb.utils.filter('DISTRO_FEATURES', 'mpreboot', d)}" != mpreboot ]; then 9 …LINK="$D$systemd_system_unitdir/obmc-host-crash@0.target.wants/openpower-debug-collector-checkstop… 10 TARGET="../openpower-debug-collector-checkstop@.service" 11 ln -s $TARGET $LINK 14 …LINK="$D$systemd_system_unitdir/obmc-host-timeout@0.target.wants/openpower-debug-collector-watchdo… 15 TARGET="../openpower-debug-collector-watchdog@.service" 16 ln -s $TARGET $LINK [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | link_pinning.c | 1 // SPDX-License-Identifier: GPL-2.0 16 struct bpf_link *link; in test_link_pinning_subtest() local 19 link = bpf_program__attach(prog); in test_link_pinning_subtest() 20 if (!ASSERT_OK_PTR(link, "link_attach")) in test_link_pinning_subtest() 23 bss->in = 1; in test_link_pinning_subtest() 25 CHECK(bss->out != 1, "res_check1", "exp %d, got %d\n", 1, bss->out); in test_link_pinning_subtest() 27 /* pin link */ in test_link_pinning_subtest() 28 err = bpf_link__pin(link, link_pin_path); in test_link_pinning_subtest() 29 if (CHECK(err, "link_pin", "err: %d\n", err)) in test_link_pinning_subtest() 32 CHECK(strcmp(link_pin_path, bpf_link__pin_path(link)), "pin_path1", in test_link_pinning_subtest() [all …]
|
H A D | bpf_tcp_ca.c | 1 // SPDX-License-Identifier: GPL-2.0 30 if (CHECK(err == -1, "setsockopt(fd, TCP_CONGESTION)", "errno:%d\n", in settcpca() 32 return -1; in settcpca() 44 while (fd == -1) { in server() 47 err = -errno; in server() 52 err = -errno; in server() 58 MIN(total_bytes - bytes, sizeof(batch)), 0); in server() 59 if (nr_sent == -1 && errno == EINTR) in server() 61 if (nr_sent == -1) { in server() 62 err = -errno; in server() [all …]
|
/openbmc/linux/drivers/mtd/maps/ |
H A D | pcmciamtd.c | 2 * pcmciamtd.c - MTD driver for PCMCIA flash memory cards 45 /* 2 = do 16-bit transfers, 1 = do 8-bit transfers */ 71 MODULE_PARM_DESC(force_size, "Force size of card in MiB (1-64)"); 85 struct pcmciamtd_dev *dev = (struct pcmciamtd_dev *)map->map_priv_1; in remap_window() 86 struct resource *win = (struct resource *) map->map_priv_2; in remap_window() 90 if (!pcmcia_dev_present(dev->p_dev)) { in remap_window() 95 offset = to & ~(dev->win_size-1); in remap_window() 96 if (offset != dev->offset) { in remap_window() 98 dev->offset, offset); in remap_window() 99 ret = pcmcia_map_mem_page(dev->p_dev, win, offset); in remap_window() [all …]
|
/openbmc/linux/drivers/gpu/drm/tegra/ |
H A D | dp.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright (C) 2013-2019 NVIDIA Corporation 17 caps->enhanced_framing = false; in drm_dp_link_caps_reset() 18 caps->tps3_supported = false; in drm_dp_link_caps_reset() 19 caps->fast_training = false; in drm_dp_link_caps_reset() 20 caps->channel_coding = false; in drm_dp_link_caps_reset() 21 caps->alternate_scrambler_reset = false; in drm_dp_link_caps_reset() 27 dest->enhanced_framing = src->enhanced_framing; in drm_dp_link_caps_copy() 28 dest->tps3_supported = src->tps3_supported; in drm_dp_link_caps_copy() 29 dest->fast_training = src->fast_training; in drm_dp_link_caps_copy() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/ |
H A D | link_factory.c | 27 * This file owns the creation/destruction of link structure. 55 /* link factory owns the creation/destruction of link structures. */ 59 link_srv->create_link = link_create; in construct_link_service_factory() 60 link_srv->destroy_link = link_destroy; in construct_link_service_factory() 63 /* link_detection manages link detection states and receiver states by using 64 * various link protocols. It also provides helper functions to interpret 70 link_srv->detect_link = link_detect; in construct_link_service_detection() 71 link_srv->detect_connection_type = link_detect_connection_type; in construct_link_service_detection() 72 link_srv->add_remote_sink = link_add_remote_sink; in construct_link_service_detection() 73 link_srv->remove_remote_sink = link_remove_remote_sink; in construct_link_service_detection() [all …]
|
H A D | link_dpms.c | 28 * with the link and link's enable/disable sequences as result of the stream's 31 * TODO - The reason link owns stream's dpms programming sequence is 33 * specific link protocols. This unfortunately causes link to own a portion of 35 * boundary between link and stream is not clearly defined. 80 for (i = 0; i < dc->link_count; i++) { in link_blank_all_dp_displays() 81 if ((dc->links[i]->connector_signal != SIGNAL_TYPE_DISPLAY_PORT) || in link_blank_all_dp_displays() 82 (dc->links[i]->priv == NULL) || (dc->links[i]->local_sink == NULL)) in link_blank_all_dp_displays() 86 dp_retrieve_lttpr_cap(dc->links[i]); in link_blank_all_dp_displays() 88 status = core_link_read_dpcd(dc->links[i], DP_SET_POWER, in link_blank_all_dp_displays() 92 link_blank_dp_stream(dc->links[i], true); in link_blank_all_dp_displays() [all …]
|
H A D | link_detection.c | 27 * This file manages link detection states and receiver states by using various 28 * link protocols. It also provides helper functions to interpret certain 65 static const uint8_t dp_hdmi_dongle_signature_str[] = "DP-HDMI ADAPTOR"; 164 static enum signal_type link_detect_sink_signal_type(struct dc_link *link, in link_detect_sink_signal_type() argument 170 if (link->is_dig_mapping_flexible) 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() 177 if (link->ep_type != DISPLAY_ENDPOINT_PHY) in link_detect_sink_signal_type() 192 /* PCIE detects the actual connector on add-on board */ in link_detect_sink_signal_type() [all …]
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/power/ |
H A D | phosphor-power-systemd-links-regulators.bb | 2 LICENSE = "Apache-2.0" 3 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacd… 8 RDEPENDS:${PN} += "phosphor-power-regulators" 11 …LINK="$D$systemd_system_unitdir/obmc-chassis-poweron@${i}.target.requires/phosphor-regulators-conf… 12 rm $LINK 14 …LINK="$D$systemd_system_unitdir/obmc-chassis-poweron@${i}.target.wants/phosphor-regulators-monitor… 15 rm $LINK 17 …LINK="$D$systemd_system_unitdir/obmc-chassis-poweroff@${i}.target.wants/phosphor-regulators-monito… 18 rm $LINK 21 mkdir -p $D$systemd_system_unitdir/obmc-chassis-poweron@0.target.requires [all …]
|
H A D | phosphor-power-systemd-links-sequencer.bb | 2 LICENSE = "Apache-2.0" 3 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacd… 8 RDEPENDS:${PN} += "phosphor-power-sequencer" 11 LINK="$D$systemd_system_unitdir/obmc-chassis-poweron@0.target.wants/pseq-monitor.service" 12 rm $LINK 13 … LINK="$D$systemd_system_unitdir/obmc-chassis-poweron@0.target.wants/pseq-monitor-pgood.service" 14 rm $LINK 17 mkdir -p $D$systemd_system_unitdir/obmc-chassis-poweron@0.target.wants 18 mkdir -p $D$systemd_system_unitdir/multi-user.target.requires 19 LINK="$D$systemd_system_unitdir/obmc-chassis-poweron@0.target.wants/pseq-monitor.service" [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/bonding/ |
H A D | bond_options.sh | 2 # SPDX-License-Identifier: GPL-2.0 20 ip -n ${s_ns} link set eth0 type bond_slave prio 10 21 [[ $? -ne 0 ]] && skip=0 24 ip -n ${s_ns} -d link show eth0 | grep -q "prio 10" 25 [[ $? -ne 0 ]] && skip=0 35 ip -n ${s_ns} link add bond1 type bond ns_ip6_target ${g_ip6} 36 [[ $? -ne 0 ]] && skip=0 39 ip -n ${s_ns} -d link show bond1 | grep -q "ns_ip6_target ${g_ip6}" 40 [[ $? -ne 0 ]] && skip=0 42 ip -n ${s_ns} link del bond1 [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/tests/fetch-testdata/apple/cups/ |
H A D | releases | 10 <meta charset="utf-8"> 11 <link rel="dns-prefetch" href="https://github.githubassets.com"> 12 <link rel="dns-prefetch" href="https://avatars0.githubusercontent.com"> 13 <link rel="dns-prefetch" href="https://avatars1.githubusercontent.com"> 14 <link rel="dns-prefetch" href="https://avatars2.githubusercontent.com"> 15 <link rel="dns-prefetch" href="https://avatars3.githubusercontent.com"> 16 <link rel="dns-prefetch" href="https://github-cloud.s3.amazonaws.com"> 17 <link rel="dns-prefetch" href="https://user-images.githubusercontent.com/"> 21 …link crossorigin="anonymous" media="all" integrity="sha512-7mtunHqp/Bw0ND9akjJME8XCh0WPm3HAXOSeX7s… 22 …link crossorigin="anonymous" media="all" integrity="sha512-CmoegizWCUR1jC94Y2eukVQIFxJ9GxYerz9q7dB… [all …]
|
/openbmc/linux/drivers/nfc/ |
H A D | nfcsim.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #define NFCSIM_ERR(d, fmt, args...) nfc_err(&d->nfc_digital_dev->nfc_dev->dev, \ argument 19 #define NFCSIM_DBG(d, fmt, args...) dev_dbg(&d->nfc_digital_dev->nfc_dev->dev, \ argument 67 struct nfcsim_link *link; in nfcsim_link_new() local 69 link = kzalloc(sizeof(struct nfcsim_link), GFP_KERNEL); in nfcsim_link_new() 70 if (!link) in nfcsim_link_new() 73 mutex_init(&link->lock); in nfcsim_link_new() 74 init_waitqueue_head(&link->recv_wait); in nfcsim_link_new() 76 return link; in nfcsim_link_new() 79 static void nfcsim_link_free(struct nfcsim_link *link) in nfcsim_link_free() argument [all …]
|
/openbmc/linux/drivers/acpi/ |
H A D | pci_link.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * pci_link.c - ACPI PCI Interrupt Link Device Driver ($Revision: 34 $) 10 * 1. Support more than one IRQ resource entry per link device (index). 12 * for IRQ management (e.g. start()->_SRS). 33 #define ACPI_PCI_LINK_DEVICE_NAME "PCI Interrupt Link" 52 * If a link is initialized, we never change its active and initialized 53 * later even the link is disable. Instead, we just repick the active irq 75 static int sci_irq = -1, sci_penalty; 77 /* -------------------------------------------------------------------------- 78 PCI Link Device Management [all …]
|
/openbmc/u-boot/arch/x86/lib/ |
H A D | pirq_routing.c | 1 // SPDX-License-Identifier: GPL-2.0+ 16 int i, link; in pirq_get_next_free_irq() local 32 for (link = 0; link < CONFIG_MAX_PIRQ_LINKS; link++) { in pirq_get_next_free_irq() 33 if (pirq_check_irq_routed(dev, link, irq)) { in pirq_get_next_free_irq() 64 debug("PIRQ Entry %d Dev: %d.%x.%d\n", i, in pirq_route_irqs() 65 irq->bus, irq->devfn >> 3, irq->devfn & 7); in pirq_route_irqs() 68 int link = irq->irq[intx].link; in pirq_route_irqs() local 69 int bitmap = irq->irq[intx].bitmap; in pirq_route_irqs() 72 debug("INT%c link: %x bitmap: %x ", in pirq_route_irqs() 73 'A' + intx, link, bitmap); in pirq_route_irqs() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_psr.c | 33 static bool link_supports_psrsu(struct dc_link *link) in link_supports_psrsu() argument 35 struct dc *dc = link->ctx->dc; in link_supports_psrsu() 37 if (!dc->caps.dmcub_support) in link_supports_psrsu() 40 if (dc->ctx->dce_version < DCN_VERSION_3_1) in link_supports_psrsu() 43 if (!is_psr_su_specific_panel(link)) in link_supports_psrsu() 46 if (!link->dpcd_caps.alpm_caps.bits.AUX_WAKE_ALPM_CAP || in link_supports_psrsu() 47 !link->dpcd_caps.psr_info.psr_dpcd_caps.bits.Y_COORDINATE_REQUIRED) in link_supports_psrsu() 50 if (link->dpcd_caps.psr_info.psr_dpcd_caps.bits.SU_GRANULARITY_REQUIRED && in link_supports_psrsu() 51 !link->dpcd_caps.psr_info.psr2_su_y_granularity_cap) in link_supports_psrsu() 54 /* Temporarily disable PSR-SU to avoid glitches */ in link_supports_psrsu() [all …]
|