Home
last modified time | relevance | path

Searched refs:misc (Results 1 – 25 of 422) sorted by relevance

12345678910>>...17

/kernel/linux/linux-5.10/drivers/char/
Dmisc.c173 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()
203 dev = MKDEV(MISC_MAJOR, misc->minor); in misc_register()
205 misc->this_device = in misc_register()
206 device_create_with_groups(misc_class, misc->parent, dev, in misc_register()
207 misc, misc->groups, "%s", misc->name); in misc_register()
208 if (IS_ERR(misc->this_device)) { in misc_register()
[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-5.10/drivers/phy/st/
Dphy-spear1340-miphy.c83 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()
136 regmap_update_bits(priv->misc, SPEAR1340_PCIE_MIPHY_CFG, in spear1340_miphy_pcie_init()
[all …]
Dphy-spear1310-miphy.c106 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()
216 if (IS_ERR(priv->misc)) { in spear1310_miphy_probe()
218 return PTR_ERR(priv->misc); in spear1310_miphy_probe()
/kernel/linux/linux-5.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 …]
Dsnic_isr.c40 snic->s_stats.misc.last_isr_time = jiffies; in snic_isr_msix_wq()
41 atomic64_inc(&snic->s_stats.misc.ack_isr_cnt); in snic_isr_msix_wq()
58 snic->s_stats.misc.last_isr_time = jiffies; in snic_isr_msix_io_cmpl()
59 atomic64_inc(&snic->s_stats.misc.cmpl_isr_cnt); in snic_isr_msix_io_cmpl()
75 snic->s_stats.misc.last_isr_time = jiffies; in snic_isr_msix_err_notify()
76 atomic64_inc(&snic->s_stats.misc.errnotify_isr_cnt); in snic_isr_msix_err_notify()
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.10/arch/arm/kernel/
Dperf_callchain.c127 int misc = 0; in perf_misc_flags() local
131 misc |= PERF_RECORD_MISC_GUEST_USER; in perf_misc_flags()
133 misc |= PERF_RECORD_MISC_GUEST_KERNEL; in perf_misc_flags()
136 misc |= PERF_RECORD_MISC_USER; in perf_misc_flags()
138 misc |= PERF_RECORD_MISC_KERNEL; in perf_misc_flags()
141 return misc; in perf_misc_flags()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/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/Documentation/devicetree/bindings/interrupt-controller/
Dqca,ath79-misc-intc.txt7 - 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/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";
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dsmu.h401 void (*done)(struct smu_cmd *cmd, void *misc);
402 void *misc; member
429 void (*done)(struct smu_cmd *cmd, void *misc),
430 void *misc,
438 extern void smu_done_complete(struct smu_cmd *cmd, void *misc);
498 void (*done)(struct smu_i2c_cmd *cmd, void *misc);
499 void *misc; member
/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-5.10/drivers/scsi/bfa/
Dbfa_plog.h43 u16 misc; /* can be used to indicate fc frame length */ member
138 enum bfa_plog_eid event, u16 misc, char *log_str);
140 enum bfa_plog_eid event, u16 misc,
143 enum bfa_plog_eid event, u16 misc, struct fchs_s *fchdr);
145 enum bfa_plog_eid event, u16 misc,
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dperf_callchain.c177 int misc = 0; in perf_misc_flags() local
181 misc |= PERF_RECORD_MISC_GUEST_USER; in perf_misc_flags()
183 misc |= PERF_RECORD_MISC_GUEST_KERNEL; in perf_misc_flags()
186 misc |= PERF_RECORD_MISC_USER; in perf_misc_flags()
188 misc |= PERF_RECORD_MISC_KERNEL; in perf_misc_flags()
191 return misc; in perf_misc_flags()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/
Dspear-misc.txt6 misc node required properties:
8 - compatible Should be "st,spear1340-misc", "syscon".
9 - reg: Address range of misc space up to 8K
/kernel/linux/linux-5.10/drivers/video/fbdev/geode/
Dvideo_gx.c235 u32 dcfg, misc; in gx_configure_display() local
255 misc = read_vp(par, VP_MISC); in gx_configure_display()
258 misc |= VP_MISC_GAM_EN; in gx_configure_display()
263 misc &= ~(VP_MISC_APWRDN | VP_MISC_DACPWRDN); in gx_configure_display()
264 write_vp(par, VP_MISC, misc); in gx_configure_display()
275 misc |= (VP_MISC_APWRDN | VP_MISC_DACPWRDN); in gx_configure_display()
276 write_vp(par, VP_MISC, misc); in gx_configure_display()
/kernel/linux/linux-5.10/drivers/macintosh/
Dsmu.c165 void (*done)(struct smu_cmd *cmd, void *misc) = NULL; in smu_db_intr()
166 void *misc = NULL; in smu_db_intr() local
223 misc = cmd->misc; in smu_db_intr()
237 done(cmd, misc); in smu_db_intr()
291 void (*done)(struct smu_cmd *cmd, void *misc), in smu_queue_simple() argument
292 void *misc, ...) in smu_queue_simple()
308 cmd->misc = misc; in smu_queue_simple()
310 va_start(list, misc); in smu_queue_simple()
334 void smu_done_complete(struct smu_cmd *cmd, void *misc) in smu_done_complete() argument
336 struct completion *comp = misc; in smu_done_complete()
[all …]
/kernel/linux/linux-5.10/drivers/usb/host/
Dohci-tmio.c298 u8 misc; in ohci_hcd_tmio_drv_suspend() local
307 misc = tmio_ioread8(tmio->ccr + CCR_MISC); in ohci_hcd_tmio_drv_suspend()
308 misc |= 1 << 3; /* USSUSP */ in ohci_hcd_tmio_drv_suspend()
309 tmio_iowrite8(misc, tmio->ccr + CCR_MISC); in ohci_hcd_tmio_drv_suspend()
328 u8 misc; in ohci_hcd_tmio_drv_resume() local
345 misc = tmio_ioread8(tmio->ccr + CCR_MISC); in ohci_hcd_tmio_drv_resume()
346 misc &= ~(1 << 3); /* USSUSP */ in ohci_hcd_tmio_drv_resume()
347 tmio_iowrite8(misc, tmio->ccr + CCR_MISC); in ohci_hcd_tmio_drv_resume()
/kernel/linux/linux-5.10/drivers/gpu/drm/mgag200/
Dmgag200_mm.c93 u8 misc; in mgag200_mm_init() local
99 misc = RREG8(MGA_MISC_IN); in mgag200_mm_init()
100 misc |= MGAREG_MISC_RAMMAPEN | in mgag200_mm_init()
102 WREG8(MGA_MISC_OUT, misc); in mgag200_mm_init()
/kernel/linux/linux-5.10/include/trace/events/
Dmce.h23 __field( u64, misc )
43 __entry->misc = m->misc;
63 __entry->addr, __entry->misc, __entry->synd,

12345678910>>...17