Home
last modified time | relevance | path

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

12345678910

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/drivers/firmware/imx/
Dimx-scu.c1 // SPDX-License-Identifier: GPL-2.0+
30 struct mbox_chan *ch; member
70 -EINVAL, /* IMX_SC_ERR_VERSION */
71 -EINVAL, /* IMX_SC_ERR_CONFIG */
72 -EINVAL, /* IMX_SC_ERR_PARM */
73 -EACCES, /* IMX_SC_ERR_NOACCESS */
74 -EACCES, /* IMX_SC_ERR_LOCKED */
75 -ERANGE, /* IMX_SC_ERR_UNAVAILABLE */
76 -EEXIST, /* IMX_SC_ERR_NOTFOUND */
77 -EPERM, /* IMX_SC_ERR_NOPOWER */
[all …]
Dimx-scu-irq.c1 // SPDX-License-Identifier: GPL-2.0+
9 #include <dt-bindings/firmware/imx/rsrc.h>
123 hdr->ver = IMX_SC_RPC_VERSION; in imx_scu_irq_get_status()
124 hdr->svc = IMX_SC_RPC_SVC_IRQ; in imx_scu_irq_get_status()
125 hdr->func = IMX_SC_IRQ_FUNC_STATUS; in imx_scu_irq_get_status()
126 hdr->size = 2; in imx_scu_irq_get_status()
149 return -EPROBE_DEFER; in imx_scu_irq_group_enable()
151 hdr->ver = IMX_SC_RPC_VERSION; in imx_scu_irq_group_enable()
152 hdr->svc = IMX_SC_RPC_SVC_IRQ; in imx_scu_irq_group_enable()
153 hdr->func = IMX_SC_IRQ_FUNC_ENABLE; in imx_scu_irq_group_enable()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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,
66 struct sdio_func *func; member
88 int index, ret = -EBUSY; in sdio_uart_add_port()
90 mutex_init(&port->func_lock); in sdio_uart_add_port()
91 spin_lock_init(&port->write_lock); in sdio_uart_add_port()
92 if (kfifo_alloc(&port->xmit_fifo, FIFO_SIZE, GFP_KERNEL)) in sdio_uart_add_port()
93 return -ENOMEM; in sdio_uart_add_port()
98 port->index = index; in sdio_uart_add_port()
119 tty_port_get(&port->port); in sdio_uart_port_get()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]

12345678910