/linux/Documentation/devicetree/bindings/iio/dac/ |
H A D | adi,ltc2664.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schema [all...] |
/linux/Documentation/devicetree/bindings/iio/frequency/ |
H A D | adi,admv1014.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schema [all...] |
/linux/fs/afs/ |
H A D | proc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 34 static int afs_proc_cells_show(struct seq_file *m, void *v) in afs_proc_cells_show() argument 39 if (v == SEQ_START_TOKEN) { in afs_proc_cells_show() 45 cell = list_entry(v, struct afs_cell, proc_link); in afs_proc_cells_show() 46 vllist = rcu_dereference(cell->vl_servers); in afs_proc_cells_show() 50 refcount_read(&cell->re in afs_proc_cells_show() 66 afs_proc_cells_next(struct seq_file * m,void * v,loff_t * pos) afs_proc_cells_next() argument 71 afs_proc_cells_stop(struct seq_file * m,void * v) afs_proc_cells_stop() argument 153 afs_proc_addr_prefs_show(struct seq_file * m,void * v) afs_proc_addr_prefs_show() argument 203 afs_proc_rootcell_show(struct seq_file * m,void * v) afs_proc_rootcell_show() argument 266 afs_proc_cell_volumes_show(struct seq_file * m,void * v) afs_proc_cell_volumes_show() argument 293 afs_proc_cell_volumes_next(struct seq_file * m,void * v,loff_t * _pos) afs_proc_cell_volumes_next() argument 301 afs_proc_cell_volumes_stop(struct seq_file * m,void * v) afs_proc_cell_volumes_stop() argument 339 afs_proc_cell_vlservers_show(struct seq_file * m,void * v) afs_proc_cell_vlservers_show() argument 383 loff_t pos = *_pos; afs_proc_cell_vlservers_start() local 401 afs_proc_cell_vlservers_next(struct seq_file * m,void * v,loff_t * _pos) afs_proc_cell_vlservers_next() argument 406 loff_t pos; afs_proc_cell_vlservers_next() local 417 afs_proc_cell_vlservers_stop(struct seq_file * m,void * v) afs_proc_cell_vlservers_stop() argument 433 afs_proc_servers_show(struct seq_file * m,void * v) afs_proc_servers_show() argument 490 afs_proc_servers_next(struct seq_file * m,void * v,loff_t * _pos) afs_proc_servers_next() argument 495 afs_proc_servers_stop(struct seq_file * m,void * v) afs_proc_servers_stop() argument 512 afs_proc_sysname_show(struct seq_file * m,void * v) afs_proc_sysname_show() argument 523 afs_proc_sysname_start(struct seq_file * m,loff_t * pos) afs_proc_sysname_start() argument 537 afs_proc_sysname_next(struct seq_file * m,void * v,loff_t * pos) afs_proc_sysname_next() argument 548 afs_proc_sysname_stop(struct seq_file * m,void * v) afs_proc_sysname_stop() argument 657 afs_proc_stats_show(struct seq_file * m,void * v) afs_proc_stats_show() argument [all...] |
/linux/drivers/acpi/apei/ |
H A D | einj-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * Copyright 2009-2010 Intel Corp. 27 #include "apei-internal.h" 190 EINJ_TAB_ENTRY(einj_tab), einj_tab->entries); in einj_exec_ctx_init() 242 *t -= SLEEP_UNIT_MIN; in einj_timedout() 249 struct vendor_error_type_extension *v) in get_oem_vendor_struct() argument 254 vendor_size = v in get_oem_vendor_struct() 267 struct vendor_error_type_extension v; check_vendor_extension() local 774 available_error_type_show(struct seq_file * m,void * v) available_error_type_show() argument 777 for (int pos = 0; pos < ARRAY_SIZE(einj_error_type_string); pos++) available_error_type_show() local 782 for (int pos = 0; pos < ARRAY_SIZE(einjv2_error_type_string); pos++) { available_error_type_show() local [all...] |
/linux/net/ipv6/ |
H A D | ip6_flowlabel.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 63 fl = rcu_dereference(fl->next)) 65 for (fl = rcu_dereference(fl->next); \ 67 fl = rcu_dereference(fl->next)) 70 for (sfl = rcu_dereference(np->ipv6_fl_list); \ 72 sfl = rcu_dereference(sfl->nex 799 ip6fl_get_idx(struct seq_file * seq,loff_t pos) ip6fl_get_idx() argument 808 ip6fl_seq_start(struct seq_file * seq,loff_t * pos) ip6fl_seq_start() argument 819 ip6fl_seq_next(struct seq_file * seq,void * v,loff_t * pos) ip6fl_seq_next() argument 831 ip6fl_seq_stop(struct seq_file * seq,void * v) ip6fl_seq_stop() argument 837 ip6fl_seq_show(struct seq_file * seq,void * v) ip6fl_seq_show() argument [all...] |
/linux/security/apparmor/ |
H A D | apparmorfs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 1998-2008 Novell/SUSE 8 * Copyright 2009-2010 Canonical Ltd. 82 aa_put_loaddata(private->loaddata); in rawdata_f_data_free() 90 if (size > SIZE_MAX - sizeof(*ret)) in rawdata_f_data_alloc() 91 return ERR_PTR(-EINVAL); in rawdata_f_data_alloc() 95 return ERR_PTR(-ENOME in rawdata_f_data_alloc() 390 aa_simple_write_to_buffer(const char __user * userbuf,size_t alloc_size,size_t copy_size,loff_t * pos) aa_simple_write_to_buffer() argument 415 policy_update(u32 mask,const char __user * buf,size_t size,loff_t * pos,struct aa_ns * ns) policy_update() argument 444 profile_load(struct file * f,const char __user * buf,size_t size,loff_t * pos) profile_load() argument 461 profile_replace(struct file * f,const char __user * buf,size_t size,loff_t * pos) profile_replace() argument 478 profile_remove(struct file * f,const char __user * buf,size_t size,loff_t * pos) profile_remove() argument 890 multi_transaction_read(struct file * file,char __user * buf,size_t size,loff_t * pos) multi_transaction_read() argument 999 aa_sfs_seq_show(struct seq_file * seq,void * v) aa_sfs_seq_show() argument 1078 seq_profile_name_show(struct seq_file * seq,void * v) seq_profile_name_show() argument 1089 seq_profile_mode_show(struct seq_file * seq,void * v) seq_profile_mode_show() argument 1100 seq_profile_attach_show(struct seq_file * seq,void * v) seq_profile_attach_show() argument 1116 seq_profile_hash_show(struct seq_file * seq,void * v) seq_profile_hash_show() argument 1158 seq_ns_stacked_show(struct seq_file * seq,void * v) seq_ns_stacked_show() argument 1169 seq_ns_nsstacked_show(struct seq_file * seq,void * v) seq_ns_nsstacked_show() argument 1192 seq_ns_level_show(struct seq_file * seq,void * v) seq_ns_level_show() argument 1203 seq_ns_name_show(struct seq_file * seq,void * v) seq_ns_name_show() argument 1212 seq_ns_compress_min_show(struct seq_file * seq,void * v) seq_ns_compress_min_show() argument 1218 seq_ns_compress_max_show(struct seq_file * seq,void * v) seq_ns_compress_max_show() argument 1278 seq_rawdata_abi_show(struct seq_file * seq,void * v) seq_rawdata_abi_show() argument 1287 seq_rawdata_revision_show(struct seq_file * seq,void * v) seq_rawdata_revision_show() argument 1296 seq_rawdata_hash_show(struct seq_file * seq,void * v) seq_rawdata_hash_show() argument 1310 seq_rawdata_compressed_size_show(struct seq_file * seq,void * v) seq_rawdata_compressed_size_show() argument 2215 p_start(struct seq_file * f,loff_t * pos) p_start() argument 2243 p_next(struct seq_file * f,void * p,loff_t * pos) p_next() argument [all...] |
/linux/drivers/pci/controller/ |
H A D | pci-tegra.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * Copyright (c) 2008-2009, NVIDIA Corporation. 11 * Bits taken from arch/arm/mach-dove/pcie.c 25 #include <linux/irqchip/irq-msi-lib.h> 257 * Fields in PADS_REFCLK_CFG*. Those registers form an array of 16-bit 379 writel(value, pcie->afi + offset); in afi_writel() 384 return readl(pcie->af in afi_readl() 2483 tegra_pcie_ports_seq_start(struct seq_file * s,loff_t * pos) tegra_pcie_ports_seq_start() argument 2495 tegra_pcie_ports_seq_next(struct seq_file * s,void * v,loff_t * pos) tegra_pcie_ports_seq_next() argument 2502 tegra_pcie_ports_seq_stop(struct seq_file * s,void * v) tegra_pcie_ports_seq_stop() argument 2506 tegra_pcie_ports_seq_show(struct seq_file * s,void * v) tegra_pcie_ports_seq_show() argument [all...] |
/linux/drivers/video/fbdev/core/ |
H A D | modedb.c | 2 * linux/drivers/video/modedb.c -- Standard video mode database management 6 * 2001 - Documented with DocBook 7 * - Brad Douglas <brad@neruo.com> 22 #define name_matches(v, s, l) \ argument 23 ((v).name && !strncmp((s), (v).name, (l)) && strlen((v).name) == (l)) 24 #define res_matches(v, x, y) \ argument 25 ((v) 1095 struct list_head *pos, *n; fb_delete_videomode() local 1115 struct list_head *pos, *n; fb_destroy_modelist() local [all...] |
/linux/drivers/net/hamradio/ |
H A D | yam.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * yam.c -- YAM radio modem driver. 15 * 0.0 F1OAT 06.06.98 Begin of work with baycom.c source code V 0.3 61 /* -- 781 yam_seq_start(struct seq_file * seq,loff_t * pos) yam_seq_start() argument 786 yam_seq_next(struct seq_file * seq,void * v,loff_t * pos) yam_seq_next() argument 792 yam_seq_stop(struct seq_file * seq,void * v) yam_seq_stop() argument 796 yam_seq_show(struct seq_file * seq,void * v) yam_seq_show() argument [all...] |
/linux/drivers/input/touchscreen/ |
H A D | atmel_mxt_ts.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 2011-2014 Atmel Corporation 30 #include <media/v4l2-device.h> 31 #include <media/v4l2-ioctl.h> 32 #include <media/videobuf2-v4l2.h> 33 #include <media/videobuf2-vmallo 2893 unsigned int pos = 0; mxt_check_firmware_format() local 2919 unsigned int pos = 0; mxt_load_fw() local [all...] |
/linux/drivers/pci/ |
H A D | pci-acpi.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include <linux/pci-acpi.h> 18 #include <linux/pci-ecam.h> 26 * here to PCI-SIG members: 27 * https://members.pcisig.com/wg/PCI-SIG/document/15350 36 struct device *dev = &adev->dev; in acpi_get_rc_addr() 55 return -EINVAL; in acpi_get_rc_addr() 59 *res = *entry->re in acpi_get_rc_addr() 233 int pos; program_hpx_type1() local 310 int pos; program_hpx_type2() local 526 u16 pos; program_hpx_type3_register() local [all...] |
H A D | probe.c | 1 // SPDX-License-Identifier: GPL-2.0 53 if (r->domain_nr == domain_nr) in get_pci_domain_busn_res() 54 return &r->res; in get_pci_domain_busn_res() 60 r->domain_nr = domain_nr; in get_pci_domain_busn_res() 61 r->res.start = 0; in get_pci_domain_busn_res() 62 r->res.end = 0xff; in get_pci_domain_busn_res() 63 r->res.flags = IORESOURCE_BUS | IORESOURCE_PCI_FIXED; in get_pci_domain_busn_res() 65 list_add_tail(&r->lis in get_pci_domain_busn_res() 184 __pci_size_bars(struct pci_dev * dev,int count,unsigned int pos,u32 * sizes,bool rom) __pci_size_bars() argument 198 __pci_size_stdbars(struct pci_dev * dev,int count,unsigned int pos,u32 * sizes) __pci_size_stdbars() argument 203 __pci_size_rom(struct pci_dev * dev,unsigned int pos,u32 * sizes) __pci_size_rom() argument 219 __pci_read_base(struct pci_dev * dev,enum pci_bar_type type,struct resource * res,unsigned int pos,u32 * sizes) __pci_read_base() argument 348 unsigned int pos, reg; pci_read_bases() local 836 int pos; pci_set_bus_speed() local 1127 int pos; pci_bridge_child_ext_cfg_accessible() local 1616 int pos; set_pcie_port_type() local 1762 int pos, ret; pci_ext_cfg_is_aliased() local 1794 int pos = PCI_CFG_SPACE_SIZE; pci_cfg_space_size_ext() local 1806 int pos; pci_cfg_space_size() local 1979 int err, pos = 0; pci_setup_device() local 2276 u16 v; pcie_relaxed_ordering_enabled() local 2761 int pos; next_ari_fn() local [all...] |
H A D | quirks.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * This file contains work-arounds for many known PCI hardware bugs. 5 * should be handled in arch-specific code. 22 #include <linux/isa-dma.h> /* isa_dma_bridge_buggy */ 41 if (test_bit(PCI_LINK_LBMS_SEEN, &dev->priv_flags)) in pcie_lbms_seen() 102 int ret = -ENOTTY; in pcie_failed_link_retrain() 105 !pcie_cap_has_lnkctl2(dev) || !dev->link_active_reporting) in pcie_failed_link_retrain() 112 pci_info(dev, "broken device, retraining non-functiona in pcie_failed_link_retrain() 617 quirk_io(struct pci_dev * dev,int pos,unsigned int size,const char * name) quirk_io() argument 2747 int pos, ttl = PCI_FIND_CAP_TTL; msi_ht_cap_enabled() local 2801 int pos, ttl = PCI_FIND_CAP_TTL; ht_enable_msi_mapping() local 2940 int pos, ttl = PCI_FIND_CAP_TTL; ht_check_msi_mapping() local 2969 int pos; host_bridge_with_leaf() local 3002 int pos, ctrl_off; is_end_of_ht_chain() local 3027 int pos; nv_ht_enable_msi_mapping() local 3065 int pos, ttl = PCI_FIND_CAP_TTL; ht_disable_msi_mapping() local 3086 int pos; __nv_msi_ht_cap_quirk() local 4935 int pos; pci_quirk_intel_spt_pch_acs() local 5346 int pos; pci_quirk_enable_intel_spt_pch_acs() local 5376 int pos; pci_quirk_disable_intel_spt_pch_acs_redir() local 5464 int pos, i = 0, ret; quirk_intel_qat_vf_cap() local 5804 int pos; pci_idt_bus_quirk() local [all...] |
/linux/drivers/media/i2c/ |
H A D | ds90ub960.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Driver for the Texas Instruments DS90UB960-Q1 video deserializer 12 * - PM for serializer and remote peripherals. We need to manage: 13 * - VPOC 14 * - Power domain? Regulator? Somehow any remote device should be able to 16 * - Link between the deserializer and the serializer 17 * - Related to VPOC management. We probably always want to turn on the VPOC 19 * - Serialize 58 MHZ(v) global() argument 727 unsigned int v; ub960_read() local 856 unsigned int v; ub960_rxport_read() local 1005 unsigned int v; ub960_txport_read() local 1119 unsigned int v; ub960_read_ind() local 1242 unsigned int v; ub960_reset() local 1501 u8 v; ub960_rxport_clear_errors() local 1532 u8 v; ub960_rxport_get_strobe_pos() local 1613 u8 v; ub960_rxport_get_eq_level() local 1631 u8 v; ub960_rxport_set_eq_level() local 1911 u16 v; ub960_rxport_wait_locks() local 3296 u16 v; ub960_rxport_handle_events() local 3356 u16 v; ub960_rxport_handle_events() local 3365 u16 v; ub960_rxport_handle_events() local 4065 u8 v; ub960_log_status_ub960_sp_eq() local 4129 u8 v = 0; ub960_log_status() local [all...] |
/linux/drivers/i2c/busses/ |
H A D | i2c-mxs.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2012-2013 Marek Vasut <marex@denx.de> 6 * Copyright (C) 2011-2012 Wolfram Sang, Pengutronix e.K. 8 * based on a (non-working) driver which was: 10 * Copyright (C) 2009-2010 Freescale Semiconductor, Inc. All Rights Reserved. 25 #include <linux/dma-mapping.h> 27 #include <linux/dma/mxs-dma.h> 29 #define DRIVER_NAME "mxs-i2 44 MXS_I2C_CTRL0_XFER_COUNT(v) global() argument [all...] |
/linux/drivers/block/ |
H A D | rbd.c | 3 rbd.c -- Export ceph rados objects as a Linux block device 27 Documentation/ABI/testing/sysfs-bus-rbd 43 #include <linux/blk-mq.h> 58 * -EINVAL without updating it. 60 static int atomic_inc_return_safe(atomic_t *v) in atomic_inc_return_safe() argument 64 counter = (unsigned int)atomic_fetch_add_unless(v, 1, 0); in atomic_inc_return_safe() 68 atomic_dec(v); in atomic_inc_return_safe() 70 return -EINVA in atomic_inc_return_safe() 74 atomic_dec_return_safe(atomic_t * v) atomic_dec_return_safe() argument 2464 union rbd_img_fill_iter *pos; global() member [all...] |
/linux/fs/jbd2/ |
H A D | journal.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Copyright 1998 Red Hat corp --- All Rights Reserved 9 * Generic filesystem journal-writing code; part of the ext2fs 17 * file: that is left to a per-journal policy function, which allows us 18 * to store the journal within a filesystem-specified area for ext2 40 #include <linux/backing-de 1113 jbd2_seq_info_start(struct seq_file * seq,loff_t * pos) jbd2_seq_info_start() argument 1118 jbd2_seq_info_next(struct seq_file * seq,void * v,loff_t * pos) jbd2_seq_info_next() argument 1124 jbd2_seq_info_show(struct seq_file * seq,void * v) jbd2_seq_info_show() argument 1161 jbd2_seq_info_stop(struct seq_file * seq,void * v) jbd2_seq_info_stop() argument [all...] |
/linux/mm/ |
H A D | vmscan.c | 1 // SPDX-License-Identifier: GPL-2.0 31 #include <linux/backing-dev.h> 45 #include <linux/memory-tiers.h> 188 if ((_folio)->lru.prev != _base) { \ 191 prev = lru_to_folio(&(_folio->lru)); \ 192 prefetchw(&prev->_field); \ 209 return sc->target_mem_cgroup; in cgroup_reclaim() 218 return !sc->target_mem_cgrou in root_reclaim() 3188 read_ctrl_pos(struct lruvec * lruvec,int type,int tier,int gain,struct ctrl_pos * pos) read_ctrl_pos() argument 4982 struct hlist_nulls_node *pos; shrink_many() local 5330 lru_gen_seq_start(struct seq_file * m,loff_t * pos) lru_gen_seq_start() argument 5352 lru_gen_seq_stop(struct seq_file * m,void * v) lru_gen_seq_stop() argument 5361 lru_gen_seq_next(struct seq_file * m,void * v,loff_t * pos) lru_gen_seq_next() argument 5435 lru_gen_seq_show(struct seq_file * m,void * v) lru_gen_seq_show() argument 5587 lru_gen_seq_write(struct file * file,const char __user * src,size_t len,loff_t * pos) lru_gen_seq_write() argument [all...] |
/linux/drivers/platform/x86/lenovo/ |
H A D | thinkpad_acpi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * thinkpad_acpi.c - ThinkPad ACPI Extras 5 * Copyright (C) 2004-2005 Borislav Deianov <borislav@users.sf.net> 6 * Copyright (C) 2006-2009 Henrique de Moraes Holschuh <hmh@hmh.eng.br> 16 * 2007-10-2 694 int v; acpi_ec_read() local 708 acpi_ec_write(int i,u8 v) acpi_ec_write() argument 907 dispatch_proc_show(struct seq_file * m,void * v) dispatch_proc_show() argument 923 dispatch_proc_write(struct file * file,const char __user * userbuf,size_t count,loff_t * pos) dispatch_proc_write() argument 9622 int ret, v; tpacpi_battery_set_validate() local 9757 struct power_supply *supply = to_power_supply(dev); tpacpi_battery_store() local 9825 struct power_supply *supply = to_power_supply(dev); tpacpi_battery_show() local 9867 struct power_supply *supply = to_power_supply(dev); charge_behaviour_show() local 9914 struct power_supply *supply = to_power_supply(dev); charge_behaviour_store() local [all...] |
/linux/drivers/usb/gadget/ |
H A D | composite.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * composite.c - infrastructure for Composite USB Gadgets 5 * Copyright (C) 2006-2008 David Brownell 27 * struct usb_os_string - represents OS String to be reported by a gadget 46 * with the relevant device-wide data. 52 return (struct usb_gadget_strings **)uc->stash; in get_containers_gs() 56 * function_descriptors() - get function descriptors for speed 75 descriptors = f->ssp_descriptor in function_descriptors() 618 struct list_head *pos; config_desc() local [all...] |
/linux/net/packet/ |
H A D | af_packet.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * PACKET - implements raw packet sockets. 22 * Alan Cox : Re-commented the code. 30 * Alan Cox : New buffers. Use sk->mac.raw. 101 - If the device has no dev->header_op 4745 packet_seq_start(struct seq_file * seq,loff_t * pos) packet_seq_start() argument 4754 packet_seq_next(struct seq_file * seq,void * v,loff_t * pos) packet_seq_next() argument 4760 packet_seq_stop(struct seq_file * seq,void * v) packet_seq_stop() argument 4766 packet_seq_show(struct seq_file * seq,void * v) packet_seq_show() argument [all...] |
/linux/tools/lib/bpf/ |
H A D | libbpf.c | 1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 6 * Copyright (C) 2013-2015 Alexei Starovoitov <ast@kernel.org> 72 #pragma GCC diagnostic ignored "-Wformat-nonliteral" 300 if (err != -EPERM || geteuid() != 0) in pr_perm_msg() 317 pr_warn("permission error while running as root; try raising 'ulimit - in pr_perm_msg() 2147 is_kcfg_value_in_range(const struct extern_desc * ext,__u64 v) is_kcfg_value_in_range() argument 3144 const struct btf_var_secinfo *v = btf_var_secinfos(t); bpf_object__sanitize_btf() local 10565 struct bpf_map *pos; bpf_object__find_map_by_name() local [all...] |
/linux/drivers/soc/mediatek/ |
H A D | mtk-svs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 22 #include <linux/nvmem-consumer.h> 147 inode->i_private); \ 162 inode->i_private); \ 177 * enum svsb_sw_id - SVS Bank Software ID 193 * enum svsb_type - SVS Bank 2-lin 760 svs_enable_debug_show(struct seq_file * m,void * v) svs_enable_debug_show() argument 787 svs_enable_debug_write(struct file * filp,const char __user * buffer,size_t count,loff_t * pos) svs_enable_debug_write() argument 817 svs_status_debug_show(struct seq_file * m,void * v) svs_status_debug_show() argument [all...] |