Home
last modified time | relevance | path

Searched full:misc (Results 1 – 25 of 2677) sorted by relevance

12345678910>>...108

/kernel/linux/linux-6.6/drivers/char/
Dmisc.c3 * linux/drivers/char/misc.c
5 * Generic misc open routine by Johan Myreen
15 * of the misc drivers, as they are now completely independent. Linus.
24 * Renamed to misc and miscdevice to be more accurate. Alan Cox 26-Mar-96
80 /* specific minor, check if it is in dynamic or misc dynamic range */ in misc_minor_alloc()
197 .name = "misc",
209 * @misc: device structure
225 int misc_register(struct miscdevice *misc) in misc_register() argument
229 bool is_dynamic = (misc->minor == MISC_DYNAMIC_MINOR); in misc_register()
231 INIT_LIST_HEAD(&misc->list); in misc_register()
[all …]
/kernel/linux/linux-5.10/drivers/char/
Dmisc.c3 * linux/drivers/char/misc.c
5 * Generic misc open routine by Johan Myreen
15 * of the misc drivers, as they are now completely independent. Linus.
24 * Renamed to misc and miscdevice to be more accurate. Alan Cox 26-Mar-96
157 * @misc: device structure
173 int misc_register(struct miscdevice *misc) in misc_register() argument
177 bool is_dynamic = (misc->minor == MISC_DYNAMIC_MINOR); in misc_register()
179 INIT_LIST_HEAD(&misc->list); in misc_register()
190 misc->minor = DYNAMIC_MINORS - i - 1; in misc_register()
196 if (c->minor == misc->minor) { in misc_register()
[all …]
/kernel/linux/linux-6.6/drivers/misc/
Dsmpro-misc.c3 * Ampere Computing SoC's SMpro Misc Driver
27 struct smpro_misc *misc = dev_get_drvdata(dev); in boot_progress_show() local
37 ret = regmap_read(misc->regmap, CUR_BOOTSTAGE, &reg); in boot_progress_show()
43 ret = regmap_read(misc->regmap, BOOTSTAGE, &bootstage); in boot_progress_show()
52 ret = regmap_read(misc->regmap, BOOTSTAGE_LO, &reg_lo); in boot_progress_show()
54 ret = regmap_read(misc->regmap, BOOTSTAGE_HI, &reg); in boot_progress_show()
60 ret = regmap_write(misc->regmap, BOOTSTAGE, ((bootstage & 0xff00) | 0x1)); in boot_progress_show()
76 struct smpro_misc *misc = dev_get_drvdata(dev); in soc_power_limit_show() local
80 ret = regmap_read(misc->regmap, SOC_POWER_LIMIT, &value); in soc_power_limit_show()
90 struct smpro_misc *misc = dev_get_drvdata(dev); in soc_power_limit_store() local
[all …]
DKconfig3 # Misc strange devices
6 menu "Misc devices"
27 See Documentation/misc-devices/ad525x_dpot.rst for the
199 called smpro-misc.
565 source "drivers/misc/c2port/Kconfig"
566 source "drivers/misc/eeprom/Kconfig"
567 source "drivers/misc/cb710/Kconfig"
568 source "drivers/misc/ti-st/Kconfig"
569 source "drivers/misc/lis3lv02d/Kconfig"
570 source "drivers/misc/altera-stapl/Kconfig"
[all …]
/kernel/liteos_a/testsuites/unittest/libc/misc/
Dconfig.gni44 libc_misc_include_dirs = [ "$TEST_UNITTEST_DIR/libc/misc" ]
46 libc_misc_sources_entry = [ "$TEST_UNITTEST_DIR/libc/misc/misc_test.cpp" ]
49 "$TEST_UNITTEST_DIR/libc/misc/smoke/misc_test_001.cpp",
50 "$TEST_UNITTEST_DIR/libc/misc/smoke/misc_test_002.cpp",
51 "$TEST_UNITTEST_DIR/libc/misc/smoke/misc_test_003.cpp",
52 "$TEST_UNITTEST_DIR/libc/misc/smoke/misc_test_004.cpp",
53 "$TEST_UNITTEST_DIR/libc/misc/smoke/misc_test_005.cpp",
54 "$TEST_UNITTEST_DIR/libc/misc/smoke/misc_test_014.cpp",
58 "$TEST_UNITTEST_DIR/libc/misc/full/misc_test_006.cpp",
59 "$TEST_UNITTEST_DIR/libc/misc/full/misc_test_007.cpp",
[all …]
/kernel/linux/linux-6.6/kernel/cgroup/
Dmisc.c29 /* Root misc cgroup */
43 * parent_misc() - Get the parent of the passed misc cgroup.
58 * @type: misc res type.
72 * @type: misc res type.
87 * misc_cg_set_capacity() - Set the capacity of the misc cgroup res.
88 * @type: Type of the misc res.
89 * @capacity: Supported capacity of the misc res on the host.
91 * If capacity is 0 then the charging a misc cgroup fails for that type.
109 * misc_cg_cancel_charge() - Cancel the charge from the misc cgroup.
110 * @type: Misc res type in misc cg to cancel the charge from.
[all …]
/kernel/linux/linux-6.6/drivers/usb/typec/tcpm/qcom/
Dqcom_pmic_typec_port.c77 #define misc_to_cc(msic) !!(misc & CC_ORIENTATION) ? "cc1" : "cc2"
78 #define misc_to_vconn(msic) !!(misc & CC_ORIENTATION) ? "cc2" : "cc1"
137 unsigned int misc; in qcom_pmic_typec_port_get_vbus() local
142 &misc); in qcom_pmic_typec_port_get_vbus()
144 misc = 0; in qcom_pmic_typec_port_get_vbus()
146 dev_dbg(dev, "get_vbus: 0x%08x detect %d\n", misc, !!(misc & TYPEC_VBUS_DETECT)); in qcom_pmic_typec_port_get_vbus()
148 return !!(misc & TYPEC_VBUS_DETECT); in qcom_pmic_typec_port_get_vbus()
187 unsigned int misc, val; in qcom_pmic_typec_port_get_cc() local
192 pmic_typec_port->base + TYPEC_MISC_STATUS_REG, &misc); in qcom_pmic_typec_port_get_cc()
196 attached = !!(misc & CC_ATTACHED); in qcom_pmic_typec_port_get_cc()
[all …]
/kernel/linux/linux-6.6/Documentation/translations/zh_CN/maintainer/
Dpull-requests.rst38 拉取请求,可以命名为 ``char-misc-4.15-rc1`` 。如果要在 ``char-misc-next`` 分支
41 git tag -s char-misc-4.15-rc1 char-misc-next
43 这将在 ``char-misc-next`` 分支的最后一个提交上创建一个名为 ``char-misc-4.15-rc1``
79 Char/Misc patches for 4.15-rc1
81 Here is the big char/misc patch set for the 4.15-rc1 merge window.
111 git push origin char-misc-4.15-rc1
121 …-pull master git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/ char-misc-4.15-rc1
125 此命令要求git比较从“char-misc-4.15-rc1”标记位置到“master”分支头(上述
130 如果char-misc-4.15-rc1标记没有出现在我要求拉取的仓库中,git会提醒
/kernel/linux/linux-5.10/drivers/phy/st/
Dphy-spear1340-miphy.c82 /* regmap for any soc specific misc registers */
83 struct regmap *misc; member
90 regmap_update_bits(priv->misc, SPEAR1340_PCIE_SATA_CFG, in spear1340_miphy_sata_init()
93 regmap_update_bits(priv->misc, SPEAR1340_PCIE_MIPHY_CFG, in spear1340_miphy_sata_init()
97 regmap_update_bits(priv->misc, SPEAR1340_PCM_CFG, in spear1340_miphy_sata_init()
104 regmap_update_bits(priv->misc, SPEAR1340_PERIP1_SW_RST, in spear1340_miphy_sata_init()
114 regmap_update_bits(priv->misc, SPEAR1340_PCIE_SATA_CFG, in spear1340_miphy_sata_exit()
116 regmap_update_bits(priv->misc, SPEAR1340_PCIE_MIPHY_CFG, in spear1340_miphy_sata_exit()
120 regmap_update_bits(priv->misc, SPEAR1340_PERIP1_SW_RST, in spear1340_miphy_sata_exit()
126 regmap_update_bits(priv->misc, SPEAR1340_PCM_CFG, in spear1340_miphy_sata_exit()
[all …]
/kernel/linux/linux-6.6/drivers/phy/st/
Dphy-spear1340-miphy.c83 /* regmap for any soc specific misc registers */
84 struct regmap *misc; member
91 regmap_update_bits(priv->misc, SPEAR1340_PCIE_SATA_CFG, in spear1340_miphy_sata_init()
94 regmap_update_bits(priv->misc, SPEAR1340_PCIE_MIPHY_CFG, in spear1340_miphy_sata_init()
98 regmap_update_bits(priv->misc, SPEAR1340_PCM_CFG, in spear1340_miphy_sata_init()
105 regmap_update_bits(priv->misc, SPEAR1340_PERIP1_SW_RST, in spear1340_miphy_sata_init()
115 regmap_update_bits(priv->misc, SPEAR1340_PCIE_SATA_CFG, in spear1340_miphy_sata_exit()
117 regmap_update_bits(priv->misc, SPEAR1340_PCIE_MIPHY_CFG, in spear1340_miphy_sata_exit()
121 regmap_update_bits(priv->misc, SPEAR1340_PERIP1_SW_RST, in spear1340_miphy_sata_exit()
127 regmap_update_bits(priv->misc, SPEAR1340_PCM_CFG, in spear1340_miphy_sata_exit()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/misc/
Dnvidia,tegra186-misc.yaml4 $id: http://devicetree.org/schemas/misc/nvidia,tegra186-misc.yaml#
7 title: NVIDIA Tegra186 (and later) MISC register block
13 description: The MISC register block found on Tegra186 and later SoCs contains
20 - nvidia,tegra186-misc
21 - nvidia,tegra194-misc
22 - nvidia,tegra234-misc
39 misc@100000 {
40 compatible = "nvidia,tegra186-misc";
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/
Dbrcm,misc.yaml4 $id: http://devicetree.org/schemas/mfd/brcm,misc.yaml#
7 title: Broadcom's MISC block
13 Broadcom's MISC is a hardware block used on some SoCs (e.g. bcm63xx and
20 - const: brcm,misc
24 description: MISC block registers
36 $ref: ../reset/brcm,bcm4908-misc-pcie-reset.yaml
47 misc@ff802600 {
48 compatible = "brcm,misc", "simple-mfd";
56 compatible = "brcm,bcm4908-misc-pcie-reset";
Dti,nspire-misc.yaml5 $id: http://devicetree.org/schemas/mfd/ti,nspire-misc.yaml#
8 title: TI Nspire MISC hardware block
23 - ti,nspire-misc
42 misc: misc@900a0000 {
43 compatible = "ti,nspire-misc", "syscon", "simple-mfd";
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/interrupt-controller/
Dqca,ath79-misc-intc.txt1 Binding for Qualcomm Atheros AR7xxx/AR9XXX MISC interrupt controller
3 The MISC interrupt controller is a secondary controller for lower priority
7 - compatible: has to be "qca,<soctype>-cpu-intc", "qca,ar7100-misc-intc" or
8 "qca,<soctype>-cpu-intc", "qca,ar7240-misc-intc"
24 compatible = "qca,ar9132-misc-intc", "qca,ar7100-misc-intc";
37 compatible = "qca,ar9331-misc-intc", qca,ar7240-misc-intc";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/
Dqca,ath79-misc-intc.txt1 Binding for Qualcomm Atheros AR7xxx/AR9XXX MISC interrupt controller
3 The MISC interrupt controller is a secondary controller for lower priority
7 - compatible: has to be "qca,<soctype>-cpu-intc", "qca,ar7100-misc-intc" or
8 "qca,<soctype>-cpu-intc", "qca,ar7240-misc-intc"
24 compatible = "qca,ar9132-misc-intc", "qca,ar7100-misc-intc";
37 compatible = "qca,ar9331-misc-intc", qca,ar7240-misc-intc";
/kernel/linux/linux-6.6/include/linux/
Dmisc_cgroup.h12 * Types of misc cgroup entries supported by the host.
31 * struct misc_res: Per cgroup per misc type resource
45 * @events_file: Handle for the misc resources events file.
46 * @res: Array of misc resources usage in the cgroup.
51 /* misc.events */
63 * css_misc() - Get misc cgroup from the css.
69 * * struct misc_cg* - misc cgroup pointer of the passed css.
77 * get_current_misc_cg() - Find and get the misc cgroup of the current task.
82 * Return: Misc cgroup to which the current task belongs to.
90 * put_misc_cg() - Put the misc cgroup and reduce its ref count.
/kernel/linux/linux-6.6/Documentation/ABI/testing/
Dsysfs-driver-xdata1 What: /sys/class/misc/drivers/dw-xdata-pcie.<device>/write
13 echo 1 > /sys/class/misc/dw-xdata-pcie.<device>/write
15 echo 0 > /sys/class/misc/dw-xdata-pcie.<device>/write
21 cat /sys/class/misc/dw-xdata-pcie.<device>/write
26 What: /sys/class/misc/dw-xdata-pcie.<device>/read
38 echo 1 > /sys/class/misc/dw-xdata-pcie.<device>/read
40 echo 0 > /sys/class/misc/dw-xdata-pcie.<device>/read
46 cat /sys/class/misc/dw-xdata-pcie.<device>/read
/kernel/liteos_a/kernel/base/
DBUILD.gn56 "misc/kill_shellcmd.c",
57 "misc/los_misc.c",
58 "misc/los_stackinfo.c",
59 "misc/mempt_shellcmd.c",
60 "misc/panic_shellcmd.c",
61 "misc/swtmr_shellcmd.c",
62 "misc/sysinfo_shellcmd.c",
63 "misc/task_shellcmd.c",
64 "misc/vm_shellcmd.c",
/kernel/linux/linux-6.6/Documentation/maintainer/
Dpull-requests.rst35 as ``char-misc-4.15-rc1``. If such tag would be produced from a branch
36 named ``char-misc-next``, you would be using the following command::
38 git tag -s char-misc-4.15-rc1 char-misc-next
40 that will create a signed tag called ``char-misc-4.15-rc1`` based on the
41 last commit in the ``char-misc-next`` branch, and sign it with your gpg key
93 Char/Misc patches for 4.15-rc1
95 Here is the big char/misc patch set for the 4.15-rc1 merge window.
127 git push origin char-misc-4.15-rc1
139 …-pull master git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/ char-misc-4.15-rc1
144 'char-misc-4.15-rc1' tag location, to the head of the 'master'
[all …]
/kernel/linux/linux-5.10/Documentation/maintainer/
Dpull-requests.rst37 as ``char-misc-4.15-rc1``. If such tag would be produced from a branch
38 named ``char-misc-next``, you would be using the following command::
40 git tag -s char-misc-4.15-rc1 char-misc-next
42 that will create a signed tag called ``char-misc-4.15-rc1`` based on the
43 last commit in the ``char-misc-next`` branch, and sign it with your gpg key
95 Char/Misc patches for 4.15-rc1
97 Here is the big char/misc patch set for the 4.15-rc1 merge window.
129 git push origin char-misc-4.15-rc1
141 …-pull master git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/ char-misc-4.15-rc1
146 'char-misc-4.15-rc1' tag location, to the head of the 'master'
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/misc/
Dnvidia,tegra186-misc.txt1 NVIDIA Tegra186 (and later) MISC register block
3 The MISC register block found on Tegra186 and later SoCs contains registers
8 - Tegra186: "nvidia,tegra186-misc"
9 - Tegra194: "nvidia,tegra194-misc"
10 - Tegra234: "nvidia,tegra234-misc"
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_matcher.c52 static bool dr_mask_is_eth_l2_tnl_set(struct mlx5dr_match_misc *misc) in dr_mask_is_eth_l2_tnl_set() argument
54 return misc->vxlan_vni; in dr_mask_is_eth_l2_tnl_set()
88 static bool dr_mask_is_gre_set(struct mlx5dr_match_misc *misc) in dr_mask_is_gre_set() argument
90 return (misc->gre_key_h || misc->gre_key_l || in dr_mask_is_gre_set()
91 misc->gre_protocol || misc->gre_c_present || in dr_mask_is_gre_set()
92 misc->gre_k_present || misc->gre_s_present); in dr_mask_is_gre_set()
128 static bool dr_mask_is_misc_geneve_set(struct mlx5dr_match_misc *misc) in dr_mask_is_misc_geneve_set() argument
130 return misc->geneve_vni || in dr_mask_is_misc_geneve_set()
131 misc->geneve_oam || in dr_mask_is_misc_geneve_set()
132 misc->geneve_protocol_type || in dr_mask_is_misc_geneve_set()
[all …]
/kernel/linux/linux-5.10/drivers/misc/
DKconfig3 # Misc strange devices
6 menu "Misc devices"
27 See Documentation/misc-devices/ad525x_dpot.rst for the
469 source "drivers/misc/c2port/Kconfig"
470 source "drivers/misc/eeprom/Kconfig"
471 source "drivers/misc/cb710/Kconfig"
472 source "drivers/misc/ti-st/Kconfig"
473 source "drivers/misc/lis3lv02d/Kconfig"
474 source "drivers/misc/altera-stapl/Kconfig"
475 source "drivers/misc/mei/Kconfig"
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/verisilicon/
Dhantro_vp9.c120 struct symbol_counts *cnts = vp9_ctx->misc.cpu + vp9_ctx->ctx_counters_offset; in init_v4l2_vp9_count_tbl()
165 struct hantro_aux_buf *misc = &vp9_dec->misc; in hantro_vp9_dec_init() local
209 misc->cpu = dma_alloc_coherent(vpu->dev, size, &misc->dma, GFP_KERNEL); in hantro_vp9_dec_init()
210 if (!misc->cpu) in hantro_vp9_dec_init()
213 misc->size = size; in hantro_vp9_dec_init()
214 memset(misc->cpu, 0, size); in hantro_vp9_dec_init()
235 struct hantro_aux_buf *misc = &vp9_dec->misc; in hantro_vp9_dec_exit() local
237 dma_free_coherent(vpu->dev, misc->size, misc->cpu, misc->dma); in hantro_vp9_dec_exit()
/kernel/linux/linux-6.6/drivers/scsi/snic/
Dsnic_debugfs.c137 memset(&stats->misc, 0, sizeof(struct snic_misc_stats)); in snic_reset_stats_write()
281 jiffies_to_timespec64(stats->misc.last_isr_time, &last_isr_tms); in snic_stats_show()
282 jiffies_to_timespec64(stats->misc.last_ack_time, &last_ack_tms); in snic_stats_show()
301 (u64) stats->misc.last_isr_time, in snic_stats_show()
303 (u64)stats->misc.last_ack_time, in snic_stats_show()
305 (u64) atomic64_read(&stats->misc.ack_isr_cnt), in snic_stats_show()
306 (u64) atomic64_read(&stats->misc.cmpl_isr_cnt), in snic_stats_show()
307 (u64) atomic64_read(&stats->misc.errnotify_isr_cnt), in snic_stats_show()
308 (u64) atomic64_read(&stats->misc.max_cq_ents), in snic_stats_show()
309 (u64) atomic64_read(&stats->misc.data_cnt_mismat), in snic_stats_show()
[all …]

12345678910>>...108