Home
last modified time | relevance | path

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

12345678910>>...49

/linux/drivers/misc/
H A 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 …]
H A DKconfig3 # Misc strange devices
6 menu "Misc devices"
27 See Documentation/misc-devices/ad525x_dpot.rst for the
221 called smpro-misc.
647 source "drivers/misc/c2port/Kconfig"
648 source "drivers/misc/eeprom/Kconfig"
649 source "drivers/misc/cb710/Kconfig"
650 source "drivers/misc/lis3lv02d/Kconfig"
651 source "drivers/misc/altera-stapl/Kconfig"
652 source "drivers/misc/mei/Kconfig"
[all …]
H A Dopen-dice.c11 * process via a misc device. Userspace can also request a wipe of the memory.
35 struct miscdevice misc; member
40 return container_of(filp->private_data, struct open_dice_drvdata, misc); in to_open_dice_drvdata()
48 kaddr = devm_memremap(drvdata->misc.this_device, drvdata->rmem->base, in open_dice_wipe()
56 devm_memunmap(drvdata->misc.this_device, kaddr); in open_dice_wipe()
144 .misc = (struct miscdevice){ in open_dice_probe()
157 ret = misc_register(&drvdata->misc); in open_dice_probe()
159 dev_err(dev, "failed to register misc device '%s': %d\n", in open_dice_probe()
172 misc_deregister(&drvdata->misc); in open_dice_remove()
/linux/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_irq.c86 txgbe->link_irq = irq_find_mapping(txgbe->misc.domain, TXGBE_IRQ_LINK); in txgbe_request_link_irq()
94 txgbe->gpio_irq = irq_find_mapping(txgbe->misc.domain, TXGBE_IRQ_GPIO); in txgbe_request_gpio_irq()
101 .name = "txgbe-misc-irq",
111 irq_set_chip(irq, &txgbe->misc.chip); in txgbe_misc_irq_domain_map()
172 sub_irq = irq_find_mapping(txgbe->misc.domain, TXGBE_IRQ_LINK); in txgbe_misc_irq_thread_fn()
177 sub_irq = irq_find_mapping(txgbe->misc.domain, TXGBE_IRQ_GPIO); in txgbe_misc_irq_thread_fn()
194 for (hwirq = 0; hwirq < txgbe->misc.nirqs; hwirq++) { in txgbe_del_irq_domain()
195 virq = irq_find_mapping(txgbe->misc.domain, hwirq); in txgbe_del_irq_domain()
199 irq_domain_remove(txgbe->misc.domain); in txgbe_del_irq_domain()
211 free_irq(txgbe->misc.irq, txgbe); in txgbe_free_misc_irq()
[all …]
/linux/kernel/cgroup/
H A Dmisc.c33 /* Root misc cgroup */
47 * parent_misc() - Get the parent of the passed misc cgroup.
62 * @type: misc res type.
75 * misc_cg_set_capacity() - Set the capacity of the misc cgroup res.
76 * @type: Type of the misc res.
77 * @capacity: Supported capacity of the misc res on the host.
79 * If capacity is 0 then the charging a misc cgroup fails for that type.
97 * misc_cg_cancel_charge() - Cancel the charge from the misc cgroup.
98 * @type: Misc res type in misc cg to cancel the charge from.
99 * @cg: Misc cgroup to cancel charge from.
[all …]
/linux/Documentation/devicetree/bindings/misc/
H A 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
23 - nvidia,tegra264-misc
40 misc@100000 {
41 compatible = "nvidia,tegra186-misc";
/linux/drivers/phy/st/
H A 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 …]
H A Dphy-spear1310-miphy.c106 /* regmap for any soc specific misc registers */
107 struct regmap *misc; member
116 regmap_update_bits(priv->misc, SPEAR1310_PCIE_MIPHY_CFG_1, in spear1310_miphy_pcie_init()
134 regmap_update_bits(priv->misc, SPEAR1310_PCIE_SATA_CFG, in spear1310_miphy_pcie_init()
142 regmap_update_bits(priv->misc, SPEAR1310_PCIE_SATA_CFG, in spear1310_miphy_pcie_exit()
145 regmap_update_bits(priv->misc, SPEAR1310_PCIE_MIPHY_CFG_1, in spear1310_miphy_pcie_exit()
215 priv->misc = in spear1310_miphy_probe()
216 syscon_regmap_lookup_by_phandle(dev->of_node, "misc"); in spear1310_miphy_probe()
217 if (IS_ERR(priv->misc)) { in spear1310_miphy_probe()
218 dev_err(dev, "failed to find misc regmap\n"); in spear1310_miphy_probe()
[all …]
/linux/Documentation/translations/zh_CN/maintainer/
H A 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会提醒
/linux/fs/
H A Dbinfmt_misc.c8 * a specified wrapper. See Documentation/admin-guide/binfmt-misc.rst for more details.
82 * @misc: handle to binfmt_misc instance
90 static Node *search_binfmt_handler(struct binfmt_misc *misc, in search_binfmt_handler() argument
97 list_for_each_entry(e, &misc->entries, list) { in search_binfmt_handler()
132 * @misc: handle to binfmt_misc instance
140 static Node *get_binfmt_handler(struct binfmt_misc *misc, in get_binfmt_handler() argument
145 read_lock(&misc->entries_lock); in get_binfmt_handler()
146 e = search_binfmt_handler(misc, bprm); in get_binfmt_handler()
149 read_unlock(&misc->entries_lock); in get_binfmt_handler()
184 struct binfmt_misc *misc; in load_binfmt_misc() local
[all …]
/linux/include/linux/
H A Dmisc_cgroup.h12 * enum misc_res_type - Types of misc cgroup entries supported by the host.
36 * struct misc_res: Per cgroup per misc type resource
53 * @events_file: Handle for the misc resources events file.
54 * @res: Array of misc resources usage in the cgroup.
59 /* misc.events */
61 /* misc.events.local */
72 * css_misc() - Get misc cgroup from the css.
78 * * struct misc_cg* - misc cgroup pointer of the passed css.
86 * get_current_misc_cg() - Find and get the misc cgroup of the current task.
91 * Return: Misc cgroup to which the current task belongs to.
[all …]
/linux/drivers/firmware/cirrus/test/
H A Dcs_dsp_test_bin_error.c91 cs_dsp_power_up(priv->dsp, local->wmfw, "wmfw", bin, "bin", "misc"), in bin_load_with_unknown_blocks()
111 cs_dsp_power_up(priv->dsp, local->wmfw, "wmfw", NULL, NULL, "misc"), in bin_err_wrong_magic()
119 cs_dsp_power_up(priv->dsp, local->wmfw, "wmfw", bin, "bin", "misc"), in bin_err_wrong_magic()
124 cs_dsp_power_up(priv->dsp, local->wmfw, "wmfw", bin, "bin", "misc"), in bin_err_wrong_magic()
129 cs_dsp_power_up(priv->dsp, local->wmfw, "wmfw", bin, "bin", "misc"), in bin_err_wrong_magic()
134 cs_dsp_power_up(priv->dsp, local->wmfw, "wmfw", bin, "bin", "misc"), in bin_err_wrong_magic()
139 cs_dsp_power_up(priv->dsp, local->wmfw, "wmfw", bin, "bin", "misc"), in bin_err_wrong_magic()
144 cs_dsp_power_up(priv->dsp, local->wmfw, "wmfw", bin, "bin", "misc"), in bin_err_wrong_magic()
157 cs_dsp_power_up(priv->dsp, local->wmfw, "wmfw", NULL, NULL, "misc"), in bin_err_too_short_for_header()
166 cs_dsp_power_up(priv->dsp, local->wmfw, "wmfw", bin, "bin", "misc"), in bin_err_too_short_for_header()
[all …]
/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Dqca,ar7100-misc-intc.yaml4 $id: http://devicetree.org/schemas/interrupt-controller/qca,ar7100-misc-intc.yaml#
7 title: Qualcomm Atheros AR7xxx/AR9XXX MISC interrupt controller
14 The Qualcomm Atheros AR7xxx/AR9XXX MISC interrupt controller is a secondary
21 - const: qca,ar9132-misc-intc
22 - const: qca,ar7100-misc-intc
23 - const: qca,ar7240-misc-intc
47 compatible = "qca,ar9132-misc-intc", "qca,ar7100-misc-intc";
/linux/Documentation/ABI/testing/
H A 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
H A Dsysfs-platform-intel-ifs5 What: /sys/devices/virtual/misc/intel_ifs_<N>/run_test
14 /sys/devices/virtual/misc/intel_ifs_<N>/run_test
17 What: /sys/devices/virtual/misc/intel_ifs_<N>/status
25 What: /sys/devices/virtual/misc/intel_ifs_<N>/details
34 What: /sys/devices/virtual/misc/intel_ifs_<N>/image_version
43 What: /sys/devices/virtual/misc/intel_ifs_<N>/current_batch
H A Dsysfs-devices-virtual-misc-tdx_guest1 What: /sys/devices/virtual/misc/tdx_guest/measurements/MRNAME[:HASH]
19 What: /sys/devices/virtual/misc/tdx_guest/measurements/mrconfigid
28 What: /sys/devices/virtual/misc/tdx_guest/measurements/mrowner
36 What: /sys/devices/virtual/misc/tdx_guest/measurements/mrownerconfig
46 What: /sys/devices/virtual/misc/tdx_guest/measurements/mrtd:sha384
53 What: /sys/devices/virtual/misc/tdx_guest/measurements/rtmr[0123]:sha384
/linux/samples/rust/
H A Drust_misc_device.rs5 //! Rust misc device sample.
27 //! printf("Opening /dev/rust-misc-device for reading and writing\n");
28 //! fd = open("/dev/rust-misc-device", O_RDWR);
90 //! printf("Closing /dev/rust-misc-device\n");
121 description: "Rust misc device sample",
133 pr_info!("Initialising Rust Misc Device Sample\n"); in init()
136 name: c_str!("rust-misc-device"), in init()
161 fn open(_file: &File, misc: &MiscDeviceRegistration<Self>) -> Result<Pin<KBox<Self>>> { in open()
162 let dev = ARef::from(misc.device()); in open()
164 dev_info!(dev, "Opening Rust Misc Devic in open()
[all...]
/linux/drivers/scsi/snic/
H A 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 …]
/linux/drivers/media/platform/verisilicon/
H A 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()
/linux/Documentation/devicetree/bindings/mfd/
H A 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";
/linux/Documentation/misc-devices/
H A Dxilinx_sdfec.rst32 …/devicetree/bindings/misc/xlnx,sd-fec.yaml <https://github.com/Xilinx/linux-xlnx/blob/master/Docum…
237 .. kernel-doc:: include/uapi/misc/xilinx_sdfec.h
241 .. kernel-doc:: include/uapi/misc/xilinx_sdfec.h
245 .. kernel-doc:: include/uapi/misc/xilinx_sdfec.h
249 .. kernel-doc:: include/uapi/misc/xilinx_sdfec.h
253 .. kernel-doc:: include/uapi/misc/xilinx_sdfec.h
257 .. kernel-doc:: include/uapi/misc/xilinx_sdfec.h
261 .. kernel-doc:: include/uapi/misc/xilinx_sdfec.h
265 .. kernel-doc:: include/uapi/misc/xilinx_sdfec.h
269 .. kernel-doc:: include/uapi/misc/xilinx_sdfec.h
[all …]
/linux/drivers/crypto/ccp/
H A Dsfs.c187 misc_deregister(&misc_dev->misc); in sfs_exit()
206 if (sfs_dev->misc) in sfs_dev_destroy()
224 struct miscdevice *misc; in sfs_misc_init() local
230 misc = &misc_dev->misc; in sfs_misc_init()
231 misc->minor = MISC_DYNAMIC_MINOR; in sfs_misc_init()
232 misc->name = "sfs"; in sfs_misc_init()
233 misc->fops = &sfs_fops; in sfs_misc_init()
234 misc->mode = 0600; in sfs_misc_init()
236 ret = misc_register(misc); in sfs_misc_init()
245 sfs->misc = misc_dev; in sfs_misc_init()
/linux/Documentation/devicetree/bindings/reset/
H A Dbrcm,bcm4908-misc-pcie-reset.yaml4 $id: http://devicetree.org/schemas/reset/brcm,bcm4908-misc-pcie-reset.yaml#
7 title: Broadcom MISC block PCIe reset controller
10 signals. On BCM4908 it's a part of the MISC block.
17 const: brcm,bcm4908-misc-pcie-reset
36 compatible = "brcm,bcm4908-misc-pcie-reset";
/linux/include/linux/firmware/imx/svc/
H A Dpm.h66 #define IMX_SC_PM_CLK_MISC 4 /* Misc clock */
67 #define IMX_SC_PM_CLK_MISC0 0 /* Misc 0 clock */
68 #define IMX_SC_PM_CLK_MISC1 1 /* Misc 1 clock */
69 #define IMX_SC_PM_CLK_MISC2 2 /* Misc 2 clock */
70 #define IMX_SC_PM_CLK_MISC3 3 /* Misc 3 clock */
71 #define IMX_SC_PM_CLK_MISC4 4 /* Misc 4 clock */
/linux/drivers/irqchip/
H A Dirq-ath79-misc.c3 * Atheros AR71xx/AR724x/AR913x MISC interrupt controller
102 .name = "MISC",
142 pr_err("Failed to get MISC IRQ\n"); in ath79_misc_intc_of_init()
148 pr_err("Failed to get MISC IRQ registers\n"); in ath79_misc_intc_of_init()
155 pr_err("Failed to add MISC irqdomain\n"); in ath79_misc_intc_of_init()
170 IRQCHIP_DECLARE(ar7100_misc_intc, "qca,ar7100-misc-intc",
180 IRQCHIP_DECLARE(ar7240_misc_intc, "qca,ar7240-misc-intc",

12345678910>>...49