Home
last modified time | relevance | path

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

12345678910>>...48

/Linux-v5.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 …]
/Linux-v5.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 …]
Dphy-spear1310-miphy.c105 /* regmap for any soc specific misc registers */
106 struct regmap *misc; member
115 regmap_update_bits(priv->misc, SPEAR1310_PCIE_MIPHY_CFG_1, in spear1310_miphy_pcie_init()
133 regmap_update_bits(priv->misc, SPEAR1310_PCIE_SATA_CFG, in spear1310_miphy_pcie_init()
141 regmap_update_bits(priv->misc, SPEAR1310_PCIE_SATA_CFG, in spear1310_miphy_pcie_exit()
144 regmap_update_bits(priv->misc, SPEAR1310_PCIE_MIPHY_CFG_1, in spear1310_miphy_pcie_exit()
214 priv->misc = in spear1310_miphy_probe()
215 syscon_regmap_lookup_by_phandle(dev->of_node, "misc"); in spear1310_miphy_probe()
216 if (IS_ERR(priv->misc)) { in spear1310_miphy_probe()
217 dev_err(dev, "failed to find misc regmap\n"); in spear1310_miphy_probe()
[all …]
/Linux-v5.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";
/Linux-v5.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 …]
/Linux-v5.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"
/Linux-v5.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 …]
Ddr_ste.c718 if (mask->misc.source_port && mask->misc.source_port != 0xffff) { in mlx5dr_ste_build_pre_check()
723 if (mask->misc.source_eswitch_owner_vhca_id && in mlx5dr_ste_build_pre_check()
724 mask->misc.source_eswitch_owner_vhca_id != 0xffff) { in mlx5dr_ste_build_pre_check()
1004 dr_ste_copy_mask_misc(buff, &set_param->misc); in mlx5dr_ste_copy_param()
1258 struct mlx5dr_match_misc *misc_mask = &value->misc; in dr_ste_build_eth_l2_src_or_dst_bit_mask()
1308 struct mlx5dr_match_misc *misc_spec = &value->misc; in dr_ste_build_eth_l2_src_or_dst_tag()
1440 struct mlx5dr_match_misc *misc = &value->misc; in dr_ste_build_eth_l2_tnl_bit_mask() local
1451 if (misc->vxlan_vni) { in dr_ste_build_eth_l2_tnl_bit_mask()
1453 l2_tunneling_network_id, (misc->vxlan_vni << 8)); in dr_ste_build_eth_l2_tnl_bit_mask()
1454 misc->vxlan_vni = 0; in dr_ste_build_eth_l2_tnl_bit_mask()
[all …]
/Linux-v5.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 …]
/Linux-v5.10/Documentation/devicetree/bindings/extcon/
Dqcom,pm8941-misc.txt3 Some Qualcomm PMICs have a "misc" module that can be used to detect when
11 Definition: Should contain "qcom,pm8941-misc";
16 Definition: Should contain the offset to the misc address space
31 usb_id: misc@900 {
32 compatible = "qcom,pm8941-misc";
/Linux-v5.10/Documentation/misc-devices/
Dxilinx_sdfec.rst32 …n/devicetree/bindings/misc/xlnx,sd-fec.txt <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-v5.10/Documentation/dev-tools/kunit/
Dstart.rst126 ``drivers/misc/example.h`` with the contents:
132 create a file ``drivers/misc/example.c``:
145 Now add the following lines to ``drivers/misc/Kconfig``:
152 and the following lines to ``drivers/misc/Makefile``:
159 ``drivers/misc/example-test.c``:
189 .name = "misc-example",
194 Now add the following to ``drivers/misc/Kconfig``:
202 and the following to ``drivers/misc/Makefile``:
226 [16:08:57] [PASSED] misc-example:misc_example_add_test_basic
227 [16:08:57] [FAILED] misc-example:misc_example_test_failure
[all …]
/Linux-v5.10/drivers/scsi/snic/
Dsnic_debugfs.c151 memset(&stats->misc, 0, sizeof(struct snic_misc_stats)); in snic_reset_stats_write()
295 jiffies_to_timespec64(stats->misc.last_isr_time, &last_isr_tms); in snic_stats_show()
296 jiffies_to_timespec64(stats->misc.last_ack_time, &last_ack_tms); in snic_stats_show()
315 (u64) stats->misc.last_isr_time, in snic_stats_show()
317 (u64)stats->misc.last_ack_time, in snic_stats_show()
319 (u64) atomic64_read(&stats->misc.ack_isr_cnt), in snic_stats_show()
320 (u64) atomic64_read(&stats->misc.cmpl_isr_cnt), in snic_stats_show()
321 (u64) atomic64_read(&stats->misc.errnotify_isr_cnt), in snic_stats_show()
322 (u64) atomic64_read(&stats->misc.max_cq_ents), in snic_stats_show()
323 (u64) atomic64_read(&stats->misc.data_cnt_mismat), in snic_stats_show()
[all …]
/Linux-v5.10/drivers/irqchip/
Dirq-ath79-misc.c3 * Atheros AR71xx/AR724x/AR913x MISC interrupt controller
100 .name = "MISC",
140 pr_err("Failed to get MISC IRQ\n"); in ath79_misc_intc_of_init()
146 pr_err("Failed to get MISC IRQ registers\n"); in ath79_misc_intc_of_init()
153 pr_err("Failed to add MISC irqdomain\n"); in ath79_misc_intc_of_init()
168 IRQCHIP_DECLARE(ar7100_misc_intc, "qca,ar7100-misc-intc",
178 IRQCHIP_DECLARE(ar7240_misc_intc, "qca,ar7240-misc-intc",
194 panic("Failed to create MISC irqdomain"); in ath79_misc_irq_init()
/Linux-v5.10/include/linux/firmware/imx/svc/
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-v5.10/arch/x86/kernel/
Damd_nb.c230 struct pci_dev *root, *misc, *link; in amd_cache_northbridges() local
246 misc = NULL; in amd_cache_northbridges()
247 while ((misc = next_northbridge(misc, misc_ids)) != NULL) in amd_cache_northbridges()
277 link = misc = root = NULL; in amd_cache_northbridges()
281 node_to_amd_nb(i)->misc = misc = in amd_cache_northbridges()
282 next_northbridge(misc, misc_ids); in amd_cache_northbridges()
411 pci_read_config_dword(nb->misc, 0x1b8, &ban); in amd_set_subcaches()
417 pci_read_config_dword(nb->misc, 0x1b8, &reg); in amd_set_subcaches()
418 pci_write_config_dword(nb->misc, 0x1b8, reg & ~0x180000); in amd_set_subcaches()
430 pci_read_config_dword(nb->misc, 0x1b8, &reg); in amd_set_subcaches()
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/arm/
Dspear-misc.txt1 SPEAr Misc configuration
6 misc node required properties:
8 - compatible Should be "st,spear1340-misc", "syscon".
9 - reg: Address range of misc space up to 8K
/Linux-v5.10/drivers/media/platform/mtk-mdp/
Dmtk_mdp_regs.c136 struct mdp_config_misc *misc = &ctx->vpu.vsi->misc; in mtk_mdp_hw_set_rotation() local
138 misc->orientation = ctx->ctrls.rotate->val; in mtk_mdp_hw_set_rotation()
139 misc->hflip = ctx->ctrls.hflip->val; in mtk_mdp_hw_set_rotation()
140 misc->vflip = ctx->ctrls.vflip->val; in mtk_mdp_hw_set_rotation()
145 struct mdp_config_misc *misc = &ctx->vpu.vsi->misc; in mtk_mdp_hw_set_global_alpha() local
147 misc->alpha = ctx->ctrls.global_alpha->val; in mtk_mdp_hw_set_global_alpha()
/Linux-v5.10/arch/x86/include/asm/
Damd_nb.h65 struct pci_dev *misc; member
89 struct pci_dev *misc; in amd_pci_dev_to_node_id() local
93 misc = node_to_amd_nb(i)->misc; in amd_pci_dev_to_node_id()
95 if (pci_domain_nr(misc->bus) == pci_domain_nr(pdev->bus) && in amd_pci_dev_to_node_id()
96 PCI_SLOT(misc->devfn) == PCI_SLOT(pdev->devfn)) in amd_pci_dev_to_node_id()
/Linux-v5.10/arch/arm/kernel/
Dperf_callchain.c122 int misc = 0; in perf_misc_flags() local
126 misc |= PERF_RECORD_MISC_GUEST_USER; in perf_misc_flags()
128 misc |= PERF_RECORD_MISC_GUEST_KERNEL; in perf_misc_flags()
131 misc |= PERF_RECORD_MISC_USER; in perf_misc_flags()
133 misc |= PERF_RECORD_MISC_KERNEL; in perf_misc_flags()
136 return misc; in perf_misc_flags()
/Linux-v5.10/arch/mips/sgi-ip32/
Dip32-reset.c77 unsigned long led = mace->perif.ctrl.misc ^ MACEISA_LED_RED; in blink_timeout()
78 mace->perif.ctrl.misc = led; in blink_timeout()
121 led = mace->perif.ctrl.misc | MACEISA_LED_GREEN; in panic_event()
122 mace->perif.ctrl.misc = led; in panic_event()
137 unsigned long led = mace->perif.ctrl.misc; in ip32_reboot_setup()
140 mace->perif.ctrl.misc = led; in ip32_reboot_setup()
/Linux-v5.10/include/trace/events/
Dmce.h23 __field( u64, misc )
43 __entry->misc = m->misc;
58 …TP_printk("CPU: %d, MCGc/s: %llx/%llx, MC%d: %016Lx, IPID: %016Lx, ADDR/MISC/SYND: %016Lx/%016Lx/%…
63 __entry->addr, __entry->misc, __entry->synd,
/Linux-v5.10/drivers/xen/
Defi.c39 .u.efi_runtime_call.misc = 0}
58 tc->sets_to_zero = !!(efi_data(op).misc & in xen_efi_get_time()
93 *enabled = !!(efi_data(op).misc & XEN_EFI_GET_WAKEUP_TIME_ENABLED); in xen_efi_get_wakeup_time()
96 *pending = !!(efi_data(op).misc & XEN_EFI_GET_WAKEUP_TIME_PENDING); in xen_efi_get_wakeup_time()
107 efi_data(op).misc = XEN_EFI_SET_WAKEUP_TIME_ENABLE; in xen_efi_set_wakeup_time()
111 efi_data(op).misc |= XEN_EFI_SET_WAKEUP_TIME_ENABLE_ONLY; in xen_efi_set_wakeup_time()
137 *attr = efi_data(op).misc; in xen_efi_get_variable()
172 efi_data(op).misc = attr; in xen_efi_set_variable()
213 *count = efi_data(op).misc; in xen_efi_get_next_high_mono_count()
/Linux-v5.10/arch/arm64/kernel/
Dperf_callchain.c171 int misc = 0; in perf_misc_flags() local
175 misc |= PERF_RECORD_MISC_GUEST_USER; in perf_misc_flags()
177 misc |= PERF_RECORD_MISC_GUEST_KERNEL; in perf_misc_flags()
180 misc |= PERF_RECORD_MISC_USER; in perf_misc_flags()
182 misc |= PERF_RECORD_MISC_KERNEL; in perf_misc_flags()
185 return misc; in perf_misc_flags()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c263 void *misc; in mlx5_eswitch_set_rule_source_port() local
280 misc = MLX5_ADDR_OF(fte_match_param, spec->match_value, misc_parameters); in mlx5_eswitch_set_rule_source_port()
281 MLX5_SET(fte_match_set_misc, misc, source_port, attr->in_rep->vport); in mlx5_eswitch_set_rule_source_port()
284 MLX5_SET(fte_match_set_misc, misc, in mlx5_eswitch_set_rule_source_port()
288 misc = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, misc_parameters); in mlx5_eswitch_set_rule_source_port()
289 MLX5_SET_TO_ONES(fte_match_set_misc, misc, source_port); in mlx5_eswitch_set_rule_source_port()
291 MLX5_SET_TO_ONES(fte_match_set_misc, misc, in mlx5_eswitch_set_rule_source_port()
776 void *misc; in mlx5_eswitch_add_send_to_vport_rule() local
784 misc = MLX5_ADDR_OF(fte_match_param, spec->match_value, misc_parameters); in mlx5_eswitch_add_send_to_vport_rule()
785 MLX5_SET(fte_match_set_misc, misc, source_sqn, sqn); in mlx5_eswitch_add_send_to_vport_rule()
[all …]

12345678910>>...48