| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/serial/ |
| D | snps-dw-apb-uart.txt | 4 - compatible : "snps,dw-apb-uart" 5 - reg : offset and length of the register set for the device. 6 - interrupts : should contain uart interrupt. 10 - clock-frequency : the input clock frequency for the UART. 11 - clocks : phandle to the input clock 14 - clock-names: tuple listing input clock names. 18 - snps,uart-16550-compatible : reflects the value of UART_16550_COMPATIBLE 21 - resets : phandle to the parent reset controller. 22 - reg-shift : quantity to shift the register offsets by. If this property is 24 - reg-io-width : the size (in bytes) of the IO accesses that should be [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/serial/ |
| D | snps-dw-apb-uart.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/serial/snps-dw-apb-uart.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 13 - $ref: /schemas/serial.yaml# 18 - items: 19 - enum: 20 - renesas,r9a06g032-uart 21 - renesas,r9a06g033-uart [all …]
|
| /kernel/linux/linux-4.19/arch/x86/kernel/kprobes/ |
| D | core.c | 16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 20 * 2002-Oct Created by Vamsi Krishna S <vamsi_krishna@in.ibm.com> Kernel 23 * 2004-July Suparna Bhattacharya <suparna@in.ibm.com> added jumper probes 25 * 2004-Oct Jim Keniston <jkenisto@us.ibm.com> and Prasanna S Panchamukhi 27 * 2005-Mar Roland McGrath <roland@redhat.com> 28 * Fixed to handle %rip-relative addressing mode correctly. 29 * 2005-May Hien Nguyen <hien@us.ibm.com>, Jim Keniston 31 * <prasanna@in.ibm.com> added function-return probes. 32 * 2005-May Rusty Lynch <rusty.lynch@intel.com> 34 * 2006-Feb Masami Hiramatsu <hiramatu@sdl.hitachi.co.jp> added [all …]
|
| /kernel/linux/linux-5.10/drivers/media/pci/bt8xx/ |
| D | bttv-risc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 bttv-risc.c -- interfaces to other kernel modules 7 - memory management 8 - generation 10 (c) 2000-2003 Gerd Knorr <kraxel@bytesex.org> 25 #include <media/v4l2-ioctl.h> 31 /* ---------------------------------------------------------- */ 54 if ((rc = btcx_riscmem_alloc(btv->c.pci,risc,instructions)) < 0) in bttv_risc_packed() 58 rp = risc->cpu; in bttv_risc_packed() 62 while (skip_lines-- > 0) { in bttv_risc_packed() [all …]
|
| /kernel/linux/linux-4.19/drivers/media/pci/bt8xx/ |
| D | bttv-risc.c | 3 bttv-risc.c -- interfaces to other kernel modules 6 - memory management 7 - generation 9 (c) 2000-2003 Gerd Knorr <kraxel@bytesex.org> 37 #include <media/v4l2-ioctl.h> 43 /* ---------------------------------------------------------- */ 66 if ((rc = btcx_riscmem_alloc(btv->c.pci,risc,instructions)) < 0) in bttv_risc_packed() 70 rp = risc->cpu; in bttv_risc_packed() 74 while (skip_lines-- > 0) { in bttv_risc_packed() 82 if ((btv->opt_vcr_hack) && in bttv_risc_packed() [all …]
|
| /kernel/linux/linux-5.10/scripts/dtc/ |
| D | livetree.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 if (streq(new->label, label)) { in add_label() 20 new->deleted = 0; in add_label() 26 new->label = label; in add_label() 27 new->next = *labels; in add_label() 36 label->deleted = 1; in delete_labels() 46 new->name = name; in build_property() 47 new->val = val; in build_property() 48 new->srcpos = srcpos_copy(srcpos); in build_property() 59 new->name = name; in build_property_delete() [all …]
|
| /kernel/linux/linux-4.19/scripts/dtc/ |
| D | livetree.c | 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 33 if (streq(new->label, label)) { in add_label() 34 new->deleted = 0; in add_label() 40 new->label = label; in add_label() 41 new->next = *labels; in add_label() 50 label->deleted = 1; in delete_labels() 59 new->name = name; in build_property() 60 new->val = val; in build_property() 71 new->name = name; in build_property_delete() 72 new->deleted = 1; in build_property_delete() [all …]
|
| /kernel/linux/linux-4.19/arch/ia64/kernel/ |
| D | kprobes.c | 17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 22 * 2005-Apr Rusty Lynch <rusty.lynch@intel.com> and Anil S Keshavamurthy 82 s64 rel = ((s64) to - (s64) from) >> 4; in set_brl_inst() 85 brl->quad0.template = 0x05; /* [MLX](stop) */ in set_brl_inst() 86 brl->quad0.slot0 = NOP_M_INST; /* nop.m 0x0 */ in set_brl_inst() 87 brl->quad0.slot1_p0 = ((rel >> 20) & 0x7fffffffff) << 2; in set_brl_inst() 88 brl->quad1.slot1_p1 = (((rel >> 20) & 0x7fffffffff) << 2) >> (64 - 46); in set_brl_inst() 90 brl->quad1.slot2 = BRL_INST(rel >> 59, rel & 0xfffff); in set_brl_inst() 103 p->ainsn.inst_flag = 0; in update_kprobe_inst_flag() 104 p->ainsn.target_br_reg = 0; in update_kprobe_inst_flag() [all …]
|
| D | ptrace.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 1999-2005 Hewlett-Packard Co 6 * David Mosberger-Tang <davidm@hpl.hp.com> 8 * 2006-08-12 - IA64 Native Utrace implementation support added by 46 * ri (restart instruction; two bits) 52 #define MASK(nbits) ((1UL << (nbits)) - 1) /* mask with NBITS bits set */ 64 /* Return TRUE if PT was created due to kernel-entry via a system-call. */ 69 return (long) pt->cr_ifs >= 0; in in_syscall() 73 * Collect the NaT bits for r1-r31 from scratch_unat and return a NaT 81 unsigned long bit = ia64_unat_pos(&pt->r##first); \ in ia64_get_scratch_nat_bits() [all …]
|
| /kernel/linux/linux-5.10/arch/ia64/kernel/ |
| D | kprobes.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * 2005-Apr Rusty Lynch <rusty.lynch@intel.com> and Anil S Keshavamurthy 69 s64 rel = ((s64) to - (s64) from) >> 4; in set_brl_inst() 72 brl->quad0.template = 0x05; /* [MLX](stop) */ in set_brl_inst() 73 brl->quad0.slot0 = NOP_M_INST; /* nop.m 0x0 */ in set_brl_inst() 74 brl->quad0.slot1_p0 = ((rel >> 20) & 0x7fffffffff) << 2; in set_brl_inst() 75 brl->quad1.slot1_p1 = (((rel >> 20) & 0x7fffffffff) << 2) >> (64 - 46); in set_brl_inst() 77 brl->quad1.slot2 = BRL_INST(rel >> 59, rel & 0xfffff); in set_brl_inst() 90 p->ainsn.inst_flag = 0; in update_kprobe_inst_flag() 91 p->ainsn.target_br_reg = 0; in update_kprobe_inst_flag() [all …]
|
| D | ptrace.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 1999-2005 Hewlett-Packard Co 6 * David Mosberger-Tang <davidm@hpl.hp.com> 8 * 2006-08-12 - IA64 Native Utrace implementation support added by 42 * ri (restart instruction; two bits) 48 #define MASK(nbits) ((1UL << (nbits)) - 1) /* mask with NBITS bits set */ 60 /* Return TRUE if PT was created due to kernel-entry via a system-call. */ 65 return (long) pt->cr_ifs >= 0; in in_syscall() 69 * Collect the NaT bits for r1-r31 from scratch_unat and return a NaT 77 unsigned long bit = ia64_unat_pos(&pt->r##first); \ in ia64_get_scratch_nat_bits() [all …]
|
| /kernel/liteos_a/fs/jffs2/ |
| D | jffs2.patch | 1 diff -Nupr old/fs/jffs2/acl.c new/fs/jffs2/acl.c 2 --- old/fs/jffs2/acl.c 2022-05-09 17:15:24.350000000 +0800 3 +++ new/fs/jffs2/acl.c 1970-01-01 08:00:00.000000000 +0800 4 @@ -1,307 +0,0 @@ 5 -/* 6 - * JFFS2 -- Journalling Flash File System, Version 2. 7 - * 8 - * Copyright © 2006 NEC Corporation 9 - * 10 - * Created by KaiGai Kohei <kaigai@ak.jp.nec.com> [all …]
|
| /kernel/linux/linux-4.19/include/linux/ |
| D | filter.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 53 #define BPF_REG_D BPF_REG_8 /* data, callee-saved */ 54 #define BPF_REG_H BPF_REG_9 /* hlen, callee-saved */ 165 /* BPF_LD_IMM64 macro encodes single 'load 64-bit immediate' insn */ 183 /* pseudo BPF_LD_IMM64 insn used to refer to process-local map_fd */ 205 /* Direct packet access, R0 = *(uint *) (skb->data + imm32) */ 215 /* Indirect packet access, R0 = *(uint *) (skb->data + src_reg + imm32) */ 285 /* Like BPF_JMP_REG, but with 32-bit wide operands for comparison. */ 295 /* Like BPF_JMP_IMM, but with 32-bit wide operands for comparison. */ 336 .imm = ((FUNC) - __bpf_call_base) }) [all …]
|
| /kernel/linux/linux-4.19/drivers/net/wireless/ath/wil6210/ |
| D | main.c | 2 * Copyright (c) 2012-2017 Qualcomm Atheros, Inc. 57 unsigned int mtu_max = TXRX_BUF_LEN_DEFAULT - WIL_MAX_MPDU_OVERHEAD; 70 ret = -EINVAL; in mtu_max_set() 97 return -EINVAL; in ring_order_set() 99 *((uint *)kp->arg) = x; in ring_order_set() 141 * one has to read/write to/from NIC in 32-bit chunks; 143 * not work on 64-bit platform - it uses 64-bit transactions 145 * Force 32-bit transactions to enable NIC on 64-bit platforms 148 * should be used - {read|write}l would swap bytes to provide 157 for (; count >= 4; count -= 4) in wil_memcpy_fromio_32() [all …]
|
| /kernel/linux/linux-5.10/drivers/tty/serial/8250/ |
| D | 8250_dw.c | 1 // SPDX-License-Identifier: GPL-2.0+ 73 struct dw8250_data *d = to_dw8250_data(p->private_data); in dw8250_modify_msr() 75 /* Override any modem control signals if needed */ in dw8250_modify_msr() 77 value |= d->msr_mask_on; in dw8250_modify_msr() 78 value &= ~d->msr_mask_off; in dw8250_modify_msr() 89 (void)p->serial_in(p, UART_RX); in dw8250_force_idle() 94 void __iomem *offset = p->membase + (UART_LCR << p->regshift); in dw8250_check_lcr() 98 while (tries--) { in dw8250_check_lcr() 99 unsigned int lcr = p->serial_in(p, UART_LCR); in dw8250_check_lcr() 107 if (p->type == PORT_OCTEON) in dw8250_check_lcr() [all …]
|
| /kernel/linux/linux-5.10/net/ipv6/ |
| D | ndisc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 156 space -= pad; in __ndisc_fill_addr_option() 161 space -= data_len; in __ndisc_fill_addr_option() 170 __ndisc_fill_addr_option(skb, type, data, skb->dev->addr_len, in ndisc_fill_addr_option() 171 ndisc_addr_option_pad(skb->dev->type)); in ndisc_fill_addr_option() 172 ndisc_ops_fill_addr_option(skb->dev, skb, icmp6_type); in ndisc_fill_addr_option() 180 ndisc_ops_fill_redirect_addr_option(skb->dev, skb, ops_data); in ndisc_fill_redirect_addr_option() 189 type = cur->nd_opt_type; in ndisc_next_option() 191 cur = ((void *)cur) + (cur->nd_opt_len << 3); in ndisc_next_option() 192 } while (cur < end && cur->nd_opt_type != type); in ndisc_next_option() [all …]
|
| /kernel/linux/linux-4.19/net/ipv6/ |
| D | ndisc.c | 155 space -= pad; in __ndisc_fill_addr_option() 160 space -= data_len; in __ndisc_fill_addr_option() 169 __ndisc_fill_addr_option(skb, type, data, skb->dev->addr_len, in ndisc_fill_addr_option() 170 ndisc_addr_option_pad(skb->dev->type)); in ndisc_fill_addr_option() 171 ndisc_ops_fill_addr_option(skb->dev, skb, icmp6_type); in ndisc_fill_addr_option() 179 ndisc_ops_fill_redirect_addr_option(skb->dev, skb, ops_data); in ndisc_fill_redirect_addr_option() 188 type = cur->nd_opt_type; in ndisc_next_option() 190 cur = ((void *)cur) + (cur->nd_opt_len << 3); in ndisc_next_option() 191 } while (cur < end && cur->nd_opt_type != type); in ndisc_next_option() 192 return cur <= end && cur->nd_opt_type == type ? cur : NULL; in ndisc_next_option() [all …]
|
| /kernel/linux/linux-4.19/drivers/tty/serial/8250/ |
| D | 8250_dw.c | 1 // SPDX-License-Identifier: GPL-2.0+ 74 if (p->iotype == UPIO_MEM32BE) in dw8250_readl_ext() 75 return ioread32be(p->membase + offset); in dw8250_readl_ext() 76 return readl(p->membase + offset); in dw8250_readl_ext() 81 if (p->iotype == UPIO_MEM32BE) in dw8250_writel_ext() 82 iowrite32be(reg, p->membase + offset); in dw8250_writel_ext() 84 writel(reg, p->membase + offset); in dw8250_writel_ext() 89 struct dw8250_data *d = p->private_data; in dw8250_modify_msr() 91 /* Override any modem control signals if needed */ in dw8250_modify_msr() 93 value |= d->msr_mask_on; in dw8250_modify_msr() [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | filter.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 58 #define BPF_REG_D BPF_REG_8 /* data, callee-saved */ 59 #define BPF_REG_H BPF_REG_9 /* hlen, callee-saved */ 184 return insn->code == (BPF_ALU | BPF_MOV | BPF_X) && insn->imm == 1; in insn_is_zext() 187 /* BPF_LD_IMM64 macro encodes single 'load 64-bit immediate' insn */ 205 /* pseudo BPF_LD_IMM64 insn used to refer to process-local map_fd */ 227 /* Direct packet access, R0 = *(uint *) (skb->data + imm32) */ 237 /* Indirect packet access, R0 = *(uint *) (skb->data + src_reg + imm32) */ 307 /* Like BPF_JMP_REG, but with 32-bit wide operands for comparison. */ 317 /* Like BPF_JMP_IMM, but with 32-bit wide operands for comparison. */ [all …]
|
| /kernel/linux/linux-5.10/arch/x86/kernel/kprobes/ |
| D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * 2002-Oct Created by Vamsi Krishna S <vamsi_krishna@in.ibm.com> Kernel 10 * 2004-July Suparna Bhattacharya <suparna@in.ibm.com> added jumper probes 12 * 2004-Oct Jim Keniston <jkenisto@us.ibm.com> and Prasanna S Panchamukhi 14 * 2005-Mar Roland McGrath <roland@redhat.com> 15 * Fixed to handle %rip-relative addressing mode correctly. 16 * 2005-May Hien Nguyen <hien@us.ibm.com>, Jim Keniston 18 * <prasanna@in.ibm.com> added function-return probes. 19 * 2005-May Rusty Lynch <rusty.lynch@intel.com> 21 * 2006-Feb Masami Hiramatsu <hiramatu@sdl.hitachi.co.jp> added [all …]
|
| /kernel/linux/linux-4.19/net/core/ |
| D | filter.c | 2 * Linux Socket Filter - Kernel level socket filtering 7 * Copyright (c) 2011 - 2014 PLUMgrid, http://plumgrid.com 20 * Andi Kleen - Fix a few bad bugs and races. 21 * Kris Katterjohn - Added many additional checks in bpf_check_classic() 73 * sk_filter_trim_cap - run a packet through a socket filter 78 * Run the eBPF program and then cut skb->data to correct size returned by 79 * the program. If pkt_len is 0 we toss packet. If skb->len is smaller 80 * than pkt_len we keep whole skb->data. This is the socket level 82 * be accepted or -EPERM if the packet should be tossed. 97 return -ENOMEM; in sk_filter_trim_cap() [all …]
|
| /kernel/linux/linux-5.10/net/mac80211/ |
| D | util.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2002-2005, Instant802 Networks, Inc. 4 * Copyright 2005-2006, Devicescape Software, Inc. 5 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 7 * Copyright 2013-2014 Intel Mobile Communications GmbH 8 * Copyright (C) 2015-2017 Intel Deutschland GmbH 9 * Copyright (C) 2018-2020 Intel Corporation 29 #include "driver-ops.h" 44 return &local->hw; in wiphy_to_ieee80211_hw() 51 __le16 fc = hdr->frame_control; in ieee80211_get_bssid() [all …]
|
| /kernel/linux/linux-5.10/net/core/ |
| D | filter.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Linux Socket Filter - Kernel level socket filtering 8 * Copyright (c) 2011 - 2014 PLUMgrid, http://plumgrid.com 16 * Andi Kleen - Fix a few bad bugs and races. 17 * Kris Katterjohn - Added many additional checks in bpf_check_classic() 90 return -EINVAL; in copy_bpf_fprog_from_user() 92 return -EFAULT; in copy_bpf_fprog_from_user() 94 dst->len = f32.len; in copy_bpf_fprog_from_user() 95 dst->filter = compat_ptr(f32.filter); in copy_bpf_fprog_from_user() 98 return -EINVAL; in copy_bpf_fprog_from_user() [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/serial/ |
| D | ark3116.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * - implements a driver for the arkmicro ark3116 chipset (vendor=0x6547, 10 * productid=0x0232) (used in a datacable called KQ-U8A) 52 struct usb_device *dev = serial->dev; in is_irda() 53 if (le16_to_cpu(dev->descriptor.idVendor) == 0x18ec && in is_irda() 54 le16_to_cpu(dev->descriptor.idProduct) == 0x3118) in is_irda() 82 result = usb_control_msg(serial->dev, in ark3116_write_reg() 83 usb_sndctrlpipe(serial->dev, 0), in ark3116_write_reg() 97 result = usb_control_msg(serial->dev, in ark3116_read_reg() 98 usb_rcvctrlpipe(serial->dev, 0), in ark3116_read_reg() [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/i915/ |
| D | intel_drv.h | 3 * Copyright (c) 2007-2008 Intel Corporation 42 #include <media/cec-notifier.h> 45 * __wait_for - magic wait macro 67 ret__ = -ETIMEDOUT; \ 108 if (now - base >= timeout) { \ 109 ret = -ETIMEDOUT; \ 116 timeout -= now - base; \ 157 /* The i830->i865 use multiple DVOs with multiple i2cs */ 158 /* the i915, i945 have a single sDVO i2c bus - which is different */ 165 /* these are outputs from the chip - integrated only [all …]
|