Home
last modified time | relevance | path

Searched +full:ri +full:- +full:override (Results 1 – 24 of 24) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/serial/
Dsnps-dw-apb-uart.yaml1 # 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: serial.yaml#
18 - items:
19 - enum:
20 - renesas,r9a06g032-uart
21 - renesas,r9a06g033-uart
[all …]
/Linux-v6.1/arch/riscv/boot/dts/canaan/
Dk210.dtsi1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com>
6 #include <dt-bindings/clock/k210-clk.h>
7 #include <dt-bindings/pinctrl/k210-fpioa.h>
8 #include <dt-bindings/reset/k210-rst.h>
12 * Although the K210 is a 64-bit CPU, the address bus is only 32-bits
15 #address-cells = <1>;
16 #size-cells = <1>;
17 compatible = "canaan,kendryte-k210";
28 * Since this is a non-ratified draft specification, the kernel does not
[all …]
/Linux-v6.1/drivers/media/pci/bt8xx/
Dbttv-risc.c1 // 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 …]
/Linux-v6.1/scripts/dtc/
Dlivetree.c1 // 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 …]
/Linux-v6.1/arch/ia64/kernel/
Dkprobes.c1 // 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 …]
Dptrace.c1 // 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 …]
/Linux-v6.1/net/mac80211/
Dutil.c1 // 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-2022 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 …]
/Linux-v6.1/net/ipv6/
Dndisc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
157 space -= pad; in __ndisc_fill_addr_option()
162 space -= data_len; in __ndisc_fill_addr_option()
171 __ndisc_fill_addr_option(skb, type, data, skb->dev->addr_len, in ndisc_fill_addr_option()
172 ndisc_addr_option_pad(skb->dev->type)); in ndisc_fill_addr_option()
173 ndisc_ops_fill_addr_option(skb->dev, skb, icmp6_type); in ndisc_fill_addr_option()
181 ndisc_ops_fill_redirect_addr_option(skb->dev, skb, ops_data); in ndisc_fill_redirect_addr_option()
190 type = cur->nd_opt_type; in ndisc_next_option()
192 cur = ((void *)cur) + (cur->nd_opt_len << 3); in ndisc_next_option()
193 } while (cur < end && cur->nd_opt_type != type); in ndisc_next_option()
[all …]
/Linux-v6.1/drivers/tty/serial/8250/
D8250_dw.c1 // SPDX-License-Identifier: GPL-2.0+
72 struct dw8250_data *d = to_dw8250_data(p->private_data); in dw8250_modify_msr()
74 /* Override any modem control signals if needed */ in dw8250_modify_msr()
76 value |= d->msr_mask_on; in dw8250_modify_msr()
77 value &= ~d->msr_mask_off; in dw8250_modify_msr()
95 if (up->fcr & UART_FCR_ENABLE_FIFO) { in dw8250_force_idle()
96 lsr = p->serial_in(p, UART_LSR); in dw8250_force_idle()
101 (void)p->serial_in(p, UART_RX); in dw8250_force_idle()
106 void __iomem *offset = p->membase + (UART_LCR << p->regshift); in dw8250_check_lcr()
110 while (tries--) { in dw8250_check_lcr()
[all …]
/Linux-v6.1/net/core/
Dfilter.c1 // 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()
93 return -EINVAL; in copy_bpf_fprog_from_user()
95 return -EFAULT; in copy_bpf_fprog_from_user()
97 dst->len = f32.len; in copy_bpf_fprog_from_user()
98 dst->filter = compat_ptr(f32.filter); in copy_bpf_fprog_from_user()
101 return -EINVAL; in copy_bpf_fprog_from_user()
[all …]
/Linux-v6.1/arch/powerpc/include/asm/
Datomic.h1 /* SPDX-License-Identifier: GPL-2.0 */
13 #include <asm/asm-const.h>
17 * a "bne-" instruction at the end, so an isync is enough as a acquire barrier
30 __asm__ __volatile__("lwz%U1%X1 %0,%1" : "=r"(t) : "m<>"(v->counter)); in arch_atomic_read()
37 __asm__ __volatile__("stw%U0%X0 %1,%0" : "=m<>"(v->counter) : "r"(i)); in arch_atomic_set()
49 " bne- 1b\n" \
50 : "=&r" (t), "+m" (v->counter) \
51 : "r"#sign (a), "r" (&v->counter) \
64 " bne- 1b\n" \
65 : "=&r" (t), "+m" (v->counter) \
[all …]
Dreg.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 * number used in the Programming Environments Manual For 32-Bit
17 #include <asm/asm-const.h>
18 #include <asm/feature-fixups.h>
74 /* so tests for these bits fail on 32-bit */
116 #define MSR_TS_N 0 /* Non-transactional */
161 /* Power Management - Processor Stop Status and Control Register Fields */
165 #define PSSCR_PSLL_MASK 0x000F0000 /* Power-Saving Level Limit */
169 #define PSSCR_PLS 0xf000000000000000 /* Power-saving Level Status */
171 #define PSSCR_GUEST_VIS 0xf0000000000003ffUL /* Guest-visible PSSCR fields */
[all …]
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dce/
Ddce_i2c_hw.c35 dce_i2c_hw->ctx
37 dce_i2c_hw->regs->reg
41 dce_i2c_hw->shifts->field_name, dce_i2c_hw->masks->field_name
59 DC_I2C_TRANSACTION_COUNT, dce_i2c_hw->transaction_count - 1); in execute_transaction()
67 dce_i2c_hw->transaction_count = 0; in execute_transaction()
68 dce_i2c_hw->buffer_used_bytes = 0; in execute_transaction()
80 else if (value & dce_i2c_hw->masks->DC_I2C_SW_STOPPED_ON_NACK) in get_channel_status()
82 else if (value & dce_i2c_hw->masks->DC_I2C_SW_TIMEOUT) in get_channel_status()
84 else if (value & dce_i2c_hw->masks->DC_I2C_SW_ABORTED) in get_channel_status()
86 else if (value & dce_i2c_hw->masks->DC_I2C_SW_DONE) in get_channel_status()
[all …]
/Linux-v6.1/drivers/usb/serial/
Dark3116.c1 // 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 …]
/Linux-v6.1/drivers/gpu/drm/i915/display/
Dintel_display_types.h3 * Copyright (c) 2007-2008 Intel Corporation
47 #include <media/cec-notifier.h>
67 /* these are outputs from the chip - integrated only
85 HDMI_AUDIO_OFF_DVI = -2, /* no aux data for HDMI-DVI converter */
101 * create the DMA scatter-gather list for each FB color plane. This sg
113 * in the rotated and remapped GTT view all no-CCS formats (up to 2
210 * state. This must be called _after_ display->get_pipe_config has
211 * pre-filled the pipe config. Note that intel_encoder->base.crtc must
407 * and the bus-specific code. What that means is that HDCP over HDMI differs
412 * - DP AUX vs. DDC
[all …]
/Linux-v6.1/drivers/net/ethernet/broadcom/
Dtg3.c7 * Copyright (C) 2005-2016 Broadcom Corporation.
8 * Copyright (C) 2016-2017 Broadcom Limited.
14 * Copyright (C) 2000-2016 Broadcom Corporation.
15 * Copyright (C) 2016-2017 Broadcom Ltd.
52 #include <linux/dma-mapping.h>
56 #include <linux/hwmon-sysfs.h>
92 _tg3_flag(TG3_FLAG_##flag, (tp)->tg3_flags)
94 _tg3_flag_set(TG3_FLAG_##flag, (tp)->tg3_flags)
96 _tg3_flag_clear(TG3_FLAG_##flag, (tp)->tg3_flags)
122 * and dev->tx_timeout() should be called to fix the problem
[all …]
/Linux-v6.1/drivers/net/fddi/skfp/
Dskfddi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
41 * 02-Mar-98 CG Created.
43 * 10-Mar-99 CG Support for 2.2.x added.
44 * 25-Mar-99 CG Corrected IRQ routing for SMP (APIC)
45 * 26-Oct-99 CG Fixed compilation error on 2.2.13
46 * 12-Nov-99 CG Source code release
47 * 22-Nov-99 CG Included in kernel source.
48 * 07-May-00 DM 64 bit fixes, new dma interface
49 * 31-Jul-03 DB Audit copy_*_user in skfp_ioctl
51 * 03-Dec-03 SH Convert to PCI device model
[all …]
/Linux-v6.1/drivers/net/ethernet/intel/fm10k/
Dfm10k_pci.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2013 - 2019 Intel Corporation. */
16 * fm10k_pci_tbl - PCI Device ID Table
36 struct fm10k_intfc *interface = hw->back; in fm10k_read_pci_cfg_word()
39 if (FM10K_REMOVED(hw->hw_addr)) in fm10k_read_pci_cfg_word()
42 pci_read_config_word(interface->pdev, reg, &value); in fm10k_read_pci_cfg_word()
51 u32 __iomem *hw_addr = READ_ONCE(hw->hw_addr); in fm10k_read_reg()
59 struct fm10k_intfc *interface = hw->back; in fm10k_read_reg()
60 struct net_device *netdev = interface->netdev; in fm10k_read_reg()
62 hw->hw_addr = NULL; in fm10k_read_reg()
[all …]
/Linux-v6.1/drivers/char/pcmcia/
Dsynclink_cs.c83 #define COPY_FROM_USER(error,dest,src,size) error = copy_from_user(dest,src,size) ? -EFAULT : 0
85 #define COPY_TO_USER(error,dest,src,size) error = copy_to_user(dest,src,size) ? -EFAULT : 0
197 int if_mode; /* serial interface selection (RS-232, v.35 etc) */
321 #define write_reg(info, reg, val) outb((val),(info)->io_base + (reg))
322 #define read_reg(info, reg) inb((info)->io_base + (reg))
324 #define read_reg16(info, reg) inw((info)->io_base + (reg))
325 #define write_reg16(info, reg, val) outw((val), (info)->io_base + (reg))
339 info->imra_value |= mask; in irq_disable()
340 write_reg16(info, CHA + IMR, info->imra_value); in irq_disable()
342 info->imrb_value |= mask; in irq_disable()
[all …]
/Linux-v6.1/drivers/scsi/csiostor/
Dcsio_hw.c4 * Copyright (c) 2008-2012 Chelsio Communications, Inc. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
64 {"T580-Dbg 10G", "Chelsio T580-Dbg 10G [FCoE]"},
65 {"T520-CR 10G", "Chelsio T520-CR 10G [FCoE]"},
66 {"T522-CR 10G/1G", "Chelsio T522-CR 10G/1G [FCoE]"},
67 {"T540-CR 10G", "Chelsio T540-CR 10G [FCoE]"},
68 {"T520-BCH 10G", "Chelsio T520-BCH 10G [FCoE]"},
69 {"T540-BCH 10G", "Chelsio T540-BCH 10G [FCoE]"},
70 {"T540-CH 10G", "Chelsio T540-CH 10G [FCoE]"},
[all …]
/Linux-v6.1/drivers/tty/
Dsynclink_gt.c1 // SPDX-License-Identifier: GPL-1.0+
28 * DBGINFO information - most verbose output
130 MODULE_PARM_DESC(ttymajor, "TTY major device number override: 0=auto assigned");
146 #define dev_to_port(D) (dev_to_hdlc(D)->priv)
497 printk("%s %s data:\n",info->device_name, label); in trace_block()
512 count -= linecount; in trace_block()
523 printk("tbuf_current=%d\n", info->tbuf_current); in dump_tbufs()
524 for (i=0 ; i < info->tbuf_count ; i++) { in dump_tbufs()
526 i, le16_to_cpu(info->tbufs[i].count), le16_to_cpu(info->tbufs[i].status)); in dump_tbufs()
537 printk("rbuf_current=%d\n", info->rbuf_current); in dump_rbufs()
[all …]
/Linux-v6.1/drivers/media/pci/cx23885/
Dcx23885-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
24 #include "altera-ci.h"
25 #include "cx23888-ir.h"
26 #include "cx23885-ir.h"
27 #include "cx23885-av.h"
28 #include "cx23885-input.h"
45 …a_reset_workaround, "periodic RiSC dma engine reset; 0-force disable, 1-driver detect (default), 2
51 static unsigned int card[] = {[0 ... (CX23885_MAXBOARDS - 1)] = UNSET };
63 #define NO_SYNC_LINE (-1U)
310 spin_lock_irqsave(&dev->pci_irqmask_lock, flags); in cx23885_irq_add()
[all …]
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c4 * Copyright (c) 2003-2016 Chelsio Communications, Inc. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
110 /* Include PCI Device IDs for both PF4 and PF0-3 so our PCI probe() routine is
127 #define FW4_CFNAME "cxgb4/t4-config.txt"
128 #define FW5_CFNAME "cxgb4/t5-config.txt"
129 #define FW6_CFNAME "cxgb4/t6-config.txt"
145 * order MSI-X, MSI, legacy INTx interrupts. This parameter determines which
155 MODULE_PARM_DESC(msi, "whether to use INTx (0), MSI (1) or MSI-X (2)");
159 * offset by 2 bytes in order to have the IP headers line up on 4-byte
[all …]
/Linux-v6.1/drivers/net/ethernet/agere/
Det131x.c2 * 10/100/1000 Base-T Ethernet Driver for the ET1301 and ET131x series MACs
10 *------------------------------------------------------------------------------
87 MODULE_DESCRIPTION("10/100/1000 Base-T Ethernet Driver for the ET1310 by Agere Systems");
106 * In both cases, when flow control is enabled for either Tx or bi-direction,
156 #define ET131X_PCI_DEVICE_ID_GIG 0xED00 /* ET1310 1000 Base-T 8 */
157 #define ET131X_PCI_DEVICE_ID_FAST 0xED01 /* ET1310 100 Base-T */
173 /* number of RFDs - default and min */
189 u32 word2; /* Bits 10-31 reserved, 0-9 descriptor */
197 * PE-MCXMAC Data Sheet IPD DS54 0210-1 (also IPD-DS80 0205-2)
210 * 11-15: unused
[all …]