| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/net/can/ |
| D | can-transceiver.txt | 2 ------------------------------ 4 CAN transceiver typically limits the max speed in standard CAN and CAN FD 7 the "can-transceiver" node can be used. 10 max-bitrate: a positive non 0 value that determines the max 11 speed that CAN/CAN-FD can run. Any other value 20 can-transceiver { 21 max-bitrate = <5000000>;
|
| /kernel/linux/linux-4.19/include/uapi/linux/ |
| D | isdnif.h | 1 /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ 5 * Definition of the interface between the subsystem and its low-level drivers. 20 * Values for general protocol-selection 23 #define ISDN_PTYPE_1TR6 1 /* german 1TR6-protocol */ 24 #define ISDN_PTYPE_EURO 2 /* EDSS1-protocol */ 26 #define ISDN_PTYPE_NI1 4 /* US NI-1 protocol */ 27 #define ISDN_PTYPE_MAX 7 /* Max. 8 Protocols */ 30 * Values for Layer-2-protocol-selection 32 #define ISDN_PROTO_L2_X75I 0 /* X75/LAPB with I-Frames */ 33 #define ISDN_PROTO_L2_X75UI 1 /* X75/LAPB with UI-Frames */ [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/drivers/staging/vt6655/ |
| D | channel.c | 1 // SPDX-License-Identifier: GPL-2.0+ 16 { .bitrate = 10, .hw_value = RATE_1M }, 17 { .bitrate = 20, .hw_value = RATE_2M }, 18 { .bitrate = 55, .hw_value = RATE_5M }, 19 { .bitrate = 110, .hw_value = RATE_11M }, 20 { .bitrate = 60, .hw_value = RATE_6M }, 21 { .bitrate = 90, .hw_value = RATE_9M }, 22 { .bitrate = 120, .hw_value = RATE_12M }, 23 { .bitrate = 180, .hw_value = RATE_18M }, 24 { .bitrate = 240, .hw_value = RATE_24M }, [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/vt6655/ |
| D | channel.c | 1 // SPDX-License-Identifier: GPL-2.0+ 16 { .bitrate = 10, .hw_value = RATE_1M }, 17 { .bitrate = 20, .hw_value = RATE_2M }, 18 { .bitrate = 55, .hw_value = RATE_5M }, 19 { .bitrate = 110, .hw_value = RATE_11M }, 20 { .bitrate = 60, .hw_value = RATE_6M }, 21 { .bitrate = 90, .hw_value = RATE_9M }, 22 { .bitrate = 120, .hw_value = RATE_12M }, 23 { .bitrate = 180, .hw_value = RATE_18M }, 24 { .bitrate = 240, .hw_value = RATE_24M }, [all …]
|
| /kernel/linux/linux-4.19/drivers/net/wireless/broadcom/b43/ |
| D | xmit.c | 7 Copyright (C) 2005 Martin Langer <martin-langer@gmx.de> 26 Boston, MA 02110-1301, USA. 51 b43_tx_legacy_rate_phy_ctl_ent(u8 bitrate) in b43_tx_legacy_rate_phy_ctl_ent() argument 58 if (e->bitrate == bitrate) in b43_tx_legacy_rate_phy_ctl_ent() 66 /* Extract the bitrate index out of a CCK PLCP header. */ 69 switch (plcp->raw[0]) { in b43_plcp_get_bitrate_idx_cck() 79 return -1; in b43_plcp_get_bitrate_idx_cck() 82 /* Extract the bitrate index out of an OFDM PLCP header. */ 88 switch (plcp->raw[0] & 0xF) { in b43_plcp_get_bitrate_idx_ofdm() 106 return -1; in b43_plcp_get_bitrate_idx_ofdm() [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/drivers/media/usb/hdpvr/ |
| D | hdpvr.h | 18 #include <media/v4l2-device.h> 19 #include <media/v4l2-ctrls.h> 20 #include <media/i2c/ir-kbd-i2c.h> 33 #define UNSET (-1U) 54 u8 bitrate; /* in 100kbps */ member 74 /* v4l2-device unused */ 76 struct { /* video mode/bitrate control cluster */ 84 /* the max packet size of the bulk endpoint */ 121 /* For passing data to ir-kbd-i2c */ 198 * BITRATE SETTING [all …]
|
| /kernel/linux/linux-4.19/drivers/net/can/ |
| D | dev.c | 2 * Copyright (C) 2005 Marc Kleine-Budde, Pengutronix 4 * Copyright (C) 2008-2009 Wolfgang Grandegger <wg@grandegger.com> 51 static const u8 len2dlc[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, /* 0 - 8 */ 52 9, 9, 9, 9, /* 9 - 12 */ 53 10, 10, 10, 10, /* 13 - 16 */ 54 11, 11, 11, 11, /* 17 - 20 */ 55 12, 12, 12, 12, /* 21 - 24 */ 56 13, 13, 13, 13, 13, 13, 13, 13, /* 25 - 32 */ 57 14, 14, 14, 14, 14, 14, 14, 14, /* 33 - 40 */ 58 14, 14, 14, 14, 14, 14, 14, 14, /* 41 - 48 */ [all …]
|
| /kernel/linux/linux-5.10/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> 40 static const u8 len2dlc[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, /* 0 - 8 */ 41 9, 9, 9, 9, /* 9 - 12 */ 42 10, 10, 10, 10, /* 13 - 16 */ 43 11, 11, 11, 11, /* 17 - 20 */ 44 12, 12, 12, 12, /* 21 - 24 */ 45 13, 13, 13, 13, 13, 13, 13, 13, /* 25 - 32 */ [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/drivers/net/wireless/intersil/p54/ |
| D | eeprom.c | 5 * Copyright (c) 2007-2009, Christian Lamparter <chunkeey@web.de> 9 * - the islsm (softmac prism54) driver, which is: 10 * Copyright 2004-2006 Jean-Baptiste Note <jbnote@gmail.com>, et al. 11 * - stlc45xx driver 12 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies). 25 #include <linux/crc-ccitt.h> 33 { .bitrate = 10, .hw_value = 0, }, 34 { .bitrate = 20, .hw_value = 1, .flags = IEEE80211_RATE_SHORT_PREAMBLE }, 35 { .bitrate = 55, .hw_value = 2, .flags = IEEE80211_RATE_SHORT_PREAMBLE }, 36 { .bitrate = 110, .hw_value = 3, .flags = IEEE80211_RATE_SHORT_PREAMBLE }, [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/ |
| D | iwl-eeprom-parse.c | 8 * Copyright(c) 2008 - 2014 Intel Corporation. All rights reserved. 10 * Copyright(c) 2018 - 2019 Intel Corporation 26 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 30 * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved. 32 * Copyright(c) 2018 - 2019 Intel Corporation 64 #include "iwl-drv.h" 65 #include "iwl-modparams.h" 66 #include "iwl-eeprom-parse.h" 129 #define EEPROM_RF_CFG_TYPE_MSK(x) (x & 0x3) /* bits 0-1 */ 130 #define EEPROM_RF_CFG_STEP_MSK(x) ((x >> 2) & 0x3) /* bits 2-3 */ [all …]
|
| /kernel/linux/linux-4.19/drivers/net/wireless/intel/iwlwifi/ |
| D | iwl-eeprom-parse.c | 8 * Copyright(c) 2008 - 2014 Intel Corporation. All rights reserved. 29 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 33 * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved. 67 #include "iwl-drv.h" 68 #include "iwl-modparams.h" 69 #include "iwl-eeprom-parse.h" 132 #define EEPROM_RF_CFG_TYPE_MSK(x) (x & 0x3) /* bits 0-1 */ 133 #define EEPROM_RF_CFG_STEP_MSK(x) ((x >> 2) & 0x3) /* bits 2-3 */ 134 #define EEPROM_RF_CFG_DASH_MSK(x) ((x >> 4) & 0x3) /* bits 4-5 */ 135 #define EEPROM_RF_CFG_PNUM_MSK(x) ((x >> 6) & 0x3) /* bits 6-7 */ [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/include/sound/ |
| D | hda_verbs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * HD-audio codec verbs 59 /* f10-f1a: GPIO */ 160 #define AC_WCAP_IN_AMP (1<<1) /* AMP-in present */ 161 #define AC_WCAP_OUT_AMP (1<<2) /* AMP-out present */ 162 #define AC_WCAP_AMP_OVRD (1<<3) /* AMP-parameter override */ 262 * in HD-audio specification 273 #define AC_PINCAP_VREF_HIZ (1<<0) /* Hi-Z */ 284 #define AC_AMPCAP_STEP_SIZE (0x7f<<16) /* step size 0-32dB 291 /* driver-specific amp-caps: using bits 24-30 */ [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/drivers/media/i2c/ |
| D | saa6752hs.c | 2 saa6752hs - i2c-driver for the saa6752hs by Philips 6 AC-3 support: 38 #include <media/v4l2-device.h> 39 #include <media/v4l2-ctrls.h> 40 #include <media/v4l2-common.h> 45 #define MPEG_PID_MAX ((1 << 14) - 1) 96 struct { /* video bitrate mode control cluster */ 125 /* ---------------------------------------------------------------------- */ 232 /* ---------------------------------------------------------------------- */ 272 return -EINVAL; in saa6752hs_chip_command() [all …]
|
| /kernel/linux/linux-5.10/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-sg.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 …]
|
| /kernel/linux/linux-5.10/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.
|
| /kernel/linux/linux-5.10/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 …]
|