Home
last modified time | relevance | path

Searched +full:combined +full:- +full:power +full:- +full:req (Results 1 – 25 of 37) sorted by relevance

12

/openbmc/u-boot/arch/arm/mach-bcm283x/include/mach/
H A Dmbox.h1 /* SPDX-License-Identifier: GPL-2.0+ */
18 * The mailbox hardware supports passing 32-bit values back and forth.
23 * example, the messages on the power management channel are a bitmask of
24 * devices whose power should be enabled.
26 * The property mailbox channel passes messages that contain the (16-byte
28 * the VC for processing, is modified in-place by the VC, and the address then
34 * combined together into a single message buffer. This file defines structs
57 /* Lower 4-bits are channel ID */
79 (_m_)->hdr.buf_size = sizeof(*(_m_)); \
80 (_m_)->hdr.code = 0; \
[all …]
/openbmc/linux/Documentation/devicetree/bindings/arm/tegra/
H A Dnvidia,tegra20-pmc.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/arm/tegra/nvidia,tegra20-pmc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Tegra Power Management Controller (PMC)
10 - Thierry Reding <thierry.reding@gmail.com>
11 - Jonathan Hunter <jonathanh@nvidia.com>
16 - nvidia,tegra20-pmc
17 - nvidia,tegra30-pmc
18 - nvidia,tegra114-pmc
[all …]
/openbmc/linux/Documentation/devicetree/bindings/net/
H A Dsnps,dwmac.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Alexandre Torgue <alexandre.torgue@foss.st.com>
11 - Giuseppe Cavallaro <peppe.cavallaro@st.com>
12 - Jose Abreu <joabreu@synopsys.com>
23 - snps,dwmac
24 - snps,dwmac-3.40a
25 - snps,dwmac-3.50a
26 - snps,dwmac-3.610
[all …]
/openbmc/linux/drivers/clk/bcm/
H A Dclk-kona.c1 // SPDX-License-Identifier: GPL-2.0-only
7 #include "clk-kona.h"
12 #include <linux/clk-provider.h>
17 * "Normal", and "Turbo".) A lower policy number has lower power
27 /* Produces a mask of set bits covering a range of a 32-bit value */
30 return ((1 << width) - 1) << shift; in bitfield_mask()
52 return (u64)reg_div + ((u64)1 << div->u.s.frac_width); in scaled_div_value()
62 u64 combined; in scaled_div_build() local
67 combined = (u64)div_value * BILLION + billionths; in scaled_div_build()
68 combined <<= div->u.s.frac_width; in scaled_div_build()
[all …]
/openbmc/linux/drivers/hid/
H A Dhid-ft260.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * hid-ft260.c - FTDI FT260 USB HID to I2C host bridge
11 #include "hid-ids.h"
32 #define FT260_I2C_DATA_REPORT_ID(len) (FT260_I2C_REPORT_MIN + (len - 1) / 4)
39 * reports. To achieve better performance with the multi-report read data
54 * second - USB HID to UART bridge function.
147 u8 chip_mode; /* DCNF0 and DCNF1 status, bits 0-1 */
148 u8 clock_ctl; /* 0 - 12MHz, 1 - 24MHz, 2 - 48MHz */
149 u8 suspend_status; /* 0 - not suspended, 1 - suspended */
150 u8 pwren_status; /* 0 - FT260 is not ready, 1 - ready */
[all …]
/openbmc/linux/drivers/nvme/host/
H A Dapple.c1 // SPDX-License-Identifier: GPL-2.0
7 * Copyright (c) 2011-2014, Intel Corporation.
9 * Copyright (c) 2015-2016 HGST, a Western Digital Company.
14 #include <linux/blk-mq.h>
16 #include <linux/dma-mapping.h>
19 #include <linux/io-64-nonatomic-l
159 struct nvme_request req; global() member
335 apple_nvme_iod_list(struct request * req) apple_nvme_iod_list() argument
342 apple_nvme_free_prps(struct apple_nvme * anv,struct request * req) apple_nvme_free_prps() argument
358 apple_nvme_unmap_data(struct apple_nvme * anv,struct request * req) apple_nvme_unmap_data() argument
394 apple_nvme_setup_prps(struct apple_nvme * anv,struct request * req,struct nvme_rw_command * cmnd) apple_nvme_setup_prps() argument
488 apple_nvme_setup_prp_simple(struct apple_nvme * anv,struct request * req,struct nvme_rw_command * cmnd,struct bio_vec * bv) apple_nvme_setup_prp_simple() argument
508 apple_nvme_map_data(struct apple_nvme * anv,struct request * req,struct nvme_command * cmnd) apple_nvme_map_data() argument
549 apple_nvme_unmap_rq(struct request * req) apple_nvme_unmap_rq() argument
558 apple_nvme_complete_rq(struct request * req) apple_nvme_complete_rq() argument
591 struct request *req; apple_nvme_handle_cqe() local
738 struct request *req = bd->rq; apple_nvme_queue_rq() local
783 apple_nvme_init_request(struct blk_mq_tag_set * set,struct request * req,unsigned int hctx_idx,unsigned int numa_node) apple_nvme_init_request() argument
876 apple_nvme_timeout(struct request * req) apple_nvme_timeout() argument
[all...]
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_devlink.c1 // SPDX-License-Identifier: GPL-2.0
13 static int ice_active_port_option = -1;
39 put_unaligned_be64(pci_get_dsn(pf->pdev), dsn); in ice_info_get_dsn()
41 snprintf(ctx->buf, sizeof(ctx->buf), "%8phD", dsn); in ice_info_get_dsn()
46 struct ice_hw *hw = &pf->hw; in ice_info_pba()
49 status = ice_read_pba_string(hw, (u8 *)ctx->buf, sizeof(ctx->buf)); in ice_info_pba()
58 struct ice_hw *hw = &pf->hw; in ice_info_fw_mgmt()
60 snprintf(ctx->buf, sizeof(ctx->buf), "%u.%u.%u", in ice_info_fw_mgmt()
61 hw->fw_maj_ver, hw->fw_min_ver, hw->fw_patch); in ice_info_fw_mgmt()
66 struct ice_hw *hw = &pf->hw; in ice_info_fw_api()
[all …]
/openbmc/linux/drivers/block/
H A Dvirtio_blk.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include <linux/blk-mq.h>
16 #include <linux/blk-mq-virtio.h>
59 * virtblk_remove() sets vblk->vdev to NULL.
61 * blk-mq, virtqueue processing, and sysfs attribute code paths are
62 * shut down before vblk->vdev is set to NULL and therefore do not need
77 /* Ida index - used to track minor number allocations. */
134 struct virtio_blk *vblk = hctx->queue->queuedata; in get_virtio_blk_vq()
135 struct virtio_blk_vq *vq = &vblk->vqs[hctx->queue_num]; in get_virtio_blk_vq()
145 sg_init_one(&out_hdr, &vbr->out_hdr, sizeof(vbr->out_hdr)); in virtblk_add_req()
[all …]
/openbmc/linux/Documentation/networking/
H A Dpacket_mmap.rst1 .. SPDX-License-Identifier: GPL-2.0
22 - Ulisses Alonso Camaró <uaca@i.hate.spam.alumni.uv.es>
23 - Johann Baudy
67 [setup] socket() -------> creation of the capture socket
68 setsockopt() ---> allocation of the circular buffer (ring)
70 mmap() ---------> mapping of the allocated buffer to the
73 [capture] poll() ---------> to wait for incoming packets
75 [shutdown] close() --------> destruction of the capture socket and
88 supported and a link level pseudo-header is provided
107 [setup] socket() -------> creation of the transmission socket
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_x550.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
17 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_get_invariants_X550_x()
18 struct ixgbe_phy_info *phy = &hw->phy; in ixgbe_get_invariants_X550_x()
19 struct ixgbe_link_info *link = &hw->link; in ixgbe_get_invariants_X550_x()
24 if (mac->ops.get_media_type(hw) != ixgbe_media_type_copper) in ixgbe_get_invariants_X550_x()
25 phy->ops.set_phy_power = NULL; in ixgbe_get_invariants_X550_x()
27 link->addr = IXGBE_CS4227; in ixgbe_get_invariants_X550_x()
34 struct ixgbe_phy_info *phy = &hw->phy; in ixgbe_get_invariants_X550_x_fw()
39 phy->ops.set_phy_power = NULL; in ixgbe_get_invariants_X550_x_fw()
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc.c1 // SPDX-License-Identifier: GPL-2.0
28 #define ALIGN_8B_CEIL(__a) (((__a) + 7) & (-8))
49 struct rvu_hwinfo *hw = rvu->hw; in is_npc_interface_valid()
51 return intf < hw->npc_intfs; in is_npc_interface_valid()
73 pf_func_mask = (entry_data->kw_mask[0] >> 32) & in npc_mcam_verify_pf_func()
75 pf_func = (entry_data->kw[0] >> 32) & NPC_KEX_PF_FUNC_MASK; in npc_mcam_verify_pf_func()
81 return -EINVAL; in npc_mcam_verify_pf_func()
102 struct npc_pkind *pkind = &rvu->hw->pkind; in rvu_npc_get_pkind()
106 for (i = 0; i < pkind->rsrc.max; i++) { in rvu_npc_get_pkind()
107 map = pkind->pfchan_map[i]; in rvu_npc_get_pkind()
[all …]
/openbmc/ipmitool/lib/
H A Dipmi_fru.c22 * PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED.
82 /* get_fru_area_str - Parse FRU area string from raw data
91 static const char bcd_plus[] = "0123456789 -.:,_"; in get_fru_area_str()
112 /* hex dump -> 2x length */ in get_fru_area_str()
115 case 2: /* 10b: 6-bit ASCII */ in get_fru_area_str()
116 /* 4 chars per group of 1-3 bytes */ in get_fru_area_str()
119 case 3: /* 11b: 8-bit ASCII */ in get_fru_area_str()
152 case 2: /* 6-bit ASCII */ in get_fru_area_str()
155 k = ((len-i) < 3 ? (len-i) : 3); in get_fru_area_str()
185 /* is_valid_filename - checks file/path supplied by user
[all …]
/openbmc/linux/drivers/usb/host/
H A Disp1362-hcd.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2005 Lothar Wassmann <LW@KARO-electronics.de>
21 * 2. Implement platform-specific delay function possibly
22 * combined with configuring the memory controller; see
99 #define DRIVER_VERSION "2005-04-04"
105 static const char hcd_name[] = "isp1362-hcd";
110 /*-------------------------------------------------------------------------*/
113 * When called from the interrupthandler only isp1362_hcd->irqenb is modified,
114 * since the interrupt handler will write isp1362_hcd->irqenb to HCuPINT upon
121 if ((isp1362_hcd->irqenb | mask) == isp1362_hcd->irqenb) in isp1362_enable_int()
[all …]
/openbmc/linux/tools/net/ynl/generated/
H A Dethtool-user.c1 // SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 /* Do not edit directly, auto-generated from: */
4 /* YNL-GEN user source */
5 /* YNL-ARG --user-header linux/ethtool_netlink.h --exclude-op stats-get */
9 #include "ethtool-user.h"
20 [ETHTOOL_MSG_STRSET_GET] = "strset-get",
21 [ETHTOOL_MSG_LINKINFO_GET] = "linkinfo-get",
22 [3] = "linkinfo-ntf",
23 [ETHTOOL_MSG_LINKMODES_GET] = "linkmodes-get",
24 [5] = "linkmodes-ntf",
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Ddebugfs.c1 // SPDX-License-Identifier: ISC
29 dev->ibf = !!val; in mt7915_implicit_txbf_set()
39 *val = dev->ibf; in mt7915_implicit_txbf_get()
52 struct mt7915_phy *phy = file->private_data; in mt7915_sys_recovery_set()
53 struct mt7915_dev *dev = phy->dev; in mt7915_sys_recovery_set()
54 bool band = phy->mt76->band_idx; in mt7915_sys_recovery_set()
60 return -EINVAL; in mt7915_sys_recovery_set()
63 return -EFAULT; in mt7915_sys_recovery_set()
65 if (count && buf[count - 1] == '\n') in mt7915_sys_recovery_set()
66 buf[count - 1] = '\0'; in mt7915_sys_recovery_set()
[all …]
/openbmc/linux/drivers/soc/tegra/
H A Dpmc.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.
12 #define pr_fmt(fmt) "tegra-pmc: " fmt
14 #include <linux/arm-smccc.h>
16 #include <linux/clk-provider.h>
18 #include <linux/clk/clk-conf.h>
37 #include <linux/pinctrl/pinconf-generic.h>
56 #include <dt-bindings/interrupt-controller/arm-gic.h>
57 #include <dt-bindings/pinctrl/pinctrl-tegra-io-pad.h>
58 #include <dt-bindings/gpio/tegra186-gpio.h>
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dmvm.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2012-2014, 2018-2023 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
23 #include "iwl-op-mode.h"
24 #include "iwl-trans.h"
25 #include "fw/notif-wait.h"
26 #include "iwl-eeprom-parse.h"
28 #include "iwl-config.h"
30 #include "fw-api.h"
[all …]
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c1 // SPDX-License-Identifier: GPL-2.0+
2 // Copyright (c) 2016-2017 Hisilicon Limited.
322 { OUTER_DST_MAC, 48, KEY_OPT_MAC, -1, -1 },
323 { OUTER_SRC_MAC, 48, KEY_OPT_MAC, -1, -1 },
324 { OUTER_VLAN_TAG_FST, 16, KEY_OPT_LE16, -1, -1 },
325 { OUTER_VLAN_TAG_SEC, 16, KEY_OPT_LE16, -1, -1 },
326 { OUTER_ETH_TYPE, 16, KEY_OPT_LE16, -1, -1 },
327 { OUTER_L2_RSV, 16, KEY_OPT_LE16, -1, -1 },
328 { OUTER_IP_TOS, 8, KEY_OPT_U8, -1, -1 },
329 { OUTER_IP_PROTO, 8, KEY_OPT_U8, -1, -1 },
[all …]
/openbmc/ipmitool/doc/
H A Dipmitool.13 ipmitool \- utility for controlling IPMI\-enabled devices
6 ipmitool [ <options> ] <command> [ <sub-commands and sub-options> ]
8 <options> := [ <general-options> | <conditional-opts> ]
13 <general-options> := [ -h | -V | -v | -I <interface> | -H <address> |
14 -d <N> | -p <port> | -c | -U <username> |
15 -L <privlvl> | -l <lun> | -m <local_address> |
16 -N <sec> | -R <count> | <password-option> |
17 <oem-option> | <bridge-options> ]
19 <conditional-opts> := [ <lan-options> | <lanplus-options> |
20 <command-options> ]
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dmac.c1 // SPDX-License-Identifier: ISC
3 * Copyright (c) 2005-2011 Atheros Communications Inc.
4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc.
5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
6 * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
25 #include "wmi-tlv.h"
26 #include "wmi-ops.h"
99 #define ath10k_a_rates_size (ARRAY_SIZE(ath10k_rates) - \
134 for (i = 0; i < sband->n_bitrates; i++) { in ath10k_mac_hw_rate_to_idx()
135 rate = &sband->bitrates[i]; in ath10k_mac_hw_rate_to_idx()
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/
H A Dcommands.h8 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved.
29 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
33 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved.
92 /* Multi-Station support */
112 /* Power Management */
138 /* RF-KILL commands and notifications */
184 * when sending the response to each driver-originated command, so
196 * 0:7 tfd idx - position within TX queue
199 * 14 huge - driver sets this to indicate command is in the
201 * 15 unsolicited RX or uCode-originated notification
[all …]
/openbmc/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * mac80211_hwsim - software simulator of 802.11 radio(s) for mac80211
6 * Copyright (c) 2016 - 2017 Intel Deutschland GmbH
7 * Copyright (C) 2018 - 2023 Intel Corporation
12 * - Add TSF sync and fix IBSS beacon transmission by adding
14 * - RX filtering based on filter configuration (data->rx_filter)
66 MODULE_PARM_DESC(support_p2p_device, "Support P2P-Device interface type");
73 * enum hwsim_regtest - the type of regulatory tests we offer
97 * this by using a custom beacon-capable regulatory domain for the first
112 * domain settings, combined with secondary driver regulatory domain
[all …]
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dsdma.c1 // SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause
3 * Copyright(c) 2015 - 2018 Intel Corporation.
22 /* must be a power of 2 >= 64 <= 32768 */
212 * sdma_state_name() - return state string from enum
222 kref_get(&ss->kref); in sdma_get()
230 complete(&ss->comp); in sdma_complete()
235 kref_put(&ss->kref, sdma_complete); in sdma_put()
241 wait_for_completion(&ss->comp); in sdma_finalput()
249 write_kctxt_csr(sde->dd, sde->this_idx, offset0, value); in write_sde_csr()
256 return read_kctxt_csr(sde->dd, sde->this_idx, offset0); in read_sde_csr()
[all …]
/openbmc/qemu/hw/usb/
H A Dredirect.c2 * USB redirector usb-guest
4 * Copyright (c) 2011-2012 Red Hat, Inc.
36 #include "qemu/error-report.h"
39 #include "chardev/char-fe.h"
44 #include "hw/qdev-properties.h"
45 #include "hw/qdev-properties-system.h"
47 #include "migration/qemu-file-types.h"
58 #define USBEP2I(usb_ep) (((usb_ep)->pid == USB_TOKEN_IN) ? \
59 ((usb_ep)->nr | 0x10) : ((usb_ep)->nr))
60 #define I2USBEP(d, i) (usb_ep_get(&(d)->dev, \
[all …]
/openbmc/linux/drivers/clk/
H A Dclk-stm32f4.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Inspired by clk-asm9260.c .
8 #include <linux/clk-provider.h>
25 #include <dt-bindings/clock/stm32fx-clock.h>
42 #define NONE -1
369 * have gate bits associated with them. Its combined hweight is 71.
403 * The APBx dividers are power-of-two dividers and, if *not* running in 1:1
420 if (readl(base + STM32F4_RCC_CFGR) & BIT(am->bit_idx)) in clk_apb_mul_recalc_rate()
432 if (readl(base + STM32F4_RCC_CFGR) & BIT(am->bit_idx)) in clk_apb_mul_round_rate()
472 return ERR_PTR(-ENOMEM); in clk_register_apb_mul()
[all …]

12