| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/gpio/ |
| D | gpio_service.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 27 * Pre-requisites: headers required by header of this unit 43 * Post-requisites: headers required by this unit 63 if (!service) { in dal_gpio_service_create() 68 if (!dal_hw_translate_init(&service->translate, dce_version, in dal_gpio_service_create() 74 if (!dal_hw_factory_init(&service->factory, dce_version, in dal_gpio_service_create() 83 service->ctx = ctx; in dal_gpio_service_create() 87 service->factory.number_of_pins[index_of_id]; in dal_gpio_service_create() 90 if (number_of_bits) { in dal_gpio_service_create() 91 service->busyness[index_of_id] = in dal_gpio_service_create() [all …]
|
| D | gpio_base.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 27 * Pre-requisites: headers required by header of this unit 40 * Post-requisites: headers required by this unit 54 enum gpio_mode mode) in dal_gpio_open() argument 56 return dal_gpio_open_ex(gpio, mode); in dal_gpio_open() 61 enum gpio_mode mode) in dal_gpio_open_ex() argument 63 if (gpio->pin) { in dal_gpio_open_ex() 68 // No action if allocation failed during gpio construct in dal_gpio_open_ex() 69 if (!gpio->hw_container.ddc) { in dal_gpio_open_ex() 73 gpio->mode = mode; in dal_gpio_open_ex() [all …]
|
| D | hw_gpio.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 35 gpio->regs->field_name ## _shift, gpio->regs->field_name ## _mask 38 gpio->base.ctx 40 (gpio->regs->reg) 45 REG_GET(MASK_reg, MASK, &gpio->store.mask); in store_registers() 46 REG_GET(A_reg, A, &gpio->store.a); in store_registers() 47 REG_GET(EN_reg, EN, &gpio->store.en); in store_registers() 48 /* TODO store GPIO_MUX_CONTROL if we ever use it */ in store_registers() 54 REG_UPDATE(MASK_reg, MASK, gpio->store.mask); in restore_registers() 55 REG_UPDATE(A_reg, A, gpio->store.a); in restore_registers() [all …]
|
| D | hw_ddc.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 39 ddc->shifts->field_name, ddc->masks->field_name 42 ddc->base.base.ctx 44 (ddc->regs->reg) 51 dal_hw_gpio_destruct(&pin->base); in dal_hw_ddc_destruct() 77 hw_gpio = &ddc->base; in set_config() 79 if (hw_gpio == NULL) { in set_config() 89 switch (config_data->config.ddc.type) { in set_config() 91 /* On plug-in, there is a transient level on the pad in set_config() 92 * which must be discharged through the internal pull-down. in set_config() [all …]
|
| D | hw_hpd.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 38 hpd->shifts->field_name, hpd->masks->field_name 41 hpd->base.base.ctx 43 (hpd->regs->reg) 50 dal_hw_gpio_destruct(&pin->base); in dal_hw_hpd_destruct() 72 /* in Interrupt mode we ask for SENSE bit */ in get_value() 74 if (ptr->mode == GPIO_MODE_INTERRUPT) { in get_value() 94 if (!config_data) in set_config() 98 DC_HPD_CONNECT_INT_DELAY, config_data->config.hpd.delay_on_connect / 10, in set_config() 99 DC_HPD_DISCONNECT_INT_DELAY, config_data->config.hpd.delay_on_disconnect / 10); in set_config() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/gpio/ |
| D | gpio_service.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 27 * Pre-requisites: headers required by header of this unit 45 * Post-requisites: headers required by this unit 65 if (!service) { in dal_gpio_service_create() 70 if (!dal_hw_translate_init(&service->translate, dce_version, in dal_gpio_service_create() 76 if (!dal_hw_factory_init(&service->factory, dce_version, in dal_gpio_service_create() 85 service->ctx = ctx; in dal_gpio_service_create() 89 service->factory.number_of_pins[index_of_id]; in dal_gpio_service_create() 92 if (number_of_bits) { in dal_gpio_service_create() 93 service->busyness[index_of_id] = in dal_gpio_service_create() [all …]
|
| D | gpio_base.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 27 * Pre-requisites: headers required by header of this unit 42 * Post-requisites: headers required by this unit 56 enum gpio_mode mode) in dal_gpio_open() argument 58 return dal_gpio_open_ex(gpio, mode); in dal_gpio_open() 63 enum gpio_mode mode) in dal_gpio_open_ex() argument 65 if (gpio->pin) { in dal_gpio_open_ex() 70 // No action if allocation failed during gpio construct in dal_gpio_open_ex() 71 if (!gpio->hw_container.ddc) { in dal_gpio_open_ex() 75 gpio->mode = mode; in dal_gpio_open_ex() [all …]
|
| D | hw_gpio.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 35 gpio->regs->field_name ## _shift, gpio->regs->field_name ## _mask 38 gpio->base.ctx 40 (gpio->regs->reg) 45 REG_GET(MASK_reg, MASK, &gpio->store.mask); in store_registers() 46 REG_GET(A_reg, A, &gpio->store.a); in store_registers() 47 REG_GET(EN_reg, EN, &gpio->store.en); in store_registers() 48 /* TODO store GPIO_MUX_CONTROL if we ever use it */ in store_registers() 54 REG_UPDATE(MASK_reg, MASK, gpio->store.mask); in restore_registers() 55 REG_UPDATE(A_reg, A, gpio->store.a); in restore_registers() [all …]
|
| D | hw_ddc.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 42 ddc->shifts->field_name, ddc->masks->field_name 45 ddc->base.base.ctx 47 (ddc->regs->reg) 54 dal_hw_gpio_destruct(&pin->base); in dal_hw_ddc_destruct() 80 hw_gpio = &ddc->base; in set_config() 82 if (hw_gpio == NULL) { in set_config() 92 switch (config_data->config.ddc.type) { in set_config() 94 /* On plug-in, there is a transient level on the pad in set_config() 95 * which must be discharged through the internal pull-down. in set_config() [all …]
|
| D | hw_hpd.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 40 hpd->shifts->field_name, hpd->masks->field_name 43 hpd->base.base.ctx 45 (hpd->regs->reg) 52 dal_hw_gpio_destruct(&pin->base); in dal_hw_hpd_destruct() 74 /* in Interrupt mode we ask for SENSE bit */ in get_value() 76 if (ptr->mode == GPIO_MODE_INTERRUPT) { in get_value() 96 if (!config_data) in set_config() 100 DC_HPD_CONNECT_INT_DELAY, config_data->config.hpd.delay_on_connect / 10, in set_config() 101 DC_HPD_DISCONNECT_INT_DELAY, config_data->config.hpd.delay_on_disconnect / 10); in set_config() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/frequency/ |
| D | adi,adrf6780.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Antoniu Miclaus <antoniu.miclaus@analog.com> 16 https://www.analog.com/en/products/adrf6780.html 21 - adi,adrf6780 26 spi-max-frequency: 34 clock-names: 36 - const: lo_in 38 clock-output-names: [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7915/ |
| D | testmode.c | 1 // SPDX-License-Identifier: ISC 40 struct mt7915_dev *dev = phy->dev; in mt7915_tm_set_tx_power() 41 struct mt76_phy *mphy = phy->mt76; in mt7915_tm_set_tx_power() 42 struct cfg80211_chan_def *chandef = &mphy->chandef; in mt7915_tm_set_tx_power() 43 int freq = chandef->center_freq1; in mt7915_tm_set_tx_power() 54 .band_idx = phy->mt76->band_idx, in mt7915_tm_set_tx_power() 59 if (phy->mt76->test.state != MT76_TM_STATE_OFF) in mt7915_tm_set_tx_power() 60 tx_power = phy->mt76->test.tx_power; in mt7915_tm_set_tx_power() 63 if (tx_power && tx_power[0]) in mt7915_tm_set_tx_power() 66 ret = mt76_mcu_send_msg(&dev->mt76, in mt7915_tm_set_tx_power() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/ |
| D | hfi_cmds.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2016, The Linux Foundation. All rights reserved. 15 pkt->hdr.size = sizeof(*pkt); in pkt_sys_init() 16 pkt->hdr.pkt_type = HFI_CMD_SYS_INIT; in pkt_sys_init() 17 pkt->arch_type = arch_type; in pkt_sys_init() 22 pkt->hdr.size = sizeof(*pkt); in pkt_sys_pc_prep() 23 pkt->hdr.pkt_type = HFI_CMD_SYS_PC_PREP; in pkt_sys_pc_prep() 28 struct hfi_enable *hfi = (struct hfi_enable *)&pkt->data[1]; in pkt_sys_idle_indicator() 30 pkt->hdr.size = sizeof(*pkt) + sizeof(*hfi) + sizeof(u32); in pkt_sys_idle_indicator() 31 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_idle_indicator() [all …]
|
| /kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/ |
| D | hfi_cmds.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2016, The Linux Foundation. All rights reserved. 16 pkt->hdr.size = sizeof(*pkt); in pkt_sys_init() 17 pkt->hdr.pkt_type = HFI_CMD_SYS_INIT; in pkt_sys_init() 18 pkt->arch_type = arch_type; in pkt_sys_init() 23 pkt->hdr.size = sizeof(*pkt); in pkt_sys_pc_prep() 24 pkt->hdr.pkt_type = HFI_CMD_SYS_PC_PREP; in pkt_sys_pc_prep() 29 struct hfi_enable *hfi = (struct hfi_enable *)&pkt->data[1]; in pkt_sys_idle_indicator() 31 pkt->hdr.size = struct_size(pkt, data, 1) + sizeof(*hfi); in pkt_sys_idle_indicator() 32 pkt->hdr.pkt_type = HFI_CMD_SYS_SET_PROPERTY; in pkt_sys_idle_indicator() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/arm64/mte/ |
| D | mte_common_util.c | 1 // SPDX-License-Identifier: GPL-2.0 30 unsigned long addr = (unsigned long)si->si_addr; in mte_default_handler() 32 if (signum == SIGSEGV) { in mte_default_handler() 35 ((ucontext_t *)uc)->uc_mcontext.pc, addr, si->si_code); in mte_default_handler() 37 if (si->si_code == SEGV_MTEAERR) { in mte_default_handler() 38 if (cur_mte_cxt.trig_si_code == si->si_code) in mte_default_handler() 43 else if (si->si_code == SEGV_MTESERR) { in mte_default_handler() 44 if (cur_mte_cxt.trig_si_code == si->si_code && in mte_default_handler() 53 ((ucontext_t *)uc)->uc_mcontext.pc += 4; in mte_default_handler() 62 } else if (signum == SIGBUS) { in mte_default_handler() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/arm64/mte/ |
| D | mte_common_util.c | 1 // SPDX-License-Identifier: GPL-2.0 30 unsigned long addr = (unsigned long)si->si_addr; in mte_default_handler() 32 if (signum == SIGSEGV) { in mte_default_handler() 35 ((ucontext_t *)uc)->uc_mcontext.pc, addr, si->si_code); in mte_default_handler() 37 if (si->si_code == SEGV_MTEAERR) { in mte_default_handler() 38 if (cur_mte_cxt.trig_si_code == si->si_code) in mte_default_handler() 42 ((ucontext_t *)uc)->uc_mcontext.pc, in mte_default_handler() 47 else if (si->si_code == SEGV_MTESERR) { in mte_default_handler() 48 if (cur_mte_cxt.trig_si_code == si->si_code && in mte_default_handler() 57 ((ucontext_t *)uc)->uc_mcontext.pc += 4; in mte_default_handler() [all …]
|
| /kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/ |
| D | cvmx-helper-rgmii.c | 7 * Copyright (C) 2003-2018 Cavium, Inc. 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 20 * along with this file; if not, write to the Free Software 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 34 #include <asm/octeon/cvmx-config.h> 36 #include <asm/octeon/cvmx-pko.h> 37 #include <asm/octeon/cvmx-helper.h> 38 #include <asm/octeon/cvmx-helper-board.h> 40 #include <asm/octeon/cvmx-npi-defs.h> 41 #include <asm/octeon/cvmx-gmxx-defs.h> [all …]
|
| /kernel/linux/linux-6.6/arch/mips/cavium-octeon/executive/ |
| D | cvmx-helper-rgmii.c | 7 * Copyright (C) 2003-2018 Cavium, Inc. 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 20 * along with this file; if not, write to the Free Software 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 34 #include <asm/octeon/cvmx-config.h> 36 #include <asm/octeon/cvmx-pko.h> 37 #include <asm/octeon/cvmx-helper.h> 38 #include <asm/octeon/cvmx-helper-board.h> 40 #include <asm/octeon/cvmx-npi-defs.h> 41 #include <asm/octeon/cvmx-gmxx-defs.h> [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/timer/ |
| D | fsl,ftm-timer.txt | 5 - compatible : should be "fsl,ftm-timer" 6 - reg : Specifies base physical address and size of the register sets for the 8 - interrupts : Should be the clock event device interrupt. 9 - clocks : The clocks provided by the SoC to drive the timer, must contain an 10 entry for each entry in clock-names. 11 - clock-names : Must include the following entries: 12 o "ftm-evt" 13 o "ftm-src" 14 o "ftm-evt-counter-en" 15 o "ftm-src-counter-en" [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/timer/ |
| D | fsl,ftm-timer.txt | 5 - compatible : should be "fsl,ftm-timer" 6 - reg : Specifies base physical address and size of the register sets for the 8 - interrupts : Should be the clock event device interrupt. 9 - clocks : The clocks provided by the SoC to drive the timer, must contain an 10 entry for each entry in clock-names. 11 - clock-names : Must include the following entries: 12 o "ftm-evt" 13 o "ftm-src" 14 o "ftm-evt-counter-en" 15 o "ftm-src-counter-en" [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/ |
| D | hns_dsaf_main.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) 2014-2015 Hisilicon Limited. 69 #define HNS_DSAF_IS_DEBUG(dev) ((dev)->dsaf_mode == DSAF_MODE_DISABLE_SP) 93 ((DSAF_TOTAL_QUEUE_NUM + DSAF_SERVICE_NW_NUM - 1) / 32 + 1) 136 /* dsaf mode define */ 138 DSAF_MODE_INVALID = 0, /**< Invalid dsaf mode */ 139 DSAF_MODE_ENABLE_FIX, /**< en DSAF-mode, fixed to queue*/ 140 DSAF_MODE_ENABLE_0VM, /**< en DSAF-mode, support 0 VM */ 141 DSAF_MODE_ENABLE_8VM, /**< en DSAF-mode, support 8 VM */ 142 DSAF_MODE_ENABLE_16VM, /**< en DSAF-mode, support 16 VM */ [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns/ |
| D | hns_dsaf_main.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) 2014-2015 Hisilicon Limited. 69 #define HNS_DSAF_IS_DEBUG(dev) ((dev)->dsaf_mode == DSAF_MODE_DISABLE_SP) 93 ((DSAF_TOTAL_QUEUE_NUM + DSAF_SERVICE_NW_NUM - 1) / 32 + 1) 136 /* dsaf mode define */ 138 DSAF_MODE_INVALID = 0, /**< Invalid dsaf mode */ 139 DSAF_MODE_ENABLE_FIX, /**< en DSAF-mode, fixed to queue*/ 140 DSAF_MODE_ENABLE_0VM, /**< en DSAF-mode, support 0 VM */ 141 DSAF_MODE_ENABLE_8VM, /**< en DSAF-mode, support 8 VM */ 142 DSAF_MODE_ENABLE_16VM, /**< en DSAF-mode, support 16 VM */ [all …]
|
| /kernel/linux/linux-5.10/net/netfilter/ipvs/ |
| D | ip_vs_lblc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * IPVS: Locality-Based Least-Connection scheduling module 9 * *lock(tbl->lock) ==> *lock(&tbl->lock) 10 * Wensong Zhang : fixed the uninitialized tbl->lock bug 22 * if cachenode[dest_ip] is null then 23 * n, cachenode[dest_ip] <- {weighted least-conn node}; 25 * n <- cachenode[dest_ip]; 26 * if (n is dead) OR 29 * n, cachenode[dest_ip] <- {weighted least-conn node}; 81 #define IP_VS_LBLC_TAB_MASK (IP_VS_LBLC_TAB_SIZE - 1) [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/ |
| D | dpu_hw_top.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. 16 * @en : enable/disable traffic shaper 17 * @rd_client : true if read client; false if write client 23 bool en; member 31 * struct split_pipe_cfg - pipe configuration for dual display panels 32 * @en : Enable/disable dual pipe configuration 33 * @mode : Panel interface mode 39 bool en; member 40 enum dpu_intf_mode mode; member [all …]
|
| /kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
| D | cxd2099.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2010-2013 Digital Devices GmbH 31 MODULE_PARM_DESC(buffermode, "Enable CXD2099AR buffer mode (default: disabled)"); 36 struct dvb_ca_en50221 en; member 46 int mode; member 66 if (ci->lastaddress != adr) in read_block() 67 status = regmap_write(ci->regmap, 0, adr); in read_block() 68 if (!status) { in read_block() 69 ci->lastaddress = adr; in read_block() 74 if (ci->cfg.max_i2c && len > ci->cfg.max_i2c) in read_block() [all …]
|