Home
last modified time | relevance | path

Searched +full:ch +full:- +full:func (Results 1 – 25 of 119) sorted by relevance

12345

/Linux-v6.1/drivers/misc/sgi-xp/
Dxpc_channel.c6 * Copyright (c) 2004-2009 Silicon Graphics, Inc. All Rights Reserved.
27 xpc_process_connect(struct xpc_channel *ch, unsigned long *irq_flags) in xpc_process_connect() argument
31 lockdep_assert_held(&ch->lock); in xpc_process_connect()
33 if (!(ch->flags & XPC_C_OPENREQUEST) || in xpc_process_connect()
34 !(ch->flags & XPC_C_ROPENREQUEST)) { in xpc_process_connect()
38 DBUG_ON(!(ch->flags & XPC_C_CONNECTING)); in xpc_process_connect()
40 if (!(ch->flags & XPC_C_SETUP)) { in xpc_process_connect()
41 spin_unlock_irqrestore(&ch->lock, *irq_flags); in xpc_process_connect()
42 ret = xpc_arch_ops.setup_msg_structures(ch); in xpc_process_connect()
43 spin_lock_irqsave(&ch->lock, *irq_flags); in xpc_process_connect()
[all …]
Dxpc_uv.c6 * Copyright (c) 2008-2009 Silicon Graphics, Inc. All Rights Reserved.
10 * Cross Partition Communication (XPC) uv-based functions.
34 #include "../sgi-gru/gru.h"
35 #include "../sgi-gru/grukservices.h"
81 mutex_init(&part_uv->cached_activate_gru_mq_desc_mutex); in xpc_setup_partitions_uv()
82 spin_lock_init(&part_uv->flags_lock); in xpc_setup_partitions_uv()
83 part_uv->remote_act_state = XPC_P_AS_INACTIVE; in xpc_setup_partitions_uv()
98 if (part_uv->cached_activate_gru_mq_desc != NULL) { in xpc_teardown_partitions_uv()
99 mutex_lock(&part_uv->cached_activate_gru_mq_desc_mutex); in xpc_teardown_partitions_uv()
100 spin_lock_irqsave(&part_uv->flags_lock, irq_flags); in xpc_teardown_partitions_uv()
[all …]
/Linux-v6.1/drivers/scsi/esas2r/
Desas2r_flash.c6 * Copyright (c) 2001-2013 ATTO Technology, Inc.
22 * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
41 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
108 len--; in esas2r_calc_byte_xor_cksum()
113 len -= 4; in esas2r_calc_byte_xor_cksum()
115 while (len--) { in esas2r_calc_byte_xor_cksum()
127 while (len--) in esas2r_calc_byte_cksum()
136 struct atto_vda_flash_req *vrq = &rq->vrq->flash; in esas2r_fmapi_callback()
138 (struct esas2r_flash_context *)rq->interrupt_cx; in esas2r_fmapi_callback()
140 if (rq->req_stat == RS_SUCCESS) { in esas2r_fmapi_callback()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/iio/addac/
Dadi,ad74413r.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Cosmin Tanislav <cosmin.tanislav@analog.com>
13 The AD74412R and AD74413R are quad-channel software configurable input/output
18 The devices feature a 16-bit ADC and four configurable 13-bit DACs to provide
20 The AD74413R differentiates itself from the AD74412R by being HART-compatible.
27 - adi,ad74412r
28 - adi,ad74413r
33 '#address-cells':
[all …]
/Linux-v6.1/drivers/accessibility/speakup/
Dkeyhelp.c1 // SPDX-License-Identifier: GPL-2.0+
16 static const int num_key_names = MSG_KEYNAMES_END - MSG_KEYNAMES_START + 1;
21 -1, -1, -1, -1, -1, -1, -1, -1,
22 -1, -1, -1, -1, -1, -1, -1, -1,
23 -1, -1, -1, -1, -1, -1, -1, -1,
24 -1, -1 };
51 u_char *kp, counters[MAXFUNCS], ch, ch1; in build_key_data() local
55 nstates = (int)(state_tbl[-1]); in build_key_data()
82 while ((ch = *kp++)) { in build_key_data()
89 key = (state_tbl[i] << 8) + ch; in build_key_data()
[all …]
/Linux-v6.1/sound/core/
Dvmaster.c1 // SPDX-License-Identifier: GPL-2.0-only
24 * link master - this contains a list of follower controls that are
41 * link follower - this contains a follower control element
60 int err, ch; in follower_update() local
64 return -ENOMEM; in follower_update()
65 uctl->id = follower->follower.id; in follower_update()
66 err = follower->follower.get(&follower->follower, uctl); in follower_update()
69 for (ch = 0; ch < follower->info.count; ch++) in follower_update()
70 follower->vals[ch] = uctl->value.integer.value[ch]; in follower_update()
82 if (follower->info.count) { in follower_init()
[all …]
/Linux-v6.1/drivers/firmware/imx/
Dimx-scu.c1 // SPDX-License-Identifier: GPL-2.0+
29 struct mbox_chan *ch; member
69 -EINVAL, /* IMX_SC_ERR_VERSION */
70 -EINVAL, /* IMX_SC_ERR_CONFIG */
71 -EINVAL, /* IMX_SC_ERR_PARM */
72 -EACCES, /* IMX_SC_ERR_NOACCESS */
73 -EACCES, /* IMX_SC_ERR_LOCKED */
74 -ERANGE, /* IMX_SC_ERR_UNAVAILABLE */
75 -EEXIST, /* IMX_SC_ERR_NOTFOUND */
76 -EPERM, /* IMX_SC_ERR_NOPOWER */
[all …]
Dimx-scu-irq.c1 // SPDX-License-Identifier: GPL-2.0+
9 #include <dt-bindings/firmware/imx/rsrc.h>
76 hdr->ver = IMX_SC_RPC_VERSION; in imx_scu_irq_work_handler()
77 hdr->svc = IMX_SC_RPC_SVC_IRQ; in imx_scu_irq_work_handler()
78 hdr->func = IMX_SC_IRQ_FUNC_STATUS; in imx_scu_irq_work_handler()
79 hdr->size = 2; in imx_scu_irq_work_handler()
107 return -EPROBE_DEFER; in imx_scu_irq_group_enable()
109 hdr->ver = IMX_SC_RPC_VERSION; in imx_scu_irq_group_enable()
110 hdr->svc = IMX_SC_RPC_SVC_IRQ; in imx_scu_irq_group_enable()
111 hdr->func = IMX_SC_IRQ_FUNC_ENABLE; in imx_scu_irq_group_enable()
[all …]
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
Dauxg94.c29 int ch; member
35 struct nvkm_device *device = aux->base.pad->i2c->subdev.device; in g94_i2c_aux_fini()
36 nvkm_mask(device, 0x00e4e4 + (aux->ch * 0x50), 0x00310000, 0x00000000); in g94_i2c_aux_fini()
42 struct nvkm_device *device = aux->base.pad->i2c->subdev.device; in g94_i2c_aux_init()
51 ctrl = nvkm_rd32(device, 0x00e4e4 + (aux->ch * 0x50)); in g94_i2c_aux_init()
53 if (!timeout--) { in g94_i2c_aux_init()
54 AUX_ERR(&aux->base, "begin idle timeout %08x", ctrl); in g94_i2c_aux_init()
55 return -EBUSY; in g94_i2c_aux_init()
60 nvkm_mask(device, 0x00e4e4 + (aux->ch * 0x50), 0x00300000, ureq); in g94_i2c_aux_init()
63 ctrl = nvkm_rd32(device, 0x00e4e4 + (aux->ch * 0x50)); in g94_i2c_aux_init()
[all …]
/Linux-v6.1/drivers/mmc/core/
Dsdio_uart.c1 // SPDX-License-Identifier: GPL-2.0-or-later
14 * Note: Although this driver assumes a 16550A-like UART implementation,
67 struct sdio_func *func; member
89 int index, ret = -EBUSY; in sdio_uart_add_port()
91 mutex_init(&port->func_lock); in sdio_uart_add_port()
92 spin_lock_init(&port->write_lock); in sdio_uart_add_port()
93 if (kfifo_alloc(&port->xmit_fifo, FIFO_SIZE, GFP_KERNEL)) in sdio_uart_add_port()
94 return -ENOMEM; in sdio_uart_add_port()
99 port->index = index; in sdio_uart_add_port()
120 tty_port_get(&port->port); in sdio_uart_port_get()
[all …]
/Linux-v6.1/arch/powerpc/math-emu/
Dmath_efp.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * arch/powerpc/math-emu/math_efp.c
5 * Copyright (C) 2006-2008, 2010 Freescale Semiconductor, Inc.
10 * Derived from arch/alpha/math-emu/math.c
11 * arch/powerpc/math-emu/math.c
15 * fully comply with IEEE-754 floating point standard.
26 #include <asm/sfp-machine.h>
28 #include <math-emu/soft-fp.h>
29 #include <math-emu/single.h>
30 #include <math-emu/double.h>
[all …]
/Linux-v6.1/tools/lib/traceevent/
Devent-parse.c1 // SPDX-License-Identifier: LGPL-2.1
8 * - Copyright (C) 2009 Frederic Weisbecker,
24 #include "event-parse.h"
26 #include "event-parse-local.h"
27 #include "event-utils.h"
28 #include "trace-seq.h"
51 warning("[%s:%s] " fmt, event->system, \
52 event->name, ##__VA_ARGS__); \
58 * init_input_buf - init buffer for parsing
86 tep_event_handler_func func; member
[all …]
/Linux-v6.1/drivers/net/wireless/broadcom/b43/
Dsdio.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * Copyright (C) 2009 Michael Buesch <m@bues.ch>
41 for (q = b43_sdio_quirks; q->quirks; q++) { in b43_sdio_get_quirks()
42 if (vendor == q->vendor && device == q->device) in b43_sdio_get_quirks()
43 return q->quirks; in b43_sdio_get_quirks()
49 static void b43_sdio_interrupt_dispatcher(struct sdio_func *func) in b43_sdio_interrupt_dispatcher() argument
51 struct b43_sdio *sdio = sdio_get_drvdata(func); in b43_sdio_interrupt_dispatcher()
52 struct b43_wldev *dev = sdio->irq_handler_opaque; in b43_sdio_interrupt_dispatcher()
57 sdio_release_host(func); in b43_sdio_interrupt_dispatcher()
58 sdio->irq_handler(dev); in b43_sdio_interrupt_dispatcher()
[all …]
/Linux-v6.1/drivers/media/rc/keymaps/
Drc-msi-tvanywhere-plus.c1 // SPDX-License-Identifier: GPL-2.0+
2 // msi-tvanywhere-plus.h - Keytable for msi_tvanywhere_plus Remote Controller
4 // keymap imported from ir-keymaps.c
8 #include <media/rc-map.h>
27 /* ---- Remote Button Layout ----
38 CH+
39 VOL- VOL+
40 CH-
44 << FUNC >> RESET
67 same IR code as Ch+, Ch-, >>, and << . The raw code assigned
[all …]
Drc-pv951.c1 // SPDX-License-Identifier: GPL-2.0+
2 // pv951.h - Keytable for pv951 Remote Controller
4 // keymap imported from ir-keymaps.c
8 #include <media/rc-map.h>
35 { 0x18, KEY_KPPLUSMINUS }, /* CH +/- */
40 { 0x17, KEY_OK }, /* CH RTN */
41 { 0x19, KEY_MODE }, /* FUNC */
/Linux-v6.1/scripts/kconfig/
Dnconf.c1 // SPDX-License-Identifier: GPL-2.0
20 "------------\n"
31 "------------\n"
33 "build. Kernel features can either be built-in, modularized, or removed.\n"
40 " - - are selected by another feature\n"
50 "A trailing \"--->\" designates a submenu, a trailing \"----\" an\n"
54 "----------------------------------------------------------------------\n"
66 "Start incremental, case-insensitive search for STRING in menu entries,\n"
76 "----------------------------------------------------------------------\n"
83 "-----------------------\n"
[all …]
/Linux-v6.1/sound/pci/hda/
Dpatch_conexant.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Tobin Davis <tdavis@dsl-only.net>
63 spec->gen.beep_nid = nid; in set_beep_amp()
65 knew = snd_hda_gen_add_kctl(&spec->gen, NULL, in set_beep_amp()
68 return -ENOMEM; in set_beep_amp()
69 knew->private_value = beep_amp; in set_beep_amp()
76 struct conexant_spec *spec = codec->spec; in cx_auto_parse_beep()
95 struct conexant_spec *spec = codec->spec; in cx_auto_parse_eapd()
103 spec->eapds[spec->num_eapds++] = nid; in cx_auto_parse_eapd()
104 if (spec->num_eapds >= ARRAY_SIZE(spec->eapds)) in cx_auto_parse_eapd()
[all …]
/Linux-v6.1/arch/x86/kernel/
Dearly_printk.c1 // SPDX-License-Identifier: GPL-2.0
16 #include <xen/hvc-console.h>
17 #include <asm/pci-direct.h>
20 #include <linux/usb/xhci-dbgp.h>
34 while ((c = *str++) != '\0' && n-- > 0) { in early_vga_write()
45 current_ypos = max_ypos-1; in early_vga_write()
50 current_xpos--; in early_vga_write()
74 .index = -1,
110 static int early_serial_putc(unsigned char ch) in early_serial_putc() argument
114 while ((serial_in(early_serial_base, LSR) & XMTRDY) == 0 && --timeout) in early_serial_putc()
[all …]
/Linux-v6.1/net/sctp/
Dinqueue.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 1999-2000 Cisco, Inc.
4 * Copyright (c) 1999-2001 Motorola, Inc.
17 * lksctp developers <linux-sctp@vger.kernel.org>
34 INIT_LIST_HEAD(&queue->in_chunk_list); in sctp_inq_init()
35 queue->in_progress = NULL; in sctp_inq_init()
38 INIT_WORK(&queue->immediate, NULL); in sctp_inq_init()
47 list_for_each_entry_safe(chunk, tmp, &queue->in_chunk_list, list) { in sctp_inq_free()
48 list_del_init(&chunk->list); in sctp_inq_free()
55 if (queue->in_progress) { in sctp_inq_free()
[all …]
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dnv50.c47 struct nvkm_device *device = pior->disp->engine.subdev.device; in nv50_pior_clock()
56 int ret = nvkm_i2c_aux_lnk_ctl(aux, pior->dp.nr, pior->dp.bw, pior->dp.ef); in nv50_pior_dp_links()
80 struct nvkm_device *device = pior->disp->engine.subdev.device; in nv50_pior_power()
94 /* GF119 moves this information to per-head methods, which is in nv50_pior_depth()
97 if (state->head && state == &ior->asy) { in nv50_pior_depth()
98 struct nvkm_head *head = nvkm_head_find(ior->disp, __ffs(state->head)); in nv50_pior_depth()
101 struct nvkm_head_state *state = &head->asy; in nv50_pior_depth()
103 case 6: state->or.depth = 30; break; in nv50_pior_depth()
104 case 5: state->or.depth = 24; break; in nv50_pior_depth()
105 case 2: state->or.depth = 18; break; in nv50_pior_depth()
[all …]
Dgp102.c36 struct nvkm_subdev *subdev = &chan->disp->engine.subdev; in gp102_disp_dmac_init()
37 struct nvkm_device *device = subdev->device; in gp102_disp_dmac_init()
38 int ctrl = chan->chid.ctrl; in gp102_disp_dmac_init()
39 int user = chan->chid.user; in gp102_disp_dmac_init()
42 nvkm_wr32(device, 0x611494 + (ctrl * 0x0010), chan->push); in gp102_disp_dmac_init()
46 nvkm_wr32(device, 0x640000 + (ctrl * 0x1000), chan->suspend_put); in gp102_disp_dmac_init()
54 nvkm_error(subdev, "ch %d init: %08x\n", user, in gp102_disp_dmac_init()
56 return -EBUSY; in gp102_disp_dmac_init()
74 .func = &gf119_disp_pioc_func,
81 .func = &gf119_disp_pioc_func,
[all …]
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dgk104.c43 struct nvkm_engine *engine = fifo->engine[engn].engine; in gk104_fifo_engine_status()
44 struct nvkm_subdev *subdev = &fifo->base.engine.subdev; in gk104_fifo_engine_status()
45 struct nvkm_device *device = subdev->device; in gk104_fifo_engine_status()
48 status->busy = !!(stat & 0x80000000); in gk104_fifo_engine_status()
49 status->faulted = !!(stat & 0x40000000); in gk104_fifo_engine_status()
50 status->next.tsg = !!(stat & 0x10000000); in gk104_fifo_engine_status()
51 status->next.id = (stat & 0x0fff0000) >> 16; in gk104_fifo_engine_status()
52 status->chsw = !!(stat & 0x00008000); in gk104_fifo_engine_status()
53 status->save = !!(stat & 0x00004000); in gk104_fifo_engine_status()
54 status->load = !!(stat & 0x00002000); in gk104_fifo_engine_status()
[all …]
/Linux-v6.1/drivers/edac/
Di7core_edac.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Xeon 55xx and Xeon 56xx also known as Nehalem, Nehalem-EP, Lynnfield
7 * and Westmere-EP.
9 * Copyright (c) 2009-2010 by:
23 * http://www.arrownac.com/manufacturers/intel/s/nehalem/5500-datasheet-v2.pdf
51 * This is used for Nehalem-EP and Nehalem-EX devices, where the non-core
92 * http://www.arrownac.com/manufacturers/intel/s/nehalem/5500-datasheet-v2.pdf
132 #define RDLCH(r, ch) ((((r) >> (3 + (ch * 6))) & 0x07) - 1) argument
133 #define WRLCH(r, ch) ((((r) >> (ch * 6)) & 0x07) - 1) argument
187 #define MC_RIR_LIMIT_MASK ((1 << 10) - 1)
[all …]
Di7300_edac.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * Intel 7300 Chipset Memory Controller Hub (MCH) - Datasheet
48 * Branch 0 - 2 channels: channels 0 and 1 (FDB0 PCI dev 21.0)
49 * Branch 1 - 2 channels: channels 2 and 3 (FDB1 PCI dev 22.0)
67 #define to_channel(ch, branch) ((((branch)) << 1) | (ch)) argument
69 #define to_csrow(slot, ch, branch) \ argument
70 (to_channel(ch, branch) | ((slot) << 2))
151 * memory. From datasheet item 7.3.1 (FB-DIMM technology & organization), it
170 * MTRx - Memory Technology Registers
192 [22] = "Non-Redundant Fast Reset Timeout",
[all …]
/Linux-v6.1/drivers/usb/early/
Dehci-dbgp.c1 // SPDX-License-Identifier: GPL-2.0
28 #include <asm/pci-direct.h>
68 u32 func; member
82 dbgp_printk(" Debug control: %08x", readl(&ehci_debug->control)); in dbgp_ehci_status()
83 dbgp_printk(" ehci cmd : %08x", readl(&ehci_regs->command)); in dbgp_ehci_status()
85 readl(&ehci_regs->configured_flag)); in dbgp_ehci_status()
86 dbgp_printk(" ehci status : %08x", readl(&ehci_regs->status)); in dbgp_ehci_status()
88 readl(&ehci_regs->port_status[dbgp_phys_port - 1])); in dbgp_ehci_status()
167 ret = readl_poll_timeout_atomic(&ehci_debug->control, ctrl, in dbgp_wait_until_complete()
170 return -DBGP_TIMEOUT; in dbgp_wait_until_complete()
[all …]

12345