/Linux-v5.15/drivers/media/platform/sti/hva/ |
D | hva-debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include "hva-hw.h" 15 struct hva_streaminfo *stream = &ctx->streaminfo; in format_ctx() 16 struct hva_frameinfo *frame = &ctx->frameinfo; in format_ctx() 17 struct hva_controls *ctrls = &ctx->ctrls; in format_ctx() 18 struct hva_ctx_dbg *dbg = &ctx->dbg; in format_ctx() 21 seq_printf(s, "|-%s\n |\n", ctx->name); in format_ctx() 23 seq_printf(s, " |-[%sframe info]\n", in format_ctx() 24 ctx->flags & HVA_FLAG_FRAMEINFO ? "" : "default "); in format_ctx() 25 seq_printf(s, " | |- pixel format=%4.4s\n" in format_ctx() [all …]
|
D | hva-h264.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include "hva-hw.h" 15 /* video max size*/ 32 /* source buffer copy in YUV 420 MB-tiled format with size=16*256*3/2 */ 41 /* factor for bitrate and cpb buffer size max values if profile >= high */ 44 /* factor for bitrate and cpb buffer size max values if profile < high */ 200 * @brc_type: selects the bit-rate control algorithm 205 * @non_VCL_NALU_Size: size of non-VCL NALUs (SPS, PPS, filler), 208 * @bit_rate: target bitrate, for BRC 210 * @qp_max: max QP threshold [all …]
|
/Linux-v5.15/drivers/media/v4l2-core/ |
D | v4l2-ctrls-defs.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2010-2021 Hans Verkuil <hverkuil-cisco@xs4all.nl> 9 #include <media/v4l2-ctrls.h> 26 "MPEG-1/2 Layer I", in v4l2_ctrl_get_menu() 27 "MPEG-1/2 Layer II", in v4l2_ctrl_get_menu() 28 "MPEG-1/2 Layer III", in v4l2_ctrl_get_menu() 29 "MPEG-2/4 AAC", in v4l2_ctrl_get_menu() 30 "AC-3", in v4l2_ctrl_get_menu() 128 "16-bit CRC", in v4l2_ctrl_get_menu() 141 "MPEG-1", in v4l2_ctrl_get_menu() [all …]
|
/Linux-v5.15/drivers/net/wireless/broadcom/b43/ |
D | xmit.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 Copyright (C) 2005 Martin Langer <martin-langer@gmx.de> 38 b43_tx_legacy_rate_phy_ctl_ent(u8 bitrate) in b43_tx_legacy_rate_phy_ctl_ent() argument 45 if (e->bitrate == bitrate) in b43_tx_legacy_rate_phy_ctl_ent() 53 /* Extract the bitrate index out of a CCK PLCP header. */ 56 switch (plcp->raw[0]) { in b43_plcp_get_bitrate_idx_cck() 66 return -1; in b43_plcp_get_bitrate_idx_cck() 69 /* Extract the bitrate index out of an OFDM PLCP header. */ 75 switch (plcp->raw[0] & 0xF) { in b43_plcp_get_bitrate_idx_ofdm() 93 return -1; in b43_plcp_get_bitrate_idx_ofdm() [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/phy/ |
D | ti,tcan104x-can.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: "http://devicetree.org/schemas/phy/ti,tcan104x-can.yaml#" 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 10 - Aswath Govindraju <a-govindraju@ti.com> 14 pattern: "^can-phy" 18 - ti,tcan1042 19 - ti,tcan1043 21 '#phy-cells': 24 standby-gpios: [all …]
|
/Linux-v5.15/drivers/staging/vt6655/ |
D | channel.c | 1 // SPDX-License-Identifier: GPL-2.0+ 14 { .bitrate = 10, .hw_value = RATE_1M }, 15 { .bitrate = 20, .hw_value = RATE_2M }, 16 { .bitrate = 55, .hw_value = RATE_5M }, 17 { .bitrate = 110, .hw_value = RATE_11M }, 18 { .bitrate = 60, .hw_value = RATE_6M }, 19 { .bitrate = 90, .hw_value = RATE_9M }, 20 { .bitrate = 120, .hw_value = RATE_12M }, 21 { .bitrate = 180, .hw_value = RATE_18M }, 22 { .bitrate = 240, .hw_value = RATE_24M }, [all …]
|
/Linux-v5.15/drivers/media/usb/hdpvr/ |
D | hdpvr.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 14 #include <media/v4l2-device.h> 15 #include <media/v4l2-ctrls.h> 16 #include <media/i2c/ir-kbd-i2c.h> 29 #define UNSET (-1U) 50 u8 bitrate; /* in 100kbps */ member 70 /* v4l2-device unused */ 72 struct { /* video mode/bitrate control cluster */ 80 /* the max packet size of the bulk endpoint */ 117 /* For passing data to ir-kbd-i2c */ [all …]
|
/Linux-v5.15/drivers/net/can/dev/ |
D | dev.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (C) 2005 Marc Kleine-Budde, Pengutronix 4 * Copyright (C) 2008-2009 Wolfgang Grandegger <wg@grandegger.com> 14 #include <linux/can/can-ml.h> 32 if (new_state <= priv->state) in can_update_state_error_stats() 37 priv->can_stats.error_warning++; in can_update_state_error_stats() 40 priv->can_stats.error_passive++; in can_update_state_error_stats() 43 priv->can_stats.bus_off++; in can_update_state_error_stats() 105 enum can_state new_state = max(tx_state, rx_state); in can_change_state() 107 if (unlikely(new_state == priv->state)) { in can_change_state() [all …]
|
/Linux-v5.15/drivers/phy/ |
D | phy-can-transceiver.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * phy-can-transceiver.c - phy driver for CAN transceivers 5 * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com 31 if (can_transceiver_phy->standby_gpio) in can_transceiver_phy_power_on() 32 gpiod_set_value_cansleep(can_transceiver_phy->standby_gpio, 0); in can_transceiver_phy_power_on() 33 if (can_transceiver_phy->enable_gpio) in can_transceiver_phy_power_on() 34 gpiod_set_value_cansleep(can_transceiver_phy->enable_gpio, 1); in can_transceiver_phy_power_on() 44 if (can_transceiver_phy->standby_gpio) in can_transceiver_phy_power_off() 45 gpiod_set_value_cansleep(can_transceiver_phy->standby_gpio, 1); in can_transceiver_phy_power_off() 46 if (can_transceiver_phy->enable_gpio) in can_transceiver_phy_power_off() [all …]
|
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-eeprom-parse.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2005-2014, 2018-2020 Intel Corporation 9 #include "iwl-drv.h" 10 #include "iwl-modparams.h" 11 #include "iwl-eeprom-parse.h" 74 #define EEPROM_RF_CFG_TYPE_MSK(x) (x & 0x3) /* bits 0-1 */ 75 #define EEPROM_RF_CFG_STEP_MSK(x) ((x >> 2) & 0x3) /* bits 2-3 */ 76 #define EEPROM_RF_CFG_DASH_MSK(x) ((x >> 4) & 0x3) /* bits 4-5 */ 77 #define EEPROM_RF_CFG_PNUM_MSK(x) ((x >> 6) & 0x3) /* bits 6-7 */ 78 #define EEPROM_RF_CFG_TX_ANT_MSK(x) ((x >> 8) & 0xF) /* bits 8-11 */ [all …]
|
/Linux-v5.15/drivers/net/wireless/intersil/p54/ |
D | eeprom.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (c) 2007-2009, Christian Lamparter <chunkeey@web.de> 10 * - the islsm (softmac prism54) driver, which is: 11 * Copyright 2004-2006 Jean-Baptiste Note <jbnote@gmail.com>, et al. 12 * - stlc45xx driver 13 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies). 22 #include <linux/crc-ccitt.h> 30 { .bitrate = 10, .hw_value = 0, }, 31 { .bitrate = 20, .hw_value = 1, .flags = IEEE80211_RATE_SHORT_PREAMBLE }, 32 { .bitrate = 55, .hw_value = 2, .flags = IEEE80211_RATE_SHORT_PREAMBLE }, [all …]
|
/Linux-v5.15/include/sound/ |
D | hda_verbs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * HD-audio codec verbs 59 /* f10-f1a: GPIO */ 162 #define AC_WCAP_IN_AMP (1<<1) /* AMP-in present */ 163 #define AC_WCAP_OUT_AMP (1<<2) /* AMP-out present */ 164 #define AC_WCAP_AMP_OVRD (1<<3) /* AMP-parameter override */ 264 * in HD-audio specification 275 #define AC_PINCAP_VREF_HIZ (1<<0) /* Hi-Z */ 286 #define AC_AMPCAP_STEP_SIZE (0x7f<<16) /* step size 0-32dB 293 /* driver-specific amp-caps: using bits 24-30 */ [all …]
|
/Linux-v5.15/drivers/media/i2c/ |
D | saa6752hs.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 saa6752hs - i2c-driver for the saa6752hs by Philips 7 AC-3 support: 26 #include <media/v4l2-device.h> 27 #include <media/v4l2-ctrls.h> 28 #include <media/v4l2-common.h> 33 #define MPEG_PID_MAX ((1 << 14) - 1) 84 struct { /* video bitrate mode control cluster */ 113 /* ---------------------------------------------------------------------- */ 220 /* ---------------------------------------------------------------------- */ [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/freescale/ |
D | fsl-lx2160a-rdb.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 // Copyright 2018-2020 NXP 7 /dts-v1/; 9 #include "fsl-lx2160a.dtsi" 13 compatible = "fsl,lx2160a-rdb", "fsl,lx2160a"; 23 stdout-path = "serial0:115200n8"; 26 sb_3v3: regulator-sb3v3 { 27 compatible = "regulator-fixed"; 28 regulator-name = "MC34717-3.3VSB"; 29 regulator-min-microvolt = <3300000>; [all …]
|
D | fsl-ls1028a-rdb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 11 /dts-v1/; 12 #include "fsl-ls1028a.dtsi" 16 compatible = "fsl,ls1028a-rdb", "fsl,ls1028a"; 28 stdout-path = "serial0:115200n8"; 36 sys_mclk: clock-mclk { 37 compatible = "fixed-clock"; 38 #clock-cells = <0>; 39 clock-frequency = <25000000>; 42 reg_1p8v: regulator-1p8v { [all …]
|
/Linux-v5.15/drivers/net/wireless/intersil/orinoco/ |
D | hw.c | 26 /* This tables gives the actual meanings of the bitrate IDs returned 29 int bitrate; /* in 100s of kilobits */ member 52 if (nic_id->id < 0x8000) in determine_firmware_type() 54 else if (nic_id->id == 0x8000 && nic_id->major == 0) in determine_firmware_type() 60 /* Set priv->firmware type, determine firmware properties 64 * If non-NULL stores a firmware description in fw_name. 65 * If non-NULL stores a HW version in hw_ver 73 struct device *dev = priv->dev; in determine_fw_capabilities() 74 struct hermes *hw = &priv->hw; in determine_fw_capabilities() 101 priv->firmware_type = determine_firmware_type(&nic_id); in determine_fw_capabilities() [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/net/can/ |
D | can-transceiver.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/net/can/can-transceiver.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - Rob Herring <robh@kernel.org> 15 max-bitrate: 17 description: a positive non 0 value that determines the max speed that CAN/CAN-FD can run.
|
/Linux-v5.15/drivers/media/platform/qcom/venus/ |
D | venc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2016, The Linux Foundation. All rights reserved. 12 #include <media/v4l2-mem2mem.h> 13 #include <media/videobuf2-dma-contig.h> 14 #include <media/v4l2-ioctl.h> 15 #include <media/v4l2-event.h> 16 #include <media/v4l2-ctrls.h> 30 * - the MPLANE formats allow only one plane to be used 31 * - the downstream driver use MPLANE formats too 32 * - future firmware versions could add support for >1 planes [all …]
|
/Linux-v5.15/sound/spi/ |
D | at73c213.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Driver for AT73C213 16-bit stereo DAC connected to Atmel SSC 5 * Copyright (C) 2006-2007 Atmel Norway 14 #include <linux/dma-mapping.h> 27 #include <linux/atmel-ssc.h> 41 0x00, /* 00 - CTRL */ 42 0x05, /* 01 - LLIG */ 43 0x05, /* 02 - RLIG */ 44 0x08, /* 03 - LPMG */ 45 0x08, /* 04 - RPMG */ [all …]
|
/Linux-v5.15/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00dev.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com> 34 if (rt2x00dev->intf_sta_count) in rt2x00lib_get_bssidx() 36 return vif->addr[5] & (rt2x00dev->ops->max_ap_intf - 1); in rt2x00lib_get_bssidx() 51 if (test_bit(DEVICE_STATE_ENABLED_RADIO, &rt2x00dev->flags)) in rt2x00lib_enable_radio() 63 rt2x00dev->ops->lib->set_device_state(rt2x00dev, STATE_RADIO_ON); in rt2x00lib_enable_radio() 67 rt2x00dev->ops->lib->set_device_state(rt2x00dev, STATE_RADIO_IRQ_ON); in rt2x00lib_enable_radio() 72 set_bit(DEVICE_STATE_ENABLED_RADIO, &rt2x00dev->flags); in rt2x00lib_enable_radio() 90 if (!test_and_clear_bit(DEVICE_STATE_ENABLED_RADIO, &rt2x00dev->flags)) in rt2x00lib_disable_radio() 108 rt2x00dev->ops->lib->set_device_state(rt2x00dev, STATE_RADIO_OFF); in rt2x00lib_disable_radio() [all …]
|
/Linux-v5.15/drivers/media/platform/mtk-vcodec/ |
D | mtk_vcodec_drv.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 #include <media/v4l2-ctrls.h> 14 #include <media/v4l2-device.h> 15 #include <media/v4l2-ioctl.h> 16 #include <media/videobuf2-core.h> 20 #define MTK_VCODEC_DEC_NAME "mtk-vcodec-dec" 21 #define MTK_VCODEC_ENC_NAME "mtk-vcodec-enc" 29 * enum mtk_hw_reg_idx - MTK hw register base index 53 * enum mtk_instance_type - The type of an MTK Vcodec instance. 61 * enum mtk_instance_state - The state of an MTK Vcodec instance. [all …]
|
/Linux-v5.15/drivers/staging/ks7010/ |
D | ks_wlan_net.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2005-2008 KeyStream Corp. 38 #define MIN_KEY_SIZE 5 /* 40 bits RC4 - WEP */ 41 u8 key[16]; /* 40-bit and 104-bit keys */ 62 struct iw_statistics *wstats = &priv->wstats; in ks_wlan_update_phy_information() 64 netdev_dbg(priv->net_dev, "in_interrupt = %ld\n", in_interrupt()); in ks_wlan_update_phy_information() 66 if (priv->dev_state < DEVICE_STATE_READY) in ks_wlan_update_phy_information() 67 return -EBUSY; /* not finished initialize */ in ks_wlan_update_phy_information() 70 return -EPERM; in ks_wlan_update_phy_information() 73 wstats->status = priv->reg.operation_mode; /* Operation mode */ in ks_wlan_update_phy_information() [all …]
|
/Linux-v5.15/drivers/net/wireless/rsi/ |
D | rsi_91x_mac80211.c | 107 { .bitrate = STD_RATE_01 * 5, .hw_value = RSI_RATE_1 }, 108 { .bitrate = STD_RATE_02 * 5, .hw_value = RSI_RATE_2 }, 109 { .bitrate = STD_RATE_5_5 * 5, .hw_value = RSI_RATE_5_5 }, 110 { .bitrate = STD_RATE_11 * 5, .hw_value = RSI_RATE_11 }, 111 { .bitrate = STD_RATE_06 * 5, .hw_value = RSI_RATE_6 }, 112 { .bitrate = STD_RATE_09 * 5, .hw_value = RSI_RATE_9 }, 113 { .bitrate = STD_RATE_12 * 5, .hw_value = RSI_RATE_12 }, 114 { .bitrate = STD_RATE_18 * 5, .hw_value = RSI_RATE_18 }, 115 { .bitrate = STD_RATE_24 * 5, .hw_value = RSI_RATE_24 }, 116 { .bitrate = STD_RATE_36 * 5, .hw_value = RSI_RATE_36 }, [all …]
|
/Linux-v5.15/net/wireless/ |
D | util.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright 2007-2009 Johannes Berg <johannes@sipsolutions.net> 6 * Copyright 2013-2014 Intel Mobile Communications GmbH 8 * Copyright (C) 2018-2020 Intel Corporation 24 #include "rdev-ops.h" 29 u32 basic_rates, int bitrate) in ieee80211_get_response_rate() argument 31 struct ieee80211_rate *result = &sband->bitrates[0]; in ieee80211_get_response_rate() 34 for (i = 0; i < sband->n_bitrates; i++) { in ieee80211_get_response_rate() 37 if (sband->bitrates[i].bitrate > bitrate) in ieee80211_get_response_rate() 39 result = &sband->bitrates[i]; in ieee80211_get_response_rate() [all …]
|
/Linux-v5.15/drivers/net/wireless/ath/ath10k/ |
D | mac.c | 1 // 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. 24 #include "wmi-tlv.h" 25 #include "wmi-ops.h" 33 { .bitrate = 10, 35 { .bitrate = 20, 39 { .bitrate = 55, 43 { .bitrate = 110, [all …]
|