Home
last modified time | relevance | path

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

12345678910>>...19

/linux-6.1.9/drivers/char/
Dmisc.c175 int misc_register(struct miscdevice *misc) in misc_register() argument
179 bool is_dynamic = (misc->minor == MISC_DYNAMIC_MINOR); in misc_register()
181 INIT_LIST_HEAD(&misc->list); in misc_register()
192 misc->minor = DYNAMIC_MINORS - i - 1; in misc_register()
198 if (c->minor == misc->minor) { in misc_register()
205 dev = MKDEV(MISC_MAJOR, misc->minor); in misc_register()
207 misc->this_device = in misc_register()
208 device_create_with_groups(misc_class, misc->parent, dev, in misc_register()
209 misc, misc->groups, "%s", misc->name); in misc_register()
210 if (IS_ERR(misc->this_device)) { in misc_register()
[all …]
/linux-6.1.9/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()
/linux-6.1.9/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 …]
Dsnic_isr.c26 snic->s_stats.misc.last_isr_time = jiffies; in snic_isr_msix_wq()
27 atomic64_inc(&snic->s_stats.misc.ack_isr_cnt); in snic_isr_msix_wq()
44 snic->s_stats.misc.last_isr_time = jiffies; in snic_isr_msix_io_cmpl()
45 atomic64_inc(&snic->s_stats.misc.cmpl_isr_cnt); in snic_isr_msix_io_cmpl()
61 snic->s_stats.misc.last_isr_time = jiffies; in snic_isr_msix_err_notify()
62 atomic64_inc(&snic->s_stats.misc.errnotify_isr_cnt); in snic_isr_msix_err_notify()
/linux-6.1.9/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``
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-6.1.9/Documentation/devicetree/bindings/misc/
Dnvidia,tegra186-misc.yaml4 $id: http://devicetree.org/schemas/misc/nvidia,tegra186-misc.yaml#
20 - nvidia,tegra186-misc
21 - nvidia,tegra194-misc
22 - nvidia,tegra234-misc
39 misc@100000 {
40 compatible = "nvidia,tegra186-misc";
/linux-6.1.9/arch/x86/kernel/
Damd_nb.c209 struct pci_dev *root, *misc, *link; in amd_cache_northbridges() local
225 misc = NULL; in amd_cache_northbridges()
226 while ((misc = next_northbridge(misc, misc_ids))) in amd_cache_northbridges()
256 link = misc = root = NULL; in amd_cache_northbridges()
260 node_to_amd_nb(i)->misc = misc = in amd_cache_northbridges()
261 next_northbridge(misc, misc_ids); in amd_cache_northbridges()
389 pci_read_config_dword(nb->misc, 0x1b8, &ban); in amd_set_subcaches()
395 pci_read_config_dword(nb->misc, 0x1b8, &reg); in amd_set_subcaches()
396 pci_write_config_dword(nb->misc, 0x1b8, reg & ~0x180000); in amd_set_subcaches()
408 pci_read_config_dword(nb->misc, 0x1b8, &reg); in amd_set_subcaches()
[all …]
/linux-6.1.9/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
/linux-6.1.9/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()
/linux-6.1.9/drivers/platform/x86/intel/ifs/
Dcore.c26 .misc = {
51 ifs_device.misc.groups = ifs_get_groups(); in ifs_init()
54 !misc_register(&ifs_device.misc)) { in ifs_init()
56 ifs_load_firmware(ifs_device.misc.this_device); in ifs_init()
66 misc_deregister(&ifs_device.misc); in ifs_exit()
/linux-6.1.9/arch/x86/include/asm/
Damd_nb.h63 struct pci_dev *misc; member
87 struct pci_dev *misc; in amd_pci_dev_to_node_id() local
91 misc = node_to_amd_nb(i)->misc; in amd_pci_dev_to_node_id()
93 if (pci_domain_nr(misc->bus) == pci_domain_nr(pdev->bus) && in amd_pci_dev_to_node_id()
94 PCI_SLOT(misc->devfn) == PCI_SLOT(pdev->devfn)) in amd_pci_dev_to_node_id()
/linux-6.1.9/arch/mips/sgi-ip32/
Dip32-reset.c78 unsigned long led = mace->perif.ctrl.misc ^ MACEISA_LED_RED; in blink_timeout()
79 mace->perif.ctrl.misc = led; in blink_timeout()
122 led = mace->perif.ctrl.misc | MACEISA_LED_GREEN; in panic_event()
123 mace->perif.ctrl.misc = led; in panic_event()
138 unsigned long led = mace->perif.ctrl.misc; in ip32_reboot_setup()
141 mace->perif.ctrl.misc = led; in ip32_reboot_setup()
/linux-6.1.9/Documentation/devicetree/bindings/mfd/
Dbrcm,misc.yaml4 $id: http://devicetree.org/schemas/mfd/brcm,misc.yaml#
20 - const: brcm,misc
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";
/linux-6.1.9/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";
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_matcher.c40 static bool dr_mask_is_eth_l2_tnl_set(struct mlx5dr_match_misc *misc) in dr_mask_is_eth_l2_tnl_set() argument
42 return misc->vxlan_vni; in dr_mask_is_eth_l2_tnl_set()
81 static bool dr_mask_is_tnl_gre_set(struct mlx5dr_match_misc *misc) in dr_mask_is_tnl_gre_set() argument
83 return (misc->gre_key_h || misc->gre_key_l || in dr_mask_is_tnl_gre_set()
84 misc->gre_protocol || misc->gre_c_present || in dr_mask_is_tnl_gre_set()
85 misc->gre_k_present || misc->gre_s_present); in dr_mask_is_tnl_gre_set()
123 static bool dr_mask_is_tnl_geneve_set(struct mlx5dr_match_misc *misc) in dr_mask_is_tnl_geneve_set() argument
125 return misc->geneve_vni || in dr_mask_is_tnl_geneve_set()
126 misc->geneve_oam || in dr_mask_is_tnl_geneve_set()
127 misc->geneve_protocol_type || in dr_mask_is_tnl_geneve_set()
[all …]
/linux-6.1.9/drivers/media/platform/mediatek/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-6.1.9/arch/arm64/kernel/
Dperf_callchain.c163 int misc = 0; in perf_misc_flags() local
167 misc |= PERF_RECORD_MISC_GUEST_USER; in perf_misc_flags()
169 misc |= PERF_RECORD_MISC_GUEST_KERNEL; in perf_misc_flags()
172 misc |= PERF_RECORD_MISC_USER; in perf_misc_flags()
174 misc |= PERF_RECORD_MISC_KERNEL; in perf_misc_flags()
177 return misc; in perf_misc_flags()
/linux-6.1.9/drivers/misc/
Dopen-dice.c35 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()
147 .misc = (struct miscdevice){ in open_dice_probe()
159 ret = misc_register(&drvdata->misc); in open_dice_probe()
174 misc_deregister(&drvdata->misc); in open_dice_remove()
/linux-6.1.9/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
/linux-6.1.9/Documentation/devicetree/bindings/extcon/
Dqcom,pm8941-misc.yaml4 $id: http://devicetree.org/schemas/extcon/qcom,pm8941-misc.yaml#
13 Some Qualcomm PMICs have a "misc" module that can be used to detect when
19 - const: qcom,pm8941-misc
52 usb_id: misc@900 {
53 compatible = "qcom,pm8941-misc";
/linux-6.1.9/Documentation/misc-devices/
Ddw-xdata-pcie.rst38 # echo 1 > /sys/class/misc/dw-xdata-pcie.0/write
42 # cat /sys/class/misc/dw-xdata-pcie.0/write
47 # echo 0 > /sys/class/misc/dw-xdata-pcie.0/write
54 # echo 1 > /sys/class/misc/dw-xdata-pcie.0/read
58 # cat /sys/class/misc/dw-xdata-pcie.0/read
63 # echo 0 > /sys/class/misc/dw-xdata-pcie.0/read
/linux-6.1.9/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,
/linux-6.1.9/arch/arm/kernel/
Dperf_callchain.c109 int misc = 0; in perf_misc_flags() local
112 misc |= PERF_RECORD_MISC_USER; in perf_misc_flags()
114 misc |= PERF_RECORD_MISC_KERNEL; in perf_misc_flags()
116 return misc; in perf_misc_flags()
/linux-6.1.9/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()

12345678910>>...19