Home
last modified time | relevance | path

Searched +full:addr +full:- +full:mode (Results 1 – 25 of 1073) sorted by relevance

12345678910>>...43

/linux/arch/s390/boot/
H A Dvmem.c1 // SPDX-License-Identifier: GPL-2.0
7 #include <asm/page-states.h>
65 static bool is_kasan_populate_mode(enum populate_mode mode) in is_kasan_populate_mode() argument
68 return mode >= POPULATE_KASAN_MAP_SHADOW; in is_kasan_populate_mode()
74 static void pgtable_populate(unsigned long addr, unsigned long end, enum populate_mode mode);
87 static inline void kasan_populate(unsigned long start, unsigned long end, enum populate_mode mode) in kasan_populate() argument
92 boot_debug("%-17s 0x%016lx-0x%016lx >> 0x%016lx-0x%016lx\n", get_populate_mode_name(mode), in kasan_populate()
94 pgtable_populate(sha_start, sha_end, mode); in kasan_populate()
138 static bool kasan_pgd_populate_zero_shadow(pgd_t *pgd, unsigned long addr, in kasan_pgd_populate_zero_shadow() argument
139 unsigned long end, enum populate_mode mode) in kasan_pgd_populate_zero_shadow() argument
[all …]
/linux/Documentation/devicetree/bindings/leds/
H A Dleds-netxbig.txt5 - compatible: "lacie,netxbig-leds".
6 - gpio-ext: Phandle for the gpio-ext bus.
9 - timers: Timer array. Each timer entry is represented by three integers:
10 Mode (gpio-ext bus), delay_on and delay_off.
12 Each LED is represented as a sub-node of the netxbig-leds device.
14 Required sub-node properties:
15 - mode-addr: Mode register address on gpio-ext bus.
16 - mode-val: Mode to value mapping. Each entry is represented by two integers:
17 A mode and the corresponding value on the gpio-ext bus.
18 - bright-addr: Brightness register address on gpio-ext bus.
[all …]
/linux/drivers/isdn/hardware/mISDN/
H A DmISDNinfineon.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * - ISAC + HSCX
6 * - IPAC and IPAC-X
7 * - ISAC-SX + HSCX
10 * - Dialogic Diva 2.0
11 * - Dialogic Diva 2.0U
12 * - Dialogic Diva 2.01
13 * - Dialogic Diva 2.02
14 * - Sedlbauer Speedwin
15 * - HST Saphir3
[all …]
/linux/include/trace/events/
H A Dmigrate.h1 /* SPDX-License-Identifier: GPL-2.0 */
54 enum migrate_mode mode, int reason),
57 thp_split, large_folio_split, mode, reason),
66 __field( enum migrate_mode, mode)
71 __entry->succeeded = succeeded;
72 __entry->failed = failed;
73 __entry->thp_succeeded = thp_succeeded;
74 __entry->thp_failed = thp_failed;
75 __entry->thp_split = thp_split;
76 __entry->large_folio_split = large_folio_split;
[all …]
H A Dxen.h1 /* SPDX-License-Identifier: GPL-2.0 */
16 TP_PROTO(enum xen_lazy_mode mode),
17 TP_ARGS(mode),
19 __field(enum xen_lazy_mode, mode)
21 TP_fast_assign(__entry->mode = mode),
23 (__entry->mode == XEN_LAZY_MMU) ? "MMU" :
24 (__entry->mode == XEN_LAZY_CPU) ? "CPU" : "NONE")
28 TP_PROTO(enum xen_lazy_mode mode), \
29 TP_ARGS(mode))
44 TP_fast_assign(__entry->op = mc->op;
[all …]
/linux/arch/arm/boot/dts/marvell/
H A Dkirkwood-net5big.dts1 // SPDX-License-Identifier: GPL-2.0
9 * Based on netxbig_v2-setup.c,
14 /dts-v1/;
17 #include "kirkwood-6281.dtsi"
18 #include "kirkwood-netxbig.dtsi"
22 compatible = "lacie,net5big_v2", "lacie,netxbig", "marvell,kirkwood-88f6281", "marvell,kirkwood";
33 compatible = "regulator-fixed";
35 regulator-name = "hdd1power";
36 regulator-min-microvolt = <5000000>;
37 regulator-max-microvolt = <5000000>;
[all …]
H A Dkirkwood-netxbig.dtsi1 // SPDX-License-Identifier: GPL-2.0
9 * Based on netxbig_v2-setup.c,
14 #include <dt-bindings/leds/leds-netxbig.h>
16 #include "kirkwood-6281.dtsi"
21 stdout-path = &uart0;
33 #address-cells = <1>;
34 #size-cells = <1>;
35 compatible = "mxicy,mx25l4005a", "jedec,spi-nor";
37 spi-max-frequency = <20000000>;
38 mode = <0>;
[all …]
/linux/arch/sh/kernel/cpu/shmobile/
H A Dpm.c1 // SPDX-License-Identifier: GPL-2.0
27 * Sleep mode is just plain "sleep" instruction
28 * Sleep Self-Refresh mode is above plus RAM put in Self-Refresh
29 * Standby Self-Refresh mode is above plus stopped clocks
37 * U-standby mode is unsupported since it needs bootloader hacks
46 void sh_mobile_call_standby(unsigned long mode) in sh_mobile_call_standby() argument
56 mode, NULL); in sh_mobile_call_standby()
59 if (mode & SUSP_SH_MMU) in sh_mobile_call_standby()
62 /* Let assembly snippet in on-chip memory handle the rest */ in sh_mobile_call_standby()
63 standby_onchip_mem(mode, RAM_BASE); in sh_mobile_call_standby()
[all …]
/linux/drivers/net/wan/
H A Dslic_ds26522.c1 // SPDX-License-Identifier: GPL-2.0-or-later
38 static void slic_write(struct spi_device *spi, u16 addr, in slic_write() argument
43 addr = bitrev16(addr) >> 1; in slic_write()
45 temp[0] = (u8)((addr >> 8) & 0x7f); in slic_write()
46 temp[1] = (u8)(addr & 0xfe); in slic_write()
49 /* write spi addr and value */ in slic_write()
53 static u8 slic_read(struct spi_device *spi, u16 addr) in slic_read() argument
58 addr = bitrev16(addr) >> 1; in slic_read()
59 temp[0] = (u8)(((addr >> 8) & 0x7f) | 0x80); in slic_read()
60 temp[1] = (u8)(addr & 0xfe); in slic_read()
[all …]
/linux/Documentation/devicetree/bindings/powerpc/fsl/
H A Dmpc5200.txt2 ----------------------------
4 (c) 2006-2009 Secret Lab Technologies Ltd
8 ------------------
9 For mpc5200 on-chip devices, the format for each compatible value is
10 <chip>-<device>[-<mode>]. The OS should be able to match a device driver
21 "fsl,mpc5200-<device>".
26 devices have extra functions but still have a backwards compatible mode.
29 compatible = "fsl,mpc5200b-<device>","fsl,mpc5200-<device>";
34 ie. ethernet on mpc5200: compatible = "fsl,mpc5200-fec";
35 ethernet on mpc5200b: compatible = "fsl,mpc5200b-fec", "fsl,mpc5200-fec";
[all …]
/linux/arch/microblaze/kernel/
H A Dexceptions.c4 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
13 * This file handles the architecture-dependent parts of hardware exceptions
56 _exception(SIGTRAP, regs, TRAP_BRKPT, regs->r16); in sw_exception()
57 flush_dcache_range(regs->r16, regs->r16 + 0x4); in sw_exception()
58 flush_icache_range(regs->r16, regs->r16 + 0x4); in sw_exception()
61 void _exception(int signr, struct pt_regs *regs, int code, unsigned long addr) in _exception() argument
64 die("Exception in kernel mode", regs, signr); in _exception()
66 force_sig_fault(signr, code, (void __user *)addr); in _exception()
70 int fsr, int addr) in full_exception() argument
72 addr = regs->pc; in full_exception()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_target.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 /* Copyright (C) 2015-2018 Netronome Systems, Inc. */
26 * 32-bit or 64-bit words. All others are not listed.
40 return -EINVAL; in target_rw()
51 return -EINVAL; in nfp6000_nbi_dma()
62 return -EINVAL; in nfp6000_nbi_stats()
73 return -EINVAL; in nfp6000_nbi_tm()
84 return -EINVAL; in nfp6000_nbi_ppc()
102 * 32-bit or 64-bit words. All others are not listed.
150 return -EINVAL; in nfp6000_mu_common()
[all …]
/linux/drivers/crypto/ccree/
H A Dcc_hw_queue_defs.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) 2012-2019 ARM Limited (or its affiliates). */
21 #define CC_REG_HIGH(name) (CC_REG_LOW(name) + name ## _BIT_SIZE - 1)
75 DESC_DIRECTION_ILLEGAL = -1,
83 DMA_MODE_NULL = -1,
92 FLOW_MODE_NULL = -1,
180 #define CC_LAST_HW_KEY_SLOT (CC_FIRST_HW_KEY_SLOT + CC_NUM_HW_KEY_SLOTS - 1)
185 CC_NUM_CPP_KEY_SLOTS - 1)
208 * hw_desc_init() - Init a HW descriptor struct
217 * set_queue_last_ind_bit() - Indicate the end of current HW descriptors flow
[all …]
/linux/tools/testing/selftests/net/
H A Dgre_gso.sh2 # SPDX-License-Identifier: GPL-2.0
8 # all tests in this script. Can be overridden with -t option
23 if [ ${rc} -eq ${expected} ]; then
24 printf " TEST: %-60s [ OK ]\n" "${msg}"
29 printf " TEST: %-60s [FAIL]\n" "${msg}"
48 set -e
50 IP="ip -netns $ns1"
65 rm -rf $TMPFILE
66 [ -n "$PID" ] && kill $PID
76 local addr
[all …]
H A Dvrf-xfrm-tests.sh2 # SPDX-License-Identifier: GPL-2.0
42 if [ ${rc} -eq ${expected} ]; then
43 printf "TEST: %-60s [ OK ]\n" "${msg}"
48 printf "TEST: %-60s [FAIL]\n" "${msg}"
71 if [ -n "$out" ]; then
90 if [ -n "${ns}" ]; then
91 ns="-netns ${ns}"
97 ip ${ns} -6 route add vrf ${vrf} unreachable default metric 8192
99 ip ${ns} addr add 127.0.0.1/8 dev ${vrf}
100 ip ${ns} -6 addr add ::1 dev ${vrf} nodad
[all …]
H A Dl2tp.sh2 # SPDX-License-Identifier: GPL-2.0
6 # host-1 | router | host-2
30 if [ ${rc} -eq ${expected} ]; then
31 printf "TEST: %-60s [ OK ]\n" "${msg}"
36 printf "TEST: %-60s [FAIL]\n" "${msg}"
63 if [ "$VERBOSE" = "1" -a -n "$out" ]; then
78 local addr=$2
81 [ -z "${addr}" ] && addr="-"
82 [ -z "${addr6}" ] && addr6="-"
84 if [ "${addr}" != "-" ]; then
[all …]
/linux/arch/sparc/include/asm/
H A Dswift.h1 /* SPDX-License-Identifier: GPL-2.0 */
17 #define SWIFT_PMC 0x00180000 /* Page mode control */
20 #define SWIFT_AP 0x00010000 /* Graphics page mode control (TCX/SX) */
22 #define SWIFT_BM 0x00004000 /* Boot mode */
27 #define SWIFT_NF 0x00000002 /* No fault mode */
31 static inline void swift_inv_insn_tag(unsigned long addr) in swift_inv_insn_tag() argument
35 : "r" (addr), "i" (ASI_M_TXTC_TAG) in swift_inv_insn_tag()
40 static inline void swift_inv_data_tag(unsigned long addr) in swift_inv_data_tag() argument
44 : "r" (addr), "i" (ASI_M_DATAC_TAG) in swift_inv_data_tag()
50 unsigned long addr; in swift_flush_dcache() local
[all …]
/linux/net/ieee802154/
H A Dheader_ops.c1 // SPDX-License-Identifier: GPL-2.0-only
15 ieee802154_hdr_push_addr(u8 *buf, const struct ieee802154_addr *addr, in ieee802154_hdr_push_addr() argument
20 if (addr->mode == IEEE802154_ADDR_NONE) in ieee802154_hdr_push_addr()
24 memcpy(buf + pos, &addr->pan_id, 2); in ieee802154_hdr_push_addr()
28 switch (addr->mode) { in ieee802154_hdr_push_addr()
30 memcpy(buf + pos, &addr->short_addr, 2); in ieee802154_hdr_push_addr()
35 memcpy(buf + pos, &addr->extended_addr, IEEE802154_ADDR_LEN); in ieee802154_hdr_push_addr()
40 return -EINVAL; in ieee802154_hdr_push_addr()
52 memcpy(buf + 1, &hdr->frame_counter, 4); in ieee802154_hdr_push_sechdr()
54 switch (hdr->key_id_mode) { in ieee802154_hdr_push_sechdr()
[all …]
/linux/drivers/media/i2c/
H A Dsony-btf-mpx.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2005-2006 Micronas USA Inc.
11 #include <media/v4l2-common.h>
12 #include <media/v4l2-ioctl.h>
13 #include <media/v4l2-device.h>
16 MODULE_DESCRIPTION("sony-btf-mpx driver");
33 static int force_mpx_mode = -1;
47 static int mpx_write(struct i2c_client *client, int dev, int addr, int val) in mpx_write() argument
53 buffer[1] = addr >> 8; in mpx_write()
54 buffer[2] = addr & 0xff; in mpx_write()
[all …]
/linux/drivers/media/dvb-frontends/drx39xyj/
H A Ddrx_dap_fasi.h2 Copyright (c), 2004-2005,2007-2010 Trident Microsystems, Inc.
37 * Fast access, because of short addressing format (16 instead of 32 bits addr)
48 /*-------- compilation control switches --------------------------------------*/
53 /*-------- Required includes -------------------------------------------------*/
57 /*-------- Defines, configuring the API --------------------------------------*/
98 #error At least one of short- or long-addressing format must be allowed.
112 * + single master mode means no use of repeated starts
113 * + multi master mode means use of repeated starts
121 * Default is single master, DAP FASI changes multi-master setting silently
131 * Chunk/mode checking
[all …]
/linux/drivers/media/v4l2-core/
H A Dtuner-core.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Copyright(c) 2005-2011 by Mauro Carvalho Chehab
9 * - Added support for a separate Radio tuner
10 * - Major rework and cleanups at the code
31 #include <media/tuner-types.h>
32 #include <media/v4l2-device.h>
33 #include <media/v4l2-ioctl.h>
39 #include "tuner-simple.h"
45 #define UNSET (-1U)
52 static unsigned int addr; variable
[all …]
/linux/arch/x86/kvm/
H A Di8254.c4 * Copyright (c) 2003-2004 Fabrice Bellard
44 #define mod_64(x, y) ((x) - (y) * div64_u64(x, y))
56 struct kvm_kpit_channel_state *c = &pit->pit_state.channels[channel]; in pit_set_gate()
58 switch (c->mode) { in pit_set_gate()
69 if (c->gate < val) in pit_set_gate()
70 c->count_load_time = ktime_get(); in pit_set_gate()
74 c->gate = val; in pit_set_gate()
79 return pit->pit_state.channels[channel].gate; in pit_get_gate()
86 struct kvm_kpit_state *ps = &pit->pit_state; in __kpit_elapsed()
88 if (!ps->period) in __kpit_elapsed()
[all …]
/linux/drivers/video/fbdev/mmp/fb/
H A Dmmpfb.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 #include <linux/dma-mapping.h>
17 * Pseudocolor mode? in var_to_pixfmt()
19 if (var->bits_per_pixel == 8) in var_to_pixfmt()
25 if (var->bits_per_pixel == 16 && var->red.length == 8 && in var_to_pixfmt()
26 var->green.length == 4 && var->blue.length == 4) { in var_to_pixfmt()
27 if (var->green.offset >= var->blue.offset) in var_to_pixfmt()
36 if (var->bits_per_pixel == 12 && var->red.length == 8 && in var_to_pixfmt()
37 var->green.length == 2 && var->blue.length == 2) { in var_to_pixfmt()
38 if (var->green.offset >= var->blue.offset) in var_to_pixfmt()
[all …]
/linux/drivers/net/ipvlan/
H A Dipvlan_main.c1 // SPDX-License-Identifier: GPL-2.0-or-later
18 if (port->mode != nval) { in ipvlan_set_port_mode()
19 list_for_each_entry(ipvlan, &port->ipvlans, pnode) { in ipvlan_set_port_mode()
20 flags = ipvlan->dev->flags; in ipvlan_set_port_mode()
22 err = dev_change_flags(ipvlan->dev, in ipvlan_set_port_mode()
26 err = dev_change_flags(ipvlan->dev, in ipvlan_set_port_mode()
34 /* New mode is L3S */ in ipvlan_set_port_mode()
38 } else if (port->mode == IPVLAN_MODE_L3S) { in ipvlan_set_port_mode()
39 /* Old mode was L3S */ in ipvlan_set_port_mode()
42 port->mode = nval; in ipvlan_set_port_mode()
[all …]
/linux/arch/x86/kernel/
H A Dstep.c1 // SPDX-License-Identifier: GPL-2.0
3 * x86 single-step support code, common to 32-bit and 64-bit.
16 unsigned long addr, seg; in convert_ip_to_linear() local
18 addr = regs->ip; in convert_ip_to_linear()
19 seg = regs->cs; in convert_ip_to_linear()
21 addr = (addr & 0xffff) + (seg << 4); in convert_ip_to_linear()
22 return addr; in convert_ip_to_linear()
28 * are all zero-based. That is largely true: the in convert_ip_to_linear()
38 mutex_lock(&child->mm->context.lock); in convert_ip_to_linear()
39 if (unlikely(!child->mm->context.ldt || in convert_ip_to_linear()
[all …]

12345678910>>...43